Problems that stop me from switching to Wayland

Hello. I’m used to using global scaling (110-120%) and night color scheme at night for eye comfort. On wayland, I have problems with this. When the screen is scaled globally, the font becomes bad, and the night scheme does not work at all. These are the basic problems. There is also a double cursor and a blinking mouse pointer. Also lags the Start menu.
I set up wayland according to the instructions in YouTube. And I’m wondering if this setting is not correct or it’s in the wayland itself.

Plasma-wayland-session and egl-wayland were installed according to the instructions.

Changed /etc/mkinitcpio.conf to

MODULES=“nvidia nvidia_modeset nvidia_uvm nvidia_drm”

(I don’t remember what was originally in this line).

sudo mkinitcpio -p linux510

sudo cat /sys/module/nvidia_drm/parameters/modeset

Y

Added nvidia-drm.modeset=1 to etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT

GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor nvidia-drm.modeset=1 resume=UUID=e7943d40-f1aa-4936-95da-cdc8ca3ee9cc udev.log_priority=3"

sudo update grub

The system has been updated. Sorry if something is not clear, I am writing through a translator.

inxi -Fxs

System:
  Host: manjaro Kernel: 5.10.93-1-MANJARO x86_64 bits: 64 compiler: gcc
    v: 11.1.0 Desktop: KDE Plasma 5.23.5 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: BIOSTAR model: H81MDC v: 5.0
    serial: <superuser required> BIOS: American Megatrends v: 4.6.5
    date: 06/09/2014
CPU:
  Info: dual core model: Intel Pentium G3220 bits: 64 type: MCP arch: Haswell
    rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1108 high: 1417 min/max: 800/3000 cores: 1: 799 2: 1417
    bogomips: 11990
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 730] vendor: Palit Microsystems
    driver: nvidia v: 390.147 bus-ID: 01:00.0
  Display: wayland server: X.Org 1.21.1.4 compositor: kwin_wayland driver:
    loaded: nvidia resolution: 1600x900~60Hz
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    vendor: Biostar Microtech Intl Corp driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0
  Device-2: NVIDIA GF108 High Definition Audio vendor: Palit Microsystems
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.10.93-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.20 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel port: d000
    bus-ID: 03:00.0
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: b8:97:5a:73:4e:b1
Drives:
  Local Storage: total: 465.76 GiB used: 57.51 GiB (12.3%)
  ID-1: /dev/sda vendor: Toshiba model: DT01ACA050 size: 465.76 GiB
Partition:
  ID-1: / size: 161.02 GiB used: 57.46 GiB (35.7%) fs: btrfs dev: /dev/sda6
  ID-2: /home size: 161.02 GiB used: 57.46 GiB (35.7%) fs: btrfs
    dev: /dev/sda6
  ID-3: /var/log size: 161.02 GiB used: 57.46 GiB (35.7%) fs: btrfs
    dev: /dev/sda6
Swap:
  ID-1: swap-1 type: partition size: 3.91 GiB used: 51.8 MiB (1.3%)
    dev: /dev/sda5
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 180 Uptime: 3h 19m Memory: 3.79 GiB used: 942.5 MiB (24.3%)
  Init: systemd Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1485
  Shell: Zsh v: 5.8 inxi: 3.3.12

Wayland does not play well with proprietary drivers. Currently the biggest issue is that NVIDIA does currently not support Xwayland properly

:point_down:

Your setup is not at fault for night color working. NVidia doesn’t support setting gamma ramps on Wayland, which is what KWin currently relies on for night color and color calibration.
Until either NVidia updates their driver to provide that functionality or KWin emulates it in a shader (which can have a noticable performance impact) that will stay broken.

Plasma and other Qt software lagging is a known issue and should be fixed if you use qt5-wayland 5.15.2+kde+r44 or higher (currently in the unstable branch)

1 Like

Is it possible that Nvidia will add support for the 390 driver or is it better not to wait?
I also forgot to say that when I switch to sleep mode, the accounting session is closed, as if I had left it.

No. Driver 390 is also missing lots of other things required for Wayland to work properly; starting with Plasma 5.24 you won’t get any hardware acceleration in the Wayland session with it for example.
I recommend you to wait until either Plasma 5.25 (where we hopefully do night color in a shader when the driver doesn’t support it) or until NVidia releases a driver that supports it, and try again with the latest driver that is available. It should all be in a much better shape then

2 Likes