Hello! I noticed that recently something bad happened to my system. My system setup used to run on the Intel GPU, offloading some applications to the nVidia GPU. To do this, I run Google Chrome using this command:
[1596:1596:1025/105602.106783:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1596:1596:1025/105602.106889:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1596:1596:1025/105602.125545:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1596:1596:1025/105602.125685:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
GpuProcessHost: The GPU process crashed!
[1780:1780:1025/105603.207074:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1780:1780:1025/105603.207184:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1780:1780:1025/105603.215403:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1780:1780:1025/105603.215492:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
GpuProcessHost: The GPU process crashed!
[1859:1859:1025/105604.052314:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1859:1859:1025/105604.052430:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1859:1859:1025/105604.067515:WARNING:angle_platform_impl.cc(48)] : checkLinkStatus(985): Program link or binary loading failed: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[1859:1859:1025/105604.077999:ERROR:shared_context_state.cc(74)] : Skia shader compilation error ------------------------ Errors: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
GpuProcessHost: The GPU process crashed!
My understanding is that this is a problem specific to Chrome, cause glxgears seems to run on the nVidia GPU properly when the env variables are set.
I tried to downgrade to older kernel and nVidia proprietary drivers, but nothing fixed the problem. I suspect there is something wrong in my system rather than in Chrome or in the nVidia drivers, cause I don’t see a reason why shaders should not compile properly. At the moment I see I have drivers version 455.28. Anyone with a similar setup who can confirm if this is an issue only for me? Any idea what I could do to fix this?
Thanks!
Warning: As of October 2020, the NVIDIA driver does not support the Linux kernel 5.9. - NVIDIA - ArchWiki
Maybe it is related to this - as kernel developers has stated a backport of the patchset blocking modules when they modules claim they are GPL but in fact they are not.
You’re right, but I tried to downgrade kernel to version 5.8, and I’m still getting the same errors:
[3928:3928:1025/112800.729360:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[3928:3928:1025/112800.744013:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[3950:1:1025/112801.417281:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[4094:4094:1025/112801.769693:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[4094:4094:1025/112801.779372:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[4169:4169:1025/112802.621792:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[4169:4169:1025/112802.630335:ERROR:shared_context_state.cc(74)] Skia shader compilation error
------------------------
Errors:
Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Sep 30 2020. Please check build information of source that generated the binary.
[3983:7:1025/112803.257984:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[4048:1:1025/112809.033972:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
Shouldn’t a downgrade to 5.8 fix the issue?
Thanks.
What do you mean by downgrade the kernel from 5.9 to 5.8 ?
Both kernels can reside and you chose one from Grub menu. Make sure your system is updated and you have the modules installed.
What chrome://flags are you using?
I enabled the flags you listed, but nothing changed. This is what I get:
* [14818:14818:1025/121304.686393:FATAL:vulkan_swap_chain.cc(223)] : vkCreateSwapchainKHR() failed: -3
* GpuProcessHost: The GPU process crashed!
I then disabled Vulkan, but I’m back to the previous error.
I also see this in chrome://gpu:
* Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
*Disabled Features: gpu_compositing*
So I also ignored the blacklist, but nothing changed.
I also see below this section:
### Graphics Feature Status for Hardware GPU
* Canvas: Hardware accelerated
* Compositing: Software only. Hardware acceleration disabled
* Multiple Raster Threads: Enabled
* Out-of-process Rasterization: Hardware accelerated
* OpenGL: Enabled
* Hardware Protected Video Decode: Hardware accelerated
* Rasterization: Hardware accelerated on all pages
* Skia Renderer: Enabled
* Video Decode: Hardware accelerated
* Vulkan: Disabled
* WebGL: Hardware accelerated but at reduced performance
* WebGL2: Hardware accelerated but at reduced performance
not sure what the difference is from this, at the top:
Do you have reference about this? I checked when I setup this the first time and it seemed to work as expected.
By the way, I already tried and Chromiun is now not working either.
I guess you are confusing graphics hardware acceleration and accelerated video decoding. Video decoding is not available and never was. My question only relates to graphics, which has always been working and currently works for me on Intel HD. Question is related to graphics video acceleration on nVidia when running in hybrid environment.
YES, this configuration is working. Thank you for your kind help.
Video decoding does not seem to be accelerated, even though Chrome reports it as enabled.
Interestingly, what is making a difference is --use-gl=desktop, which is interesting cause I noticed Chrome was trying OpenGL ES instead, which seemed weird in fact. I’m asking myself if this could be a bug in Chrome somehow, it may explain why downgrading kernel version and nVidia driver version is not fixing it.
I asked for info about this in Chromium groups, maybe they can explain it.
,which @anon89812132 addressed in a sense, but that’s for Chromium, I’m pretty sure that the rest of the browsers with a GUI on top of it (the aforementioned) all have hardware acceleration enabled from out of the box.
But then again withour proper info and since he found the solution I’m out of this (I don’t even use Google Chrome )