brave-browser: [Brave 1.61 BUG] Hardware acceleration not working
Description
Hardware acceleration is not working. Can’t open WASM apps (e.g. Figma), they crash, and a couple of tabs cause Brave to freeze.
Also while attempting to open a WASM app noticed the logs:
[104448:104448:1211/234356.060173:ERROR:shared_context_state.cc(946)] SharedContextState context lost via ARB/EXT_robustness. Reset status = GL_GUILTY_CONTEXT_RESET_KHR
[104448:104448:1211/234356.060460:ERROR:gpu_service_impl.cc(1105)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[104726:1:1211/234356.077667:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[104760:1:1211/234356.077806:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[104657:10:1211/234356.078012:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[105162:1:1211/234356.078066:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[105271:1:1211/234356.078082:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[104414:104414:1211/234356.128676:ERROR:gpu_process_host.cc(992)] GPU process exited unexpectedly: exit_code=8704
[105319:8:1211/234456.520562:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)
It is also worth noting that I installed chromium and got the same result.
Steps to Reproduce
- Have Arch Linux up to date (linux 6.6.6, nvidia-dkms)
- Launch a WASM app in brave (such as https://ncube.ndavd.com)
Reproduces how often:
Always.
Brave version (brave://version info)
Brave 1.61.101 Chromium: 120.0.6099.71 (Official Build) (64-bit) Revision a2125180c183a2b5775b45c2138fda37d240b773 OS Linux
EDIT, IMPORTANT
Just tested and it’s working fine in brave-bin-1:1.60.125-1-x86_64, it’s the 1.61 that broke it. 1.60 works.
Version/Channel Information:
- Can you reproduce this issue with the current release? YES
- Can you reproduce this issue with the beta channel? YES
- Can you reproduce this issue with the nightly channel? YES
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? NO
- Does the issue resolve itself when disabling Brave Rewards? NO
- Is the issue reproducible on the latest version of Chrome? YES (Only tried
chromium)
About this issue
- Original URL
- State: open
- Created 7 months ago
- Reactions: 3
- Comments: 20 (3 by maintainers)
Submitted report on Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1514103
Reproduced on openSUSE Tumbleweed with AMD gpu, mesa driver, kernel 6.6.3, Brave Version 1.61.101 Chromium: 120.0.6099.71 (Official Build). Loading the aforementioned site in Brave froze my pc and I had to reboot. Works fine on firefox.
@Zedo9 @random2907 does the issue you have reproduce in Chrome also? If so, we should report upstream like how @ndavd did (thanks for opening the prior issue, BTW!).
Please let us know
The issue seems to have been fixed on one of the latest Chromium versions. Can confirm that it’s working on
brave-nightly-bin 1.63.93-1but it’s still broken onbrave-bin 1:1.61.109-1.Until the issue is resolved, it probably makes sense for those affected to disable hardware acceleration. This can be done on the command line with
--disable-gpu, or in settings, by switching off theUse hardware acceleration when availableoption in theSystemsection.Brave Version 1.61.104 Chromium: 120.0.6099.115 (Official Build) (64-bit)
: Hardware acceleration not working in youtube also it is using full cpu confirm by intel_gpu_top video is 0% utilize : It shows in brave://gpu that it is using hardware acceleration but its not. : Firefox gpu acceleration works on youtube.
I can confirm this issue too, Arch Linux (with KDE on Wayland), running using AMD GPU, mesa driver, kernel 6.6.6, using
brave-bin-1:1.61.101-1-x86_64It does freeze my computer for a couple of a seconds, but it then restores itself.
Here is a full log dump: