Advertisement
shastenm76

Nvidia Problems :(

Dec 20th, 2017
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. Installing Nvidia Drivers
  2.  
  3. 1.
  4. nano /etc/default/grub
  5. acpi_osi="!Windows 2015"
  6. nvidia-drm modeset=1
  7. example: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2015\""
  8. It will be one of these two:
  9. GRUB_CMDLINE_LINUX="nomodeset i915.modeset=1"
  10. GRUB_CMDLINE_LINUX="nvidia-drm modeset=1"
  11. 2.
  12. nano /etc/lightdm/display_setup.sh
  13.  
  14. #!/bin/sh
  15. xrandr --setprovideroutputsource modesetting NVIDIA-0
  16. xrandr --auto
  17.  
  18.  
  19. chmod +x /etc/lightdm/display_setup.sh
  20.  
  21. nano /etc/lightdm/lightdm.conf
  22. [Seat:*] uncomment*
  23.  
  24. display-setup-script=/etc/lightdm/display_setup.sh
  25.  
  26. sddm:
  27. nano /usr/share/sddm/scripts/Xsetup
  28.  
  29. xrandr --setprovideroutputsource modesetting NVIDIA-0
  30. xrandr --auto
  31.  
  32. 3.
  33. nano /etc/X11/xorg.conf
  34.  
  35. Section "ServerLayout"
  36. Identifier "layout"
  37. Screen 0 "intel"
  38. Inactive "nvidia"
  39. EndSection
  40.  
  41. Section "Device"
  42. Identifier "intel"
  43. Driver "intel"
  44. BusID "PCI:00:02:0"
  45. Option "AccelMethod" "SNA"
  46. EndSection
  47.  
  48. Section "Screen"
  49. Identifier "intel"
  50. Device "intel"
  51. EndSection
  52.  
  53. Section "Device"
  54. Identifier "nvidia"
  55. Driver "nvidia"
  56. BusID "PCI:02:00:0"
  57. Option "ConstrainCursor" "off"
  58. EndSection
  59.  
  60. Section "Screen"
  61. Identifier "nvidia"
  62. Device "nvidia"
  63. Option "AllowEmptyInitialConfiguration" "on"
  64. Option "IgnoreDisplayDevices" "CRT"
  65. EndSection
  66.  
  67. nano /etc/X11/xorg.conf.d/20-nvidia.conf
  68.  
  69. Section "Device"
  70. Identifier "Nvidia Card"
  71. Driver "nvidia"
  72. VendorName "NVIDIA Corporation"
  73. BoardName "GeForce GTX 960 M"
  74. EndSection
  75.  
  76. Bus ID Command:
  77. lspci | egrep 'VGA|3D'
  78.  
  79.  
  80.  
  81. 4.
  82. modprobe nvidia nvidia_modeset nvidia_uvm nvidia_drm
  83. rmmod nvidia-drm && modprobe nvidia-drm.modeset=1
  84.  
  85.  
  86. 5.
  87. sudo pacman -S lib32-mesa-demos mesa-demos libva-vdpau-driver nvidia nvidia-libgl lib32-nvidia-utils nvidia-settings lib32-opencl-nvidia
  88.  
  89.  
  90. systemctl enable nvidia
  91. reboot
  92.  
  93.  
  94. ::EXTRA::
  95.  
  96. nvidia-xconfig
  97. xrandr --dpi 96
  98. xrandr --verbose
  99. xrandr --listproviders
  100.  
  101. ERRORS:
  102.  
  103. modprobe: ERROR: could not insert 'nvidia': No such device
  104. 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