https://github.com/ryuuzaki42/14_nvidia_driver_slackware
Nvidia driver to Slackware 15.0
https://github.com/ryuuzaki42/14_nvidia_driver_slackware
nvidia nvidia-driver nvidia-gpu nvidia-smi slackware slackware-slackbuild
Last synced: 23 days ago
JSON representation
Nvidia driver to Slackware 15.0
- Host: GitHub
- URL: https://github.com/ryuuzaki42/14_nvidia_driver_slackware
- Owner: ryuuzaki42
- Created: 2022-08-04T17:34:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-23T04:20:12.000Z (11 months ago)
- Last Synced: 2025-06-23T05:25:24.867Z (11 months ago)
- Topics: nvidia, nvidia-driver, nvidia-gpu, nvidia-smi, slackware, slackware-slackbuild
- Language: Shell
- Homepage:
- Size: 57.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nvidia driver and kernel compiled to Slackware
## Version
Nvidia driver: 580.142
Slackware 15.0 Kernel: 5.15.206
### Last update: 10/05/2026
## Tested in laptops with Nvidia GeForce 930MX and 940MX
# lspci -v | grep "NVIDIA"
$ nvidia-smi -L
## Links
1. https://docs.slackware.com/howtos:hardware:nvidia_optimus
2. https://docs.slackware.com/howtos:hardware:nvidia_optimus#official_optimus_support_with_the_nvidia_proprietary_driver
3. https://docs.slackware.com/howtos:hardware:proprietary_graphics_drivers
4. https://download.nvidia.com/XFree86/Linux-x86_64/580.142/README/primerenderoffload.html
5. https://wiki.archlinux.org/title/NVIDIA
6. https://wiki.debian.org/NVIDIA%20Optimus
7. https://www.nvidia.com/object/unix.html
## Alternative - use Bumblebee
https://github.com/ryuuzaki42/24_Bumblebee-SlackBuilds-Packages/
## How Install
### 1. Download the latest release version that matches with the kernel in use and extract:
14_Nvidia_Driver_Slackware__.zip
https://github.com/ryuuzaki42/14_Nvidia_Driver_Slackware/releases/
### The latest update
https://github.com/ryuuzaki42/14_Nvidia_Driver_Slackware/releases/latest
### 2. Login as root and upgradepkg xf86-video-nouveau-blacklist
cd 14_Nvidia_Driver_Slackware*/final_packages/
su
upgradepkg upgrade/xf86-video-nouveau-blacklist-1.0-noarch-1.txz
### 3. Install / Upgrade nvidia-driver and nvidia-kernel
upgradepkg --install-new --reinstall nvidia-*driver-*z nvidia-*kernel-*z
### 4. Add the configuration file
cp 21-LAR-nvidia-screens.conf /etc/X11/xorg.conf.d/21-LAR-nvidia-screens.conf
### 5. Reboot your system to take effect
## Test
xrandr --listproviders
Should display a provider named NVIDIA-G0 (for “NVIDIA GPU screen 0”)
glxinfo | grep "OpenGL vendor"
Should display your integrated GPU's' vendor as opposed to NVIDIA (e.g., Intel)
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep "OpenGL vendor"
Should display: "OpenGL vendor string: NVIDIA Corporation"
## To run games on Steam
https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
### With mangohud
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia mangohud %command%
## If you use slackpkg+, set nouveau to greylist:
https://slakfinder.org/slackpkg+.html
echo "xf86-video-nouveau" >> /etc/slackpkg/greylist
## After a kernel update will need to rebuilt nvidia-kernel
---
## Built using scripts based on:
https://slackbuilds.org/repository/15.0/system/nvidia-kernel/
https://slackbuilds.org/repository/15.0/system/nvidia-driver/ with COMPAT32="yes"
---
## Built legacy580 using scripts based on:
```
EOL NOTE: The 580.xx series will be the last to support the Maxwell
and Pascal GPUs (GTX 745,750; GT(X) 8xx,9xx,10xx cards) as well as
Volta (Titan series). When the next driver series is released, this
will become nvidia-legacy580.
```
https://slackbuilds.org/repository/15.0/system/nvidia-legacy580-kernel/
https://slackbuilds.org/repository/15.0/system/nvidia-legacy580-driver/ with COMPAT32="yes"
- The Wine libraries are now installed by default