Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installing Nvidia Drivers
- 1.
- nano /etc/default/grub
- acpi_osi="!Windows 2015"
- nvidia-drm modeset=1
- example: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2015\""
- It will be one of these two:
- GRUB_CMDLINE_LINUX="nomodeset i915.modeset=1"
- GRUB_CMDLINE_LINUX="nvidia-drm modeset=1"
- 2.
- nano /etc/lightdm/display_setup.sh
- #!/bin/sh
- xrandr --setprovideroutputsource modesetting NVIDIA-0
- xrandr --auto
- chmod +x /etc/lightdm/display_setup.sh
- nano /etc/lightdm/lightdm.conf
- [Seat:*] uncomment*
- display-setup-script=/etc/lightdm/display_setup.sh
- sddm:
- nano /usr/share/sddm/scripts/Xsetup
- xrandr --setprovideroutputsource modesetting NVIDIA-0
- xrandr --auto
- 3.
- nano /etc/X11/xorg.conf
- Section "ServerLayout"
- Identifier "layout"
- Screen 0 "intel"
- Inactive "nvidia"
- EndSection
- Section "Device"
- Identifier "intel"
- Driver "intel"
- BusID "PCI:00:02:0"
- Option "AccelMethod" "SNA"
- EndSection
- Section "Screen"
- Identifier "intel"
- Device "intel"
- EndSection
- Section "Device"
- Identifier "nvidia"
- Driver "nvidia"
- BusID "PCI:02:00:0"
- Option "ConstrainCursor" "off"
- EndSection
- Section "Screen"
- Identifier "nvidia"
- Device "nvidia"
- Option "AllowEmptyInitialConfiguration" "on"
- Option "IgnoreDisplayDevices" "CRT"
- EndSection
- nano /etc/X11/xorg.conf.d/20-nvidia.conf
- Section "Device"
- Identifier "Nvidia Card"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- BoardName "GeForce GTX 960 M"
- EndSection
- Bus ID Command:
- lspci | egrep 'VGA|3D'
- 4.
- modprobe nvidia nvidia_modeset nvidia_uvm nvidia_drm
- rmmod nvidia-drm && modprobe nvidia-drm.modeset=1
- 5.
- sudo pacman -S lib32-mesa-demos mesa-demos libva-vdpau-driver nvidia nvidia-libgl lib32-nvidia-utils nvidia-settings lib32-opencl-nvidia
- systemctl enable nvidia
- reboot
- ::EXTRA::
- nvidia-xconfig
- xrandr --dpi 96
- xrandr --verbose
- xrandr --listproviders
- ERRORS:
- modprobe: ERROR: could not insert 'nvidia': No such device
- modprobe: FATAL: Module nvidia-drm.modeset=1 not found in directory /lib/modules/4.14.7-1-ARCH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement