LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2022, 02:05 PM   #721
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447

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!
 
1 members found this post helpful.
Old 12-02-2022, 12:42 PM   #722
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
https://www.gamingonlinux.com/2022/1...driver-issues/ Head's up. Update 'em, if you got 'em.
 
5 members found this post helpful.
Old 12-03-2022, 03:05 AM   #723
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
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.
 
Old 12-03-2022, 06:52 AM   #724
marco70
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 103

Rep: Reputation: 40
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.
 
1 members found this post helpful.
Old 12-05-2022, 12:28 AM   #725
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
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

Last edited by perrin4869; 12-05-2022 at 12:30 AM.
 
Old 12-14-2022, 04:24 AM   #726
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
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-pcihci-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
 
2 members found this post helpful.
Old 12-22-2022, 08:32 AM   #727
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,757

Rep: Reputation: Disabled
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.
 
2 members found this post helpful.
Old 12-24-2022, 07:43 PM   #728
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 585

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by Daedra View Post
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
 
Old 12-24-2022, 08:14 PM   #729
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,732

Rep: Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396
Quote:
Originally Posted by yvesjv View Post
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"

Last edited by Daedra; 12-24-2022 at 08:15 PM.
 
Old 12-25-2022, 02:22 PM   #730
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 585

Rep: Reputation: Disabled
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$
 
Old 12-27-2022, 09:59 PM   #731
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
I upgraded to the 525.60.11 driver via the simple run script on the new kernel (6.1.1). There are no issues.
 
2 members found this post helpful.
Old 01-05-2023, 03:24 PM   #732
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,177

Original Poster
Rep: Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360
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."

Last edited by cwizardone; 01-08-2023 at 09:03 AM.
 
3 members found this post helpful.
Old 01-05-2023, 03:35 PM   #733
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Been using 525.78.01 with no problems on 5.19.17.
 
2 members found this post helpful.
Old 01-05-2023, 04:25 PM   #734
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,732

Rep: Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396Reputation: 1396
Quote:
Originally Posted by cwizardone View Post
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
 
3 members found this post helpful.
Old 01-05-2023, 05:14 PM   #735
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,177

Original Poster
Rep: Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360Reputation: 7360
Quote:
Originally Posted by Daedra View Post
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.
 
  


Reply

Tags
nvidia



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NVIDIA Launches a New Stable Driver for Linux Users, Latest Kernels Supported LXer Syndicated Linux News 0 12-11-2014 05:34 PM
[SOLVED] How do I install Nvidia latest driver on Ubuntu 10.10? volt220 Linux - Newbie 3 04-24-2012 11:42 AM
Enable SLI on latest nvidia driver don_wombat_73 Linux - Hardware 2 10-13-2008 04:55 AM
How do I install the latest Nvidia Driver captaincaveman Linux - Software 2 05-03-2004 11:26 PM
How do I remove latest nvidia driver? - Suse 8.2 ford Linux - Hardware 3 01-18-2004 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration