darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.91k stars 1.15k forks source link

Filmic RGB and Color Balance RGB show black screen with RustiCL driver #16036

Closed maboleth closed 11 months ago

maboleth commented 11 months ago

Describe the bug

I know RustiCL is in heavy development right now, but I guess it might be worth reporting the issue I got in DT.

Using MESA 23.3.2 drivers RustiCL drivers AMD 6650XT GPU

I didn't experience any crashes or freezes, but was unable to use Filmic and Color Balance RGB modules in ALL images. That includes, CR3, TIFF and JPG The images goes completely black.

Steps to reproduce

  1. Install RustiCL driver and enable it in Environment with RUSTICL_ENABLE=radeonsi
  2. Start DT, it will recognize OpenCL
  3. Try to change Filmic RGB or Color Balance RGB modules
  4. Notice the image turns completely black
  5. Disabling OpenCL or uinstalling Rusticl fixes this
  6. Happens exclusively with Rusticl (all other OpenCL drivers work normally)

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.6

What OS are you using?

Linux

What is the version of your OS?

Arch rolling

Describe your system?

Operating System: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.11 Kernel Version: 6.6.9-arch1-1 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6650 XT Manufacturer: Micro-Star International Co., Ltd Product Name: MS-7C02 System Version: 1.0

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

AMD 6650XT MESA

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

jenshannoschwalm commented 11 months ago

I really don't think it's a darktable issue at all, maybe some rustcl stuff, maybe your system runs wild, maybe something.... Nothing to be discussed here at all. You might assist the rustcl people if you into that kind of stuff. a

TurboGit commented 11 months ago

Agreed, not a dt issue and nothing to do on our side, we have working implementation for Windows driver, NVIDIA and AMD on Linux. So pretty sure RustiCL is still missing some needed features.

karolherbst commented 10 months ago

btw, this issue should be fixed with mesa-24, in case somebody reads this later or ping me if it isn't. (Or ping me on any rusticl upstream bug really)