You are not logged in.

#1 2025-07-15 09:57:22

realfrog
Member
Registered: 2025-07-15
Posts: 21

[SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

So I'm a linux noob and I had this problem of the intel iGPU and i did a bunch of stuff but I discovered there's these errors

 sudo dmesg -l err 

outputs:

 [    0.117743] x86/cpu: VMX (outside TXT) disabled by BIOS
[    0.117746] x86/cpu: SGX disabled or unsupported by BIOS.
[    0.594985] integrity: Problem loading X.509 certificate -65

[   39.874258] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[   39.874388] [drm:nv_drm_register_drm_device [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device 

the last 2 errors are the ones im trying to fix rn. Idk if i should provide more information.

Last edited by realfrog (2025-07-19 04:02:09)

Offline

#2 2025-07-15 13:18:35

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Idk if i should provide more information.

Please post your complete system journal for the boot:

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

Offline

#3 2025-07-15 15:31:37

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

So my laptop died and I restarted it but it's stuck on

 Reached target Graphical Interface 

and I went into tty2 but couldn't figure out anything

Offline

#4 2025-07-15 15:39:35

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

I went into tty2 but couldn't figure out anything

https://bbs.archlinux.org/viewtopic.php?id=57855
http://www.catb.org/~esr/faqs/smart-questions.html

What do you expect anyone to tell you i response to your latest post?
Can you still
1. reboot by frenetically pressing ctrl+alt+del or a SHORT touch on the power button?
2. boot the multi-user.target (2nd link below)?

Offline

#5 2025-07-15 15:54:09

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Yeah I'm sorry, will do better next time.

I booted the multi-user.target and Ctrl Alt Del works too, what do I do now?

Offline

#6 2025-07-15 16:00:02

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Post the journal of the previous (-1), failing boot:

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

Offline

#7 2025-07-15 16:03:45

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Output:

 curl: (26) Failed to open/read local data from file/application 

Offline

#8 2025-07-15 16:08:23

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

That looks like you typo'd something ("'file=@-'" will upload the stdin), but also make sure that you've internet connection and that "sudo journalctl -b -1" actually prints stuff.

Offline

#9 2025-07-15 16:26:38

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

 sudo journalctl -b -1 

prints stuff. I don't have internet so I tried connecting but it either got stuck on Waiting for IWD to start or

 No matching method found
Failed to retrieve IWD dbus objects, quitting... 

No typos btw

Offline

#10 2025-07-15 18:19:41

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Do I reinstall arch (but with the files in the home directory backed up(excluding the bash files))?

The problem is probably because of some stupid decision I made, so I wanna reset everything

Last edited by realfrog (2025-07-15 18:20:22)

Offline

#11 2025-07-15 20:15:09

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

You post the journal.
If you struggle w/ iwd for whatever reason, do you get network w/ https://wiki.archlinux.org/title/Tethering ?
If not, redirect the journal into a file and usb-walk that to a system from where you can upload it.

sudo journalctl -b -1 > /tmp/journal.txt

Offline

#12 2025-07-16 07:42:19

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

How do I usb-walk the file?


Also, should I reinstall arch? Because I changed alot of stuff

Last edited by realfrog (2025-07-16 09:45:57)

Offline

#13 2025-07-16 11:17:29

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Also, should I reinstall arch?

No? Why?
We'll first look at the journal.

How do I usb-walk the file?

image_256

Offline

#14 2025-07-16 12:40:24

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

I'm sorry but I'm reinstalling arch because I messed with alot of stuff I shouldn't have, so doing that would be better.

If it works, I'll mark it at solved

Offline

#15 2025-07-18 06:37:32

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

It worked for a day, but I'm getting the same errors now, when I do

 sudo journalctl -b -1 

, it displays the log for shutting down but

 sudo journalctl -b 

displays the log for starting the system, so do I use 

 sudo journalctl -b 

?

Offline

#16 2025-07-18 07:44:43

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Even with LTS

Last edited by realfrog (2025-07-18 07:45:47)

Offline

#17 2025-07-18 07:51:30

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

"Quelle surprise"…

The one for the failing system, if you had to reboot,"-b -1" otherwise "-b" - in doubt both.

Offline

#18 2025-07-18 08:06:40

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

seth wrote:

Also, should I reinstall arch?

No? Why?
We'll first look at the journal.

How do I usb-walk the file?

https://sharafstore.com/web/image/produ … /image_256

Yeah but how can I put it on the USB?

Offline

#19 2025-07-18 12:27:11

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

You redirect each output into different files and copy those onto the USB key?

Offline

#20 2025-07-18 13:47:13

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Ik that but how can I do it with the terminal (which commands do I use)?

Offline

#21 2025-07-18 13:48:13

seth
Member
Registered: 2012-09-03
Posts: 66,040

Offline

#22 2025-07-18 15:18:35

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Offline

#23 2025-07-18 15:34:08

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Jul 18 11:01:13 archlinux kernel: Hardware name: LENOVO 80WK/Provence-5R1, BIOS 4KCN45WW 01/11/2019
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: [10de:1c8c] type 00 class 0x030200 PCIe Endpoint
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: BAR 0 [mem 0xa3000000-0xa3ffffff]
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: BAR 1 [mem 0x90000000-0x9fffffff 64bit pref]
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: BAR 3 [mem 0xa0000000-0xa1ffffff 64bit pref]
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: BAR 5 [io  0x4000-0x407f]
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: ROM [mem 0xfff80000-0xffffffff pref]
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: Enabling HDA controller
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: 63.008 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x8 link at 0000:00:01.0 (capable of 126.016 Gb/s with 8.0 GT/s PCIe x16 link)
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: ROM [mem 0xfff80000-0xffffffff pref]: can't claim; no compatible bridge window
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: ROM [mem size 0x00080000 pref]: can't assign; no space
Jul 18 11:00:31 archlinux kernel: pci 0000:01:00.0: ROM [mem size 0x00080000 pref]: failed to assign
Jul 18 11:00:35 archlinux kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
…
Jul 18 11:01:11 archlinux systemd-logind[516]: Power key pressed short.
Jul 18 11:01:12 archlinux kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x24:0x72:1589)
Jul 18 11:01:12 archlinux kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
Jul 18 11:01:12 archlinux kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
Jul 18 11:01:12 archlinux kernel: [drm:nv_drm_register_drm_device [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
Jul 18 11:01:12 archlinux kernel: BUG: kernel NULL pointer dereference, address: 0000000000000040
Jul 18 11:01:12 archlinux kernel: #PF: supervisor read access in kernel mode
Jul 18 11:01:13 archlinux kernel: #PF: error_code(0x0000) - not-present page
Jul 18 11:01:13 archlinux kernel: PGD 0 P4D 0 
Jul 18 11:01:13 archlinux kernel: Oops: Oops: 0000 [#1] SMP PTI
Jul 18 11:01:13 archlinux kernel: CPU: 4 UID: 0 PID: 556 Comm: Xorg.wrap Tainted: P           OE       6.15.6-arch1-1 #1 PREEMPT(full)  a49b9575025ef78fca63b5f170baaeaabd0c299d
Jul 18 11:01:13 archlinux kernel: Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Jul 18 11:01:13 archlinux kernel: Hardware name: LENOVO 80WK/Provence-5R1, BIOS 4KCN45WW 01/11/2019
Jul 18 11:01:13 archlinux kernel: RIP: 0010:_nv000528kms+0x11/0x50 [nvidia_modeset]
Jul 18 11:01:13 archlinux kernel: Code: f8 b9 08 00 00 00 89 45 f8 be 27 00 00 00 e8 b6 a4 f3 ff c9 c3 0f 1f 40 00 f3 0f 1e fa 55 b8 01 00 00 00 48 89 e5 48 83 ec 10 <8b> 57 40 48 c7 45 f8 00 00 00 00 85 d2 75 08 c9 c3 66 0f 1f 44 00
Jul 18 11:01:13 archlinux kernel: RSP: 0018:ffffd370c196b8c8 EFLAGS: 00010282
Jul 18 11:01:13 archlinux kernel: RAX: 0000000000000001 RBX: ffff8f06c21ee000 RCX: 0000000000000003
Jul 18 11:01:13 archlinux kernel: RDX: 0000000000000001 RSI: ffff8f06c63e8a00 RDI: 0000000000000000
Jul 18 11:01:13 archlinux kernel: RBP: ffffd370c196b8d8 R08: 00000000000000c0 R09: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R10: ffffd370c196b8e8 R11: 00000000ffffffff R12: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R13: ffff8f06e6f88780 R14: 00000000ffffffed R15: ffffd370c196bb10
Jul 18 11:01:13 archlinux kernel: FS:  00007f49d1016740(0000) GS:ffff8f0aa562d000(0000) knlGS:0000000000000000
Jul 18 11:01:13 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 18 11:01:13 archlinux kernel: CR2: 0000000000000040 CR3: 0000000121644005 CR4: 00000000003706f0
Jul 18 11:01:13 archlinux kernel: Call Trace:
Jul 18 11:01:13 archlinux kernel:  <TASK>
Jul 18 11:01:13 archlinux kernel:  nv_drm_master_set+0x30/0x50 [nvidia_drm 7d8e4934ff2606e2e776b7874a90e28cfba8c087]
Jul 18 11:01:13 archlinux kernel:  drm_new_set_master+0x8e/0x110
Jul 18 11:01:13 archlinux kernel:  drm_master_open+0x80/0xb0
Jul 18 11:01:13 archlinux kernel:  drm_open_helper+0x11a/0x160
Jul 18 11:01:13 archlinux kernel:  drm_open+0x72/0x100
Jul 18 11:01:13 archlinux kernel:  drm_stub_open+0x9b/0xd0
Jul 18 11:01:13 archlinux kernel:  chrdev_open+0xaa/0x240
Jul 18 11:01:13 archlinux kernel:  ? __pfx_chrdev_open+0x10/0x10
Jul 18 11:01:13 archlinux kernel:  do_dentry_open+0x16d/0x5d0
Jul 18 11:01:13 archlinux kernel:  vfs_open+0x30/0x100
Jul 18 11:01:13 archlinux kernel:  path_openat+0x717/0x1300
Jul 18 11:01:13 archlinux kernel:  do_filp_open+0xd8/0x180
Jul 18 11:01:13 archlinux kernel:  do_sys_openat2+0x88/0xe0
Jul 18 11:01:13 archlinux kernel:  __x64_sys_openat+0x61/0xa0
Jul 18 11:01:13 archlinux kernel:  do_syscall_64+0x7b/0x810
Jul 18 11:01:13 archlinux kernel:  ? do_fault+0x34c/0x5b0
Jul 18 11:01:13 archlinux kernel:  ? __handle_mm_fault+0x7de/0xfd0
Jul 18 11:01:13 archlinux kernel:  ? __rseq_handle_notify_resume+0x9b/0x4d0
Jul 18 11:01:13 archlinux kernel:  ? __count_memcg_events+0xb0/0x150
Jul 18 11:01:13 archlinux kernel:  ? count_memcg_events.constprop.0+0x1a/0x30
Jul 18 11:01:13 archlinux kernel:  ? handle_mm_fault+0x1d2/0x2d0
Jul 18 11:01:13 archlinux kernel:  ? do_user_addr_fault+0x21a/0x690
Jul 18 11:01:13 archlinux kernel:  ? irqentry_exit_to_user_mode+0x2c/0x1b0
Jul 18 11:01:13 archlinux kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jul 18 11:01:13 archlinux kernel: RIP: 0033:0x7f49d10ab006
Jul 18 11:01:13 archlinux kernel: Code: 5d e8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 19 83 e2 39 83 fa 08 75 11 e8 26 ff ff ff 66 0f 1f 44 00 00 48 8b 45 10 0f 05 <48> 8b 5d f8 c9 c3 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 48 83 ec 08
Jul 18 11:01:13 archlinux kernel: RSP: 002b:00007ffffb25ef60 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
Jul 18 11:01:13 archlinux kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f49d10ab006
Jul 18 11:01:13 archlinux kernel: RDX: 0000000000000002 RSI: 00007ffffb25f080 RDI: ffffffffffffff9c
Jul 18 11:01:13 archlinux kernel: RBP: 00007ffffb25ef80 R08: 0000000000000000 R09: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R13: 00007ffffb25f080 R14: 0000000000000000 R15: 0000000000000000
Jul 18 11:01:13 archlinux kernel:  </TASK>
Jul 18 11:01:13 archlinux kernel: Modules linked in: intel_rapl_msr intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common intel_pmc_core_pltdrv intel_pmc_core pmt_telemetry pmt_class intel_vsec vfat fat intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp pkcs8_key_parser snd_soc_avs snd_soc_hda_codec snd_hda_codec_hdmi snd_hda_ext_core polyval_clmulni nvidia_drm(POE) snd_soc_core polyval_generic ath10k_pci snd_ctl_led nvidia_uvm(POE) nvidia_modeset(POE) snd_compress snd_hda_codec_realtek ghash_clmulni_intel ac97_bus ath10k_core snd_hda_codec_generic sha512_ssse3 snd_pcm_dmaengine sha256_ssse3 snd_hda_scodec_component sha1_ssse3 uvcvideo btusb ath aesni_intel snd_hda_intel btrtl videobuf2_vmalloc btintel snd_intel_dspcfg uvc crypto_simd snd_intel_sdw_acpi mac80211 snd_hda_codec r8169 videobuf2_memops videobuf2_v4l2 videobuf2_common cryptd btbcm rapl btmtk intel_cstate videodev iTCO_wdt libarc4 intel_pmc_bxt mousedev joydev mc iTCO_vendor_support cfg80211 bluetooth ee1004 drm_ttm_helper mei_pxp mei_hdcp
Jul 18 11:01:13 archlinux kernel:  intel_uncore realtek snd_hda_core psmouse i2c_i801 snd_hwdep mdio_devres snd_pcm ideapad_laptop pcspkr nvidia(POE) snd_timer platform_profile snd libphy i2c_smbus sparse_keymap soundcore i2c_mux mei_me pinctrl_sunrisepoint rfkill intel_pch_thermal mei wmi_bmof mac_hid acpi_pad i2c_dev crypto_user dm_mod loop nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables i915 sdhci_pci i2c_algo_bit sdhci_uhs2 drm_buddy sdhci ttm cqhci intel_gtt serio_raw mmc_core drm_display_helper cec video wmi
Jul 18 11:01:13 archlinux kernel: CR2: 0000000000000040
Jul 18 11:01:13 archlinux kernel: ---[ end trace 0000000000000000 ]---
Jul 18 11:01:13 archlinux kernel: RIP: 0010:_nv000528kms+0x11/0x50 [nvidia_modeset]
Jul 18 11:01:13 archlinux kernel: Code: f8 b9 08 00 00 00 89 45 f8 be 27 00 00 00 e8 b6 a4 f3 ff c9 c3 0f 1f 40 00 f3 0f 1e fa 55 b8 01 00 00 00 48 89 e5 48 83 ec 10 <8b> 57 40 48 c7 45 f8 00 00 00 00 85 d2 75 08 c9 c3 66 0f 1f 44 00
Jul 18 11:01:13 archlinux kernel: RSP: 0018:ffffd370c196b8c8 EFLAGS: 00010282
Jul 18 11:01:13 archlinux kernel: RAX: 0000000000000001 RBX: ffff8f06c21ee000 RCX: 0000000000000003
Jul 18 11:01:13 archlinux kernel: RDX: 0000000000000001 RSI: ffff8f06c63e8a00 RDI: 0000000000000000
Jul 18 11:01:13 archlinux kernel: RBP: ffffd370c196b8d8 R08: 00000000000000c0 R09: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R10: ffffd370c196b8e8 R11: 00000000ffffffff R12: 0000000000000000
Jul 18 11:01:13 archlinux kernel: R13: ffff8f06e6f88780 R14: 00000000ffffffed R15: ffffd370c196bb10
Jul 18 11:01:13 archlinux kernel: FS:  00007f49d1016740(0000) GS:ffff8f0aa562d000(0000) knlGS:0000000000000000
Jul 18 11:01:13 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 18 11:01:13 archlinux kernel: CR2: 0000000000000040 CR3: 0000000121644005 CR4: 00000000003706f0
Jul 18 11:00:31 archlinux kernel: pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc

Try that first (add "pci=realloc" to the https://wiki.archlinux.org/title/Kernel_parameters )

Offline

#24 2025-07-18 17:54:15

realfrog
Member
Registered: 2025-07-15
Posts: 21

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

it worked, but what do i do for future boots?

Offline

#25 2025-07-18 18:53:57

seth
Member
Registered: 2012-09-03
Posts: 66,040

Re: [SOLVED] Errors while trying to switch to NVIDIA GPU from intel iGPU

Nothing, keep the parameter in your bootloader config for the kernel commandline.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB