You are not logged in.

#1 2024-09-22 05:59:21

fivre
Member
Registered: 2007-04-17
Posts: 99

Graphical glitches with Intel Xe driver and sway

I have a gen ThinkPad X1 Carbon with a https://ark.intel.com/content/www/us/en … 0-ghz.html CPU that has been having graphical glitches for maybe a year now, seemingly getting more frequent. I have a Tiger Lake chip and use sway with Wayland.

The built-in screen at least (dunno about connected monitors, I rarely use them with this machine) will occasionally exhibit one of two issues:

- Tearing (I think?) where large rectangular chunks of the screen will appear in the wrong locations for a fraction of a second.
- A horizontal line (occasionally multiple) about 10px tall of random pixelated color noise.

No obvious way to trigger it or correlate it with anything in particular, but it happens about once every hour or two. Any idea what I could even do to try and explain it further?

$ uname -a
Linux woo 6.10.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 x86_64 GNU/Linux

$ lspci
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)

$ swaymsg -t get_outputs
Output eDP-1 'California Institute of Technology 0x1403 Unknown' (focused)
  Current mode: 3840x2400 @ 60.000 Hz
  Power: on
  Position: 0,0
  Scale factor: 1.800000
  Scale filter: linear
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 1
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    3840x2400 @ 60.000 Hz

$ swaymsg -t get_version
sway version 1.9

Didn't really expect graphics driver-level bugs to show up in logs, but did a cursory check of the journal and dmesg without seeing anything.

https://old.reddit.com/r/swaywm/comment … dora_sway/ sounds similar but seems likely well before Tiger Lake and the Xe driver. Didn't see anything that looked relevant in https://wiki.archlinux.org/title/Intel_ … leshooting

Offline

#2 2024-09-22 07:46:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,494

Re: Graphical glitches with Intel Xe driver and sway

Tearing (I think?)

No, sounds like a tiling bug.

A horizontal line (occasionally multiple) about 10px tall of random pixelated color noise.

Signal error?

Run i3 on Xorg for a while (any uncomposited WM will do but since you're using sway…) and see whether it shows up there as well.
DO NOT INSTALL | xf86-video-intel |
Thry to run the output at a lower resolution (w/ your scale settings you're looking for ~1920x1200 anyway) and whether that makes one or the other issue go away.
Conversely you could also try to run sway w/o the scale.

We need to figure whether what you're seeing is a software (sway compositor) bug or hardware limitation (or both) and in the latter case, what pushes it.
For eDPs psr is popular, https://wiki.archlinux.org/title/Intel_ … flickering - you might also face a power supply issue, eg. https://wiki.archlinux.org/title/Intel_ … Intel_CPUs

Offline

#3 2024-09-24 05:52:48

fivre
Member
Registered: 2007-04-17
Posts: 99

Re: Graphical glitches with Intel Xe driver and sway

Disabling scaling in sway doesn't seem to have any effect. Firefox is set to do whatever scaling it does (layout.css.devPixelsPerPx in about:config) but the same issues occur across the whole screen.

Offline

#4 2024-09-24 07:06:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,494

Re: Graphical glitches with Intel Xe driver and sway

Which would have been too easy sad

seth wrote:

Run i3 on Xorg for a while (any uncomposited WM will do but since you're using sway…) and see whether it shows up there as well.

Try to run the output at a lower resolution (w/ your scale settings you're looking for ~1920x1200 anyway) and whether that makes one or the other issue go away.

The implication of the latter would have been "if the problem exists w/ i3 and then to "xrandr --output eDP-1 --mode 1920x1200"

Offline

Board footer

Powered by FluxBB