The officially official Devuan Forum!

You are not logged in.

#1 2020-11-09 13:16:30

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 51  
Website

Run Gnome on Wayland with Nvidia drivers on Ceres

Install libnvidia-egl-wayland1
Kernel parameters nvidia-drm.modeset=1
Comment out the line with "DRIVER==nvidia" in /lib/udev/rules.d/61-gdm.rules
Comment out the line with "WaylandEnable=false" in /etc/gdm3/daemon.conf

Restart
Write echo $XDG_SESSION_TYPE in a terminal to see if you run x11 or Wayland

Offline

#2 2020-11-11 17:05:01

swarfendor437
Member
From: Somewhere off Atlantis
Registered: 2020-10-28
Posts: 107  

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Personally I can't stand Wayland. I am much happier with X running Nouveau drivers - can appreciate it if someone is in to gaming, but I reserve that for the PS4 Pro.

Offline

#3 2020-11-11 17:16:31

zapper
Member
Registered: 2017-05-29
Posts: 835  

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Wayland is very infected with redhat's nonsense... ;(

So yeah, Xorg is the only option I see sadly...


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#4 2020-11-12 13:29:34

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 51  
Website

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Wayland and Gnome is the only combination (must tell I didn't know how it is on KDE) there you get a completely color managed environment. Even the desktop picture is color managed. Because I use Linux even to photomanagement It's a big step forward. And Wayland works fine.

Last edited by Magnus (2020-11-12 13:30:26)

Offline

#5 2020-11-12 18:10:41

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Magnus wrote:

Wayland and Gnome is the only combination (must tell I didn't know how it is on KDE) there you get a completely color managed environment.

The colord backend works for pretty much any desktop and can even be used from the command line:

https://www.freedesktop.org/software/colord/using.html

I'm a Wayland fan myself though so thanks for this guide, I had no idea it could be made to work with NVIDIA hardware. Not that I would buy anything from those bastards big_smile


Brianna Ghey — Rest In Power

Offline

#6 2020-11-13 00:58:54

zapper
Member
Registered: 2017-05-29
Posts: 835  

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Magnus wrote:

Wayland and Gnome is the only combination (must tell I didn't know how it is on KDE) there you get a completely color managed environment. Even the desktop picture is color managed. Because I use Linux even to photomanagement It's a big step forward. And Wayland works fine.

Well whatever works for you. :0

Last edited by zapper (2020-11-13 10:40:06)


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#7 2020-11-13 07:23:03

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 51  
Website

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Head_on_a_Stick wrote:

The colord backend works for pretty much any desktop and can even be used from the command line:

https://www.freedesktop.org/software/colord/using.html

Yes, color management work in those applications that has built support för color management. But in Gnome on Wayland color management works for the hole environment: The desktop picture, the window frames, themes and everything.

Offline

#8 2020-11-13 07:24:47

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 51  
Website

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

zapper wrote:

Well whatever works for you. :0b

Thank you very much for that freedom. You are so kind. ;-)

Offline

#9 2020-11-13 10:40:29

zapper
Member
Registered: 2017-05-29
Posts: 835  

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Magnus wrote:
zapper wrote:

Well whatever works for you. :0b

Thank you very much for that freedom. You are so kind. ;-)

Heh, your sarcasm amuses me. wink


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#10 2020-11-24 22:27:40

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 51  
Website

Re: Run Gnome on Wayland with Nvidia drivers on Ceres

Now discovered that I could not start Gnome boxes in Wayland. Searched a bit and found that I needed egl-wayland (libnvidia-egl-wayland1) version 1.1.5 + a patch.
Found an Arch package 1.1.5 including the patch at https://ftp5.gwdg.de/pub/linux/archlinu … kg.tar.zst
Unpacked the package and manually replaced two Devuan Ceres version 1.1.4 files at "/usr/lib/x86_64-linux-gnu/" with the package "/usr/lib/libnvidia-egl-wayland.so.1" and "/usr/lib/libnvidia-egl-wayland.so.1.1.5". Also chmod and chown the new files to have the same as the replaced files.
Restarted. Launched Gnome boxes.

Last edited by Magnus (2020-12-04 13:47:22)

Offline

Board footer