Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Hardware] Nvidia RTX 3050 driver install

Need help with peripherals or devices?
Post Reply
Message
Author
Deirfyes
Posts: 3
Joined: 2023-01-22 14:10

[Hardware] Nvidia RTX 3050 driver install

#1 Post by Deirfyes »

Debian 11.6
deirfyes@debianplex:~$ sudo uname -r
6.0.0-0.deb11.6-amd64

deirfyes@debianplex:~$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.3.0 _Bullseye_ - Official amd64 DVD Binary-1 20220326-11:23]/ bullseye contrib main

#deb cdrom:[Debian GNU/Linux 11.3.0 _Bullseye_ - Official amd64 DVD Binary-1 20220326-11:23]/ bullseye contrib main

deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debi ... _backports
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free

root@debianplex:/etc/apt/sources.list.d# nano plexmediaserver.list
root@debianplex:/etc/apt/sources.list.d# nano plexmediaserver.list.dpkg-dist
root@debianplex:/etc/apt/sources.list.d# nano nvidia-drivers.list

Good Morning,

I have been struggling to get my Nvidia graphics card drivers installed into my server for quite sometime and I feel like I've hit a wall. I've followed so many guides and made so many attempts, I'll try and summarize everything I've done so far.

https://www.linuxtoday.com/developer/in ... ian-11-10/
https://idroot.us/install-nvidia-drivers-debian-11/
https://www.linuxcapable.com/install-nv ... _Pre_setup
https://www.linuxcapable.com/install-nv ... on-debian/
https://forums.developer.nvidia.com/t/n ... g/197141/5
https://linuxhint.com/install-kernel-headers-debian/

I've followed these guides at some point or another and every time, after reboot, the nvidia persistence daemon fails to start. When I look at the journal, I see:
Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 106 has read and write permissions for those files

Naturally, nothing exists there which is why it's failing, but I don't know why nothing exists there.

I've checked that secure boot is disabled in my bios. It is.
I've purged and installed nvidia drivers from the repo's to no luck
I've added the nvidia repositories and installed, no luck.
I've tried backports with no luck.

Does anyone have suggestions cause I'm out of ideas. Every site makes it sound so easy but when I go through the steps, nothing.

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: [Hardware] Nvidia RTX 3050 driver install

#2 Post by Aki »

Hello,
Can you install the inxi package and acquire/share the output of the command:

Code: Select all

inxi -G
Can you share the output of this command (the output of the command will be in lspci.log):

Code: Select all

lspci -vvv > lspci.log
Please use the code tag (see my previous commands) to include commands or logs

The non-free driver 510.108 [1] should work.

---
[1] https://packages.debian.org/bookworm/nvidia-driver
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Hardware] Nvidia RTX 3050 driver install

#3 Post by sunrat »

You also need firmware for Nvidia which is in the firmware-misc-nonfree package.

Code: Select all

root@debianplex:/etc/apt/sources.list.d# nano nvidia-drivers.list
what is the purpose of this? Nvidia drivers are available from the normal non-free repo, no separate list is needed.
Please show

Code: Select all

inxi -Gr
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Deirfyes
Posts: 3
Joined: 2023-01-22 14:10

Re: [Hardware] Nvidia RTX 3050 driver install

#4 Post by Deirfyes »

Aki wrote: 2023-01-22 15:41 Hello,
Can you install the inxi package and acquire/share the output of the command:

Code: Select all

inxi -G
Can you share the output of this command (the output of the command will be in lspci.log):

Code: Select all

lspci -vvv > lspci.log
Please use the code tag (see my previous commands) to include commands or logs

The non-free driver 510.108 [1] should work.

---
[1] https://packages.debian.org/bookworm/nvidia-driver
@Aki Here is what you asked for:

Code: Select all

Graphics:  Device-1: NVIDIA driver: N/A  -----note: I believe I purged Nvidia off the system attempting to perform one of the installs and haven't installed it again
           Display: server: X.org 1.20.11 driver: loaded: N/A note: n/a (using device driver) tty: 263x74
           Message: Advanced graphics data unavailable in console for root.
I believe my nouveau driver is currently blacklisted from one of the guides I followed.

when I ran the 2nd request, before opening the log, I did get this:
root@debianplex:/etc/apt/sources.list.d# lspci -vvv > /tmp/lspci.log
pcilib: sysfs_read_vpd: read failed: No such device

The log file is too large for here.
https://paste.debian.net/1268154/

Thank you very much for helping as well. This has been driving me crazy.

Deirfyes
Posts: 3
Joined: 2023-01-22 14:10

Re: [Hardware] Nvidia RTX 3050 driver install

#5 Post by Deirfyes »

sunrat wrote: 2023-01-22 22:14 You also need firmware for Nvidia which is in the firmware-misc-nonfree package.

Code: Select all

root@debianplex:/etc/apt/sources.list.d# nano nvidia-drivers.list
what is the purpose of this? Nvidia drivers are available from the normal non-free repo, no separate list is needed.
Please show

Code: Select all

inxi -Gr
@sunrat

Here is what you asked for

Code: Select all

Graphics:  Device-1: NVIDIA driver: N/A
           Display: server: X.org 1.20.11 driver: loaded: N/A note: n/a (using device driver) tty: 263x74
           Message: Advanced graphics data unavailable in console for root.
root@debianplex:/etc/apt/sources.list.d# inxi -Gr
Graphics:  Device-1: NVIDIA driver: N/A
           Display: server: X.org 1.20.11 driver: loaded: N/A note: n/a (using device driver) tty: 263x74
           Message: Advanced graphics data unavailable in console for root.
Repos:     Active apt repos in: /etc/apt/sources.list
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
           3: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           4: deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
           5: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           6: deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           7: deb http://deb.debian.org/debian bullseye-backports main contrib non-free
           No active apt repos in: /etc/apt/sources.list.d/nvidia-drivers.list ----Note: I disabled the repo in my sources.list.d to attempt to install things correctly.
           Active apt repos in: /etc/apt/sources.list.d/plexmediaserver.list
           1: deb https://downloads.plex.tv/repo/deb public main
To answer your question about the purpose, I'm trying to get hardware transcoding to work for my plex. It currently doesn't see the graphics card and therefore cannot tap in to it for transcoding work. I'm attempting to offload the workload from my CPU to handle future transcoding needs.

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: [Hardware] Nvidia RTX 3050 driver install

#6 Post by Aki »

Hello,
These are the data about your graphic card from your previous log:

Code: Select all

09:00.0 VGA compatible controller: NVIDIA Corporation Device 2507 (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Gigabyte Technology Co., Ltd Device 40a9
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at f000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
		DevCtl:	CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us
			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 16GT/s (ok), Width x8 (downgraded)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp+ 10BitTagReq+ OBFF Via message, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
		LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
			 EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [250 v1] Latency Tolerance Reporting
		Max snoop latency: 1048576ns
		Max no snoop latency: 1048576ns
	Capabilities: [258 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=32768ns
		L1SubCtl2: T_PwrOn=10us
	Capabilities: [128 v1] Power Budgeting <?>
	Capabilities: [420 v2] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900 v1] Secondary PCI Express
		LnkCtl3: LnkEquIntrruptEn- PerformEqu-
		LaneErrStat: 0
	Capabilities: [bb0 v1] Physical Resizable BAR
		BAR 0: current size: 16MB, supported: 16MB
		BAR 1: current size: 256MB, supported: 64MB 128MB 256MB 512MB 1GB 2GB 4GB 8GB
		BAR 3: current size: 32MB, supported: 32MB
	Capabilities: [c1c v1] Physical Layer 16.0 GT/s <?>
	Capabilities: [d00 v1] Lane Margining at the Receiver <?>
	Capabilities: [e00 v1] Data Link Feature <?>
	[code]Kernel modules: nvidia
It is reported that it's using:

Code: Select all

Kernel modules: nvidia
Your nvidia card should be supported by the nvidia driver version in Debian Bullseye [2] (see Supported products).

See here [3] for Troubleshooting of NVIDIA Proprietary Driver on Debian: please report about the checks proposed in it.

Hope that helps.

---
[1] https://packages.debian.org/bullseye/nvidia-driver
[2] https://www.nvidia.com/Download/driverR ... 637/en-us/
[3] https://wiki.debian.org/NvidiaGraphicsD ... leshooting
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply