Hardware acceleration is disabled


Description of the issue: Can’t enable hardware acceleration.
How can this issue be reproduced?

  1. Open brave://gpu on Brave Web Browser.
  2. Check Graphic Feature Status.

Expected result: The page should display “Hardware Acceleration Enabled” in the relevant options.

Brave Version( check About Brave): Version 1.13.82 Chromium: 85.0.4183.83 (Official Build) unknown (64-bit)

Additional Information: I have installed chromium to test Hardware Acceleration and it works just fine, my problem seems to be specific to Brave.

Here is the brave://gpu report:

Graphics Feature Status

  • Canvas: Software only. Hardware acceleration disabled
  • Flash: Software only. Hardware acceleration disabled
  • Flash Stage3D: Software only. Hardware acceleration disabled
  • Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled
  • Compositing: Software only. Hardware acceleration disabled
  • Multiple Raster Threads: Disabled
  • Out-of-process Rasterization: Disabled
  • OpenGL: Disabled
  • Hardware Protected Video Decode: Disabled
  • Rasterization: Software only. Hardware acceleration disabled
  • Skia Renderer: Enabled
  • Video Decode: Software only. Hardware acceleration disabled
  • Vulkan: Disabled
  • WebGL: Disabled
  • WebGL2: Disabled

Problems Detected

  • GPU process was unable to boot: GPU process crashed too many times with SwiftShader.
    Disabled Features: all
  • Gpu compositing has been disabled, either via blacklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
    Disabled Features: gpu_compositing

Version Information

Data exported 2020-08-31T21:45:33.314Z
Chrome version Chrome/85.0.4183.83
Operating system Linux 5.8.5-zen1-1-zen
Software rendering list URL https://chromium.googlesource.com/chromium/src/+/94abc2237ae0c9a4cb5f035431c8adfb94324633/gpu/config/software_rendering_list.json
Driver bug list URL https://chromium.googlesource.com/chromium/src/+/94abc2237ae0c9a4cb5f035431c8adfb94324633/gpu/config/gpu_driver_bug_list.json
ANGLE commit id ea8043b73f93
2D graphics backend Skia/85 8ae885386e910cff8c543ae0d952a2c43f46e4ad
Command Line /usr/lib/brave-bin/brave --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=32.0.0.414 --enable-dom-distiller --disable-domain-reliability --no-pings --extension-content-verification=enforce_strict --extensions-install-verification=enforce --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --enable-features=WebUIDarkMode,MixedContentSiteSetting,ReducedReferrerGranularity,PasswordImport,PrefetchPrivacyChanges,AutoupgradeMixedContent,PassiveMixedContentWarning,DnsOverHttps,OmniboxContextMenuShowFullUrls --disable-features=AutofillEnableAccountWalletStorage,AllowPopupsDuringPageUnload,SafeBrowsingEnhancedProtection,TextFragmentAnchor,PrivacySettingsRedesign,NotificationTriggers,TabHoverCards,SmsReceiver,VideoPlaybackQuality,PasswordCheck,AutofillServerCommunication --flag-switches-begin --flag-switches-end

Driver Information

Initialization time 0
In-process GPU false
Passthrough Command Decoder false
Sandboxed false
GPU0 VENDOR= 0x0000, DEVICE=0x0000
Optimus false
AMD switchable false
Driver vendor
Driver version
GPU CUDA compute capability major version 0
Pixel shader version
Vertex shader version
Max. MSAA samples
Machine model name
Machine model version
GL_VENDOR Disabled
GL_RENDERER Disabled
GL_VERSION Disabled
GL_EXTENSIONS
Disabled Extensions
Disabled WebGL Extensions
Window system binding vendor
Window system binding version
Window system binding extensions
Window manager i3
Compositing manager Yes
System visual ID 0
RGBA visual ID 0
Direct rendering version unknown
Reset notification strategy 0x0000
GPU process crash count 0
gfx::BufferFormats supported for allocation and texturing R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported

Compositor Information

Tile Update Mode One-copy
Partial Raster Enabled

GpuMemoryBuffers Status

R_8 Software only
R_16 Software only
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 Software only
RGBA_8888 Software only
BGRX_8888 Software only
BGRA_1010102 Software only
RGBA_1010102 Software only
BGRA_8888 Software only
RGBA_F16 Software only
YVU_420 Software only
YUV_420_BIPLANAR Software only
P010 Software only

Display(s) Information

Info Display[2785062953156675] bounds=[0,0 1366x768], workarea=[0,0 1366x768], scale=1, rotation=0, panel_rotation=0 external.
Color space (all) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (all) BGRA_8888
SDR white level in nits 100
Bits per color component 8
Bits per pixel 24
Refresh Rate in Hz 59

Video Acceleration Information

Vulkan Information

Device Performance Information

Driver Information for Hardware GPU

Initialization time 0
In-process GPU false
Passthrough Command Decoder false
Sandboxed false
GPU0 VENDOR= 0x0000, DEVICE=0x0000
Optimus false
AMD switchable false
Driver vendor
Driver version
GPU CUDA compute capability major version 0
Pixel shader version
Vertex shader version
Max. MSAA samples
Machine model name
Machine model version
GL_VENDOR Disabled
GL_RENDERER Disabled
GL_VERSION Disabled
GL_EXTENSIONS
Disabled Extensions
Disabled WebGL Extensions
Window system binding vendor
Window system binding version
Window system binding extensions
Window manager i3
Compositing manager Yes
System visual ID 0
RGBA visual ID 0
Direct rendering version unknown
Reset notification strategy 0x0000
GPU process crash count 0
gfx::BufferFormats supported for allocation and texturing R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported

Graphics Feature Status for Hardware GPU

  • Canvas: Software only. Hardware acceleration disabled
  • Flash: Software only. Hardware acceleration disabled
  • Flash Stage3D: Software only. Hardware acceleration disabled
  • Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled
  • Compositing: Software only. Hardware acceleration disabled
  • Multiple Raster Threads: Disabled
  • Out-of-process Rasterization: Disabled
  • OpenGL: Disabled
  • Hardware Protected Video Decode: Disabled
  • Rasterization: Software only. Hardware acceleration disabled
  • Skia Renderer: Enabled
  • Video Decode: Software only. Hardware acceleration disabled
  • Vulkan: Disabled
  • WebGL: Disabled
  • WebGL2: Disabled

Problems Detected for Hardware GPU

  • GPU process was unable to boot: GPU process crashed too many times with SwiftShader.
    Disabled Features: all
  • Gpu compositing has been disabled, either via blacklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
    Disabled Features: gpu_compositing

Log Messages

  • [14025:14025:0831/180406.799749:ERROR:gl_implementation.cc(286)] : Failed to load /usr/lib/brave-bin/libGLESv2.so: /usr/lib/brave-bin/libGLESv2.so: cannot open shared object file: No such file or directory
  • [14025:14025:0831/180406.801106:ERROR:viz_main_impl.cc(150)] : Exiting GPU process due to errors during initialization
  • [14036:14036:0831/180406.817077:ERROR:gl_implementation.cc(286)] : Failed to load /usr/lib/brave-bin/swiftshader/libGLESv2.so: /usr/lib/brave-bin/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
  • [14036:14036:0831/180406.824176:ERROR:viz_main_impl.cc(150)] : Exiting GPU process due to errors during initialization
  • [14043:14043:0831/180406.834408:WARNING:vaapi_wrapper.cc(416)] : VAAPI video acceleration not available for disabled
  • [14043:14043:0831/180406.834816:ERROR:sandbox_linux.cc(374)] : InitializeSandbox() called with multiple threads in process gpu-process.
  • GpuProcessHost: The GPU process exited normally. Everything is okay.
  • GpuProcessHost: The GPU process exited normally. Everything is okay.

@Mattches can you help in this thread?

I forgot to mention my installation is on Arch Linux. It appears to be a bug in the current version of the AUR (Arch User Repository) packages for Brave. One of the packagers has patched a workaround and this bug is expected to be fixed in later versions. I would like to close this thread. (I don’t know how to.)