So I have done this with no luck:
- Reconfigure gdm, reinstall gdm.
- Editing the /etc/gdm3/daemon.conf with the WaylandEnable=true (now restored the file as the original one).
- Reinstalling Debian again.
- Messing with the /usr/share/wayland-sessions and xsessions files (now restored the original ones).
- Updating the bios motherboard and making sure there's only one gpu (there's only one gpu on my system).
In the gdm screen, if I switch to a terminal and type 'ps aux | grep -i xorg' it returns a xorg so the gdm is running with xorg. In this terminal if I stop the gdm service and start it again, there's no xorg anymore, the gdm works on wayland and I can select the Wayland session again.
Searching in the logs I have found this:
- Code: Select all
gnome-shell: Can't initialize KMS backend: could not find drm kms device
gnome-session: gnome-session-binary: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
gnome-session-binary: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
gnome-session-binary: Unrecoverable failure in required component org.gnome.Shell.desktop
I'm running a Ryzen cpu, Asus prime x370-pro, AMD R9 290. Now I'm running a 4.10 kernel and Mesa 17.0.3 from experimental, but this behaviour is also on kernel 4.9 and Mesa 13 from a fresh Stretch install.
Any idea? Thank you very much.