-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webkitgtk: Add /run/opengl-driver
to bubblewrap bind mounts
#107486
webkitgtk: Add /run/opengl-driver
to bubblewrap bind mounts
#107486
Conversation
Without access to the `/run/opengl-driver` directory, webkit fails to create an EGL context, since it can't identify a suitable EGL vendor. This results in a blank window and the following error output: Cannot get default EGL display: EGL_BAD_PARAMETER Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Yep, makes total sense. |
After 2.5h compilation process, I can confirm this fixes my issues on Intel graphics, at least. The following works fine and results in no error output when visiting my previous test case sites of Facebook, Messenger, and Hangouts.
|
What about without setting that? We'd want it to work as intended |
It works both ways, I just wanted to show that under normal circumstances when |
@austinbutler Gotcha, thanks. |
@talyz If you could open a backport PR that would be great. We could possibly readd epiphany now. |
@worldofpeace I opened two new PRs, one to revert the epiphany removal (#108107) and another to backport both that and this one (#107981). |
Motivation for this change
Without access to the
/run/opengl-driver
directory, webkit fails to create an EGL context, since it can't identify a suitable EGLvendor. This results in a blank window and the following error output:
Fixes #98819 and possibly #32580.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)