LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't install nvidia drivers on Debian. RTX 2060 super (https://www.linuxquestions.org/questions/debian-26/cant-install-nvidia-drivers-on-debian-rtx-2060-super-4175732429/)

Silence_NN 01-04-2024 06:36 AM

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

GlennsPref 01-07-2024 07:01 PM

Looks like the nVidia module is loaded and the gui is messed up.

What's the ~.xsession-errors have to show...
Code:

cat .xsession-errors | grep -i "(EE)\|(??)|fail \|segfault"

Silence_NN 01-10-2024 10:30 AM

Code:

cat: .xsession-errors: No such file or directory
I've been trying to find where .xsession-errors is, but I can't find it

Should I move this thread to Linux - Hardware?

GlennsPref 01-10-2024 05:27 PM

Hi, it's a hidden file... use you user name...

/home/glenn/.xsession-errors

Silence_NN 01-14-2024 11:42 AM

Quote:

Originally Posted by GlennsPref (Post 6475908)
Hi, it's a hidden file... use you user name...

/home/glenn/.xsession-errors

Okay, so, before entering commands , I cleaned the contents of the file by doing
Code:

su
Code:

echo "" > ~/.xsession-errors
I installed the drivers via
Code:

apt install nvidia-driver firmware-misc-nonfree
rebooted, ctrl+alt+f2
Code:

su
cat ~/.xsession-errors

It's empty(

GlennsPref 01-14-2024 02:29 PM

Why clear the content? Isn't that what you need to check for errors and failures.

After X starts, there may be messages.

niceflipper8827 01-17-2024 06:10 PM

Quote:

Originally Posted by Silence_NN (Post 6475845)
Code:

cat: .xsession-errors: No such file or directory
I've been trying to find where .xsession-errors is, but I can't find it

Should I move this thread to Linux - Hardware?

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

Silence_NN 01-20-2024 09:28 AM

Quote:

Originally Posted by niceflipper8827 (Post 6477542)
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

Silence_NN 01-20-2024 09:40 AM

Quote:

Originally Posted by GlennsPref (Post 6476740)
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

GlennsPref 01-20-2024 06:33 PM

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.

GlennsPref 01-20-2024 06:39 PM

One more thing, at the login page (sddm?), is the page white?

if so, move your mouse to the bottom left area, is a selection box for plasma-x11 OR Wayland,

select Plasma-x11 and enter your password.

I always get the white page until I install a theme for sddm.

You may disregard this if you're not using sddm. btw, X starts early (sysinit) now-a-days.

p.s. - is seatd installed? (the .xsession-errors file would show an error if so)

enigma9o7 01-20-2024 07:03 PM

Quote:

Originally Posted by Silence_NN (Post 6476703)
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.


All times are GMT -5. The time now is 06:45 PM.