Last active
February 12, 2025 08:22
-
-
Save abairo/e7abdd22b14c3ecd59ee9009ac0ce6e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1 - install nvidia packages and xorg-server: | |
sudo pacman -S nvidia nvidia-utils nvidia-settings xorg-server-devel opencl-nvidia | |
2 - insert noveau on blacklist: | |
/usr/lib/modprobe.d/nvidia.conf | |
blacklist nouveau | |
3 - run nvidia command to create xorg.conf: | |
nvidia-xconfig --prime | |
4 - Edit the grub config: /etc/default/grub and update grub | |
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1 | |
5 - add new conf to .xinitrc: | |
xrandr --setprovideroutputsource modesetting NVIDIA-0 | |
xrandr --auto | |
xrandr --dpi 96 | |
exec bspwm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment