You are not logged in.

#1 2021-12-09 16:43:28

archola
Member
Registered: 2021-12-09
Posts: 3

Wake-up from Suspend or Hibernate: black screen and can't change TTY

Hi,

I have noticed what's probably some kind of regression (since this problem surfaced some weeks ago). My laptop is a Dell XPS 15 7590 with an Optimus chipset, i.e. with a built-in Intel VGA and Nvidia chipset:

$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
        DeviceName:  Onboard IGD
        Subsystem: Dell Device 0905
--
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
        Subsystem: Dell Device 0905
        Kernel modules: nouveau, nvidia_drm, nvidia

The problem is that when I wake-up the computer from Suspend or Hibernate the screen goes all black and it's not possible to shift TTY with Ctrl+Alt+Fx. However, the computer is not dead; when I press the power-button and ordered power-off is initiated with unmount messages etc. Also, the problem only happens if I Suspend/Hibernate from within an X-session (not from TTY).

What I have found out is that it seems to be related to the nvidia kernel module. If I prevent it from being loaded by

install nvidia /bin/true

in blacklist.conf the problem disappear, i.e. the computer wake-up back to the X-session as expected.

I want to emphasize that this is a regression, it used to work fine until some weeks ago (do not remember exactly unfortunately).

What I see in the journal related to nvidia is:

$ sudo journalctl -b -1
Dec 09 16:38:20 olas-7590 kernel: nvidia: loading out-of-tree module taints kernel.
Dec 09 16:38:20 olas-7590 kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 09 16:38:20 olas-7590 kernel: Disabling lock debugging due to kernel taint
Dec 09 16:38:20 olas-7590 kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Dec 09 16:38:20 olas-7590 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
Dec 09 16:38:20 olas-7590 kernel: 
Dec 09 16:38:20 olas-7590 kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Dec 09 16:38:20 olas-7590 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.44  Fri Oct 22 06:13:12 UTC 2021
Dec 09 16:38:21 olas-7590 systemd-udevd[1143]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Dec 09 16:38:21 olas-7590 systemd-udevd[1142]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Dec 09 16:38:21 olas-7590 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
Dec 09 16:38:21 olas-7590 systemd-udevd[1143]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit>
Dec 09 16:38:21 olas-7590 systemd-udevd[1142]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit>
Dec 09 16:38:22 olas-7590 kernel: i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
Dec 09 16:38:22 olas-7590 systemd[1074]: Started D-Bus User Message Bus.

Offline

#2 2021-12-11 08:59:06

seth
Member
Registered: 2012-09-03
Posts: 51,035

Re: Wake-up from Suspend or Hibernate: black screen and can't change TTY

What is this?

Dec 09 16:38:21 olas-7590 systemd-udevd[1143]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Dec 09 16:38:21 olas-7590 systemd-udevd[1142]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.

the problem only happens if I Suspend/Hibernate from within an X-session

it seems to be related to the nvidia kernel module.

Please post your xorg log (before failing to suspend, but w/ the nvidia module enabled)

Online

Board footer

Powered by FluxBB