r/voidlinux • • Sep 02 '26

Gtx 750 and system update.

hello. I have gtx750. When i updated my system, x stopped working. I tried to fix it, but did not manage to.

I am supposed to use 580 drivers according to docs page. And system installed some open source part of 590 drivers, which does not work with my card.

7 Upvotes

12 comments sorted by

2

u/aedinius Sep 03 '26

You'll need to downgrade to nvidia580 if that's the version you need.

1

u/dbojan76 Sep 06 '26

so I am to do update:

xbps-install -Su

then remove

xbps-remove -R nvidia580-595

then install nvidia580-580, can I just type version too?

xbps-install -S nvidia580-580

do I need to connect it to kernel somehow?

3

u/aedinius Sep 06 '26

nvidia580-595

nvidia is 595.xx. nvidia580 is 580.xx.

[-] nvidia580-libs-32bit-580.178.04_1 NVIDIA drivers fo...
[-] nvidia580-580.178.04_1            NVIDIA drivers fo...
[-] nvidia580-dkms-580.178.04_1       NVIDIA drivers fo...
[-] nvidia580-firmware-580.178.04_1   NVIDIA drivers fo...
[-] nvidia580-gtklibs-580.178.04_1    NVIDIA drivers fo...
[-] nvidia580-libs-580.178.04_1       NVIDIA drivers fo...
[-] nvidia580-opencl-580.178.04_1     NVIDIA drivers fo...

I'm not sure what you have installed, but if its anything other than nvidia580*. If it's nvidia-595, you'll have to remove it:

# xbps-remove -R nvidia nvidia-libs-32bit

And then install nvidia580.

# xbps-install nvidia580 nvidia580-libs-32bit

1

u/dbojan76 Sep 28 '26 edited Sep 28 '26

here is what worked for me for gtx 750

# nvidia driver 580
#remove old nouveau driver (if using kernel driver, then it will not work, 
#and will show error, in that case add it later to blacklist. 
#also if you have this installed (and not blacklisted) 
#you can start x, but advanced features like games, 
#and external monitors will not work)

# '-' in 'xf86-video-nouveau-' means uninstall

sudo xbps-install -S xf86-video-nouveau-

# 1. Install the nvidia580 legacy driver and the DKMS hooks
sudo xbps-install -S nvidia580

# 2. Install 32-bit libraries (needed for Steam, Wine, or Proton games)
sudo xbps-install -S nvidia580-libs-32bit

# 3. Reboot the machine to drop the nouveau kernel module and load nvidia
sudo reboot

#test
nvidia-smi
#did not work for me (error nvidia drive not installed), so:

sudo xbps-install -S linux-headers
sudo xbps-reconfigure -f nvidia580

sudo reboot
nvidia-smi
#if still not loading nvidia driver instead of noveau :
#blacklis noveau nvidia drivers, update your kernel boot image

echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf

sudo dracut --regenerate-all --force

sudo reboot


#to remove blacklisting of noveau nvidia drivers, remove file, 
#update your kernel boot image :
sudo rm /etc/modprobe.d/blacklist-nouveau.conf
sudo dracut --regenerate-all --force


## lock to 580, so it does not update in the future.
sudo mkdir -p /etc/xbps.d/
echo "ignorepkg=nvidia" | sudo tee /etc/xbps.d/10-nvidia-lock.conf
echo "ignorepkg=nvidia-libs" | sudo tee -a /etc/xbps.d/10-nvidia-lock.conf
echo "ignorepkg=nvidia-libs-32bit" | sudo tee -a /etc/xbps.d/10-nvidia-lock.conf

to unlock 580:
sudo rm /etc/xbps.d/10-nvidia-lock.conf

1

u/MrHoboSquadron Sep 02 '26

What's the output of xbps-query -s nvidia?

1

u/dbojan76 Sep 02 '26

I messed up my system so cant really say. I restored old backup and now when i run system update it says before continuing update:

starting with 595.xx void uses open dkms. If you have older gpu you will need to switch to 580.xx driver.

But I don't know how to do that. If i just run xbps-install -Su it will just install 590.xx again?

2

u/MrHoboSquadron Sep 02 '26

If it's asking you that, it means you have the normal nvidia package installed. You need to remove it and install just the nvidia580 package.

1

u/dbojan76 Sep 03 '26
bash-5.2$ sudo xbps-query -Rs nvidia
[-] bbswitch-0.8_5                         Kernel module for disabling the nVidia GPU on Optimus laptops
[-] bumblebee-3.2.1_8                      NVIDIA Optimus support for Linux through VirtualGL
[-] gwe-0.15.5_4                           Utility for overclocking NVIDIA cards
[-] libnvidia-container-1.17.5_2           NVIDIA container runtime library
[-] libnvidia-container-devel-1.17.5_2     NVIDIA container runtime library - development files
[-] linux-firmware-nvidia-20260810_1       Binary firmware blobs for the Linux kernel NVIDIA GPU microcode
[-] mesa-nouveau-dri-26.1.8_1              Mesa DRI drivers for NVIDIA GPUs (transitional dummy package)
[-] nv-codec-headers-13.0.19.0_1           FFmpeg version of headers required to interface with Nvidias codec APIs
[-] nv-codec-headers12.0-12.0.16.1_1       FFmpeg 4 version of headers for Nvidia's codec APIs
[-] nvidia-container-toolkit-1.17.5_1      Build and run containers leveraging NVIDIA GPUs
[-] nvidia-docker-2.11.0_1                 Build and run Docker containers leveraging NVIDIA GPUs
[-] nvidia-vaapi-driver-0.0.16_1           VA-API implementation using NVIDIA's NVDEC
[-] nvtop-3.3.2_1                          GPUs process monitoring for AMD, Intel and NVIDIA
[*] xf86-video-nouveau-1.0.18_1            Xorg opensource NVIDIA video driver
[-] nvidia-gtklibs-32bit-390.87_1          NVIDIA drivers for linux (long-lived series) - GTK+ libraries (32bit)
[-] nvidia-libs-32bit-595.91.07_1          NVIDIA drivers for linux - common libraries (32bit)
[-] nvidia-opencl-32bit-390.87_1           NVIDIA drivers for linux (long-lived series) - OpenCL implementation (32bit)
[-] nvidia390-gtklibs-32bit-390.157_7      NVIDIA drivers (GeForce 400, 500 series) - GTK+ libraries (32bit)
[-] nvidia390-libs-32bit-390.157_7         NVIDIA drivers (GeForce 400, 500 series) - common libraries (32bit)
[-] nvidia390-opencl-32bit-390.157_7       NVIDIA drivers (GeForce 400, 500 series) - OpenCL implementation (32bit)
[-] nvidia470-libs-32bit-470.256.02_2      NVIDIA drivers (GKxxx “Kepler”) - common libraries (32bit)
[-] nvidia580-libs-32bit-580.178.04_1      NVIDIA drivers for linux - common libraries (32bit)
[-] mesa-nouveau-dri-32bit-26.1.8_1        Mesa DRI drivers for NVIDIA GPUs (transitional dummy package) (32bit)
[-] nv-codec-headers-32bit-13.0.19.0_1     FFmpeg version of headers required to interface with Nvidias codec APIs (32bit)
[-] nv-codec-headers12.0-32bit-12.0.16.1_1 FFmpeg 4 version of headers for Nvidia's codec APIs (32bit)
[-] nvidia-595.91.07_1                     NVIDIA drivers for linux - Libraries and Utilities
[-] nvidia-dkms-595.91.07_1                NVIDIA drivers for linux - DKMS kernel module
[-] nvidia-firmware-595.91.07_1            NVIDIA drivers for linux - Firmware
[-] nvidia-gtklibs-595.91.07_1             NVIDIA drivers for linux - GTK+ libraries
[-] nvidia-libs-595.91.07_1                NVIDIA drivers for linux - common libraries
[-] nvidia-opencl-595.91.07_1              NVIDIA drivers for linux - OpenCL implementation
[-] nvidia390-390.157_7                    NVIDIA drivers (GeForce 400, 500 series) - Libraries and Utilities
[-] nvidia390-dkms-390.157_7               NVIDIA drivers (GeForce 400, 500 series) - DKMS kernel module
[-] nvidia390-gtklibs-390.157_7            NVIDIA drivers (GeForce 400, 500 series) - GTK+ libraries
[-] nvidia390-libs-390.157_7               NVIDIA drivers (GeForce 400, 500 series) - common libraries
[-] nvidia390-opencl-390.157_7             NVIDIA drivers (GeForce 400, 500 series) - OpenCL implementation
[-] nvidia470-470.256.02_2                 NVIDIA drivers (GKxxx “Kepler”) - Libraries and Utilities
[-] nvidia470-dkms-470.256.02_2            NVIDIA drivers (GKxxx “Kepler”) - DKMS kernel module
[-] nvidia470-gtklibs-470.256.02_2         NVIDIA drivers (GKxxx “Kepler”) - GTK+ libraries
[-] nvidia470-libs-470.256.02_2            NVIDIA drivers (GKxxx “Kepler”) - common libraries
[-] nvidia470-opencl-470.256.02_2          NVIDIA drivers (GKxxx “Kepler”) - OpenCL implementation
[-] nvidia580-580.178.04_1                 NVIDIA drivers for linux - Libraries and Utilities
[-] nvidia580-dkms-580.178.04_1            NVIDIA drivers for linux - DKMS kernel module
[-] nvidia580-firmware-580.178.04_1        NVIDIA drivers for linux - Firmware
[-] nvidia580-gtklibs-580.178.04_1         NVIDIA drivers for linux - GTK+ libraries
[-] nvidia580-libs-580.178.04_1            NVIDIA drivers for linux - common libraries
[-] nvidia580-opencl-580.178.04_1          NVIDIA drivers for linux - OpenCL implementation
bash-5.2$ nvidia-s
nvidia-settings  nvidia-sleep.sh  nvidia-smi       
bash-5.2$ nvidia-s
nvidia-settings  nvidia-sleep.sh  nvidia-smi       
bash-5.2$ nvidia-smi 
Thu Sep  3 07:15:31 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.169                Driver Version: 570.169        CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 750         Off |   00000000:01:00.0  On |                  N/A |
| 30%   41C    P8              1W /   38W |     503MiB /   1024MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A             811      G   /usr/libexec/Xorg                       160MiB |
|    0   N/A  N/A            2736      G   firefox                                 198MiB |
|    0   N/A  N/A            3380      G   firefox                                 136MiB |
+-----------------------------------------------------------------------------------------+
bash-5.2$ sudo xbps-install -Su
[*] Updating repository `https://repo-de.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...

Name                    Action    Version           New version            Download size
xf86-video-vmware       replaced  13.4.0_1          -                      - 
...
zramen                  update    1.0.0_1           1.0.1_1                5505B 

Size to download:             1909MB
Size required on disk:        4129MB
Space available on disk:        13GB

[*] nvidia update message:
Starting with 595.xx, Void now uses the "open" DKMS modules. The "open" drivers
only support Turing and later GPUs. For a complete list, refer to the following
list of compatible devices.

    https://github.com/nvidia/open-gpu-kernel-modules#compatible-gpus

If you have an older GPU, you will need to switch to the 580.xx driver branch,
supported by the `nvidia580` family of packages.


Do you want to continue? [Y/n] 


1

u/MrHoboSquadron Sep 03 '26

There's something weird with your system. You've got access to some commands from the nvidia package but only nouveau installed. In the sudo xbps-install -Su list, does it display nvidia as one of the packages being updated/installed? I'm assuming that wasn't the full list since you put ... in the middle of it.

1

u/VirtualParanoia Sep 03 '26

Oh newer kernel just broke nvidia-470 find patched drivers on github, you can do it from tty

1

u/dbojan76 Sep 03 '26

how?

2

u/VirtualParanoia Sep 03 '26

As in my case (nvidia GT730m) we have the same architecture, and by newest kernels Kepler architecture is no longer supported as it falls down onto legacy, so one need to install patched drivers, firstly remove everything Nvidia, then follow the instructions from the github link, it should do everything for you (DKMS, Xorg config ect)