You are not logged in.

#1 2020-11-03 23:41:29

860lacov
Member
Registered: 2020-05-02
Posts: 497

[SOLVED] Gnome uses X11 instead wayland

loginctl 
SESSION  UID USER SEAT  TTY 
     17 1000 jm   seat0 tty2
loginctl show-session 17 -p Type
Type=x11

In gdm under little cog when I can change sessions I have only GNOME and GNOME Classic

Last edited by 860lacov (2021-02-08 23:09:30)

Offline

#2 2020-11-04 09:09:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,363

Re: [SOLVED] Gnome uses X11 instead wayland

Do you have the nvidia driver loaded in any shape or form? GDM ships with a udev rule to enforce X11 if it detects the nvidia kernel module.

https://wiki.archlinux.org/index.php/GD … DIA_driver

Last edited by V1del (2020-11-04 09:09:37)

Offline

#3 2020-11-04 09:22:54

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] Gnome uses X11 instead wayland

V1del wrote:

Do you have the nvidia driver loaded in any shape or form? GDM ships with a udev rule to enforce X11 if it detects the nvidia kernel module.

https://wiki.archlinux.org/index.php/GD … DIA_driver

Yes
I use Nvidia driver (GTX780). The latest one.

I did:

GDM doesn't work well in Wayland mode with the proprietary NVIDIA driver. When using this driver, GDM will use Xorg instead.[7]

To force-enable Wayland, disable the udev rule responsible for disabling Wayland in GDM:
# ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

But after system reboot there are no changes

Offline

#4 2020-11-04 09:24:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,363

Re: [SOLVED] Gnome uses X11 instead wayland

You will also have to change the configuration read a few sections down, and uncomment/set the WaylandEnable= variable to true

...

But this rule is not in place for fun and the warning isn't either, it's unlikely to work well.

Last edited by V1del (2020-11-04 09:25:23)

Offline

#5 2020-11-04 10:12:39

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] Gnome uses X11 instead wayland

V1del wrote:

You will also have to change the configuration read a few sections down, and uncomment/set the WaylandEnable= variable to true

...

But this rule is not in place for fun and the warning isn't either, it's unlikely to work well.


I did:

To use the Xorg backend by default, uncomment the following line in /etc/gdm/custom.conf:

WaylandEnable=true

and

To let GDM use Wayland, comment out the related line:

 #DRIVER=="nvidia", RUN+="/usr/lib/gdm-disable-wayland"

But still it's x11
A short time ago I wasn't aware about wayland existence. There are probably no real benefits for me, so I maybe I should wait for better support.

Offline

#6 2020-11-04 11:18:48

icar
Member
Registered: 2020-07-31
Posts: 562

Re: [SOLVED] Gnome uses X11 instead wayland

It's just Nvidia refusing to work with GBM and going its own way with EGLStreams. You can start reading more here https://wiki.archlinux.org/index.php/Wayland

Offline

#7 2020-11-04 11:29:20

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] Gnome uses X11 instead wayland

icar wrote:

It's just Nvidia refusing to work with GBM and going its own way with EGLStreams. You can start reading more here https://wiki.archlinux.org/index.php/Wayland

I've been there.
But I don't know, and didn't find information how to enable EGLStreams in Gnome
From AUR I did install weston-eglstream but no changes and I have no idea

Offline

Board footer

Powered by FluxBB