LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   The Latest NVIDIA Linux Driver Release. (https://www.linuxquestions.org/questions/slackware-14/the-latest-nvidia-linux-driver-release-4175608923/)

enorbet 11-30-2022 02:05 PM

Thank you, cwizardone, I've been testing the new-ish 6.0.9 kernel on an old Core 2 Duo Extreme SuperMicro with a cheap (was 32 bux! new!!) , old GT 640 GPU box and once I got a properly working kernel built I couldn't get either a 390 nor a 470 driver to build. Today, thanks to your post, I'm happy to report the 470.161.03 is working great!

garpu 12-02-2022 12:42 PM

https://www.gamingonlinux.com/2022/1...driver-issues/ Head's up. Update 'em, if you got 'em.

3rensho 12-03-2022 03:05 AM

Thanks for that garpu. Just upgraded this morning to 525.60.11 after reading. Builds fine with kernel-6.0.11. My desktop icon for nvidia-settings had vanished though so created a new one and it works fine.

marco70 12-03-2022 06:52 AM

Hi all

@Lenard Spencer

Please fix nvidia-driver.SlackBuild:

Code:

# Add rc.nvidia-persistenced:
if [ "${PERSISTENCED:-no}" = "yes" ]; then
  cd $TMP
  rm -rf nvidia-persistenced-$VERSION.tar.bz2
  tar xvf $CWD/nvidia-persistenced-$VERSION.tar.bz2

to:

Code:

# Add rc.nvidia-persistenced:
if [ "${PERSISTENCED:-no}" = "yes" ]; then
  cd $TMP
  rm -rf nvidia-persistenced-$VERSION
  tar xvf $CWD/nvidia-persistenced-$VERSION.tar.bz2

Sorry if i'm wrong.

perrin4869 12-05-2022 12:28 AM

Tried to upgrade from nvidia-driver-525.60.11-x86_64-1_SBo and nvidia-kernel-520.56.06_5.19.17-x86_64-1_SBo.tgz to nvidia-kernel-525.60.11_5.19.17-x86_64-1_SBo.tgz, xorg won't start anymore:

Quote:

$ startx
xauth: file /home/perrin4869/.serverautuh.2870 does not exist

[ 50.213699] divide error: 0000 [#1] PREEMPT SMP NOPTI
[ 50.213877] CPU: 22 PID: 1443 Comm: nv_queue Tainted: P O 5.19.17 #1
[ 50.214039] Hardware name: Micro-Star International Co., Ltd. MS-7D69/MEG X670E ACE (MS-7D69), BIOS 1.30 11/17/2022
[ 50.214201] RIP: 0010:_nv015717rm+0x4a/0x70 [nvidia]
[ 50.214619] Code: f6 ff 4c 89 e7 ba 11 00 00 00 44 89 fe 89 c3 e8 bc 1d f6 ff 85 c0 41 89 c4 74 25 89 d8 31 d2 41 f7 f4 31 d2 5b 41 5c 83 e8 01 <41> f7 f6 8d 44 00 02 41 89 45 00 31 c0 41 5d 41 5e 41 5f c3 66 90
[ 50.215006] RSP: 0018:ffffa31ec2febcf8 EFLAGS: 00010202
[ 50.215210] RAX: 00000000000064cd RBX: ffff900b1f5a8008 RCX: 0000000000000000
[ 50.215421] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff900b1ed94008
[ 50.215637] RBP: ffff900b1fa05c90 R08: ffff900b0ebde450 R09: ffff900b1fa05c78
[ 50.215856] R10: ffff900b1f5a8008 R11: ffff900b1d511558 R12: ffffa31ec396c008
[ 50.216079] R13: ffff900b0ebde450 R14: 0000000000000000 R15: 0000000000000004
[ 50.216303] FS: 0000000000000000(0000) GS:ffff9019e8580000(0000) knlGS:0000000000000000
[ 50.216529] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 50.216766] CR2: 00007f6ad25f0310 CR3: 0000000ab8e10000 CR4: 0000000000750ee0
[ 50.217003] PKRU: 55555554
[ 50.217241] Call Trace:
[ 50.217465] <TASK>
[ 50.217688] ? _nv015868rm+0x1d3/0x390 [nvidia]
[ 50.218137] ? _nv019102rm+0x54f/0x800 [nvidia]
[ 50.218602] ? _nv018377rm+0x3be/0x760 [nvidia]
[ 50.219080] ? nvidia_modeset_resume+0x20/0x20 [nvidia]
[ 50.219441] ? _nv018588rm+0x2b/0x80 [nvidia]
[ 50.219884] ? _nv010529rm+0xc1/0x190 [nvidia]
[ 50.220290] ? nvidia_modeset_resume+0x20/0x20 [nvidia]
[ 50.220648] ? rm_execute_work_item+0x108/0x120 [nvidia]
[ 50.221090] ? os_execute_work_item+0x5a/0x80 [nvidia]
[ 50.221450] ? _main_loop+0x7a/0x130 [nvidia]
[ 50.221813] ? kthread+0xe9/0x110
[ 50.222036] ? kthread_complete_and_exit+0x20/0x20
[ 50.222259] ? ret_from_fork+0x22/0x30
[ 50.222481] </TASK>
[ 50.222698] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_tables x_tables br_netfilter bridge overlay cmac algif_hash algif_skcipher af_alg bnep efivarfs 8021q garp mrp stp llc ipv6 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev nvidia_drm(PO) nvidia_modeset(PO) intel_rapl_msr intel_rapl_common btusb snd_hda_codec_hdmi mt7921e btrtl edac_mce_amd mt7921_common snd_hda_intel btbcm snd_intel_dspcfg btintel nvidia(PO) snd_usb_audio mt76_connac_lib kvm_amd snd_intel_sdw_acpi r8153_ecm btmtk drm_kms_helper snd_hda_codec snd_usbmidi_lib mt76 cdc_ether bluetooth snd_hda_core snd_rawmidi kvm usbnet drm snd_seq_device snd_hwdep ecdh_generic r8152 irqbypass mac80211 agpgart ecc mii snd_pcm crct10dif_pclmul fb_sys_fops joydev mc crc32_pclmul snd_timer syscopyarea ghash_clmulni_intel atlantic snd sysfillrect rapl wmi_bmof i2c_piix4 ccp
[ 50.222733] cfg80211 sysimgblt macsec soundcore evdev tpm_crb tpm_tis gpio_amdpt tpm_tis_core gpio_generic acpi_cpufreq button loop dm_snapshot dm_bufio hid_multitouch hid_microsoft hid_lenovo hid_logitech_hidpp hid_logitech_dj hid_logitech hid_cherry hid_asus asus_wmi platform_profile battery sparse_keymap rfkill wmi video i2c_hid i2c_core hid_generic uhci_hcd ohci_pci ehci_pci ohci_hcd ehci_hcd usbhid hid xhci_pci xhci_pci_renesas xhci_hcd
[ 50.225987] ---[ end trace 0000000000000000 ]---
[ 50.226272] RIP: 0010:_nv015717rm+0x4a/0x70 [nvidia]
[ 50.226721] Code: f6 ff 4c 89 e7 ba 11 00 00 00 44 89 fe 89 c3 e8 bc 1d f6 ff 85 c0 41 89 c4 74 25 89 d8 31 d2 41 f7 f4 31 d2 5b 41 5c 83 e8 01 <41> f7 f6 8d 44 00 02 41 89 45 00 31 c0 41 5d 41 5e 41 5f c3 66 90
[ 50.227035] RSP: 0018:ffffa31ec2febcf8 EFLAGS: 00010202
[ 50.227197] RAX: 00000000000064cd RBX: ffff900b1f5a8008 RCX: 0000000000000000
[ 50.227362] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff900b1ed94008
[ 50.227523] RBP: ffff900b1fa05c90 R08: ffff900b0ebde450 R09: ffff900b1fa05c78
[ 50.227690] R10: ffff900b1f5a8008 R11: ffff900b1d511558 R12: ffffa31ec396c008
[ 50.227850] R13: ffff900b0ebde450 R14: 0000000000000000 R15: 0000000000000004
[ 50.228012] FS: 0000000000000000(0000) GS:ffff9019e8580000(0000) knlGS:0000000000000000
[ 50.228180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 50.228342] CR2: 00007f6ad25f0310 CR3: 0000000ab8e10000 CR4: 0000000000750ee0
[ 50.228510] PKRU: 55555554

waiting for X server to begin accepting connections .
..
..
any clues what might be broken?
I also have:

Quote:

$ cat /etc/modprobe.d/BLACKLIST-nouveau.conf
# Do not load the kernel nouveau dri module, since it interferes with both
# the nv and binary nvidia drivers.

blacklist nouveau

$ cat /etc/modprobe.d/nvidia.conf
options nvidia-drm modeset=1
$ cat /etc/modprobe.d/BLACKLIST-amdgpu.conf
# Do not load the kernel nouveau dri module, since it interferes with both
# the nv and binary nvidia drivers.

blacklist amdgpu

perrin4869 12-14-2022 04:24 AM

Update: This got fixed by adding nvidia, nvidia-drm and nvidia-modeset to the initrd image:

Quote:

sudo mkinitrd -c -k 5.19.17 -f ext4 -r /dev/slack/root -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4:nvidia:nvidia-drm:nvidia-modeset -L -R -u -o /boot/initrd.gz

elcore 12-22-2022 08:32 AM

Compiled the new 6.1.1 kernel on Slackware-14.2 gcc 5.5 (32bit)
Installed/tested:
Code:

NVIDIA-Linux-x86-390.157.run --no-drm --no-nvidia-modprobe --no-unified-memory
Seems to compile fine, works ok, for now.

yvesjv 12-24-2022 07:43 PM

Quote:

Originally Posted by Daedra (Post 6216314)
Nevermind I figured out how to use the NVIDIA Card only. I basically followed the Arch wiki, but tweaked it since I use AMD and not intel.
https://wiki.archlinux.org/index.php..._graphics_only

But it was a little choppy so after more searching I realized I needed to enable PRIME synchronization. Now its buttery smooth.
https://wiki.archlinux.org/index.php...l_mode_setting

Thanks Daedra!
Have an Optimus and was getting a bit tired of starting an application with __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1

Just tried it out the link you provided and it appears to work after a reboot.
kernel 6.0.8
nvidia version 520.56.06

Daedra 12-24-2022 08:14 PM

Quote:

Originally Posted by yvesjv (Post 6400108)
Thanks Daedra!
Have an Optimus and was getting a bit tired of starting an application with __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1

Just tried it out the link you provided and it appears to work after a reboot.
kernel 6.0.8
nvidia version 520.56.06

Good to hear. Easiest way to confirm it is working is open nvidia-settings. If you have full configuration options available then it is working. Also under "X Server Display Configuration" it will tell you if PRIME Synchronization is working. And you can also check it with "glxinfo | grep -i opengl"

yvesjv 12-25-2022 02:22 PM

Yes, confirmed.
I boot into level 3 and all I did after the reboot was 'startx'
This lappy is quite old now and looks like it still has many years left of service.


bash-5.2$ glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 520.56.06
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 520.56.06
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 520.56.06
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
bash-5.2$

Regnad Kcin 12-27-2022 09:59 PM

I upgraded to the 525.60.11 driver via the simple run script on the new kernel (6.1.1). There are no issues.

cwizardone 01-05-2023 03:24 PM

Nvidia's latest "Production Branch" Driver, Version: 525.78.01, has been released.

The "release highlights," a list of supported products and a download link can be found at, https://www.nvidia.com/Download/driv.../198284/en-us/
Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."

garpu 01-05-2023 03:35 PM

Been using 525.78.01 with no problems on 5.19.17.

Daedra 01-05-2023 04:25 PM

Quote:

Originally Posted by cwizardone (Post 6402458)
Nvidia's latest "Production Branch" Driver, Version: 525.78.01, has been released.

The "release highlights," a list of supported products and a download link can be found at, https://www.nvidia.com/Download/driv.../198284/en-us/


Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."

Just in time for when I install my shiny new RTX 4080 tomorrow :)

cwizardone 01-05-2023 05:14 PM

Quote:

Originally Posted by Daedra (Post 6402465)
Just in time for when I install my shiny new RTX 4080 tomorrow :)

Congrats.
Keep us posted as to how it performs with the new driver.
:)


All times are GMT -5. The time now is 08:23 PM.