You are not logged in.

#1 2018-06-08 20:23:02

samrob85
Member
Registered: 2017-07-23
Posts: 31

Stuck on Xorg

I have been having screen tearing issues, and forums suggest that wayland is better than xorg at dealing with this, however I cannot find a way to move from xorg to wayland.

I am using the gnome desktop

"echo $XDG_SESSION_TYPE" returns x11

Last edited by samrob85 (2018-06-08 20:32:20)

Offline

#2 2018-06-08 20:28:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: Stuck on Xorg

Well, what have you tried?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-06-08 20:32:05

samrob85
Member
Registered: 2017-07-23
Posts: 31

Re: Stuck on Xorg

WorMzy wrote:

Well, what have you tried?

I've set Wayland enable=true in /etc/gdm/custom.conf, then restarted, but nothing changed, is there a command I need to use to apply the changes?

Offline

#4 2018-06-08 20:41:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: Stuck on Xorg

Okay, so you're using GDM. The wiki states that:

The Wayland backend is used by default and the Xorg backend is used only if the Wayland backend cannot be started.

So you shouldn't need to do anything special to enable wayland. Check your journal to see why it is failing back to an x11 session. You could also try launching a gnome-wayland session from the console, see if that works.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2018-06-08 20:49:41

samrob85
Member
Registered: 2017-07-23
Posts: 31

Re: Stuck on Xorg

WorMzy wrote:

Okay, so you're using GDM. The wiki states that:

The Wayland backend is used by default and the Xorg backend is used only if the Wayland backend cannot be started.

So you shouldn't need to do anything special to enable wayland. Check your journal to see why it is failing back to an x11 session. You could also try launching a gnome-wayland session from the console, see if that works.

I tried to launch a wayland session as you suggested, but got the following output

dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.gtk.vfs.Daemon' requested by ':1.2' (uid=0 pid=6647 comm="/usr/lib/gnome-session-check-accelerated ")
dbus-daemon[6638]: [session uid=0 pid=6638] Successfully activated service 'org.gtk.vfs.Daemon'
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.8' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.14' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.15' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.15' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[6638]: [session uid=0 pid=6638] Activating service name='org.freedesktop.systemd1' requested by ':1.15' (uid=0 pid=6639 comm="/usr/lib/gnome-session-binary ")
dbus-daemon[6638]: [session uid=0 pid=6638] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
A connection to the bus can't be made

Offline

#6 2018-06-08 22:05:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Stuck on Xorg

How many nvidia GPUs are in your system?

Offline

#7 2018-06-09 07:29:32

samrob85
Member
Registered: 2017-07-23
Posts: 31

Re: Stuck on Xorg

seth wrote:

How many nvidia GPUs are in your system?

Just one

Offline

#8 2018-06-09 11:04:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Offline

Board footer

Powered by FluxBB