Passthrough is not supported, GL is swiftshader

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Passthrough is not supported, GL is swiftshader

Postby schandra09net » Fri Sep 24, 2021 1:25 am

Hi @magreenblatt and @amaitland,

I am using CefSharp 91.1.211 in my C# WPF application(Windows 10), the chromiumbrowser is used inside grids.

Xaml definition:
<bll:BaseStageItem>
<Grid>
<Grid x:Name="MainGrid">
<Grid.RowDefinitions>
<RowDefinition Height="0" x:Name="AddressBarRowDef" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<Grid Grid.Row="1">
<Grid x:Name="Browser" Background="LightGray" ClipToBounds="True" >
<Grid x:Name="SnapshotRegionGrid">
<cefSharp:ChromiumWebBrowser
Name="ViewControl"
FocusVisualStyle="{x:Null}"
Focusable="True"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollBarVisibility="Auto"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
Address="http://www.facebook.com"/>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
<bll:BaseStageItem>

and initialization settings:

CefSettings cefSettings = new CefSettings();
string assemblyFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
//cefSettings.BrowserSubprocessPath = Path.Combine(assemblyFolder, "CefSharp.BrowserSubprocess.exe");
cefSettings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
cefSettings.LogSeverity = LogSeverity.Warning;
cefSettings.LogFile = Path.Combine(assemblyFolder, "cefbrowser.log");
cefSettings.SetOffScreenRenderingBestPerformanceArgs();
cefSettings.MultiThreadedMessageLoop = true;
cefSettings.CefCommandLineArgs.Add("enable-gpu");
cefSettings.CefCommandLineArgs.Add("off-screen-rendering-enabled");
Cef.Initialize(cefSettings);

After running the WPF app, the browser loads and navigates to www.facebook.com", and when i type text in username field, then
as soon as i press keyboard key, the browser is freezing (not usable/clickable, until reload the page), and in logs i see

[0924/110541.566:ERROR:viz_main_impl.cc(160)] Exiting GPU process due to errors during initialization
[0924/110541.735:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader

"WerFault.exe" is getting created and stopped in TaskManager.

Can you guys help me, i am not able to type in the browser.

You help is so much appreciated.
schandra09net
Newbie
 
Posts: 6
Joined: Mon Aug 02, 2021 10:41 pm

Re: Passthrough is not supported, GL is swiftshader

Postby magreenblatt » Fri Sep 24, 2021 2:10 am

magreenblatt
Site Admin
 
Posts: 12379
Joined: Fri May 29, 2009 6:57 pm

Re: Passthrough is not supported, GL is swiftshader

Postby amaitland » Fri Sep 24, 2021 2:26 am

Already asked at https://github.com/cefsharp/CefSharp/discussions/3824

Please ask your question once and wait patiently for a response.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 28 guests