Can't install nvidia drivers on Debian. RTX 2060 super
DebianThis forum is for the discussion of Debian 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.
Can't install nvidia drivers on Debian. RTX 2060 super
After installing Debian 12, everything is lagging a lot, the cursor lags, scrolling pages is laggy, YouTube also lags, so that's why I want to install the drivers for the video card. I did everything according to the instructions.
But after rebooting I get a black screen, or to be more precise, after entering the password, after which I am redirected to the login page again. I've been trying to solve this problem for 2 weeks but nothing works. I'm new to Debian so don't judge too harshly.
I tried to install the driver on 1060 6 GB, nothing worked, now I have a 2060 super, and the same black screen, and same lags with nouveau. Also, since the 1060 6 gb and 2060 super lag the same, I thought Debian was using the processor's integrated graphics, but it seems not. Pls help. Btw sorry for my english
I can't upload a file with logs here, to show all dmsg output(idk how to attach a file), so I'll show the output of
Code:
dmesg --level=emerg,alert,crit,err,warn:
Quote:
[ 0.078155] x86/cpu: SGX disabled by BIOS.
[ 0.931033] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 1.310457] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT3._GTF.DSSP], AE_NOT_FOUND (20220331/psargs-330)
[ 1.310612] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.312067] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT5._GTF.DSSP], AE_NOT_FOUND (20220331/psargs-330)
[ 1.312221] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT5._GTF due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.312557] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT3._GTF.DSSP], AE_NOT_FOUND (20220331/psargs-330)
[ 1.312710] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.314055] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT5._GTF.DSSP], AE_NOT_FOUND (20220331/psargs-330)
[ 1.314207] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT5._GTF due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.721753] HID 0566:3002: Invalid code 802 type 1
[ 1.721760] HID 0566:3002: Invalid code 809 type 1
[ 1.721764] HID 0566:3002: Invalid code 800 type 1
[ 1.721767] HID 0566:3002: Invalid code 806 type 1
[ 1.721770] HID 0566:3002: Invalid code 805 type 1
[ 1.721774] HID 0566:3002: Invalid code 804 type 1
[ 1.721777] HID 0566:3002: Invalid code 803 type 1
[ 1.721782] HID 0566:3002: Invalid code 773 type 1
[ 1.721786] HID 0566:3002: Invalid code 828 type 1
[ 2.655505] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[ 3.006072] resource sanity check: requesting [mem 0xfdffe800-0xfe0007ff], which spans more than pnp 00:08 [mem 0xfdb00000-0xfdffffff]
[ 3.006076] caller pmc_core_probe+0xb3/0x6a0 [intel_pmc_core] mapping multiple BARs
[ 3.325435] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.536340] nvidia: loading out-of-tree module taints kernel.
[ 3.536350] nvidia: module license 'NVIDIA' taints kernel.
[ 3.536351] Disabling lock debugging due to kernel taint
[ 3.759907] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 525.147.05 Wed Oct 25 20:27:35 UTC 2023
Last edited by Silence_NN; 01-04-2024 at 06:39 AM.
Being that the .Xsession-Errors file is a hidden file the OP needs to issue the command in the code block ay yhe bottom of my reply.
Code:
ls -al
If you do not enter root, then ls -a will not show the xsession file, I didn't know that and that's why I spent a lot of time searching for the file, but thanks
Last edited by Silence_NN; 01-20-2024 at 09:29 AM.
Why clear the content? Isn't that what you need to check for errors and failures.
After X starts, there may be messages.
I was cleaning the file because there were a lot of past sessions and I was confused which one was the right one. And I was also confused, because not every session is recorded, this time I did not erase anything, installed the driver, restarted the computer, and checked the xsession file, I typed the same commands, and it was empty, maybe there is some analogue? I am so frustrated with this problem and thank you for your help
OK, I really don't know what to do now, without that file I'd be lost.
one thing, all the sessions are appendended to the end of the list in that file.
Also, grep may be missleading sometimes, as the system may find and load after the error message.
Instead of moving your post to hardware or linux-desktop, restate your question for the best exposure.
A person better experienced than me may see it.
p.s. - Have you tried a Live-distro to see if it works there?
All the best.
Last edited by GlennsPref; 01-20-2024 at 06:44 PM.
Reason: spelling
Okay, so, before entering commands , I cleaned the contents of the file by doing
Code:
su
Code:
echo "" > ~/.xsession-errors
You realize su switches you to root? So don't do that.
~/ maps to your $HOME folder. So if you switch to another user, that wouldn't likely refer to your own home folder anymore, depending on how su is setup to pass variables, etc. And if it did still refer to the original users home folder, if you wrote to that file as root, you might mess up permissions to be able to write to it yourself later. So just don't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.