pedro00dk/nvidia-exec

Computer hangs after plugging in hdmi

Opened this issue · 1 comments

I am on nvidia driver 550.90.07-5. When I start nvidia with 'nvx on' and plug in an HDMI cable, my system hangs.

I see several hundreds of thousands of lines in system log:
[drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory

Here is a log of when I do nvx on. Also @pedro00dk why is nouveau loaded as well by default? Seems different from the previous version.

Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,224 [INFO] client connected
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,224 [INFO] handle on
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,225 [INFO] turn on
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,225 [INFO] pci rescan
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: [10de:1cbb] type 00 class 0x030000 PCIe Endpoint
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00ffffff]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 1 [mem 0x00000000-0x0fffffff 64bit pref]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 3 [mem 0x00000000-0x01ffffff 64bit pref]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 5 [io  0x0000-0x007f]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: ROM [mem 0x00000000-0x0007ffff pref]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 256)
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: Enabling HDA controller
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: vgaarb: bridge control possible
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
Aug 02 22:48:54 nk-zbook kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: [10de:0fb9] type 00 class 0x040300 PCIe Endpoint
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: BAR 0 [mem 0x00000000-0x00003fff]
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: Max Payload Size set to 256 (was 128, max 256)
Aug 02 22:48:54 nk-zbook kernel: pcieport 0000:00:01.0: ASPM: current common clock configuration is inconsistent, reconfiguring
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,447 [INFO] pci devices
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 1 [mem 0x80000000-0x8fffffff 64bit pref]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 3 [mem 0x90000000-0x91ffffff 64bit pref]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 0 [mem 0xe5000000-0xe5ffffff]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: ROM [mem 0xe6000000-0xe607ffff pref]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: BAR 0 [mem 0xe6080000-0xe6083fff]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.0: BAR 5 [io  0x4000-0x407f]: assigned
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: extending delay after power-on from D3hot to 20 msec
Aug 02 22:48:54 nk-zbook kernel: pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
Aug 02 22:48:54 nk-zbook kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
Aug 02 22:48:54 nk-zbook kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
Aug 02 22:48:54 nk-zbook kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Aug 02 22:48:54 nk-zbook kernel: snd_hda_intel 0000:01:00.1: Applying patch firmware 'hda-jack-retask.fw'
Aug 02 22:48:54 nk-zbook kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input30
Aug 02 22:48:54 nk-zbook kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input31
Aug 02 22:48:54 nk-zbook kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input32
Aug 02 22:48:54 nk-zbook kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input33
Aug 02 22:48:54 nk-zbook snapd[1260]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Aug 02 22:48:54 nk-zbook snapd[1260]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Aug 02 22:48:54 nk-zbook snapd[1260]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Aug 02 22:48:54 nk-zbook snapd[1260]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Aug 02 22:48:54 nk-zbook systemd[1150]: Reached target Sound Card.
Aug 02 22:48:54 nk-zbook gnome-shell[2253]: [INFO   ][Another window session manager] Session 4083392688.json saved to /home/nils/.config/another-window-session-manager/currentSession/gnome-terminal-server/4083392688.json!
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: Executing deferred operations
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: Integrating: /home/nils/.zhistory
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: ERROR: not an AppImage, skipping
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: Cleaning up old desktop integration files
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: Updating desktop database and icon caches
Aug 02 22:48:54 nk-zbook appimagelauncherd[3819]: gtk-update-icon-cache: The generated cache was invalid.
Aug 02 22:48:54 nk-zbook appimagelauncherd[3821]: which: no gtk-update-icon-cache-3.0 in (/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin)
Aug 02 22:48:54 nk-zbook appimagelauncherd[3824]: Could not parse file "/home/nils/.local/share/applications/sqltabs.desktop": Key file does not start with a group
Aug 02 22:48:54 nk-zbook appimagelauncherd[3824]: Could not parse file "/home/nils/.local/share/applications/toggldesktop.desktop": Key file does not start with a group
Aug 02 22:48:54 nk-zbook appimagelauncherd[3826]: which: no update-icon-caches in (/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin)
Aug 02 22:48:54 nk-zbook appimagelauncherd[1292]: Done
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,921 [INFO] devices: [Config(name: NVIDIA Corporation - GP107GLM [Quadro P1000 Mobile], bus: 0000:01:00.0, bridge: 0000:00:01.0), Config(name: NVIDIA Corporation - GP107GL High Definition Audio Controller, bus: 0000:01:00.1, bridge: 0000:00:01.0)]
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,921 [INFO] turn on device NVIDIA Corporation - GP107GLM [Quadro P1000 Mobile] - 0000:01:00.0 - 0000:00:01.0
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,922 [INFO] turn on device NVIDIA Corporation - GP107GL High Definition Audio Controller - 0000:01:00.1 - 0000:00:01.0
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,922 [INFO] load modules
Aug 02 22:48:54 nk-zbook nvx[763]: 2024-08-02 22:48:54,922 [INFO] load module nvidia_modeset
Aug 02 22:48:55 nk-zbook gnome-shell[2253]: [INFO   ][Another window session manager] Session 4083392688.json saved to /home/nils/.config/another-window-session-manager/currentSession/gnome-terminal-server/4083392688.json!
Aug 02 22:48:56 nk-zbook kernel: nvidia: module license 'NVIDIA' taints kernel.
Aug 02 22:48:56 nk-zbook kernel: Disabling lock debugging due to kernel taint
Aug 02 22:48:56 nk-zbook kernel: nvidia: module license taints kernel.
Aug 02 22:48:56 nk-zbook kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
Aug 02 22:48:56 nk-zbook kernel: 
Aug 02 22:48:56 nk-zbook kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Aug 02 22:48:56 nk-zbook kernel: nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Aug 02 22:48:56 nk-zbook kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  550.107.02  Wed Jul 24 23:53:00 UTC 2024
Aug 02 22:48:56 nk-zbook systemd-udevd[462]: /usr/lib/udev/rules.d/69-mixxx-usb-uaccess.rules:61 Unknown group 'uaccess', ignoring.
Aug 02 22:48:57 nk-zbook kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.107.02  Wed Jul 24 23:24:27 UTC 2024
Aug 02 22:48:57 nk-zbook nvx[763]: 2024-08-02 22:48:57,010 [INFO] result: 0 b''
Aug 02 22:48:57 nk-zbook nvx[763]: 2024-08-02 22:48:57,010 [INFO] load module nvidia_uvm
Aug 02 22:48:57 nk-zbook kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Aug 02 22:48:58 nk-zbook kernel: nvidia-uvm: Loaded the UVM driver, major device number 507.
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,040 [INFO] result: 0 b''
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,040 [INFO] load module nvidia_drm
Aug 02 22:48:58 nk-zbook kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Aug 02 22:48:58 nk-zbook kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20230628/nsarguments-61)
Aug 02 22:48:58 nk-zbook kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,813 [INFO] result: 0 b''
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,813 [INFO] load module nvidia
Aug 02 22:48:58 nk-zbook kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,817 [INFO] result: 0 b''
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,817 [INFO] load module nouveau
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: Device '/dev/dri/card0' prefers shadow buffer
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: g_hash_table_steal_extended: assertion 'hash_table != NULL' failed
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: libEGL warning: egl: failed to create dri2 screen
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: No EGL display
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: Created gbm renderer for '/dev/dri/card0'
Aug 02 22:48:58 nk-zbook gnome-shell[2253]: Failed to hotplug secondary gpu '/dev/dri/renderD129': GDBus.Error:System.Error.ENODEV: No such device
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,856 [INFO] result: 0 b''
Aug 02 22:48:58 nk-zbook nvx[763]: 2024-08-02 22:48:58,856 [INFO] pci devices
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' high priority at nice level 0.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' RT at priority 20.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' high priority at nice level 0.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' RT at priority 20.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' high priority at nice level 0.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' RT at priority 20.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' high priority at nice level 0.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 0 threads of 0 processes of 1 users.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Successfully made thread 2289 of process 2253 owned by '1000' RT at priority 20.
Aug 02 22:48:58 nk-zbook rtkit-daemon[1487]: Supervising 1 threads of 1 processes of 1 users.
Aug 02 22:48:59 nk-zbook nvx[763]: 2024-08-02 22:48:59,183 [INFO] devices: [Config(name: NVIDIA Corporation - GP107GLM [Quadro P1000 Mobile], bus: 0000:01:00.0, bridge: 0000:00:01.0), Config(name: NVIDIA Corporation - GP107GL High Definition Audio Controller, bus: 0000:01:00.1, bridge: 0000:00:01.0)]
Aug 02 22:48:59 nk-zbook nvx[763]: 2024-08-02 22:48:59,183 [INFO] status: on