Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T18:51:21.000Z (6 months ago)
- Last Synced: 2024-08-12T21:53:59.960Z (6 months ago)
- Topics: nvidia, nvidia-driver, nvidia-gpu, nvidia-smi, slackware, slackware-slackbuild
- Language: Shell
- Homepage:
- Size: 46.9 KB
- Stars: 2
- 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: 555.58.02
Slackware 15.0 Kernel: 5.15.161### Last update: 21/06/2024
## 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/555.58.02/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__.ziphttps://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+.htmlecho "xf86-video-nouveau" >> /etc/slackpkg/greylist
## After a kernel update will need to rebuilt nvidia-kernel
## Build 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"