LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-04-2024, 06:36 AM   #1
Silence_NN
LQ Newbie
 
Registered: Jan 2024
Posts: 5

Rep: Reputation: 0
Unhappy 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.
 
Old 01-07-2024, 07:01 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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"
 
Old 01-10-2024, 10:30 AM   #3
Silence_NN
LQ Newbie
 
Registered: Jan 2024
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 01-10-2024, 05:27 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, it's a hidden file... use you user name...

/home/glenn/.xsession-errors
 
Old 01-14-2024, 11:42 AM   #5
Silence_NN
LQ Newbie
 
Registered: Jan 2024
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref View Post
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(

Last edited by Silence_NN; 01-14-2024 at 11:49 AM.
 
Old 01-14-2024, 02:29 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

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

After X starts, there may be messages.
 
Old 01-17-2024, 06:10 PM   #7
niceflipper8827
Member
 
Registered: Sep 2023
Location: Washington State,USA
Distribution: ChromeOS,SlackWare,Android and Lubuntu
Posts: 68

Rep: Reputation: 2
Quote:
Originally Posted by Silence_NN View Post
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
 
Old 01-20-2024, 09:28 AM   #8
Silence_NN
LQ Newbie
 
Registered: Jan 2024
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by niceflipper8827 View Post
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.
 
Old 01-20-2024, 09:40 AM   #9
Silence_NN
LQ Newbie
 
Registered: Jan 2024
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref View Post
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
 
Old 01-20-2024, 06:33 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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
 
Old 01-20-2024, 06:39 PM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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)

Last edited by GlennsPref; 01-20-2024 at 06:44 PM. Reason: is seatd installed?
 
Old 01-20-2024, 07:03 PM   #12
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by Silence_NN View Post
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.

Last edited by enigma9o7; 01-20-2024 at 07:04 PM.
 
1 members found this post helpful.
  


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
LXer: Coffee Lake system ships with optional Nvidia RTX 2060 LXer Syndicated Linux News 0 06-22-2020 09:53 PM
Ubuntu 18.04 and RTX 2080 SUPER systematically freezing annacmr Linux - Hardware 16 06-15-2020 10:16 AM
LXer: Kubuntu Focus Linux Laptop Announced for 2020 with 6GB Nvidia GTX 2060, 32GB RAM LXer Syndicated Linux News 0 12-19-2019 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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