Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling Wayland
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Tue Mar 14, 2023 2:27 pm    Post subject: Enabling Wayland Reply with quote

hi.
I'd like to try switching from Xorg to Wayland.

I have:
/etc/gdm/custom.conf
Code:
WaylandEnable=true


Also i have the use-flags X and wayland enabled.
I use GDM and Gnome

From the GDM menu i can not see wayland option from the options menu on GDM... Only Xsesssion, Gnome, Gnome-classic and personalized.
Any ideas??

EDIT: Btw... i have Nvidia graphics card, if it helps...??
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Tue Mar 14, 2023 2:58 pm    Post subject: Reply with quote

AFAIK, gnome should try to use wayland first, are you sure you're running under X and not Xwayland?
Open a terminal, run ps and see what's running.

export GDK_BACKEND=wayland should make all gtk apps use wayland not X, should work for gnome also, since all their stuff is gtk based.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Tue Mar 14, 2023 3:01 pm    Post subject: Reply with quote

yes, i am running Xorg.

$ ps -A|grep X
11925 tty4 00:00:04 X

$ ps -A|grep -i way
(this gives nothing)

and if i go to gnome-settings, about, it says X11
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Tue Mar 14, 2023 4:57 pm    Post subject: Reply with quote

Is gdm built with the wayland use flag?
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Tue Mar 14, 2023 6:04 pm    Post subject: Reply with quote

yes, gdm is built with wayland use flag
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Tue Mar 14, 2023 6:35 pm    Post subject: Reply with quote

hmmm -- https://bugzilla.redhat.com/show_bug.cgi?id=2128910

Bug 2128910 - NVIDIA Wayland Session Not Available in GDM 43
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 284

PostPosted: Tue Mar 14, 2023 7:42 pm    Post subject: Reply with quote

This is a workaround for that bug
Code:
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Thu Mar 23, 2023 2:24 pm    Post subject: Reply with quote

spica wrote:
This is a workaround for that bug
Code:
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules


Not helping, didn't get wayland....
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Thu Mar 23, 2023 2:31 pm    Post subject: Reply with quote

I downgraded to GDM 43.0 as someone told me to do so, and i noticed GDM 44.0 has been basked since (wasn't masked when i first upgraded to it)

But still i get no wayland option.


Edit: Ah, noticed thta this bug was for version 43, not 44 :(
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 209

PostPosted: Thu Mar 23, 2023 2:47 pm    Post subject: Reply with quote

Uff, rebooting helped. It wasn't enough doing systemctl restart gdm

Nice, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum