Black Screen After Wake from Suspend in NVIDIA-Only Mode on X11

Can someone suggest a fix for this issue?

On my system, when I’m in NVIDIA-only mode and using X11, if my laptop goes to sleep (either by closing the lid or using systemctl suspend), I get a black screen upon waking up. However, this issue doesn’t occur in Wayland—but I feel more comfortable using X11.

How can I fix this?

Welcome to the forum :slight_smile:
Please post your garuda-inxi as requested by the template.

The issues with nvidia and wakeup from whatever have been known for ages. There are several threads on this topic here in the forum (and many more in the wild_wild_web), so please search for them first.

Also, we need more information, for example, since when have you had the issue - from the beginning or only after a nvidia driver update etc?

3 Likes

From the beginning I’m having the issue. Not will any update. I am using Asusctl and supergfxctl to change graphics mode. The thing is working with wayland but not with x11.

System:
Kernel: 6.13.1-arch2-1.3-g14 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: acpi_pm parameters: ibt=off pm_debug_messages
amd_pmc.dyndbg="+p" acpi.dyndbg="file drivers/acpi/x86/s2idle.c +p"
BOOT_IMAGE=/@/boot/vmlinuz-linux-g14
root=UUID=176f7b7e-5336-4c92-ad60-f20b7ea069f7 rw rootflags=subvol=@
quiet loglevel=3 nvidia.NVreg_UsePageAttributeTable=1
nvidia_drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming F15 FX507VV_FX507VV
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: FX507VV v: 1.0 serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends LLC. v: FX507VV.327
date: 02/29/2024
Battery:
ID-1: BAT0 charge: 24.9 Wh (29.0%) condition: 85.8/90.0 Wh (95.4%)
power: 84.0 W volts: 16.3 min: 15.9 model: AS3GWYF3KC GA50358 type: Unknown
serial: <filter> status: charging
CPU:
Info: model: 13th Gen Intel Core i7-13620H bits: 64 type: MST AMCP
arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 2
microcode: 0x4123
Topology: cpus: 1x dies: 1 clusters: 7 cores: 10 threads: 16 mt: 6 tpc: 2
st: 4 smt: enabled cache: L1: 864 KiB desc: d-4x32 KiB, 6x48 KiB; i-6x32
KiB, 4x64 KiB L2: 9.5 MiB desc: 6x1.2 MiB, 1x2 MiB L3: 24 MiB
desc: 1x24 MiB
Speed (MHz): avg: 400 min/max: 400/4700:4900:3600 scaling:
driver: intel_pstate governor: powersave cores: 1: 400 2: 400 3: 400 4: 400
5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
15: 400 16: 400 bogomips: 93388
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Raptor Lake-P [UHD Graphics] vendor: ASUSTeK driver: i915
v: kernel alternate: xe arch: Xe process: Intel 10nm built: 2020-21 ports:
active: eDP-2 empty: DP-2,DP-3 bus-ID: 0000:00:02.0 chip-ID: 8086:a7a8
class-ID: 0300
Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: ASUSTeK
driver: nvidia v: 570.86.16 alternate: nvidia_drm non-free: 550/565.xx+
status: current (as of 2025-01) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ ports: active: none
empty: DP-1,HDMI-A-1,eDP-1 bus-ID: 0000:01:00.0 chip-ID: 10de:28e0
class-ID: 0300
Device-3: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:2 chip-ID: 13d3:56a2
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 24.1.5 with: Xwayland v: 24.1.5
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
s-diag: 583mm (22.95")
Monitor-1: eDP-2 model: ChiMei InnoLux N156HMA-GA1 built: 2022 res:
mode: 1920x1080 hz: 144 scale: 100% (1) dpi: 142 gamma: 1.2
size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: iris gbm: drv: iris surfaceless: drv: nvidia
wayland: drv: iris x11: drv: iris
API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 24.3.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
device-ID: 8086:a7a8 memory: 7.44 GiB unified: yes
API: Vulkan v: 1.4.303 layers: 16 device: 0 type: integrated-gpu
name: Intel Graphics (RPL-P) driver: N/A device-ID: 8086:a7a8
surfaces: xcb,xlib,wayland device: 1 type: discrete-gpu name: NVIDIA
GeForce RTX 4060 Laptop GPU driver: N/A device-ID: 10de:28e0
surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
19.1.7 256 bits) driver: N/A device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: corectrl, nvidia-settings,
nvidia-smi wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Raptor Lake-P/U/H cAVS vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:51ca class-ID: 0403
Device-2: NVIDIA AD107 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:22be
class-ID: 0403
API: ALSA v: k6.13.1-arch2-1.3-g14 status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 0000:00:14.3 chip-ID: 8086:51f1 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:37:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp55s0 state: down mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
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:3 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: no address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev:
class-ID: 0104
Drives:
Local Storage: total: 476.94 GiB used: 75.38 GiB (15.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC
SN740 SDDPNQD-512G-1002 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 73101000 temp: 49.9 C scheme: GPT
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 75.23 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 159.9 MiB (53.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 75.23 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 75.23 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 75.23 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.24 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 36.5 C mobo: N/A
Fan Speeds (rpm): cpu: 2500
Info:
Memory: total: 16 GiB note: est. available: 15.24 GiB used: 2.54 GiB (16.7%)
Processes: 341 Power: uptime: 16m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.03 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1894 libs: 546 tools: octopi,paru Compilers:
clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date:     2025-01-31
Last full system update: 2025-02-12
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Hello Edward876,

welcome here in the Forum.

Many Users have issues with Nvidia Cards.
There are many Threads about it here in the Forum and Arch Forum.Mostly related with the Nvidia drivers.I read somewhere for X11 the open-nvidia driver works or you have to try add Kernel Parameter in Garuda Boot Options nvidia-drm.modeset=1. Otherwise there so many stuff for testing but not recommended to do that.It can make the system unstable.May a newer update in next time fix it for your X11 .

i checked asusctrl and supergfxctl they is no fully supported with X11.

supergfxctl

Xorg is no-longer supported (but supergfxd still works with it)

asusctrl

X11 support
X11 is not supported at all, as in I will not help you with X11 issues if there are any due to limited time and it being unmaintained itself. 
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.