Wayland and opencl?

I am pretty confused with Wayland. There are different compositors, which can be very different when it comes to details.

There are reasons to use wayland with UHD-monitors and other programs than darktable. For me it looks like Kubuntu 25.10 makes sense, but I would like to be prepared, if there are problems with darktable.

Especially I would like to know, if there are problems with Nvidia-graphic-cards and Intel B580 drivers?

nVidia drivers have been known in general to be problematic with Wayland.

There are some fixes for using wayland in the upcoming 5.4 release, but not sure any of them are related to OpenCL and Wayland, though the two are sort of orthogonal to one another.

2 Likes

I’ve had some issues using darktable, OpenCL and the Intel Arc B580. After a half hour or so of editing, first darktable would slow dramatically, and then my entire system would lock up. I’ve not done long sessions in the past 4 months, so I can’t say if the problem has gone away with various kernel updates.

2 Likes

Distro? Are you using Wayland? Which version of dt?

I ask because I am seriously considering spending my 2026 photography budget on a B570/580.

1 Like

My test pc:

System:
  Host: Kernel: 6.17.0-8-generic arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Ubuntu 25.10 (Questing Quokka)
Machine:
  Type: Desktop Mobo: AZW model: SER v: V1 serial: <superuser required>
    UEFI: American Megatrends LLC. v: SER6proMax_P5C8V22 date: 09/16/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1106 min/max: 407/4831 cores: 1: 1106 2: 1106 3: 1106
    4: 1106 5: 1106 6: 1106 7: 1106 8: 1106 9: 1106 10: 1106 11: 1106 12: 1106
    13: 1106 14: 1106 15: 1106 16: 1106
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    driver: amdgpu v: kernel
  Display: server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.6 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    tty: 80x24 resolution: 3840x2160

This is my test pc, not with Intel GPU, but it shows some versions.

Actually it is Kubuntu.

$ sudo flatpak search darktable
Name  Beschreibung              Anwendungskennung    Version Zweig  Gegenstellen
dark… Organisiere und entwickl… …darktable.Darktable 5.2.1   stable flathub

So I would use Darktable 5.2.1 with Kernel: 6.17.0-8-generic and the Intel B580. Nvidia pcs are not so important at the moment, but I would like to know which troubles I can expect.

The simple question is, is, it better to wait until May and Kubuntu 26.04? There are good reasons to use Kubuntu now instead of Xubuntu with an UHD-monitor now, but not for the price of troubles with darktable.

https://software.opensuse.org/download/package?package=darktable&project=graphics%3Adarktable

Darktable is now available at OBS and Ubuntu with version 5.2.1-1.1+94.1

ii darktable 5.2.1-1.1+94.1 amd64 virtual lighttable and darkroom for photographers

If it’s of any help to you, here is my system details:

Operating System: Aurora 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 Ă— AMD Ryzen 9 9900X 12-Core Processor
Memory: 64 GiB of RAM (60.4 GiB usable)
Graphics Processor 1: Intel® Arc
Graphics Processor 2: AMD Ryzen 9 9900X 12-Core Processor
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650 AORUS ELITE AX

The B580 was installed when I built this PC in Jan 2025, and the support for the card came with (if memory serves me) the 6.12 kernel.

In addition to the previously mentioned bugs, the latest jump from KDE Plasma 6.4 to 6.5 has added a regression that manifests itself in compositor problems when using the ARC GPU. Here’s the bug report:https://bugs.kde.org/show_bug.cgi?id=513087

In hindsight, If I were to build a system now, I’d probably go with an AMD Radeon GPU. I’ll be traveling for the next 6 weeks, and working off my laptop. When I get back, if the regression is not fixed, I’ll swap this card out and sell it, and switch over to an AMD.

The situation with GPU pricing has been bad for quite a while now, but doesn’t seem to be improving. The stability issue with dt is not too important to me, but the regression in KDE Plasma is more important.

2 Likes

For me it looks like wayland is very experimental for now and there can be lots of differences which distro / compositor is used.

There is a big difference with Ubuntu and Kubuntu.

And then there are differences with other distros, depending on the compositor.

With Plasma there is spectacle to make screenshots with a shellscript, for Gnome and Ubuntu I couldn’t find anything for this, which is important for me. No chance to use sway wiht Ubuntu. Whatever I tried, I got something like “compositor doesn’t support wlr-screencopy-unstable-v1”

I used Plasma 6.5.3 for a while and switched back. There was a lot of strange behavior.

$ kinfo
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-7-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 Ă— AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 16 GiB of RAM (11.4 GiB usable)
Graphics Processor: AMD Radeon 680M

Now my test pc uses:

$ kinfo
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-7-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 Ă— AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 16 GiB of RAM (11.4 GiB usable)
Graphics Processor: AMD Radeon 680M

With both Plasma versions I never used Darktable. This AMD pc is more for testing, than for working. That is way I am asking here, if I should try the Intel B580. Looks like, I have to wait.

With X11 I am happy with my Intel B580, but I am not happy with UHD-monitors and scaling with X11, scaling is a lot better with Wayland, Kubuntu and Ubuntu, compared to Xubuntu.

Is it correct, that dt 5.4 will be published Dez, 22?

On Gnome 49 on NixOS, I just press PrntScrn and the built in screenshot app pops up.

That is correct.

1 Like

Thanks, but this was not my question. I need a bash-command for a script, for full screen and active window. A solution could be grim, but it doesn’t work with Ubuntu.

Hahaha, influenced by all those YouTube videos and the storm surrounding Microsoft’s end of support for Windows 10, I installed Linux, but I don’t know if I did the right thing, because I’m reading about Wayland and opencl, and besides, I have an NVIDIA card and a 4k monitor, and I’m worried if Darktable will run as smoothly as it does on Windows?
I’m waiting for version 5.4 of Darktable and will try to install it. Worst case scenario, I’ll go back to Windows :grimacing:

No idea how long it’s going to last, but for now, there are still distro’s using XOrg (Tumbleweed is one, it gives you the choice between Wayland and XOrg)

Have you looked into xfce4-screenshooter?

Offtopic:

There is the following situation with UHD-monitors:

X11:
scaling is very bad with UHD, especially some websites, fonts are very very small or very big.
screenshots with a bash-script work fine, eg maim or import from Imagemagick

Wayland:
Scaling is a lot better with UHD, with both, Plasma and Gnome
screenshots with a bash-script are problematic, with KDE spectacle is a workaround, but with Ubuntu and gnome I don’t have a solution. With spectacle you must do the output to a file, a direct pipe with Imagemagick is not possible.

As long as darktable has problems with Wayland, I don’t want to change. When darktable works fine with wayland, I will give Plasma a try. I see no chance to use sway with Ubuntu for now.

I’m on Kubuntu, 4K screen, Nvidia 1060. Darktable runs fine.

I never had scaling issues with Xorg, either.

1 Like

Have you tried grim and slurp? Should work fine for piping into imagemagick. If it pipes well to wl-copy, it should for the rest…

better question why do you need to pipe it into imagemagick to begin with?

Sounds good, I have a 1060 too in an old pc, but it shoulld work with Intel B580 and dt 5.4

I didn’t test with Nvidia, but I tested with Intel and I am pretty sure it is the same with Nvidia, Linux is about 30% faster than Win11. I am not sure, but I think it was this discussion: Intel B580: No Opencl using Windows 11 24H2 - #24 by g-man

Can you give me a working command? I am pretty sure it doesn’t work with Ubuntu.