Nvidia driver: 555.58.02
Slackware 15.0 Kernel: 5.15.161
# lspci -v | grep "NVIDIA"
$ nvidia-smi -L
- https://docs.slackware.com/howtos:hardware:nvidia_optimus
- https://docs.slackware.com/howtos:hardware:nvidia_optimus#official_optimus_support_with_the_nvidia_proprietary_driver
- https://docs.slackware.com/howtos:hardware:proprietary_graphics_drivers
- https://download.nvidia.com/XFree86/Linux-x86_64/555.58.02/README/primerenderoffload.html
- https://wiki.archlinux.org/title/NVIDIA
- https://wiki.debian.org/NVIDIA%20Optimus
- https://www.nvidia.com/object/unix.html
https://github.com/ryuuzaki42/24_Bumblebee-SlackBuilds-Packages/
14_Nvidia_Driver_Slackware_<driver version>_<kernel version>.zip
https://github.com/ryuuzaki42/14_Nvidia_Driver_Slackware/releases/
https://github.com/ryuuzaki42/14_Nvidia_Driver_Slackware/releases/latest
cd 14_Nvidia_Driver_Slackware*/final_packages/
su
upgradepkg upgrade/xf86-video-nouveau-blacklist-1.0-noarch-1.txz
upgradepkg --install-new --reinstall nvidia-driver-*z nvidia-kernel-*z
cp 21-LAR-nvidia-screens.conf /etc/X11/xorg.conf.d/21-LAR-nvidia-screens.conf
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"
https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia mangohud %command%
https://slakfinder.org/slackpkg+.html
echo "xf86-video-nouveau" >> /etc/slackpkg/greylist
https://slackbuilds.org/repository/15.0/system/nvidia-kernel/
https://slackbuilds.org/repository/15.0/system/nvidia-driver/ with COMPAT32="yes"