Linux
retrouvé date t'instalation
ls -lct /etc | tail -1 | awk '{print $6, $7, $8}'
enable Wayland support
-
execute
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
to avoid that gnome test your nvidia Driver -
add
nvidia-drm.modeset=1
to GRUB_CMDLINE_LINUX_DEFAULT in/etc/default/grub -
update grub config
grub-mkconfig -o /boot/grub/grub.cfg
in root -
add nvidia module to mkinitcpio.cong:
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
-
create pacman hook:
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
Target=linux
# Change the linux part above and in the Exec line if a different kernel is used
[Action]
Description=Update Nvidia module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
see if you run on wayland
loginctl show-session $(loginctl G $USERNAME|awk '{print $1}') -p Type
boot in emergency target
- (Re)boot the machine
- Wait for the grub menu to appear, then hit “e”,
- scroll down to the “linux16” line then press the ‘end’ key
- type the following: systemd.unit=emergency.target
- press ctrl+x
- put root writable with
mount -o rw,remount /
disable IPV6
sysctl -b net.ipv6.conf.all.disable_ipv6=1