You are not logged in.

#1 2022-02-02 18:33:35

Cornul11
Member
Registered: 2022-02-02
Posts: 12

[SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

I have been using the latest packages for a while, and I noticed a strange screen artefact moving the cursor quickly in various directions.

The artefacts that occur on my screen can be seen in the following video: https://www.youtube.com/watch?v=CWaFBr6X5pw or in the following photo (screenshots do not capture the artefact, nor screencasts): https://imgur.com/a/FvYk71V

I started downgrading packages one day at a time from the archive, and noticed that the artefacts appeared when doing the following upgrade (I am speculating that the artefacts may be caused by the 5.16 kernel or the updated gdm):

    ~  sudo pacman -Syyuu                                        ✔  5s  
:: Synchronising package databases...
 core                  137.5 KiB   631 KiB/s 00:00 [######################] 100%
 extra                1559.4 KiB  9.64 MiB/s 00:00 [######################] 100%
 community               6.0 MiB  17.4 MiB/s 00:00 [######################] 100%
 multilib              151.7 KiB  2.31 MiB/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: fprintd: ignoring package upgrade (1.90.1-1 => 1.94.1-1)
resolving dependencies...
looking for conflicting packages...

Package (14)                 Old Version           New Version       Net Change

extra/gdm                    41.0+r15+g23ebe617-1  41.3-1              0.01 MiB
extra/gnome-control-center   41.2-1                41.2-2              0.23 MiB
extra/gnome-session          40.1.1-1              41.3-1              0.04 MiB
core/iana-etc                20211203-1            20220110-1          0.00 MiB
extra/libgdm                 41.0+r15+g23ebe617-1  41.3-1              0.00 MiB
extra/libnautilus-extension  41.1-2                41.2-1              0.00 MiB
extra/libtorrent-rasterbar   1:1.2.15-1            1:2.0.5-1          -0.66 MiB
core/linux                   5.15.13.arch1-1       5.16.arch1-1       26.19 MiB
core/linux-headers           5.15.13.arch1-1       5.16.arch1-1        2.15 MiB
extra/meson                  0.61.0-2              0.61.0-3            0.00 MiB
extra/nautilus               41.1-2                41.2-1              0.00 MiB
community/opera              82.0.4227.43-1        82.0.4227.58-1      0.01 MiB
community/qbittorrent        4.4.0-1               4.4.0-2             0.02 MiB
extra/qt5-wayland            5.15.2+kde+r38-1      5.15.2+kde+r41-1   -0.28 MiB

Total Installed Size:  608.70 MiB
Net Upgrade Size:       27.70 MiB

:: Proceed with installation? [Y/n] 

Has anyone else encountered this problem and/or knows a fix for it?

Last edited by Cornul11 (2022-11-05 18:33:30)

Offline

#2 2022-02-04 17:10:17

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

I tried checking the general logs and the kernel ring logs but couldn't find anything valuable. What other ways to diagnose or debug this should I try, or where would I be able to report this bug?

Offline

#3 2022-02-05 10:47:04

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

Although the symptoms are different, you could check if your issue is related to this bug report.

Offline

#4 2022-02-14 21:18:42

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

JoeyCorleone wrote:

Although the symptoms are different, you could check if your issue is related to this bug report.

Upgrading to 5.16.9 didn't seem to help, moreover, the bug seems to be different.

Offline

#5 2022-02-19 12:04:41

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

Still persistent on the latest mutter, linux, gdm and mesa packages.

Offline

#6 2022-02-19 17:17:19

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

Does the issue go away when booting the LTS kernel?

Offline

#7 2022-02-20 15:30:53

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

JoeyCorleone wrote:

Does the issue go away when booting the LTS kernel?

The problem does go away when using the LTS or the 5.15.13 kernel; upgrading to 5.16 makes the flickering reappear.

I have started bisecting between 5.15.13 and 5.16 from the stable kernel tree and have found the culprit to be this patch: https://patchwork.freedesktop.org/patch/456496/. PSR2 doesn't work correctly yet on Tiger Lake CPUs.

Disabling PSR2 manually fixes the problem. I'll report the bug to the upstream and see what can be done next.

Offline

#8 2022-02-21 12:49:58

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

Good job bisecting the kernel!

Reporting this bug to upstream is the way to go now. Feel free to post a link to your upstream ticket here, so other people who come upon this thread can quickly find it.

Addendum: when creating your upstream ticket, make sure to put all people who are mentioned in the offending commit on CC.

Last edited by JoeyCorleone (2022-02-21 12:53:56)

Offline

#9 2022-02-21 18:22:04

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

For those having the same issue, the bug report and its progress can be followed here - https://gitlab.freedesktop.org/drm/intel/-/issues/5077, hopefully, it gets patched to the upstream soon.

Offline

#10 2022-11-03 02:19:12

Cornul11
Member
Registered: 2022-02-02
Posts: 12

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

The fix was merged in the upstream as of 5.16.15.arch1-1 or similar, can be closed.

Last edited by Cornul11 (2022-11-03 02:19:32)

Offline

#11 2022-11-03 08:55:38

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

Re: [SOLVED] Screen artefacts on Wayland with Gnome on DELL XPS 13.

Mark it as [SOLVED] by editing the title in your first post.

Offline

Board footer

Powered by FluxBB