[snap] chromium browser does not work with accelerated graphics on Tegra (arm64)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Tegra Orin platforms come in various flavor / dev kit. They all ship with a 'slightly' customized Ubuntu image. One of the customization is the addition of the Nvidia GPU drivers for Tegra.
When running chromium browser debian package (either when running 18.04, or when running 22.04 with the package fetched from this PPA: https:/
Graphics Feature Status
Canvas: Hardware accelerated
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
OpenGL: Enabled
Rasterization: Hardware accelerated
Raw Draw: Disabled
Video Decode: Hardware accelerated
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
WebGPU: Disabled
When using the snap version of chromium browser (on either 20.04 or 22.04), hardware acceleration is disabled, as shown in chrome://gpu:
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Enabled
OpenGL: Disabled
Rasterization: Software only. Hardware acceleration disabled
Raw Draw: Disabled
Skia Graphite: Disabled
Video Decode: Software only. Hardware acceleration disabled
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable
WebGPU: Disabled
Problems Detected
WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu
Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_encode
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
These tests are done with X11.
I suspect this is a general problem with Nvidia proprietary drivers being accessible in snaps. Not Tegra-specific.
First we will need apps to start using graphics-core22 instead of gnome-42-2204 to get OpenGL support. It might help if gnome-42-2204 is ported to use graphics-core22 first.
Second we'll want to verify that amd64 apps can now use nvidia-core22.
Third someone will need to add Tegra support to arm64 builds of nvidia-core22. That's probably better than creating a whole new 'tegra-core22' snap?