Freeze system for sec and black screen after wakeup from suspend

Hi i have problem with system freeze
in wayland i get freeze for just sec and its work again and its show (sched: RT throttling activated) on gnome log i dont have any other log to show for that problem

my another problem is for black screen after wake up from suspand when wake up show black screen without cursor i try restart sddm via another tty and sddm show up but when i login in wayland i get black screen i try x11 after restart sddm but its
freeze after kde splash screen and i should reboot to fix problem

i search on arch wiki for black screen they say problem because sddm load faster than nvidia and i should add nvidia in module mkinitcpio but garuda use dracut by default so that soulotin not work

garuda-inxi
System:
Kernel: 6.5.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=5f7cd2f4-62d5-4315-a78d-67578cc7dcaa rw rootflags=subvol=@
splash nvidia-drm.modeset=1 nosgx rd.udev.log_priority=3
vt.global_cursor_default=0 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Aspire F5-573G v: V1.27
serial: <superuser required>
Mobo: Acer model: Captain_SK v: V1.27 serial: <superuser required>
UEFI: Insyde v: 1.27 date: 05/26/2017
CPU:
Info: model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake
gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
model-id: 0x4E (78) stepping: 3 microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 2700 min/max: 400/3100 scaling: driver: intel_pstate
governor: powersave cores: 1: 2700 2: 2700 3: 2700 4: 2700 bogomips: 20799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Acer Incorporated ALI
driver: i915 v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
active: DP-1,eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1916
class-ID: 0300
Device-2: NVIDIA GM107 [GeForce 940MX] vendor: Acer Incorporated ALI
driver: nvidia v: 535.113.01 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-09) arch: Maxwell code: GMxxx
process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
chip-ID: 10de:179c class-ID: 0302
Device-3: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:5 chip-ID: 04f2:b573
class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
gpu: i915,nvidia d-rect: 3520x1080 display-ID: 0
Monitor-1: DP-1 pos: primary,left res: 1600x900 size: N/A modes: N/A
Monitor-2: eDP-1 pos: right res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
inactive: device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 520 (SKL GT2)
device-ID: 8086:1916 memory: 7.45 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.264 layers: 8 device: 0 type: integrated-gpu name: Intel
HD Graphics 520 (SKL GT2) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:1916 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce 940MX driver: nvidia v: 535.113.01
device-ID: 10de:179c surfaces: xcb,xlib,wayland device: 2 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 4 link-max: lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:0fbc class-ID: 0403
API: ALSA v: k6.5.7-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.83 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: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0042 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.1 chip-ID: 10ec:8168
class-ID: 0200
IF: enp4s0f1 state: down mac: <filter>
Bluetooth:
Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:4
chip-ID: 04ca:3015 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
Local Storage: total: 1.36 TiB used: 15.28 GiB (1.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 2B2QEXM7 temp: 42.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: ST1000LM024 HN-M101MBB
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: 0001 scheme: MBR
Partition:
ID-1: / raw-size: 144.02 GiB size: 144.02 GiB (100.00%)
used: 15.25 GiB (10.6%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-2: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
used: 28 MiB (4.7%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /home raw-size: 144.02 GiB size: 144.02 GiB (100.00%)
used: 15.25 GiB (10.6%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-4: /var/log raw-size: 144.02 GiB size: 144.02 GiB (100.00%)
used: 15.25 GiB (10.6%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-5: /var/tmp raw-size: 144.02 GiB size: 144.02 GiB (100.00%)
used: 15.25 GiB (10.6%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 7.63 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 57.0 C pch: 48.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 216 Uptime: 54m wakeups: 1 Memory: total: 8 GiB
available: 7.63 GiB used: 3.6 GiB (47.2%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1498 libs: 417 tools: octopi,paru,pikaur Shell: fish
v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.30
Garuda (2.6.17-1):
System install date:     2023-10-16
Last full system update: 2023-10-21
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Please, read again the template and post your garuda-inxi


Hello Garuda users.

Please read the following template before requesting assistance:

Please post the terminal/konsole input and output as text (no pictures) from the the following command:

garuda-inxi

Refusing to post the output of the required “garuda-inxi” on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).

Before opening a new help request, please search the Arch and Garuda Wiki’s, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum’s search engine and on the web. For in depth information on how to search for answers to Linux issues effectively read the tips on the Garuda Wiki:

Please report in detail everything you have already attempted to solve your problem.

The template above should be deleted before posting your help request.

And use search function :slight_smile:

2 Likes

First of all, please one issue per topic. Most likely they are not related.
For the resume issue, and in general, I’d start testing a different kernel.
Normally I test the linux-lts kernel “backward” and the linux-mainline “onwards”.
For this

I’d try this. Just to see if disabling that feature the issue disappears, but the root cause might be somewhere else.
https://wiki.linuxfoundation.org/realtime/documentation/technical_basics/sched_rt_throttling

1 Like

for now i write echo -1 > /proc/sys/kernel/sched_rt_runtime_us and its work thanks

what i do for black screen its so annoying

I’m not an Nvidia user, but I think you might try this in place of the wiki suggestion you mentioned:
https://wiki.archlinux.org/title/Dracut#Early_kernel_module_loading
Mind the trailing spaces before and after " xxx ".
When done, give a:

sudo dracut-rebuild

But I think that normally you are using the Intel GPU, so this shouldn’t be the problem.
Have you tried the different kernels?

2 Likes

not work i add i915 for intel and nvidia_drm for nvidia in

/etc/dracut.conf.d/myflags.conf

and do

sudo dracut-rebuild

it was work on vanilia arch with only i915 but in garuda is not working

i only get black screen when system automatic go on sleep if i manualy suspand system i dont get black screen

ok now its work only on x11 and what i do

systemctl enable nvidia-suspend

and

systemctl enable nvidia-resume

How I fix it on wayland?

i get this error and system freeze for a secend how can i fix it.
i use wired mouse
kwin_libinput: Libinput: event17 - Genius Optical Mouse: client bug: event processing lagging behind by 35ms, your system is too slow

The most frequent causes of suspend not working correctly are:

  • Kernel regressions (test alternate kernels).

  • Bios is outdated (update bios).

  • Incompatible sleep state is set in the bios (test alternate sleep states).

1 Like

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