LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-15-2024, 08:19 AM   #1
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 110

Rep: Reputation: 3
Nvidia drivers


Hi all, can't install NVIDIA driver, i'm using Debian 12.5
uname -r
6.1.0-18-amd64
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
lsmod | grep "kms\|drm"
drm_buddy 20480 1 i915
drm_display_helper 184320 2 i915,nouveau
cec 61440 2 drm_display_helper,i915
drm_ttm_helper 16384 1 nouveau
ttm 94208 3 drm_ttm_helper,i915,nouveau
drm_kms_helper 204800 3 drm_display_helper,i915,nouveau
drm 614400 10 drm_kms_helper,drm_display_helper,drm_buddy,drm_ttm_helper,i915,ttm,nouveau
I get a Kernel module error.
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-kernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05; h
owever:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-525.147.05 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not configured yet.
Package nvidia-open-kernel-525.147.05 is not installed.
Package nvidia-open-kernel-525.147.05 is not installed.

dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
Processing triggers for update-glx (1.2.2) ...
Processing triggers for glx-alternative-nvidia (1.2.2) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Processing triggers for glx-alternative-mesa (1.2.2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2024-02-15 14-13-33.png
Views:	6
Size:	29.9 KB
ID:	42568   Click image for larger version

Name:	Screenshot from 2024-02-15 14-13-52.png
Views:	6
Size:	21.1 KB
ID:	42569  

Last edited by maddy0; 02-15-2024 at 09:44 AM.
 
Old 02-15-2024, 10:01 AM   #2
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 110

Original Poster
Rep: Reputation: 3
Did someone have the original /usr/src/nvidia-current-525.147.05/nvidia/nv-mmap.c ?
i need code line num. 578
 
Old 02-15-2024, 10:37 AM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,643

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561

There's a bug in Nvidia proprietary drivers triggered by upgrading to 6.1.0-18 (Linux v6.1.76)

If this is that, a fix is (or soon will be) in the "proposed-updates" repo.

(This can be enabled by editing sources.list to duplicate your "deb ... bookworm main ..." line and change the copy to "deb ... bookworm-proposed-updates main ...")

It may be necessary to boot into the previous kernel 6.1.017 (Linux v6.1.69) to achieve this.

(If this is something different, apologies for the noise.)


Last edited by boughtonp; 02-15-2024 at 10:38 AM.
 
Old 02-15-2024, 11:48 AM   #4
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 110

Original Poster
Rep: Reputation: 3
Hello boughtonp, solved
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
Subsystem: ASUSTeK Computer Inc. GA104 [GeForce RTX 3060 Ti Lite Hash Rate]
Kernel driver in use: nvidia
Kernel modules: nvidia

Last edited by maddy0; 02-15-2024 at 12:02 PM.
 
Old 02-15-2024, 12:04 PM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,643

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561

No, "proposed-updates" is not the same as "updates", and it should only be "main" if the original "bookworm" line (which is probably the first uncommented "deb" line) is just main.

Based on this example:
Code:
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
One would add:
Code:
deb http://deb.debian.org/debian bookworm-proposed-updates main non-free-firmware
If one doesn't have non-free-firmware enabled, it should not be added - however, it's my understanding that this issue only affects proprietary nvidia drivers and thus the non-free-firmware section is required for the package(s) in question.

See //wiki.debian.org/StableProposedUpdates for more information on proposed updates.

And this is all assuming it's the same issue as various people have identified, e.g. at //forums.debian.net/viewtopic.php?t=158261

 
1 members found this post helpful.
Old 02-15-2024, 12:07 PM   #6
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 110

Original Poster
Rep: Reputation: 3
Yup, was already solved
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
Subsystem: ASUSTeK Computer Inc. GA104 [GeForce RTX 3060 Ti Lite Hash Rate]
Kernel driver in use: nvidia
Kernel modules: nvidia
Thanks a lot!
 
Old 03-01-2024, 02:55 PM   #7
concorde
Member
 
Registered: Aug 2018
Location: New Zealand
Distribution: Fedora / KDE
Posts: 31

Rep: Reputation: Disabled
Hi @boughtonp ,

I am on Debian Bookworm, and am having a similar issue to OP, also getting the following after installing nvidia-driver package:

Errors were encountered while processing: nvidia-kernel-dkms nvidia-driver

I tried to add the stable-proposed-updates repository in /etc/apt/sources.list , but when updating apt , I get the following:

W: Skipping acquire of configured file 'stable-proposed-updates/binary-amd64/Packages' as repository 'http://deb.debian.org/debian bookworm-updates InRelease' doesn't have the component 'stable-proposed-updates' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable-proposed-updates/i18n/Translation-en_NZ' as repository 'http://deb.debian.org/debian bookworm-updates InRelease' doesn't have the component 'stable-proposed-updates' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stable-proposed-updates/i18n/Translation-en' as repository 'http://deb.debian.org/debian bookworm-updates InRelease' doesn't have the component 'stable-proposed-updates' (component misspelt in sources.

--

I'll use nouveau driver in the meantime. But do you have any solution(s) for me to get nvidia-driver installed properly?

As background, I was using Fedora with Nvidia driver with no issues for a long time, then yesterday I decided I wanted to go back to Debian again and installed it yesterday.
Also, my GPU is an RTX 3080 , so it is indeed the correct driver.
 
Old 03-04-2024, 09:27 AM   #8
Mac1ek
LQ Newbie
 
Registered: Jan 2024
Distribution: Debian Linux / Red Hat Enterprise
Posts: 16

Rep: Reputation: 0
Nah fixed :/. I was spend many time with this bug. I also thanks.
 
  


Reply



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
Drivers, Drivers, Drivers!!! cjparad Ultra X 0 06-09-2009 04:08 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
Nvidia Drivers Graphics and motherboard drivers help sithyoda Linux - Newbie 4 10-01-2004 06:32 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:45 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