You are not logged in.

#1 2025-04-10 07:26:03

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

[SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

I'm having a reproducible error after a recent system upgrade that prevents Digikam from starting. It displays the splash screen, but never gets to the main window, it closes automatically before then. More exactly the last message in the splash screen is "Checking ICC repository".

The problem reproduces on a fresh new user in the same system, so it shouldn't be due to user configuration.

This is the error log when launched in a console:

qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n7.1 GPL version 3 or later
[6:81:0409/150410.077316:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[6:81:0409/150410.077330:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[6:81:0409/150410.077335:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[6:81:0409/150410.077346:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[6:81:0409/150410.077349:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[6:81:0409/150410.077351:ERROR:native_skia_output_device.cpp(261)] ProduceSkia() failed.
[6:81:0409/150410.077431:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[6:81:0409/150410.077478:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp
[6:81:0409/150410.163949:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[6:81:0409/150410.163963:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.

Searching for the source code files (e.g. angle_platform_impl.cc) it looks like they belong to the Qt libraries. Looking at pacman logs I see that qt6 libs were upgraded from 6.8.3 to 6.9.0 shortly before the problem started happening.

Any help debugging this would be much appreciated, I'm running out of ideas besides digging through the source code and filing a bug (where? Arch? Qt?).

System information:

$ eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Last edited by Haplo2 (2025-04-15 08:14:04)

Offline

#2 2025-04-10 18:37:05

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,333

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

[6:81:0409/150410.077330:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS

Task failed successfully?

Anyways, based on your description it looks like a Qt incompatibility. Double-check that you are on a recent "pacman -Syu"without any "ignores" for pacman and then file a bug for DigiKam. Don't be discouraged by the signup process, it's not painful. You could try to roll back either DigiKam or Qt, but the latter could be a major pain just to test something.

Offline

#3 2025-04-10 18:59:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,558

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

Worksforme™ are you running some non-standard Qt theme that might lead to some issues? Also seeing that you have multiple gl cards, digikam/qt might accidentally pick the wrong one, can you disable the iGPU in your UEFI?

Offline

#4 2025-04-10 20:20:54

seth
Member
Registered: 2012-09-03
Posts: 66,111

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

Falkon needed a patch for 6.9, https://invent.kde.org/network/falkon/- … 8c02.patch (because angle became mandatory?)

Are we sure the egl errors are the cause and not a consequence?
Does digikam crash? Do you get a https://wiki.archlinux.org/title/Core_d … _core_dump (or drkonqi)?

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" digikam

Also is this plasma (at all) on X11 or wayland?

Offline

#5 2025-04-12 06:47:06

Bartoli
Member
Registered: 2016-11-16
Posts: 10

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

If it is of any assistance, I'm having the same issue with anki.

[53533:53610:0412/083656.034531:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[53533:53610:0412/083656.034543:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[53533:53610:0412/083656.034547:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[53533:53610:0412/083656.034558:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[53533:53610:0412/083656.034560:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[53533:53610:0412/083656.034564:ERROR:native_skia_output_device.cpp(261)] ProduceSkia() failed.
[53533:53610:0412/083656.034681:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034734:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034783:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034818:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034840:ERROR:shared_image_stub.cc(569)] SharedImageStub: context already lost
[53533:53610:0412/083656.034844:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.034885:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034912:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.034994:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.035013:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[53533:53610:0412/083656.035070:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.035074:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[53533:53610:0412/083656.035713:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.035719:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[53533:53610:0412/083656.035805:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.035808:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[53533:53610:0412/083656.035817:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.035819:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[53533:53610:0412/083656.035824:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.035827:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[53533:53610:0412/083656.036751:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[53533:53610:0412/083656.036757:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
Segmentation fault (core dumped)
eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.0.3-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.0.3-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

The problem has only started appearing a week ago.

Offline

#6 2025-04-12 07:21:29

seth
Member
Registered: 2012-09-03
Posts: 66,111

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

Hybrid system, does it help to control the GPU using https://wiki.archlinux.org/title/PRIME# … rs_-_PRIME and/or to add "nvidia_drm.modeset=1" to the https://wiki.archlinux.org/title/Kernel_parameters (yesiknowyoudonthaveannvidiagpu - this will block the simpledrm device as sideeffect, restore the normal card order and electron has shown up stumbling over that in the past)

Offline

#7 2025-04-12 17:59:55

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

First of all, thank you to all who have chimed in on this thread, I have read every answer and have been trying out everything.

seth wrote:

Are we sure the egl errors are the cause and not a consequence?
Does digikam crash? Do you get a https://wiki.archlinux.org/title/Core_d … _core_dump (or drkonqi)?

Yes, there are core dumps for every attempt to start it.

QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" digikam

This works! Digikam starts with this flag. Not only this gives me a workaround but it certainly narrows it down to that subsystem of Qt.

Should the bug be filled with Digikam or with Qt as a regression?

Also is this plasma (at all) on X11 or wayland?

Plasma on Wayland, but XWayland is running.

Offline

#8 2025-04-12 18:39:22

seth
Member
Registered: 2012-09-03
Posts: 66,111

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

Do you also have a hybrid graphics system?

eglinfo -B

Offline

#9 2025-04-13 08:01:34

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

seth wrote:

Do you also have a hybrid graphics system?

eglinfo -B

Yes, I have both an AMD integrated GPU and an AMD Radeon GPU.

eglinfo -B output is included in my original post.

Offline

#10 2025-04-13 08:04:27

seth
Member
Registered: 2012-09-03
Posts: 66,111

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

So does controlling card order or prime device do anything about this?
https://bbs.archlinux.org/viewtopic.php … 1#p2236671

Offline

#11 2025-04-13 08:46:59

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

twelveeighty wrote:
[6:81:0409/150410.077330:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS

Task failed successfully?

Anyways, based on your description it looks like a Qt incompatibility. Double-check that you are on a recent "pacman -Syu"without any "ignores" for pacman and then file a bug for DigiKam. Don't be discouraged by the signup process, it's not painful. You could try to roll back either DigiKam or Qt, but the latter could be a major pain just to test something.

I opened a bug on the Digikam package.

I included the mitigation that seth offered, hopefully it will be useful to other people untilt he bug is fixed.

Offline

#12 2025-04-13 09:10:45

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

seth wrote:

So does controlling card order or prime device do anything about this?
https://bbs.archlinux.org/viewtopic.php … 1#p2236671

Sorry seth, I have a complicated situation at home and don't get to sit down at the computer as much as I'd like to.

Yes, DRI_PRIME=1 works, which is better than QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" as GPU support is not disabled. I will update the bug report accordingly.

I will give nvidia_drm.modeset=1 a try when a have a chance and report back.

Thanks a lot for your help!

Last edited by Haplo2 (2025-04-13 09:11:15)

Offline

#13 2025-04-15 08:14:46

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

I updated the post title to mark it as solved, as we have identified the upstream bug and have a workaround.

Offline

#14 2025-05-13 13:20:19

Haplo2
Member
Registered: 2024-02-08
Posts: 17
Website

Re: [SOLVED] Digikam fails to start: Qt6 regression on hybrid graphics

The issue is not longer reproducing on my system after a full upgrade. I don't know exactly when it was fixed because I was away on vacation for 3 weeks, but Digikam is at version 8.6.0-3 and qt6-webengine at 6.9.0-6.

Offline

Board footer

Powered by FluxBB