After an Update the nvidia Driver cant be loaded anymore. If i understand correctly it should.
$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1
The error message is:
[ 492.101151] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:249d)
NVRM: installed in this system is not supported by the
NVRM: NVIDIA 525.116.04 driver release.
NVRM: Please see ‘Appendix A - Supported NVIDIA GPU Products’
NVRM: in this release’s README, available on the operating system
NVRM: specific graphics driver download page at .
From that Appendix: (Appendix A. Supported NVIDIA GPU Products )
NVIDIA GeForce RTX 3070 Laptop GPU 249D K
Any hints what the problem could be?
Kernel:
uname -a
Linux … 6.3.4-1-default #1 SMP PREEMPT_DYNAMIC Mon May 29 06:22:29 UTC 2023 (2c66b1f) x86_64 x86_64 x86_64 GNU/Linux
nvidia-bug-report.log.gz (638.3 KB)
The bugreport.
Mart
June 2, 2023, 7:23pm
3
[ 45.929390] bbswitch: disabling discrete graphics
[ 45.930013] ------------[ cut here ]------------
[ 45.930014] pci 0000:01:00.0: disabling already-disabled device
[ 45.930022] WARNING: CPU: 7 PID: 1147 at drivers/pci/pci.c:2241 pci_disable_device+0xd0/0x130
[ 45.930028] Modules linked in: af_packet nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bpfilter qrtr bnep btusb btrtl btbcm btintel btmtk bluetooth ecdh_generic bbswitch(O) snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda nls_iso8859_1 snd_sof_pci nls_cp437 snd_sof_xtensa_dsp vfat iwlmvm fat snd_sof snd_sof_utils soundwire_bus snd_hda_codec_hdmi mac80211 snd_soc_skl libarc4 snd_hda_codec_realtek snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_generic snd_soc_acpi_intel_match snd_soc_acpi ledtrig_audio snd_soc_core snd_compress intel_pmc_core_pltdrv
[ 45.930067] snd_pcm_dmaengine intel_pmc_core snd_hda_intel intel_tcc_cooling x86_pkg_temp_thermal snd_intel_dspcfg intel_powerclamp snd_intel_sdw_acpi coretemp snd_hda_codec processor_thermal_device_pci_legacy hid_multitouch processor_thermal_device snd_hda_core iTCO_wdt r8169 kvm_intel iwlwifi snd_hwdep snd_pcm spi_nor processor_thermal_rfim intel_pmc_bxt ee1004 mei_hdcp mei_pxp iTCO_vendor_support snd_timer realtek processor_thermal_mbox cfg80211 mtd mdio_devres processor_thermal_rapl intel_rapl_msr mei_me intel_lpss_pci kvm snd i2c_i801 spi_intel_pci intel_rapl_common intel_lpss irqbypass intel_wmi_thunderbolt wmi_bmof pcspkr thunderbolt efi_pstore nvidia_wmi_ec_backlight rfkill spi_intel i2c_smbus libphy soundcore mei intel_pch_thermal intel_soc_dts_iosf idma64 thermal int3403_thermal int340x_thermal_zone int3400_thermal intel_hid acpi_thermal_rel sparse_keymap acpi_pad ac joydev tiny_power_button fuse configfs dmi_sysfs ip_tables x_tables hid_generic usbhid i915 crct10dif_pclmul crc32_pclmul polyval_clmulni
[ 45.930122] i2c_algo_bit polyval_generic gf128mul drm_buddy drm_display_helper ghash_clmulni_intel xhci_pci rtsx_pci_sdmmc sha512_ssse3 xhci_pci_renesas xhci_hcd cec mmc_core aesni_intel nvme crypto_simd rc_core rtsx_pci nvme_core mxm_wmi usbcore cryptd ttm i2c_hid_acpi i2c_hid battery video wmi pinctrl_cannonlake button serio_raw btrfs blake2b_generic xor raid6_pq sg br_netfilter libcrc32c crc32c_intel bridge stp llc dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua msr efivarfs
[ 45.930145] CPU: 7 PID: 1147 Comm: bumblebeed Tainted: G O 6.3.4-1-default #1 openSUSE Tumbleweed dbcadc94672ad614b62b9948e5ed1c48b9a634a1
[ 45.930148] Hardware name: TUXEDO TUXEDO Book XP15 / XP17 Gen12/PCx0Dx_GN20, BIOS 1.07.08RTR2 07/17/2020
[ 45.930149] RIP: 0010:pci_disable_device+0xd0/0x130
[ 45.930152] Code: 48 85 ed 75 07 48 8b ab d0 00 00 00 48 8d bb d0 00 00 00 e8 52 2d 1f 00 48 89 ea 48 c7 c7 60 8d 82 b6 48 89 c6 e8 d0 79 9e ff <0f> 0b e9 5a ff ff ff 48 8d 54 24 06 be 04 00 00 00 48 89 df e8 57
[ 45.930153] RSP: 0018:ffffb67380a9fda8 EFLAGS: 00010282
[ 45.930155] RAX: 0000000000000000 RBX: ffff9a0f81c1e000 RCX: 0000000000000027
[ 45.930156] RDX: ffff9a12fb1a24c8 RSI: 0000000000000001 RDI: ffff9a12fb1a24c0
[ 45.930158] RBP: ffff9a0f81bd3f00 R08: 0000000000000000 R09: ffffb67380a9fc50
[ 45.930159] R10: 0000000000000003 R11: ffff9a130b6c2b28 R12: ffffb67380a9fec8
[ 45.930159] R13: 000056199b5745c0 R14: ffff9a0f91141000 R15: 0000000000000000
[ 45.930161] FS: 00007fa8b6304b80(0000) GS:ffff9a12fb180000(0000) knlGS:0000000000000000
[ 45.930162] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 45.930163] CR2: 00007f6588775a84 CR3: 0000000160008002 CR4: 00000000007706e0
[ 45.930164] PKRU: 55555554
[ 45.930165] Call Trace:
[ 45.930166]
[ 45.930169] bbswitch_off+0xc2/0x260 [bbswitch 1cfdcef88e973362cb3c5c7550cba8e3e3e2ea34]
[ 45.930175] bbswitch_proc_write+0xe5/0x130 [bbswitch 1cfdcef88e973362cb3c5c7550cba8e3e3e2ea34]
[ 45.930180] proc_reg_write+0x53/0xa0
[ 45.930184] vfs_write+0xc2/0x3b0
[ 45.930187] ? mntput_no_expire+0x4a/0x250
[ 45.930190] ? auditd_test_task+0x39/0x50
[ 45.930194] ksys_write+0x63/0xe0
[ 45.930197] do_syscall_64+0x59/0x90
[ 45.930201] ? do_syscall_64+0x68/0x90
[ 45.930202] ? syscall_exit_to_user_mode+0x17/0x40
[ 45.930205] ? do_syscall_64+0x68/0x90
[ 45.930207] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ 45.930210] RIP: 0033:0x7fa8b64e2144
[ 45.930246] Code: ff eb b7 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 90 90 80 3d 3d 2a 0f 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
[ 45.930247] RSP: 002b:00007ffe6eb10978 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[ 45.930249] RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007fa8b64e2144
[ 45.930250] RDX: 0000000000000028 RSI: 000056199b5745c0 RDI: 0000000000000004
[ 45.930251] RBP: 000056199b5745c0 R08: 0000000000000000 R09: 0000000000000001
[ 45.930252] R10: 0000000000001000 R11: 0000000000000202 R12: 0000000000000028
[ 45.930253] R13: 000056199b5726f0 R14: 0000000000000028 R15: 00007fa8b65c2d60
[ 45.930255]
[ 45.930256] —[ end trace 0000000000000000 ]—
Please try uninstalling bbswitch.
Uninstalling bbswitch helped. Is it not required or faulty? I uninstalled bumblebee too. Was that necessary?
Now the kernel modules load but on boot i get a blank screen with mouse pointer instead of SDDM. Waiting a bit and pressing CTRL-ALT-BACKSPACE allows the SDDM to start successful. From the logfile it looks like on the first start sddm (runs under X11) doesnt recognize nvidia and goes the modesetting route (Nouveau is blacklisted) . On the second attempt nvidia is recognized and everything starts smoothly.
Recently i had more problems under linux than ever before.
This also seemed to have fixed a problem i had that my laptop did freeze on boot when it was plugged in.It only successfully booted when unplugged. But could be unrelated. For now it boots successful either way.
Thanks for the help.
Mart
June 3, 2023, 6:34pm
5
bbswitch and bumblebee are ancient and should not be used any more.
Regarding SDDM:
Maybe try with lightdm.
So what is the replacement? I have a optimus? laptop with intel (which controls the external monitor output) … if i switch to nvidia i lose the ability to add a monitor to the laptop. If i use a external monitor i lose … nvidia.
I read something about prime-run but that is not installed on my machine and i cant find it in any package.
OpenSuSE has suse-prime which pulls in bbswitch-kmp-default and all of that supports offloading but no script to offload. The only ones supporting it are optirun and primus but both pull in bumblebee and bbswitch.
Got it all fixed. I uninstalled everything now. bumblebee, primus, optirun, suse-prime and bbswitch. After that the default graphics card was intel. No idea if by luck or if thats the default.
I found on the web a script that i can use to start any program so it uses the nvidia card.
#!/bin/bash
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json
exec “$@”
That works for me.
Thanks for the help. I wanted to document my solution for the next person. On my journey i found out that i still need those too for some reason:
/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT= … nosimplefb=1
$ cat /etc/modprobe.d/50-blacklist.conf
blacklist nouveau
options nouveau.modeset=0
Thanks for the help
Mart
June 4, 2023, 5:13pm
8