As you can see in the attached screenshot, some Darktable thumbnails get a corrupt display (black squares).
I raised the issue with the Darktable development team, but couldn’t yet get a fix or usable workaround. (darktable · GitHub issues 6440)
To summarize the issue :
- The issue started when reimporting my pictures library (>60K pictures) in DT 3.2.1 on my newly rebuilt Linux Mint 20 Cinnamon. (I used to run on LM 19.3 before on exactly the same hardware; with no issue.)
- Deleting again the Darktable pictures database and re-importing the pics from scratch doesn’t help.
- “Dummy” editing the affected pictures or compressing the history stack doesn’t fix the thumbnails.
- Upgrading to recent DT 3.4.0 didn’t fix the issue.
- Issue is likely to occur more frequently on pictures processed with specific modules (basic adjustments and/or local contrast module). The issue doesn’t occur on pictures not processed (manually).
- The issue does not occur when importing the same affected pictures (with their xmp files) on my Windows 10 PC with DT 3.4.0 (HP Elitebook (with no openCL feature))
Workarounds :
After a lot of investigation, disabling OpenCL in DT seems to fix the issue (but slow downs the image processing)
I suspect a GeForce driver issue on LM 20 is causing this issue.
Do you have any hint to fix this issue ? Thanks for your help.
This is my GeForce config :
±-----------------------------------------------------+
| NVIDIA-SMI 340.108 Driver Version: 340.108 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 210 Off | 0000:01:00.0 N/A | N/A |
| N/A 56C P0 N/A / N/A | 327MiB / 1023MiB | N/A Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
±----------------------------------------------------------------------------+
This is my config :
System: Kernel: 5.4.0-59-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7
wm: muffin dm: GDM3, LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Desktop System: Dell product: OptiPlex 780 v: N/A serial: Chassis:
type: 15 serial:
Mobo: Dell model: 03NVJ6 v: A01 serial: BIOS: Dell v: A03 date: 02/13/2010
CPU: Topology: Dual Core model: Intel Core2 Duo E7500 bits: 64 type: MCP arch: Penryn rev: A
L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11703
Speed: 2281 MHz min/max: N/A Core speeds (MHz): 1: 2281 2: 2504
Graphics: Device-1: NVIDIA GT218 [GeForce 210] vendor: ASUSTeK driver: nvidia v: 340.108
bus ID: 01:00.0 chip ID: 10de:0a65
Display: x11 server: X.Org 1.20.8 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce 210/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 direct render: Yes
Audio: Device-1: Intel 82801JD/DO HD Audio vendor: Dell driver: snd_hda_intel v: kernel
bus ID: 00:1b.0 chip ID: 8086:3a6e
Device-2: NVIDIA High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:0be3
Device-3: Plantronics Plantronics .Audio 478 USB type: USB
driver: plantronics,snd-usb-audio,usbhid bus ID: 6-2:2 chip ID: 047f:c011
Device-4: Logitech Webcam C300 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-3:4
chip ID: 046d:0805
Sound Server: ALSA v: k5.4.0-59-generic
Network: Device-1: Intel 82567LM-3 Gigabit Network vendor: Dell driver: e1000e v: 3.2.6-k
port: ece0 bus ID: 00:19.0 chip ID: 8086:10de
IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac:
Drives: Local Storage: total: 298.09 GiB used: 181.44 GiB (60.9%)
ID-1: /dev/sda vendor: Western Digital model: WD3200AAKS-75L9A0 size: 298.09 GiB
speed: 3.0 Gb/s serial:
RAID: Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:1f.2
chip ID: 8086.2822
Partition: ID-1: / size: 287.12 GiB used: 181.44 GiB (63.2%) fs: ext4 dev: /dev/sda6
Sensors: System Temperatures: cpu: 37.0 C mobo: N/A gpu: nvidia temp: 56 C
Fan Speeds (RPM): N/A