You are not logged in.

#1 2024-04-07 15:42:15

BananPrzydawka
Member
Registered: 2024-04-07
Posts: 13

[SOLVED] nvidia gpu not detected by linux

i have an nvidia optimus laptop with an intel igpu and an nvidia dedicated gpu.
on kde5 xorg i used to use a package called optimus-switcher to force xorg to only use the dedicated gpu.
recently i made the smart move of updating my system without checking the changes and got kde6, witch removed xorg support and migrated me to wayland :(((((. wayland ran only on the igpu and didnt even touch the dedicated card, witch gave shit performance, optimus manager or any other like it doesnt support wayland. i attempted to force wayland to use the nvidia gpu only, i used a a program called envycontrol from github, ofcourse without reading the code. after "switching" to nvidia my system no longer booted at witch point i got a live boot usb and chrooted in to the system and used the programs command -reset, witch made my system boot again, but now it doesnt even detect the dedicated gpu at all. the standard command "lspci -k | grep -A 2 -E "(VGA|3D)"" yeilds only the integrated gpu, and i cant use my external monitor. i tried to use the fox from this post, as it seemed as the same thing, but that didnt fix it.
this isnt a hardware issiue as any other system i boot detects both gpus.

Last edited by BananPrzydawka (2024-04-08 08:58:35)

Offline

#2 2024-04-07 15:52:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,639

Re: [SOLVED] nvidia gpu not detected by linux

BananPrzydawka wrote:

got kde6, witch removed xorg support and migrated me to wayland sad((((.

First off, this is completely untrue. Wayland became the default, but xorg support is not removed in any way.

Second, have you read the Optimus wiki page recently?

Online

#3 2024-04-07 16:29:43

BananPrzydawka
Member
Registered: 2024-04-07
Posts: 13

Re: [SOLVED] nvidia gpu not detected by linux

i was confidently wrong. thank you for the correction smile. i will make sure to research my information better next time. unfortunately its too late for these solutions as my arch install doesnt detect my dedicated gpu at the moment. thank you for any effort in advance

Offline

#4 2024-04-07 19:47:42

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED] nvidia gpu not detected by linux

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2024-04-07 20:54:02

BananPrzydawka
Member
Registered: 2024-04-07
Posts: 13

Re: [SOLVED] nvidia gpu not detected by linux

http://0x0.st/XiO-.txt
I know im in good hands because i didnt even know curl could do that

Offline

#6 2024-04-07 21:00:34

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED] nvidia gpu not detected by linux

"ibt=off" is no longer required, you can remove that.

Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:08:00.0: [1969:e0b1] type 00 class 0x020000
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:08:00.0: reg 0x10: [mem 0xb4400000-0xb443ffff 64bit]
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:08:00.0: reg 0x18: [io  0x3000-0x307f]
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:08:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Apr 06 14:56:08 ArchLinuxBanan kernel: alx 0000:08:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [08:97:98:8c:d1:c9]
Apr 06 14:56:08 ArchLinuxBanan kernel: pcieport 0000:00:1d.5: AER: Corrected error message received from 0000:08:00.0
Apr 06 14:56:08 ArchLinuxBanan kernel: alx 0000:08:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
Apr 06 14:56:08 ArchLinuxBanan kernel: alx 0000:08:00.0:   device [1969:e0b1] error status/mask=000000c0/00002000
Apr 06 14:56:08 ArchLinuxBanan kernel: alx 0000:08:00.0:    [ 6] BadTLP                
Apr 06 14:56:08 ArchLinuxBanan kernel: alx 0000:08:00.0:    [ 7] BadDLLP               

There's a PCI bus issue w/ your ethernet chip.

On topic:

Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:01:00.0: [10de:2191] type 00 class 0x030000
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:01:00.1: [10de:1aeb] type 00 class 0x040300
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:01:00.2: [10de:1aec] type 00 class 0x0c0330
Apr 06 14:56:07 ArchLinuxBanan kernel: pci 0000:01:00.3: [10de:1aed] type 00 class 0x0c8000

But

Apr 06 14:56:09 ArchLinuxBanan nvx[563]: -- pci "PCI bridge - 6th-10th Gen Core Processor PCIe Controller (x16)" -> 0000:00:01.0
Apr 06 14:56:09 ArchLinuxBanan nvx[563]:    -- device remove "VGA compatible controller - TU116M [GeForce GTX 1660 Ti Mobile]" -> 0000:01:00.0
Apr 06 14:56:09 ArchLinuxBanan systemd[1]: nvx.service: Deactivated successfully.
Apr 06 14:56:09 ArchLinuxBanan systemd[1]: Finished "Turn off gpu during boot.".
…
Apr 06 14:56:10 ArchLinuxBanan kernel: NVRM: No NVIDIA GPU found.

=> Disable the nvx.service

Offline

#7 2024-04-08 08:51:33

BananPrzydawka
Member
Registered: 2024-04-07
Posts: 13

Re: [SOLVED] nvidia gpu not detected by linux

Removed "ibt=off" from /etc/default/grub and updated grub. Disabled nvx.service. rebooted
That did it.
Thank you so much for the help guys.

Offline

Board footer

Powered by FluxBB