FS#72744 - darktable: green squares as artifacts in lighttable thumbnails

Attached to Project: Community Packages
Opened by Matthias Bodenbinder (mbod) - Sunday, 14 November 2021, 09:24 GMT
Last edited by Jonas Witschel (diabonas) - Wednesday, 17 November 2021, 11:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

darktable is showing green squares as artifacts in the lighttable thumbnails. (see attached screenshot)
I have created an issue for darktable for it:

https://github.com/darktable-org/darktable/issues/10386

The DT developers say it is not a darktable issue but an issue with some updated library. I tend to agree but I do not know where to look.
I was not able to downgrade xserver etc. It alsways freezes my GUI.


System: Kernel: 5.15.2-arch1-1 x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: EndeavourOS
Machine: Type: Desktop System: Gigabyte product: X570 AORUS ULTRA v: -CF serial: <filter>
Mobo: Gigabyte model: X570 AORUS ULTRA serial: <filter> UEFI: American Megatrends LLC. v: F35d date: 10/13/2021
CPU: Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP cache: L2: 4 MiB
Speed: 2841 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2841 2: 2154 3: 2191 4: 2064 5: 2172 6: 2196 7: 2192
8: 2195 9: 2083 10: 2054 11: 2195 12: 2194 13: 2190 14: 2195 15: 3464 16: 2091
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.21.1.1 driver: loaded: amdgpu unloaded: modesetting resolution: 2560x1440~60Hz
OpenGL: renderer: AMD Radeon RX 5600 XT (NAVI10 DRM 3.42.0 5.15.2-arch1-1 LLVM 13.0.0) v: 4.6 Mesa 21.2.5


Packages installed:

darktable 2:3.6.1-2

18# pacman -Q | grep -i xf86
lib32-libxxf86vm 1.1.4-2
libxxf86vm 1.1.4-4
xf86-input-libinput 1.2.0-2
xf86-video-amdgpu 21.0.0-2

19# pacman -Q | grep -i xorg
xorg-fonts-encodings 1.0.5-2
xorg-iceauth 1.0.8-2
xorg-server 21.1.1-3
xorg-server-common 21.1.1-3
xorg-setxkbmap 1.3.2-2
xorg-xauth 1.1-2
xorg-xdpyinfo 1.3.2-4
xorg-xhost 1.0.8-2
xorg-xinit 1.4.1-3
xorg-xinput 1.6.3-2
xorg-xkbcomp 1.4.5-1
xorg-xkill 1.0.5-2
xorg-xmessage 1.0.5-2
xorg-xmodmap 1.0.10-2
xorg-xprop 1.2.5-1
xorg-xrandr 1.5.1-2
xorg-xrdb 1.2.1-1
xorg-xset 1.2.4-2
xorg-xwayland 21.1.3-1
xorg-xwininfo 1.1.5-2
xorgproto 2021.5-1

This task depends upon

Closed by  Jonas Witschel (diabonas)
Wednesday, 17 November 2021, 11:30 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72758 
Comment by Matthias Bodenbinder (mbod) - Sunday, 14 November 2021, 09:27 GMT
I have to add that darktable 3.6.x was working fine on my PC at the beginning. I did not use darktable for the last couple of weeks and now I see that issue happening.

EDIT:
I am not so sure anymore that DT 3.6.x was working at the beginning. I booted my PC with a persisten live USB installation (created with ALMA a long while ago). This installation still with has linux 5.14.12.arch1-1 and linux-lts 5.10.73-1. So it is pretty old and darktable 2:3.6.1-1 is showing the same issue. I tried to downgrade to DT 3.4, but makepkg fails. How can I downgrade to DT 3.4 to test it?
Comment by Matthias Bodenbinder (mbod) - Sunday, 14 November 2021, 12:34 GMT
In the meantime I was able to compile DT 3.4.1 (but with only with -DUSE_OPENEXR=no otherwise configure fails)
And this DT 3.4.1 has the same issue. But I nknow that I was working with DT for years now without any issue like this. It must have been introduced with some recent change. And that affects 3.6 and 3.4. Any idea how to debug this?
Comment by Matthias Bodenbinder (mbod) - Monday, 15 November 2021, 11:33 GMT
I found the root cause. It is an xorg-server server issue. This update is causing the issue.

[2021-11-10T06:54:32+0100] [ALPM] upgraded xorg-server (1.20.13-3 -> 21.1.1-2)
[2021-11-10T06:54:31+0100] [ALPM] upgraded xorg-server-common (1.20.13-3 -> 21.1.1-2)

Downgrading to 1.20.13-3 solves the issue.
Comment by Jonas Witschel (diabonas) - Wednesday, 17 November 2021, 10:11 GMT
Does xorg-server(-common) 21.1.1-3 fix these issues for you?
Comment by Matthias Bodenbinder (mbod) - Wednesday, 17 November 2021, 11:05 GMT
No, it does not fix it.
Comment by Jonas Witschel (diabonas) - Wednesday, 17 November 2021, 11:30 GMT
Thanks for testing. Since this seems to be a bug in Xorg rather than darktable, I am going to close this report in favour of  FS#72758 .

Loading...