Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79547 - [xorg-xwayland] vncviewer unusable on GNOME Wayland due to graphical glitches

Attached to Project: Arch Linux
Opened by eomanis (eomanis) - Sunday, 03 September 2023, 01:48 GMT
Last edited by Toolybird (Toolybird) - Friday, 22 September 2023, 09:22 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The native VNC viewer application of package `tigervnc` cannot be used because it does not draw the remote system's view correctly, at least not in GNOME Wayland.
For details and a video capture see the respective upstream bug report [1].

Additional info:
* package version: tigervnc-1.13.1-2
* config and/or log files etc: None, output of `vncviewer` command looks good
* link to upstream bug report, if any: [1]

Steps to reproduce:
Have Arch Linux, GNOME Shell in Wayland mode, and possibly AMD Mesa graphics, and attempt to use the `vncviewer` application.

[1] https://github.com/TigerVNC/tigervnc/issues/1663
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 22 September 2023, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  xorg-xwayland 23.2.1-1
Comment by Toolybird (Toolybird) - Sunday, 03 September 2023, 07:40 GMT
No real indication here of an Arch packaging issue. What happens if you downgrade to the previous version tigervnc-1.13.1-1?
Comment by eomanis (eomanis) - Sunday, 03 September 2023, 11:02 GMT
I have downgraded a few times and the results make me suspect a regression elsewhere.

Aug 10, 2023 tigervnc-1.13.1-2 Affected
Mar 10, 2023 tigervnc-1.13.1-1 Affected
Feb 04, 2023 tigervnc-1.13.0-1 Affected
Jan 01, 2023 tigervnc-1.12.90-1 Affected
Mar 14, 2022 tigervnc-1.12.0-3 Affected

I am sure it still worked one or two months ago.

Must be a regression in some other part of the involved software stack.
Anyone else has GNOME Shell + Wayland + Mesa + AMD Graphics (Ellesmere [Radeon RX 470/480/570/570X/580/580X/590])? and uses the TigerVNC viewer?

Output of "uname -a":
Linux my-system 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux

Some packages and versions:
* linux-6.4.12.arch1-1
* mesa-1:23.1.6-4
* gnome-shell-1:44.4-1
* mutter-44.4-1
* wayland-1.22.0-1
* wayland-protocols-1.32-1
* xorg-xwayland-23.2.0-1
Comment by Toolybird (Toolybird) - Sunday, 03 September 2023, 22:23 GMT
> Must be a regression in some other part of the involved software stack

Agreed. Anyway, thanks for trying.

IME, graphical glitches like this are often mesa/driver/kernel related. Seeing as there's no clear tigervnc packaging problem here, you might have better luck taking it to the proper Arch support channels (Forum/IRC/Mailing Lists/Reddit/etc) to see if anyone has any ideas to assist with troubleshooting. Please let us know what you find out.
Comment by Jerry Xiao (JerryXiao) - Wednesday, 06 September 2023, 16:07 GMT
I've spent some time bisecting. Turns out downgrading xorg-xwayland to 23.1.2-1 solves the problem (repackage yourself is recommended).
Comment by Jerry Xiao (JerryXiao) - Wednesday, 06 September 2023, 16:11 GMT
There's already an issue reported to xorg.
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1575
Comment by Toolybird (Toolybird) - Thursday, 07 September 2023, 00:26 GMT
> already an issue reported to xorg

Nice one, thanks for investigating.
Comment by Andreas Radke (AndyRTR) - Thursday, 07 September 2023, 05:22 GMT
Feel free to apply this patch:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1131.patch

It's rather huge so I'm not for backporting it to the current release.

Loading...