You are not logged in.

#1 2023-09-20 21:39:11

pentamassiv
Member
Registered: 2020-07-17
Posts: 11

[SOLVED] Weird rendering issues

I have been experiencing weird rendering issues lately and I have no idea why. It started about a week ago, but unfortunately I don't remember exactly when. I regularly update my system, so it can only be because of a recent update. I thought it was a package issue and a new package would get released shortly. In order to make sure it is not a hardware issue, I booted Ubuntu from a USB stick and used it for some time. The issue never occurred so I am reasonably sure it must be a software issue. This computer is a TUXEDO Pulse 15 Gen2 so it has a AMD Ryzen 7 5700U with Radeon Graphics × 16. I am using the amdgpu driver. My DE is GNOME Wayland. I usually have two additional screens attached to my laptop scaled to 200%. They are both 4k screens. One is connected via USB-C and the other HDMI. The issue also happens when I unplug the screens.

The rendering issues only start after a couple of minutes or sometimes hours of usage. Usually it is when I move the mouse to the hot corner to switch applications and usually it is when I have a couple of applications opened (Librewolf, Signal Desktop, VS Codium, Telegram Desktop, Element). I can't reliably reproduce the issue. Sometimes I see some glitches, but if I don't switch applications they sometimes stop again. In the majority of cases it only gets worse and worse until I reboot. Then everything is back to normal again until the issue starts again.

The rendering issues look wild. One time I was using Writer and with the same frequency as the blinking of the cursor, a twisted version of VS Code flashed on the screen. Here are a few screenshot I took with the built-in screenshot tool from GNOME shell: https://imgur.com/a/XTxuKwH
Here is my pacman log: https://pastebin.mozilla.org/eouAJHtB

https://i.imgur.com/msU8ctx.png

https://i.imgur.com/fUEdZqe.png

https://i.imgur.com/cEsue0A.png

https://i.imgur.com/UuI4wBm.png

moderator edit -- replaced oversized images with links.
Pasting pictures and code

Last edited by pentamassiv (2023-09-22 17:00:02)

Offline

#2 2023-09-21 06:45:56

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] Weird rendering issues

Try the behavior w/ the LTS kernel, if it's the same, it's likely the mutter/gnome-shell update.

Offline

#3 2023-09-21 19:36:26

xerxes_
Member
Registered: 2018-04-29
Posts: 757

Re: [SOLVED] Weird rendering issues

Nice effects:  like someone would be drunk. You can do more screenshots and create gallery .

Last edited by xerxes_ (2023-09-21 19:36:59)

Offline

#4 2023-09-22 03:50:52

pentamassiv
Member
Registered: 2020-07-17
Posts: 11

Re: [SOLVED] Weird rendering issues

A video would be even more impressive. It flickers and moves.

I downgraded mutter and gnome-shell. The issue persisted. Afterwards I updated my system again and installed the LTS kernel. With the LTS kernel, everything works fine. I tested it all day today and had zero glitches. When 6.5.4.arch2-1 was published, I updated and booted it and had the same glitches again. Looks like it is a kernel issue.

Offline

#5 2023-09-22 06:09:03

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] Weird rendering issues

Please post your complete system journal for a 6.5 boot, eg. for the previous boot

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

I am using the amdgpu driver. My DE is GNOME Wayland.

And since those two sentences to not fit in one line

pacman -Qs amdgpu
loginctl session-status

Offline

#6 2023-09-22 14:07:37

pentamassiv
Member
Registered: 2020-07-17
Posts: 11

Re: [SOLVED] Weird rendering issues

I updated the system again and the update of the packages

mesa (1:23.1.7-1 -> 1:23.1.8-1)
libva-mesa-driver (1:23.1.7-1 -> 1:23.1.8-1)
mesa-vdpau (1:23.1.7-1 -> 1:23.1.8-1)
vulkan-radeon (1:23.1.7-1 -> 1:23.1.8-1)

seems to have fixed the issue even on linux 6.5.4-arch2-1.

What did you mean with: "And since those two sentences to not fit in one line"? Here is the output to the commands you asked me to run:

[pentamassiv@tuxedo ~]$ pacman -Qs amdgpu
[pentamassiv@tuxedo ~]$ loginctl session-status
3 - pentamassiv (60429)
           Since: Fri 2023-09-22 15:08:55 CEST; 53min ago
          Leader: 1597 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: tty2
         Service: gdm-password; type wayland; class user
           State: active
            Idle: no
            Unit: session-3.scope
                  ├─1597 "gdm-session-worker [pam/gdm-password]"
                  ├─1713 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
                  └─1720 /usr/lib/gnome-session-binary

Sep 22 15:08:55 tuxedo systemd[1]: Started Session 3 of User pentamassiv.

I had this issue https://bbs.archlinux.org/viewtopic.php?id=279770. To fix it, I enabled early KMS

cat > /etc/dracut.conf.d/my_flags.conf <<EOF
force_drivers+=" amdgpu "
EOF
[pentamassiv@tuxedo ~]$ lspci -k | grep -A 3 -E "(VGA|3D)"
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1)
	Subsystem: Tongfang Hongkong Limited Lucienne
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Was that incorrect?

Offline

#7 2023-09-22 14:50:29

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] Weird rendering issues

The explicit phrasing made it sound as if you had added xf86-video-amdgpu as the kernel module isn't somehow optional for your hardware.
The dracut setting enables https://wiki.archlinux.org/title/Kernel … _KMS_start

But there're no problem w/ your setup.

Seems to have been a temporarily incompatibility between the newer kernel and the older MESA then.
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

#8 2023-09-22 16:59:35

pentamassiv
Member
Registered: 2020-07-17
Posts: 11

Re: [SOLVED] Weird rendering issues

Of course, I was just waiting for your reply in case I made a mistake with the KMS. Thank you very much for your time and help!

Offline

Board footer

Powered by FluxBB