You are not logged in.

#1 2022-09-28 14:12:09

kammao
Member
Registered: 2022-09-28
Posts: 12

[SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

Hello!

I am new to arch. So far it seems great - I just have this little problem:

Experienced a bit of lag when browsing/using vscode, so I tried:
- opening brave browser/code with `disable-gpu-driver` option but that did not seem to fix it.
- running free to check if it's a RAM issue. It does not seem like it.That outputs:

               total        used        free      shared  buff/cache   available
Mem:        32610528     3503804    25614156     1604156     3492568    27104052
Swap:        3145724           0     3145724

- tried switching AccelMethod to `uxa`. Also tried adding `Option "DRI" "2"` but that did not fix it. My `/etc/x11/xorg.conf.d/20-intel.conf` looks like:

Section "Device"
Identifier  "Intel Graphics"
Driver      "intel"
Option      "TearFree" "true"
EndSection

- it seemed weird that the Blitter service is at 70-80% when browsing. Checked that using `intel_gpu_top`.
- tried deleting xf86-video-intel but I can't log in afterwards because of a `Failed to start Light Display Manager`
- lspci output:

0000:00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
0000:00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
0000:00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
0000:00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
0000:00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
0000:00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
0000:00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
0000:00:17.0 System peripheral: Intel Corporation RST VMD Managed Controller
0000:00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
0000:00:1d.1 PCI bridge: Intel Corporation Device a0b1 (rev 20)
0000:00:1e.0 Communication controller: Intel Corporation Tiger Lake-LP Serial IO UART Controller #0 (rev 20)
0000:00:1e.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO SPI Controller #1 (rev 20)
0000:00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
0000:00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
0000:00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
0000:02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
10000:e0:17.0 SATA controller: Intel Corporation Tiger Lake-LP SATA Controller (rev 20)
10000:e0:1c.0 System peripheral: Intel Corporation RST VMD Managed Controller
10000:e0:1c.4 PCI bridge: Intel Corporation Device a0bc (rev 20)
10000:e1:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

- i do not have the `~/.drirc` file. Therefore, I cannot try this: https://wiki.archlinux.org/title/Intel_ … on_(VSYNC). I'm not sure if I should already have it?

Any ideas on what causes things not to run as smooth as they should?

Thank you!

Last edited by kammao (2022-09-28 17:52:37)

Offline

#2 2022-09-28 14:17:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

You have a tiger lake system and xf86-video-intel doesn't support these anymore. Remove that, remove the xorg config file (.. if you removed xf86-video-intel but didn't remove the config requiring xorg to use the intel driver, then xorg will fail) and remove basically all other adjustments you tried. Make sure you have mesa and not mesa-amber. If xorg still fails post the xorg.log

Last edited by V1del (2022-09-28 14:19:32)

Offline

#3 2022-09-28 15:18:36

kammao
Member
Registered: 2022-09-28
Posts: 12

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

I did a `sudo pacman -R xf86-video-intel` and a `sudo rm -rf  xorg.conf.d`. Was that the correct way to remove the configuration? I still have the `/etc/X11/xinit` folder.

The computer did start now successfully. Everything is WAY smoother and works better. When running `intel_gpu_top`, Blitter is now at 0.00% and the Render/3D engine gets to 22% percent while browsing - so that looks alright now!

I still don't have a `~/.drirc` file. When I scroll down on pages I can notice a bit of tearing. How can I check if I have everything setup correctly?
Should I add the xorg.conf.d folder again and add these 2 files: https://youtu.be/zEhAJMQYSws?t=66?
Those two being 20-modesetting.conf and modesetting.conf.

Thank you! The system already improved a whole lot.

Offline

#4 2022-09-28 15:31:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

The directory for xorg.conf.d can and usually does remain but should be empty by default. What's your window manager? The best way to avoid tearing is to set up a proper compositor that actually has a concept of synchronizing to your vertical refresh rate.

That video  creates two functionally equivalent files, and all the config it sets up is already default on current versions of xorg, so no you don't need those.

Otherwise maybe post a xorg log and

glxinfo -B

from the mesa-utils package

Last edited by V1del (2022-09-28 15:32:51)

Offline

#5 2022-09-28 15:35:41

kammao
Member
Registered: 2022-09-28
Posts: 12

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

Oh, I see. I'll add the folder and let it empty as it should be then.

I am using Openbox with ARandR for the screen setup.

Offline

#6 2022-09-28 15:43:00

kammao
Member
Registered: 2022-09-28
Posts: 12

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

glxinfo -B output:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49)
    Version: 22.1.7
    Accelerated: yes
    Video memory: 31846MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

And xorg.log: https://pastebin.com/GpcdiuNh

Offline

#7 2022-09-28 15:54:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

All of that looks as expected, if you do want to avoid tearing either add a compositor on top of openbox (... picom is a popular standalone choice, configure that for the GLX backend should you opt for that) or try some wayland compositor.

Offline

#8 2022-09-28 15:55:09

kammao
Member
Registered: 2022-09-28
Posts: 12

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

Great. Will do that. Thanks for the advice and helping me set everything up!

Offline

#9 2022-09-28 17:50:21

kammao
Member
Registered: 2022-09-28
Posts: 12

Re: [SOLVED] Laggy scroll/intel_gpu_top Blitter at 80% when using browser

Final update: Configured picom for GLX and added the `vsync = true` option and the tearing issue is gone.

Offline

Board footer

Powered by FluxBB