mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4893] Firefox WebRender acceleration broken with proprietary nvidia driver #2807
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2807
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmetrius on GitHub (Feb 2, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4893
Description
Currently WebRender hardware acceleration is broken in Firefox if running in a Wayland session with the proprietary Nvidia driver. Instead, Firefox falls back to software rendering. This is because access to the necessary loader files from egl-wayland (https://github.com/NVIDIA/egl-wayland) is denied by the current profile. The loader files reside in /usr/share/egl/ which is currently not whitelisted in etc/inc/whitelist-usr-share-common.inc
Programs other than Firefox depending on egl-wayland might also be affected.
Steps to Reproduce
Expected behavior
Compositing should read: Webrender, GPU 1 show the Nvidia GPU -> indicating hardware acceleration
Actual behavior
Compositing reads: Webrender (Software), GPU 1 shows llvmpipe -> indicating software rendering
Behavior without a profile
With
--noprofileFirefox behaves as expectedEnvironment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.Log
Output of
strace -f firefox | grep /usr/share/egl/(without firejail)