You are not logged in.

#1 2024-11-30 17:17:19

dybbuk
Member
Registered: 2024-10-18
Posts: 15

black screen with blinking cursor after walking up from hibernation

specs:

rtx 2050
Intel core i5-11400H
6.12.1-zen1-1-zen
nvidia-dkms 565.57.01-2
WM: sway 1:1.10-1
wlroots 0.18.1-1

after waking up from hibernation the only way to get out of the black screen is to hard restart my laptop sad
changing tty doesn't help

journalctl --boot=-1

mkinitcpio.conf:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(base systemd udev autodetect microcode modconf kms keyboard keymap consolefont block resume filesystems fsck)

systemd-boot entry conf:

title zen-arch
linux vmlinuz-linux-zen
initrd initramfs-linux-zen.img
options root=UUID=272650fe-23dc-44c1-8077-243988a23843 rw pcie_aspm=off mt7921e.disable_aspm=Y quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 resume=UUID=0701511d-30e5-4f42-8109-de7f52437435

modprobe files:

options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

blacklist nouveau
alias nouveau off

options nvidia-drm modeset=1

nvidia-smi:

Sat Nov 30 19:16:19 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 2050        On  |   00000000:01:00.0 Off |                  N/A |
| N/A   40C    P0              9W /   70W |      12MiB /   4096MiB |      6%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       767      G   sway                                            1MiB |
+-----------------------------------------------------------------------------------------+

Last edited by dybbuk (2024-11-30 17:18:10)

Offline

#2 2024-12-01 12:16:59

seth
Member
Registered: 2012-09-03
Posts: 59,911

Re: black screen with blinking cursor after walking up from hibernation

after waking up from hibernation the only way to get out of the black screen is to hard restart my laptop

Can you https://wiki.archlinux.org/title/Keyboa … el_(SysRq) (nb. you've to explicitly enable that and also run the entire REISUB dance, notably "SU" will be helpful to preserve the journal) or ssh into the system?

Also, this is a hybrid system and

Nov 30 19:01:42 archlinux kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

the outputs seem attached to the intel chip, are you not running sway on it (from the nvidiaz VRAM use, it would rather seem you do)

Also https://bbs.archlinux.org/viewtopic.php?id=285508
=> remove the kms hook and the nvidia modules from mkinitcpio, add i915 intead. See what happens.

Offline

#3 2024-12-02 01:53:05

dybbuk
Member
Registered: 2024-10-18
Posts: 15

Re: black screen with blinking cursor after walking up from hibernation

well, sysreq is enabled and thats what i did before getting the logs, but appearntly only the B did work for some reason
i tried removing kms, nvidia modules then add i915 but still got the same issue
couldn't ssh into it even tho nic is up and i can ping the device (it just hangs forever)

Last edited by dybbuk (2024-12-02 08:45:46)

Offline

#4 2024-12-02 08:01:46

seth
Member
Registered: 2012-09-03
Posts: 59,911

Re: black screen with blinking cursor after walking up from hibernation

https://wiki.archlinux.org/title/Solid_ … leshooting

Also, because of the many nvme partitions, there's probably a parallel windows installation?
=> 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

On a formal note, please don't bloat the thread with full quotes, thanks.

Offline

Board footer

Powered by FluxBB