Hi, some progress. running: # uname -a Linux T430-i7 6.2.0-24-generic #24-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 12:03:50 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
to investigate why Xorg stopped working (hanging screen/keyboard) In short, same libnvidia-tls issue and workarond as posted before. solution: ``` /etc/ld.so.conf.d# cat nvidia.conf # 2023/05/01 ArjanF https://bbs.archlinux.org/viewtopic.php?id=283327&p=2 /usr/lib/x86_64-linux-gnu/tls/ ``` and perform ldconfig, reboot into 6.2.0-24 (as 6.2.0-25 has vbios copy error issue) Then Xorg starts with nvidia support. some details on the libnvidia-tls on my system ``` $ file $(find /usr/lib/x86_64-linux-gnu/ -name "libnvidia-tls*") /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.390.157: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, for GNU/Linux 2.2.5, stripped /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.390.157: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, for GNU/Linux 2.3.99, stripped $ apt-file search libnvidia-tls.so.390.157 libnvidia-gl-390: /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.390.157 libnvidia-gl-390: /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.390.157 ``` Having it started testing out the external multi-monitor setup it didn't see external monitors straight away, so i undocked -> docked to trigger display detection and that worked, but also triggered a kernel crash and frozen screen/keyboard. captured crash info: ``` 40781.413803] general protection fault, probably for non-canonical address 0x93f96c1db8514a60: 0000 [#1] PREEMPT SMP NOPTI [40781.413811] CPU: 6 PID: 1554 Comm: nvidia-modeset Tainted: P O 6.2.0-24-generic #24-Ubuntu [40781.413814] Hardware name: LENOVO 2349G7G/2349G7G, BIOS G1ETC2WW (2.82 ) 08/07/2019 [40781.413815] RIP: 0010:_raw_spin_lock+0x13/0x60 [40781.413821] Code: 31 db c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 65 ff 05 2c 9e 35 52 31 c0 ba 01 00 00 00 <f0> 0f b1 17 75 1b 31 c0 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 [40781.413823] RSP: 0018:ffffb766c0aabe78 EFLAGS: 00010246 [40781.413825] RAX: 0000000000000000 RBX: ffff9ce4d9931b80 RCX: 0000000000000000 [40781.413827] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 93f96c1db8514a60 [40781.413828] RBP: ffffb766c0aabeb0 R08: 0000000000000000 R09: 0000000000000000 [40781.413829] R10: 0000000000000000 R11: 0000000000000000 R12: 93f96c1db8514a38 [40781.413831] R13: ffffffffc26009f8 R14: ffff9ce4e6441940 R15: 93f96c1db8514a38 [40781.413832] FS: 0000000000000000(0000) GS:ffff9ce7ee380000(0000) knlGS:0000000000000000 [40781.413834] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [40781.413835] CR2: 00007fe70927aff8 CR3: 0000000389410001 CR4: 00000000001706e0 [40781.413837] Call Trace: [40781.413839] <TASK> [40781.413842] ? nv_drm_gem_prime_fence_event+0x29/0x110 [nvidia_drm] [40781.413852] nvkms_kthread_q_callback+0x7d/0xe0 [nvidia_modeset] [40781.413873] _main_loop+0x7f/0x140 [nvidia] [40781.414172] ? __pfx__main_loop+0x10/0x10 [nvidia] [40781.414580] kthread+0xe6/0x110 [40781.414589] ? __pfx_kthread+0x10/0x10 [40781.414595] ret_from_fork+0x29/0x50 [40781.414602] </TASK> [40781.414604] Modules linked in: snd_seq_dummy snd_hrtimer nf_conntrack_netlink xfrm_user xfrm_algo xt_CHECKSUM ccm algif_aead des_generic libdes md4 wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nft_masq rfcomm cmac algif_hash algif_skcipher af_alg overlay bnep lz4 lz4_compress zram ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_multiport nft_limit xt_limit xt_addrtype xt_tcpudp nft_chain_nat xt_MASQUERADE nf_nat xt_comment xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat binfmt_misc nf_tables nfnetlink nls_iso8859_1 nvidia_uvm(PO) intel_rapl_msr snd_ctl_led snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl_common uvcvideo x86_pkg_temp_thermal btusb videobuf2_vmalloc snd_hda_intel videobuf2_memops btrtl videobuf2_v4l2 snd_intel_dspcfg btbcm intel_powerclamp videodev snd_intel_sdw_acpi snd_hda_codec btintel [40781.414704] kvm_intel videobuf2_common btmtk snd_hda_core mc snd_hwdep bluetooth kvm nvidia_drm(PO) snd_pcm ecdh_generic ecc thinkpad_acpi irqbypass nvram nvidia_modeset(PO) iwlmvm snd_seq_midi snd_seq_midi_event rapl nvidia(PO) snd_rawmidi mac80211 libarc4 intel_cstate snd_seq iwlwifi snd_seq_device snd_timer ipmi_devintf cfg80211 ipmi_msghandler snd think_lmi ledtrig_audio platform_profile soundcore firmware_attributes_class wmi_bmof at24 joydev input_leds mac_hid serio_raw iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables pkcs8_key_parser cuse coretemp msr parport_pc ppdev lp parport bfq efi_pstore dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log i915 drm_buddy i2c_algo_bit ttm cdc_ether hid_generic usbnet drm_display_helper crct10dif_pclmul r8152 cec crc32_pclmul mii usbh id hid [40781.414944] rc_core polyval_clmulni polyval_generic drm_kms_helper ghash_clmulni_intel sha512_ssse3 syscopyarea sysfillrect aesni_intel sysimgblt crypto_simd cryptd psmouse sdhci_pci drm cqhci lpc_ich ahci i2c_i801 e1000e sdhci video libahci i2c_smbus xhci_pci xhci_pci_renesas wmi [40781.415011] ---[ end trace 0000000000000000 ]--- [40782.299023] pstore: backend (efi_pstore) writing error (-5) [40782.299032] RIP: 0010:_raw_spin_lock+0x13/0x60 [40782.299042] Code: 31 db c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 65 ff 05 2c 9e 35 52 31 c0 ba 01 00 00 00 <f0> 0f b1 17 75 1b 31 c0 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 [40782.299044] RSP: 0018:ffffb766c0aabe78 EFLAGS: 00010246 [40782.299047] RAX: 0000000000000000 RBX: ffff9ce4d9931b80 RCX: 0000000000000000 [40782.299049] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 93f96c1db8514a60 [40782.299050] RBP: ffffb766c0aabeb0 R08: 0000000000000000 R09: 0000000000000000 [40782.299051] R10: 0000000000000000 R11: 0000000000000000 R12: 93f96c1db8514a38 [40782.299053] R13: ffffffffc26009f8 R14: ffff9ce4e6441940 R15: 93f96c1db8514a38 [40782.299054] FS: 0000000000000000(0000) GS:ffff9ce7ee380000(0000) knlGS:0000000000000000 [40782.299056] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [40782.299058] CR2: 00007fe70927aff8 CR3: 00000001d0842006 CR4: 00000000001706e0 [40782.299060] note: nvidia-modeset[1554] exited with preempt_count 1 [40814.054046] usb 4-3: USB disconnect, device number 3 [40814.186450] thinkpad_acpi: undocked from hotplug port replicator ``` Have not performed any long-term testing with 6.2.0-24 and ld.conf nvidia hack. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-390 in Ubuntu. https://bugs.launchpad.net/bugs/2016459 Title: NVRM: RmInitAdapter failed! , failed to copy vbios to system memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2016459/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp