As title, I’m encountering problems using any kind of Wayland-based DE. The only ones that works is plasma and gnome. Cinnamon-wayland, sway, hyprland and cosmic de won’t work.
I tried to follow (more or less) this: https://linuxiac.com/nvidia-with-wayland-on-arch-setup-guide/ but it didn’t work for me.
I’ve said “more or less” because I found some voices in the mkinitcpio.conf
that are not present in those are in the link above, so I just added what it was to add in the exact place where needed in the order and I didn’t touch the order of the other stuff.
Time ago, Hyprland was working, then it stops to do it.
Suggestions?
~/.config/hypr/config ❱ catp env-vars.conf 11:00:04
# Per Wiki https://wiki.hyprland.org/Nvidia/
#env = LIBVA_DRIVER_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
env = XDG_SESSION_TYPE=wayland
env = XCURSOR_SIZE,64
env = QT_QPA_PLATFORM,wayland
#,xcb
#env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_QPA_PLATFORMTHEME,qt6ct
env = GDK_BACKEND=wayland,x11
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
#env = GDK_BACKEND,x11
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
Is what I use (RTX3070).
Firstly, let’s clear up some things. The Wayland session on Cinnamon is deemed by the developers to be experimental. Cosmic is in Alpha too. Sway and Hyprland aren’t really DEs either and Hyprland Lead Developer got banned from FreeDesktop, so he went to do his own thing. Plasma and GNOME are the most mature implementations of Wayland because they simply have the most programming muscle behind them. I can’t help much with setting up and figuring out how to get other Wayland sessions working. To be honest, I would recommend you get Plasma and try out Polonium if you want tilling window manager on Wayland. I think it will be easier and less trouble.
Setting up Nvidia on EndeavourOS is easier than on Standard Arch. Install nvidia-inst
and run nvidia-inst
and you’re done. You have the drivers installed and set up, at least for Plasma, from my experience.
Why?
The lead developer had some snarky remarks against a transgender person in his Discord and one of the mod on his Discord was also dismissive towards that person. Extremely petty BS, basically, on both sides.
In my .config/hypr
there’s no /config
directory, but just a hypr.conf
and hyprland.conf
…
Yeh, just make sure you have the nvidia environmental variables set in your conf. I keep mine in separate files for ease of editing.
Changing display manager it seems to work.
Anyway, cinnamon wayland, sway and waybox doesn’t work yet.