Howto wayland: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  MODULES=(... nouveau ...)
  MODULES=(... nouveau ...)
update initramfs image:
update initramfs image:
  mkinitcpio -P
  sudo mkinitcpio -P
edit /etc/default/grub and add the following:
edit /etc/default/grub and add the following:
  GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"
  GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"
update grub.cfg:
update grub.cfg:
  grub-mkconfig -o /boot/grub/grub.cfg
  grub-mkconfig -o /boot/grub/grub.cfg
disable gdm udev rules which force use of x11:
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
reboot system:
reboot system:
  reboot
  reboot
when system boot enter gnome desktop and confirm you're running with wayland:
when system boot enter gnome desktop and confirm you're running with wayland:
  echo $XDG_SESSION_TYPE
  echo $XDG_SESSION_TYPE
if you have issues with obs-studio install the following package:
sudo pacman -S qt6-wayland --noconfirm
= references =
* https://www.osside.net/2023/07/02/how-to-enable-wayland-on-arch-linux-nvidia-rtx-gpu/

Latest revision as of 20:02, 28 May 2024

archlinux

edit /etc/gdm/custom.conf and add the following:

WaylandEnable=true

edit /etc/mkinitcpio.conf and add the following modules:

MODULES=(...nvidia nvidia_modeset nvidia_uvm nvidia_drm...)

or if you want the open source driver add nouveau:

MODULES=(... nouveau ...)

update initramfs image:

sudo mkinitcpio -P

edit /etc/default/grub and add the following:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"

update grub.cfg:

grub-mkconfig -o /boot/grub/grub.cfg

disable gdm udev rules which force use of x11:

ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

reboot system:

reboot

when system boot enter gnome desktop and confirm you're running with wayland:

echo $XDG_SESSION_TYPE

if you have issues with obs-studio install the following package:

sudo pacman -S qt6-wayland --noconfirm

references