Created
October 23, 2018 15:45
-
-
Save gabrielmoura/41d8817ab631d20638e496ccd0b5ce1f to your computer and use it in GitHub Desktop.
Nvidia GPU principal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -Rns bumblebee --noconfirm | |
sudo nano /etc/X11/xorg.conf.d/20-display.conf | |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "nvidia" | |
Inactive "intel" | |
EndSection | |
Section "Device" | |
Identifier "nvidia" | |
Driver "nvidia" | |
BusID "PCI:1:0:0" | |
EndSection | |
Section "Screen" | |
Identifier "nvidia" | |
Device "nvidia" | |
Option "AllowEmptyInitialConfiguration" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "modesetting" | |
BusID "PCI:0:2:0" | |
EndSection | |
Section "Screen" | |
Identifier "intel" | |
Device "intel" | |
EndSection | |
sudo nano /usr/share/sddm/scripts/Xsetup | |
xrandr --setprovideroutputsource modesetting NVIDIA-0 | |
xrandr --auto | |
sudo nano /etc/mkinitcpio.conf | |
MODULES=(i915) | |
sudo nano /etc/modprobe.d/i915.conf | |
options i915 modeset=1 | |
sudo mkinitcpio -p linux | |
reboot | |
xrandr --listproviders |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment