The officially official Devuan Forum!

You are not logged in.

#1 2023-08-07 22:19:21

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Devuan 5 daedalus gnome wayland doesn't work with nvidia

I uncommented the /etc/gdm3/custom.conf WaylandEnable thing, also 61-gdm.rules thing in /usr/blahblah, it simply doesn't exist there. So it must work with wayland right? But no it doesn't work. I use nvidia 525 driver.

It worked when I applied the same things with debian 12. By the way, is nvidia-persistenced important? It doesn't work in devuan properly. I assume it has hard dependency to systemd.

Last edited by recklessswing (2023-08-07 22:20:14)

Offline

#2 2023-08-08 14:09:59

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 221  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

On your second point nvidia-persistenced has no real purpose unless you want to use CUDA.

If you don't need CUDA then you can just delete it, nvidia works fine without it.

There was (is still?) a bug in the code that dates back to 2014 that can lead to it not initialising properly. Nothing to do with systemd, just poor code.

See my post dating back to April 2020.

https://dev1galaxy.org/viewtopic.php?pid=20903#p20903

Offline

#3 2023-08-08 20:21:39

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

What I did so far today: I uncommented the WaylandEnable=true line. Also, I commented the lines at /lib/udev/rules.d/61-gdm.rules, which were these lines:

LABEL="gdm_prefer_xorg"
#RUN+="/usr/libexec/gdm-runtime-config set daemon PreferredDisplayServer xorg"
GOTO="gdm_end"

LABEL="gdm_disable_wayland"
#RUN+="/usr/libexec/gdm-runtime-config set daemon WaylandEnable false"
GOTO="gdm_end"

LABEL="gdm_end"

Wayland supposedly works(!) but when I click firefox, it seems to be loading but it won't open, and finally will shutdown later. I tried to remove that gdm.rules file, still the same thing.

Offline

#4 2023-08-13 21:58:06

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Just curious why none helped me yet? If having a working wayland gnome isn't devs target, then it is ok for me. No worries. I will use xorg then.

Offline

#5 2023-08-14 11:17:57

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 221  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Just surmising that there's no one here who:

1) has chosen Gnome as their DM and
2) has an Nvidia graphics card and
3) has chosen to try Wayland and has got it working successfully.

Offline

#6 2023-08-14 16:07:53

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Ok Marjorie, I got one question. Does that debian to devuan thing still working: https://www.devuan.org/os/documentation … owulf.html
I tried it a few days ago but couldn't remove systemd at all. I got a debian system, and I want to try migrating to devuan. But I couldn't on the VM.

Offline

#7 2023-08-14 16:32:42

golinux
Administrator
Registered: 2016-11-25
Posts: 3,319  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

What exactly do you mean by "couldn't remove systemd at all"? Perhaps THIS?

Offline

#8 2023-08-14 18:32:21

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,487  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Are you trying to migrate debian stretch to devuan or are you on some other release of debian? The instructions for migration are not the same for every release. And sometimes you have to do something different from the instructions. Say more about what you're doing.

Offline

#9 2023-08-14 20:01:12

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 221  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

You can certainly do it from Bullseye (11) to Chimaera (4).
The instructions are here:
https://www.devuan.org/os/documentation … o-chimaera

The instructions you quote for Stretch (10) to Beowulf (3) are the 'official' Devuan instructions.
https://www.devuan.org/os/documentation … to-beowulf
and should also still work, at least on bare metal, as the source and destinations systems are both essentially frozen.
This does assume that the repositories are still there: Beowulf is now quite old.

If you coming from Bullseye (or earlier) you can convert that and then upgrade to Daedalus: although the upgrade process to Daedalus hasn't yet been formally documented several of us have done it and reported back to the Forum as to how we did it. It's pretty straightforward.

As to converting from Bookworm to Daedalus there aren't as yet any instructions for this on the Devuan site.
I have seem some discussion of the issues on the Devuan DNG list and it doesn't seem quite as straightforward if systemd is already installed (as you seem to have found).
The problem seems to be with removing systemd at Pid 1, and not locking the system.
Others more involved than me may be able to better answer how, if at all, this can be done.
And if it is possible then no doubt the instructions on how to do it will be published when Daedalus goes live.

Last edited by Marjorie (2023-08-14 20:59:09)

Offline

#10 2023-08-14 20:12:32

delgado
Member
Registered: 2022-07-14
Posts: 213  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Marjorie wrote:

The problem seems to be with removing systemd at Pid 1, and not locking the system.

# apt install sysvinit-core 
# reboot

and init is pid 1.

Offline

#11 2023-08-14 21:06:31

golinux
Administrator
Registered: 2016-11-25
Posts: 3,319  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Daedalus release is in progress atm so might be best to avoid accessing repositories until all servers are in sync . . .

Offline

#12 2023-08-14 22:00:05

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

I am trying to migrate from bookworm the daedalus actually, which it didn't work.

Offline

#13 2023-08-15 11:33:46

delgado
Member
Registered: 2022-07-14
Posts: 213  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

The following worked for me to migrate bookworm to daedalus in a virtual machine.
ssh'ed in the vm, then copy-pasted commands.

No guaranty!

$ cat migration.notes.txt

# commands done as "root" 

# stage 1:
apt update
apt upgrade
#apt install sysvinit-core ntp              # no X
apt install sysvinit-core ntp slim openbox  # simple DM and WM to not loose X eventually 
reboot

# stage 2
# keep network as it is
echo 'GRUB_CMDLINE_LINUX="net.ifnames=1"' >>/etc/default/grub
update-grub

keyring="devuan-keyring_2023.05.28_all.deb"     # daedalus 
[ ! -f "$keyring" ] && wget http://deb.devuan.org/merged/pool/DEVUAN/main/d/devuan-keyring/"$keyring"
dpkg -i "$keyring"

file="/etc/apt/sources.list.debian"
[ ! -f "$file" ] && cp -a /etc/apt/sources.list "$file" 
cat << EOF >/etc/apt/sources.list
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
# add recommended repos 
EOF

apt update
apt upgrade
apt dist-upgrade

apt purge systemd  # just to be sure
# likely, more stuff was de-installed  
# a syslogd may be missing

Offline

#14 2023-08-15 18:07:58

andyp67
Member
Registered: 2022-10-30
Posts: 228  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

wayland doesn't work nvidia is a stupid statement

Offline

#15 2023-09-10 02:03:51

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 98  

Re: Devuan 5 daedalus gnome wayland doesn't work with nvidia

Interesting that is, KDE Wayland works with nvidia. With small tinkering. But gnome still doesn't work. In gnome, also inxi -F doesn't work in terminal properly. It just stops. Very weird behaviour.

Offline

Board footer