DEV Community

Arch Linux: NVIDIA driver installation for GeForce GTX 1050 Ti

Arseny Zinchenko on March 25, 2019

The main goal when I was buying a new PC with NVIDIA GeForce GTX 1050 Ti was an ability to play games on Arch Linux without the necessity to reboot...
Collapse
 
mike239x profile image
Mike Lezhnin • Edited

Hmmm, I am right now trying to use nvidia drivers on exactly the same video card, but even after deleting nouveau & mesa and installing nvidia I still get lspci saying the kernel module in use is nouveau :(
More googling it is.

P.S. ended up using nouveau for drivers, + installed nvidia + commented out that one place that blacklists nouveau. I still want to get cuda working, but having a working xorg seems more important right now :)

Collapse
 
cokesandtokes profile image
whoami

Did you delete kms from mkinitcpio?

Collapse
 
unxus profile image
electric-otter

You may create a basic udev rule, # Create a file in /etc/udev/rules.d/99-monitor-names.rules
SUBSYSTEM=="drm", KERNEL=="card0", ATTR{devname}=="HDMI-A-0", NAME="HDMI-0"
SUBSYSTEM=="drm", KERNEL=="card1", ATTR{devname}=="DVI-D-0", NAME="DVI-D-0"
And you can use these directories: /etc/udev/rules.d/99-monitor-names.rules, check your card number, card0 or card1, etc, and use KERNEL==cardnumber, open terminal (for example, Konsole), and type xrandr --listmonitors
should look like this Monitors:(number)
Connected device with graphics port for example: HDMI. or you could enter sudo nano /etc/udev/rules.d/99-monitor-names.rules
but if your a root user you can do nano /etc/udev/rules.d/99-monitor-names.rules
Always check your GPU configs. as they could be corrupted. To apply these changes type sudo udevadm control --reload, hopefully it fixes your arch linux issues! :)

Collapse
 
rduttshukla profile image
RIshi Dutt Shukla

Can you clarify one thing, is this advice for notebook GTX 1050 Ti or desktop one?

Collapse
 
setevoy profile image
Arseny Zinchenko

Hi, Rishi.
Sorry for the long reply - didn't notice notification.

Answering your question - I did this installation on my PC, not a laptop/notebook.