You are not logged in.

#1 2025-03-25 11:10:27

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 39

[SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

First things first, a month ago, I was using Hyprland as my everyday DE due to it's customizability and blah blah blah...

The issue is that Hyprland isn't fully compatible with NVIDIA, and as a means to not completely slow down my laptop whenever I ran on battery whilst using Hybrid graphics, I disabled my NVIDIA dGPU at kernel launch (do not ask me how I did it, I have no idea as I completely forgot :D). After some months of using Hyprland, I switched to GNOME, and instantly fell in love with it since it fixed some issues I had with Hyprland, and also offered a similar level of customization I managed to do in my Hyprland workflow.

Here's the problem, ever since I switched, I wanted to enable the NVIDIA GPU back, however, I never wrote down how to enable it, and looking at my browser history I cannot remember the forum I checked on how to disable it, and I wanted to ask here if any of you guys could help me track down how to enable it.

Here's a few things that I've tried:

  • Installed the nvidia-open drivers and nouveau, it allowed me to enable nouveau with modprobe, but nvidia was unsuccessful and gave this output:

    modprobe: ERROR: could not insert 'nvidia': No such device

    as expected.

  • Removing modprobe.d configurations that blacklisted nvidia drivers.

I will try to search for more solutions, I'll keep this post updated as I go.

Latest kernel boot log: https://0x0.st/8jto.txt

Last edited by ItsFireStorm (2025-03-28 07:25:46)

Offline

#2 2025-03-25 14:15:26

astralc
Member
Registered: 2022-09-17
Posts: 126

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

maybe you don't have the driver for your -zen kernel? you need nvidia-open-dkms (and zen kernel headers)

edit:
or you need to remove "kms" from mkinitcpio HOOKS

Last edited by astralc (2025-03-25 14:20:37)

Offline

#3 2025-03-25 14:29:35

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

Whenever you are facing an issue, it is very important to do  research first and i'll state why that should have been the first move for your issue.

The wiki page for Nvidia states that for your kernel, the zen kernel, you would need nvidia-open-dkms, or nvidia-dkms (with the open being recommended by upstream).

This should be a good thing to remember. Whenever i break my machine, i always go through the install guide first to see if i did anything similar to possibly affect anything established in the guide, from there I just go through the articles in the wiki relevant to my issue at hand.

Offline

#4 2025-03-25 16:02:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,637

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

Did you disable it in the system firmware settings? I don't know why people are talking about missing modules when they're obviously there.

What do you get from `lspci -k -d ::03xx`?

Last edited by Scimmia (2025-03-25 16:04:47)

Offline

#5 2025-03-25 17:08:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: [10de:25a0] type 00 class 0x030000 PCIe Legacy Endpoint
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: BAR 0 [mem 0x78000000-0x78ffffff]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: BAR 1 [mem 0x6000000000-0x60ffffffff 64bit pref]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: BAR 3 [mem 0x6100000000-0x6101ffffff 64bit pref]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: BAR 5 [io  0x4000-0x407f]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: ROM [mem 0x79000000-0x7907ffff pref]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: PME# supported from D0 D3hot
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: 126.024 Gb/s available PCIe bandwidth, limited by 16.0 GT/s PCIe x8 link at 0000:00:01.0 (capable of 252.048 Gb/s with 16.0 GT/s PCIe x16 link)
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.1: [10de:2291] type 00 class 0x040300 PCIe Endpoint
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.1: BAR 0 [mem 0x79080000-0x79083fff]
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: vgaarb: bridge control possible
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.1: extending delay after power-on from D3hot to 20 msec
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.0: Adding to iommu group 15
Mar 25 12:11:47 ARCHUS kernel: pci 0000:01:00.1: Adding to iommu group 15

Is a GA107M [GeForce RTX 3050 Ti Mobile]

Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: bridge window [mem 0x76000000-0x760fffff]: assigned
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: bridge window [io  size 0x1000]: can't assign; no space
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: bridge window [io  size 0x1000]: failed to assign
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: bridge window [io  size 0x1000]: can't assign; no space
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: bridge window [io  size 0x1000]: failed to assign
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0: PCI bridge to [bus e1]
Mar 25 12:11:47 ARCHUS kernel: pci 10000:e0:06.0:   bridge window [mem 0x76000000-0x760fffff]
Mar 25 12:11:47 ARCHUS kernel: pcieport 10000:e0:06.0: can't derive routing for PCI INT D
Mar 25 12:11:47 ARCHUS kernel: pcieport 10000:e0:06.0: PCI INT D: no GSI
Mar 25 12:11:47 ARCHUS kernel: pcieport 10000:e0:06.0: PME: Signaling with IRQ 158
Mar 25 12:11:47 ARCHUS kernel: pcieport 10000:e0:06.0: can't derive routing for PCI INT A

Add "lspci -tvnn"

Offline

#6 2025-03-26 08:17:06

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 39

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

What do you get from `lspci -k -d ::03xx`?

0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
	DeviceName: Onboard - Video
	Subsystem: ASUSTeK Computer Inc. Device 13ec
	Kernel driver in use: i915
	Kernel modules: i915, xe

Add "lspci -tvnn"

-[0000:00]-+-00.0  Intel Corporation Tiger Lake-H 6 cores Host Bridge/DRAM Registers [8086:9a26]
           +-01.0-[01]--
           +-02.0  Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a68]
           +-04.0  Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03]
           +-06.0  Intel Corporation RST VMD Managed Controller [8086:09ab]
           +-08.0  Intel Corporation GNA Scoring Accelerator module [8086:9a11]
           +-0a.0  Intel Corporation Tigerlake Telemetry Aggregator Driver [8086:9a0d]
           +-0d.0  Intel Corporation Tiger Lake-H Thunderbolt 4 USB Controller [8086:9a17]
           +-0e.0  Intel Corporation Volume Management Device NVMe RAID Controller [8086:9a0b]
           +-14.0  Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller [8086:43ed]
           +-14.2  Intel Corporation Tiger Lake-H Shared SRAM [8086:43ef]
           +-15.0  Intel Corporation Tiger Lake-H Serial IO I2C Controller #0 [8086:43e8]
           +-16.0  Intel Corporation Tiger Lake-H Management Engine Interface [8086:43e0]
           +-1c.0-[02]----00.0  MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter [14c3:7961]
           +-1d.0-[03]----00.0  Realtek Semiconductor Co., Ltd. Device [10ec:8162]
           +-1f.0  Intel Corporation HM570 LPC/eSPI Controller [8086:438b]
           +-1f.3  Intel Corporation Tiger Lake-H HD Audio Controller [8086:43c8]
           +-1f.4  Intel Corporation Tiger Lake-H SMBus Controller [8086:43a3]
           \-1f.5  Intel Corporation Tiger Lake-H SPI Controller [8086:43a4]
-[10000:e0]---06.0-[e1]----00.0  Intel Corporation SSD 670p Series [Keystone Harbor] [8086:f1aa]

I did not switch off the dedicated graphics in the system BIOS, as I can use the dedicated graphics in Windows without issue.

Last edited by ItsFireStorm (2025-03-26 08:47:47)

Offline

#7 2025-03-26 13:02:19

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Did you maybe enable resizable BARs in your UEFI/BIOS?

Offline

#8 2025-03-26 19:38:08

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 39

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

seth wrote:

Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Did you maybe enable resizable BARs in your UEFI/BIOS?

I'd have to note that I do not have Windows installed in my laptop's drive, I rather use an external SSD to boot to it. I'm pretty sure Fast Boot is also turned off there.

I also do not recall my BIOS having an option to enable 'BARs' much less I know what it means.

Offline

#9 2025-03-26 21:16:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

The install location doesn't matter at all - don't be "pretty sure", check.

https://en.wikipedia.org/wiki/PCI_confi … numeration - check your BIOS config about this, too.
Also test a non-zen kernel, preferably the LTS one.

Offline

#10 2025-03-27 09:58:48

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 39

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

I made sure to disable Fast Boot in Windows following your link, that's checked.

I also didn't find any option for Resizable BARs, I don't think my BIOS supports it.
Tried Linux LTS with the nvidia-open-lts package, it still doesn't work, I'll attach the lts kernel boot log if that's helpful.

https://0x0.st/8eTQ.txt

Offline

#11 2025-03-27 12:04:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

Mar 27 10:54:04 ARCHUS kernel: nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64  570.133.07  Release Build  (archlinux-builder@)

How about the not-open driver?
Why do you issue "intel_iommu=on"? Remove that.

Offline

#12 2025-03-28 07:25:29

ItsFireStorm
Member
Registered: 2024-10-07
Posts: 39

Re: [SOLVED] NVIDIA dGPU disabled at kernel launch, how to re-enable it?

Finally solved it!

Turns out when I had Hyprland as my DE I created a config file in /etc/udev/rules.d that blocked the NVIDIA card by Product and Vendor ID, I removed that file and it now shows up.

Last edited by ItsFireStorm (2025-03-28 08:19:41)

Offline

Board footer

Powered by FluxBB