SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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!
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
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.
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.
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134
Original Poster
Rep:
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."
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134
Original Poster
Rep:
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."
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134
Original Poster
Rep:
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134
Original Poster
Rep:
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134
Original Poster
Rep:
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.