-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Add mutter nvidiga eglstream support #60100
Conversation
I don't use nvidia hardware either, though I think we can solicit someone for testing who probably wants this. |
f38503f
to
bb520b6
Compare
@hedning I think we should add
|
This should make it possible to launch wayland sessions using nvidia hardware.
bb520b6
to
35f1250
Compare
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/need-gnome-3-tester-for-nvidia-eglstream-support/2904/1 |
Does this support gdm? I wasn't able to do: services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.wayland = true;
services.xserver.desktopManager.gnome3.enable = true;
services.xserver.videoDrivers = [ "nvidia" ]; I get I also tried to run |
There's this assertion in nixos {
assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
message = "NVIDIA drivers don't support wayland, set services.xserver.displayManager.gdm.wayland=false";
} But upstream disables wayland with a udev rule when using a proprietary nvidia driver.
|
So I should use edit: and according to |
Huh so doing that does https://gitlab.gnome.org/GNOME/gdm/blob/master/data/gdm.conf-custom.in#L4 What sessions does it display? The wayland one will be just Edit: that actually is the behavior of said option, don't know why I thought otherwise. |
I seem to be on x11.
|
@bbigras See the edit of my last comment, atm if you want to test I suppose you can use SDDM. |
I just tried sddm. "GNOME" was with x11. "GNOME (wayland)" didn't start. I think the screen went black and I got back to sddm. Here's my display log. I rebooted and tried to log in once with wayland. Right after I went to a terminal (ctrl+shift+f3 or something like that) and saved the log.
|
#70295 should hopefully complete this. |
Motivation for this change
Make it possible to run a gnome shell wayland session using nvidia drivers.
This is supported on both fedora and arch.
Things done
Checked that
mutter
runs (mutter --wayland --nested
), but I don't have any nvidia hardware so can't be sure that the intended functionality actually works.I opted to package https://github.com/NVIDIA/eglexternalplatform inline.
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)