www/firefox-esr: fix webgl on amdgpu

in the content process, unveil /dev/dri instead of only /dev/dri/card0,
as reported and debugged by gkoehler@. Something in mesa apparently
fallbacks to swrast if /dev/dri isn't found, and then fails hard/crashes
because of shmget().

strangely, i haven't been able to reproduce the failure with firefox 101.
This commit is contained in:
landry 2022-05-26 07:02:56 +00:00
parent 46a4f9f2dc
commit f8ad0dfe55
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ MOZILLA_BRANCH = release
MOZILLA_PROJECT = firefox-esr
MOZILLA_CODENAME = browser
MOZILLA_DIST = firefox
REVISION = 0
REVISION = 1
WRKDIST = ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/esr//}
HOMEPAGE = https://www.mozilla.org/firefox/organizations/

View File

@ -1,4 +1,4 @@
/dev/dri/card0 rw
/dev/dri rw
/etc/fonts r
/etc/machine-id r