You are not logged in.

#1 2023-06-11 10:55:27

5h4d3
Member
From: Riga, Lativa
Registered: 2023-06-11
Posts: 4

[Solved] Xorg slows down after suspend.

Hi, I've faced issues with graphic performance after suspending and resuming system, or after I switches from X to tty and back, or after I switching displays (disconnecting laptop from second monitor).

The symptoms are following:
1. Slow and glitchy animations: scrolling, fading, any action on web pages in Chrome or even just new tab/window opening, switching between desktops (tags in terms of Awesome).
2. Video lags, e.g., on YouTube or Telegram.
3. In intel_gpu_top I see that systemd produces Blitter usage (checkout screenshot below).
4. If I make Chrome window smaller or kill xcompmgr, then lags partially goes, but just partially.

The only thing that helps to handle it is a logout or reboot.
I've tried to monitor changes in CPU scaling before and after suspend, but nothing.
Also I've tried to disable proprietary Nvidia driver, but the issue still persists, so it's not in it.

Laptop:     ASUS TUF Gaming F15 FX506HE
CPU:        Intel i5-11400H
GPU:        Intel TigerLake-H GT1 [UHD Graphics]
Driver:     xf86-video-intel 1:2.99.917+923+gb74b67f0-1
GPU:        NVIDIA GeForce RTX 3050 Ti Mobile
Driver:     nvidia 530.41.03-15
Kernel:     6.3.5-arch1-1
Xorg:       21.1.8-1
DM:         loginx 1.4-1
WM:         AwesomeWM 4.3-3
Compositor: xcompmgr 1.1.9-1
systemd:    253.4-1

In most of time discrete video not in use, I've configured this point according to the following instructions
Also here's Xorg log
and journalctl logs.

^_^ shade on Machine7s5h4d3 in ~ $ cat /etc/modprobe.d/*
 |01:45:08 PM| 
options i915 enable_guc=2
options snd-hda-intel model=alc256-asus-mic
options Nvidia NVreg_DynamicPowerManagement=0x02

^_^ shade on Machine7s5h4d3 in ~ $ grep '^MODU' /etc/mkinitcpio.conf
 |01:45:59 PM| 
MODULES=(i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)

^_^ shade on Machine7s5h4d3 in ~ $ sudo grep -P '^\slinux' /boot/grub/grub.cfg 
 |01:51:05 PM| 
	linux	/boot/vmlinuz-linux root=UUID=5bbe67e2-b7eb-46c0-b70f-d9c49d868799 rw ibt=off loglevel=3

https://i2.paste.pics/bae1ecd07992911ad … 4f14f0.png


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 5h4d3 (2023-06-12 06:05:23)

Offline

#2 2023-06-11 12:08:44

seth
Member
Registered: 2012-09-03
Posts: 60,764

Re: [Solved] Xorg slows down after suspend.

remove xf86-video-intel and all configs referencing it

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

Offline

#3 2023-06-11 13:23:19

5h4d3
Member
From: Riga, Lativa
Registered: 2023-06-11
Posts: 4

Re: [Solved] Xorg slows down after suspend.

seth wrote:

remove xf86-video-intel and all configs referencing it

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

Is it a joke? big_smile

Offline

#4 2023-06-11 13:30:40

seth
Member
Registered: 2012-09-03
Posts: 60,764

Re: [Solved] Xorg slows down after suspend.

No.
See https://wiki.archlinux.org/title/Intel_ … stallation and that note is even dated and for newer IGPs like TigerLake there're truckloads of threads about this driver causing issues.
It's the wrong driver for your IGP.

The modesetting driver recently gained the TearFree option, https://www.phoronix.com/news/xf86-vide … g-TearFree
If that's your concern

Offline

#5 2023-06-11 17:41:33

5h4d3
Member
From: Riga, Lativa
Registered: 2023-06-11
Posts: 4

Re: [Solved] Xorg slows down after suspend.

seth wrote:

No.
See https://wiki.archlinux.org/title/Intel_ … stallation and that note is even dated and for newer IGPs like TigerLake there're truckloads of threads about this driver causing issues.
It's the wrong driver for your IGP.

The modesetting driver recently gained the TearFree option, https://www.phoronix.com/news/xf86-vide … g-TearFree
If that's your concern

I've deleted xf86-video-intel and created such config

^_^ shade on Machine7s5h4d3 in ~ $ cat /etc/X11/xorg.conf.d/20-graphics.conf 
 |08:39:07 PM| 
Section "Device"
    Identifier "Graphics Adapter"
    Driver     "modesetting"
    Option     "TearFree"   "true"
EndSection

Seems that the issue was run its course. Solved smile
Thx u!

Offline

#6 2023-06-11 18:31:13

seth
Member
Registered: 2012-09-03
Posts: 60,764

Re: [Solved] Xorg slows down after suspend.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB