LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-29-2023, 10:39 AM   #856
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Rep: Reputation: Disabled

Quote:
Originally Posted by drumz View Post

Have you tried using the --kernel-name, --kernel-output-path, and --kernel-source-path options with the installer?
I am not much of a script-oriented user. I know just the basic of console use.

How would I do it?

Quote:
Originally Posted by drumz View Post
Here is my upgrade_kernel_module.sh script:

Code:
#!/bin/bash

NvVER=545.29.06

KVER=${KVER:-$(uname -r)}
#KVER=5.19.17-etr

MODULE_ONLY=--kernel-modules-only
#MODULE_ONLY=

if [ -z "$MODULE_ONLY" ]; then
        # Both of these call nvidia-smi.  If it is running it prevents
        # the nvidia module from unloading.
        /etc/rc.d/rc.system76-power stop
        /etc/rc.d/rc.monitor_sensors stop
        sleep 2s
fi

#       --dkms \
#       --kernel-module-build-directory=kernel-open \
#       --expert
sh ./NVIDIA-Linux-x86_64-$NvVER.run \
        --kernel-name="$KVER" \
        --kernel-output-path=/lib/modules/"$KVER"/build \
        --kernel-source-path=/lib/modules/"$KVER"/build/source \
        "$MODULE_ONLY" \
        --kernel-module-build-directory=kernel-open \
        --install-compat32-libs \
        --no-cc-version-check
this is kind of arabic to me but I understand what you are trying to show me.
 
Old 12-14-2023, 08:16 PM   #857
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
Last year sometime the Nvidia driver screwed up when leaving X and going back to console. Yesterday I fiddled with GRUB, got it working, and now, there is no trouble with the latest beta Nvidia driver: I close X and I am returned to a terminal that works. When I get brave, I'd revert to the latest non-beta Nvidia driver and see what happens.

Once more I'm a totally happy camper. Slack forever!
 
2 members found this post helpful.
Old 12-15-2023, 12:27 AM   #858
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 980

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by jkh2cpu View Post
Last year sometime the Nvidia driver screwed up when leaving X and going back to console.
Yes, that is annoying.

Quote:
Originally Posted by jkh2cpu View Post
Yesterday I fiddled with GRUB, got it working, and now, there is no trouble with the latest beta Nvidia driver: I close X and I am returned to a terminal that works.
Are you booting with legacy/MBR or UEFI? Did you change booting method? UEFI handles graphics slightly different if that would matter.

regards Henrik
 
1 members found this post helpful.
Old 12-15-2023, 08:00 AM   #859
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
I run UEFI and was running elilo. With elilo the video on the terminal never came back after I exited an X session.

Go GRUB!
 
2 members found this post helpful.
Old 12-16-2023, 10:02 AM   #860
Gnisho
Member
 
Registered: Aug 2012
Location: WA
Distribution: slackware
Posts: 72

Rep: Reputation: Disabled
Quote:
Originally Posted by jkh2cpu View Post
I run UEFI and was running elilo. With elilo the video on the terminal never came back after I exited an X session.

Go GRUB!
Could you compare the contents of /proc/cmdline between booting via elilo vs. booting via GRUB? That may provide insight on the difference in behaviors.
 
Old 12-16-2023, 01:42 PM   #861
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
elilo cmdline: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz root=/dev/nvme2n1p2 vga=normal ro ro

grub cmdline: BOOT_IMAGE=/boot/vmlinuz-generic-6.6.7 root=UUID=8f091b44-808c-453d-ac82-d8a824e2d96b ro
 
2 members found this post helpful.
Old 12-17-2023, 09:47 AM   #862
Gnisho
Member
 
Registered: Aug 2012
Location: WA
Distribution: slackware
Posts: 72

Rep: Reputation: Disabled
Thanks for the info. For myself at least, removing 'vga=normal' from elilo.conf makes no difference in behavior. Blank screen after exiting X isn't a pressing issue for me personally, but may try GRUB soon.
 
Old 12-18-2023, 06:03 AM   #863
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
Nvidia's "Production Branch" Driver, Version: 535.146.02, 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.../216728/en-us/
Quote:
Fixed a bug that could cause some multi-GPU systems to crash on suspend.
Fixed a bug that could cause the system to crash when an application is run with __NV_PRIME_RENDER_OFFLOAD=1.
Fixed a bug which prevented application profiles from getting applied to PRIME Render Offloaded applications running via Wine.
Disabled PRIME Display Offload Sink support for virtual displays on datacenter GPUs. This prevents unusable desktop layouts from getting automatically configured on systems with a mix of physical and virtual displays.
Fixed a bug that caused high CPU usage during system suspend, which could lead to the system not entering s2idle in some cases.
Fixed a bug that caused the nvidia-settings control panel to crash when running on Wayland with newer versions of libwayland-client.
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."
 
2 members found this post helpful.
Old 01-16-2024, 09:27 AM   #864
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
Nvidia's "Production Branch" Driver, Version: 535.154.05, 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.../217147/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."
 
4 members found this post helpful.
Old 01-21-2024, 08:59 PM   #865
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
FWIW: Nvidia's "Production Branch" Driver, Version: 535.154.05, will not install (build) with the new 6.8-rc1 kernel. Let's see how long it takes Nvidia to update
their drivers.
 
2 members found this post helpful.
Old 01-24-2024, 10:44 AM   #866
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
Nvidia has released a new BETA driver, version: 550.40.07.
The "release highlights" (the longest list of changes and bugs fixes I've ever seen from Nvidia), along with a list of supported products and a download link can be found at, https://www.nvidia.com/Download/driv.../218119/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."

Edit in: It will not install (build) with the new 6.8-rc1 kernel. It does install with the 6.6.12 kernel and, so far, so good (but its early yet).

Last edited by cwizardone; 01-24-2024 at 11:07 AM.
 
3 members found this post helpful.
Old 02-01-2024, 04:23 AM   #867
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,167
Blog Entries: 1

Rep: Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033
kernel-6.7.3 and Nvidia-470.223.02 drivers

If you use the legacy Nvidia-470.223.02 drivers you should patch the new 6.7.3 kernel, because otherwise they don't compile!
 
3 members found this post helpful.
Old 02-01-2024, 05:31 PM   #868
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
The NVIDIA-Linux-x86_64-BETA-550.40.07.run driver will not build with the new 6.6.15 kernel.
I thought it might be related to the new version of mesa, mesa-24.0.0-x86_64-1, but the nvidia driver builds just fine with the 6.6.14 kernel and the new version of mesa.
Similar problems have been reported elsewhere on the board.

Edit in: The most recent Nvidia "Production Branch" driver, Version 535.154.05, does not build with the new 6.6.15 kernel.

Last edited by cwizardone; 02-01-2024 at 06:21 PM.
 
1 members found this post helpful.
Old 02-01-2024, 08:24 PM   #869
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 190

Rep: Reputation: 124Reputation: 124
I was able to compile the NVIDIA-Linux-x86_64-BETA-550.40.07 by using this patch with kernel-6.7.3.

The source of the information is following Nvidia Linux Forum's thread.
https://forums.developer.nvidia.com/...lock/280908/19
 
2 members found this post helpful.
Old 02-02-2024, 12:32 AM   #870
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,026

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Quote:
Originally Posted by J_W View Post
I was able to compile the NVIDIA-Linux-x86_64-BETA-550.40.07 by using this patch with kernel-6.7.3.

The source of the information is following Nvidia Linux Forum's thread.
https://forums.developer.nvidia.com/...lock/280908/19
Thanks for the patch. I was having the Nvidia build problem with kernel-6.1.76 and NVIDIA-Linux-x86_64-545.29.02. Applied the patch and the Nvidia module builds fine with 6.1.76
 
1 members found this post helpful.
  


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 04:32 AM.

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