Black Screen After Wake -- Mouse Cursor Visible, Login Possible

Hi All,

Apart from a few initial heartdropping experiences, I’m loving the switch to Wayland so a big THANKS to everyone involved.

However, one recurrent issue I have is a blank screen after waking.

The mouse cursor is visible, and I can actually locate the login field (by watching the cursor change from arrow to ‘text cursor’) and can even login successfully. Once logged in the DE is visible.

I have tried changing power settings, sleep settings, login screen (SDDM) settings, as per the proposed solutions offered in the related posts linked at the end of this post but, unless I’ve missed something, nothing seems to solve the issue.

It seems to be isolated to the screen powering off when sleeping. I can manually lock my session and the login screen will display as expected.

Could anybody offer any other things I could try?

As always, any help is greatly appreciated!

-W


Terminal Output:

System:
Kernel: 6.6.30-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
root=UUID=1f092767-b4f7-41f2-a416-6ca5105990f1 rw quiet splash
resume=UUID=139aebe0-a57a-4247-a68d-5f93bf98f4cd udev.log_priority=3
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 with: krunner vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
Type: Laptop System: Dell product: Latitude 7520 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 07MHG4 v: A00 serial: <superuser required> part-nu: 0A38
uuid: <superuser required> UEFI: Dell v: 1.21.0 date: 10/11/2022
Battery:
ID-1: BAT0 charge: 16.6 Wh (53.5%) condition: 31.0/61.9 Wh (50.0%)
volts: 14.8 min: 15.2 model: SMP DELL TN2GY19 type: Li-poly serial: <filter>
status: discharging
Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A
status: N/A
Memory:
System RAM: total: 16 GiB available: 15.35 GiB used: 8.97 GiB (58.4%)
Message: For most reliable report, use superuser + dmidecode.
Array-1: capacity: 16 GiB slots: 8 modules: 8 EC: None
max-module-size: 2 GiB note: est.
Device-1: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-2: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-3: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-4: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-5: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-6: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-7: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
Device-8: Motherboard type: LPDDR4 detail: synchronous size: 2 GiB
speed: 3733 MT/s volts: curr: 0.6 width (bits): data: 64 total: 64
manufacturer: N/A part-no: HCNNNCPMMLXR-NEE serial: N/A
CPU:
Info: model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xB6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 12 MiB
desc: 1x12 MiB
Speed (MHz): avg: 612 high: 1073 min/max: 400/4800 scaling:
driver: intel_pstate governor: powersave cores: 1: 400 2: 400 3: 400 4: 1073
5: 818 6: 680 7: 400 8: 726 bogomips: 28888
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt invpcid
lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr
nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good
sdbg sep sha_ni smap smep smx split_lock_detect ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tme tpr_shadow tsc tsc_adjust
tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx vnmi
vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
RSB filling; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
bus-ID: 0000:00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:2
chip-ID: 1bcf:2bab class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 2048x1152 s-dpi: 96 s-size: 541x304mm (21.30x11.97")
s-diag: 621mm (24.43") monitors: <missing: xrandr>
Monitor-1: eDP-1 model: AU Optronics 0x7091 built: 2020 res: 3840x2160
dpi: 284 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 3840x2160
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.6-manjaro1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
device-ID: 8086:9a49 memory: 14.99 GiB unified: yes
API: Vulkan v: 1.3.279 layers: N/A device: 0 type: integrated-gpu
name: Intel Xe Graphics (TGL GT2) driver: mesa intel v: 24.0.6-manjaro1.1
device-ID: 8086:9a49 surfaces: xcb,xlib
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
API: ALSA v: k6.6.30-2-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.5 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-3: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: enp0s20f0u1c4i2 state: up speed: N/A duplex: N/A mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0026
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 17 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
Local Storage: total: 931.51 GiB used: 820.18 GiB (88.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 2B2QGXA7 temp: 37.9 C
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 32 GiB size: 31.2 GiB (97.50%) used: 23.07 GiB (74.0%)
fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: root
uuid: 1f092767-b4f7-41f2-a416-6ca5105990f1
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: 755A-1573
ID-3: /home raw-size: 50 GiB size: 48.91 GiB (97.83%)
used: 35.48 GiB (72.5%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
label: home uuid: 7e576e92-a498-4057-b779-222e9996ee84
ID-4: /home/<filter>/data raw-size: 829.22 GiB size: 815.13 GiB (98.30%)
used: 756.86 GiB (92.9%) fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
label: data uuid: 7171f8cf-c39e-45ca-8616-cb3a6999e56a
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: partition size: 20 GiB used: 4.76 GiB (23.8%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
uuid: 139aebe0-a57a-4247-a68d-5f93bf98f4cd
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Device-1: 3-1:59 info: Apple iPhone 5/5C/5S/6/SE/7/8/X/XR
type: still imaging driver: ipheth,usbfs interfaces: 3 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
chip-ID: 05ac:12a8 class-ID: 0601 serial: <filter>
Device-2: 3-6:2 info: Sunplus Innovation Integrated_Webcam_HD type: video
driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
mode: 2.0 power: 500mA chip-ID: 1bcf:2bab class-ID: 0e02 serial: <filter>
Device-3: 3-8:58 info: Broadcom 58200 type: smart card driver: N/A
interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
power: 100mA chip-ID: 0a5c:5842 class-ID: 0b00 serial: <filter>
Device-4: 3-10:4 info: Intel AX201 Bluetooth type: bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
power: 100mA chip-ID: 8087:0026 class-ID: e001
Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 37.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 333 Power: uptime: 6d 22h 8m states: freeze,mem,disk
suspend: s2idle wakeups: 12 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.13 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: 1373 pm: pacman pkgs: 1366 libs: 348 tools: pamac,yay pm: flatpak
pkgs: 7 Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
running-in: yakuake inxi: 3.3.34

Related Posts:

Hi. If you switch to a different TTY with say Control + Alt + F3, do you see the following error message being spammed in the console? For me this is always accompanied by repeated printing of USB port errors.

usb usb6-port3: config error
usb usb6-port3: Cannot enable. Maybe the USB cable is bad?

I get the same black screen with just the mouse cursor visible, I presumed the lock screen crashes and didn’t try clicking the field but will check next time. I tried using loginctl unlock-session # but when I switch back I’m still stuck at the black screen. I always need to use the reboot command to do a clean restart instead.

Hi,

No I don’t see any error messages in TTY3. Just the standard login prompt.

On a related note, I did get stuck in TTY3 and couldn’t return to the DE. I tried the usual Alt+F1/2 combination but it didn’t work. I had to reboot. Has the shortcut changed?

One thing I found curious just now was this setting in ‘Colours & Themes > Login Screen (SDDM) > Behaviour’. Disabling Automatically log in defaults to Plasma (X11), whereas Enabling it offers me the choice to choose Plasma (Wayland).

I’m not that savvy with Linux so I really don’t know if it’s relevant or not.
:person_shrugging:

Interesting. The shortcut is Control + Alt + F# not Alt + F#: For me I can jump between them but can’t get rid of the black screen in my normal session without restarting. I have auto-login disabled and always use Plasma Wayland.

Yeah, that’s what I thought. But I tried both shortcuts multiple times and neither worked :person_shrugging:

More importantly, I seem to have fixed the black screen issue.

For anyone reading this in the future, all I did was this:

  1. Enable Automatically log in and select Plasma (Wayland)
  2. Apply
  3. Reboot and let it automatically login
  4. Disable Automatically log in
  5. Reboot
  6. Log in as usual

Again, I’m at a loss as to why this worked, but it seems to have worked nonetheless.

Peace
-W