Bug 507615

Summary: Failure at initial launch of version 8.7
Product: [Applications] digikam Reporter: mlavine
Component: Setup-FirstRunAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: benedekppeter, carbonwerkes, caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.8.0
Sentry Crash Report:

Description mlavine 2025-07-28 23:13:22 UTC
SUMMARY

Has anyone else had trouble with digikam 8.7 not starting up? I’ve tried multiple installations of the qt6 verion, downloaded from an official site. Every time it tries to start up, it fails at “Loading Tools” as it won’t get past this point. I also tried the qt5 version, and while it does start very slowly, the interface is messed up and no images are shown. I am wondering if it is my combination of AMD Ryzen and NVIDIA gpu using Windows 11 that are causing the problem as I haven’t seen any other reports like this. I’ve had no problems with digikam 8.6 qt6 installation.

STEPS TO REPRODUCE
1. Install digikam-8.70-qt6-Win64
2. Open digikam once installed\

OBSERVED RESULT
Fails at “Loading Tools” as it won’t get past this point.

EXPECTED RESULT
Program to start up as it has done in the past with previous versions.

SOFTWARE/OS VERSIONS
Windows: 11 Pro 24H2
Qt Version: 6

ADDITIONAL INFORMATION
AMD Ryzen 7 8845HS w/Radeon 780M graphics, and additional nvidia Geoforce RTX 3050
Comment 1 Maik Qualmann 2025-07-29 05:41:21 UTC
Please try the pre-release digiKam-8.8.0 version from here first:

https://files.kde.org/digikam/

Maik
Comment 2 caulier.gilles 2025-07-29 05:41:54 UTC
Hi,

yes, this is probably due to the OpenGL usage at startup. Look on this r/digikam thread for the solution:

https://www.reddit.com/r/digiKam/comments/1m676k8/missing_something_really_really_basic_on_setup/

Best regards

Gilles Caulier
Comment 3 mlavine 2025-07-29 12:09:26 UTC
(In reply to Maik Qualmann from comment #1)
> Please try the pre-release digiKam-8.8.0 version from here first:
> 
> https://files.kde.org/digikam/
> 
> Maik

Thank you for the suggestion.   I tried that last night before I posted here, and had the same problems with version 8.8.0.
Comment 4 mlavine 2025-07-29 12:13:43 UTC
(In reply to caulier.gilles from comment #2)
> Hi,
> 
> yes, this is probably due to the OpenGL usage at startup. Look on this
> r/digikam thread for the solution:
> 
> https://www.reddit.com/r/digiKam/comments/1m676k8/
> missing_something_really_really_basic_on_setup/
> 
> Best regards
> 
> Gilles Caulier

Thank you.  I looked at the reddit, but it doesn't contain a solution.   Are you asking me to create a debug trace file as the next step?  Am I looking for something relating to OpenGL usage?
Comment 5 caulier.gilles 2025-07-29 12:22:25 UTC
yes, i propose a solution in reddit, to patch an INI setting file used by digiKam:

// ----------------------------------------------------------------------------------------------------------------------

The problem is know and is relevant of the QtWebEngine component (Chromium based and embedded browser).

Typically Chromium do not detect the GPU acceleration on your Windows and lock tha application. This have been already reported previously.

Solution: in the digikam_systemrc INI config file:

https://docs.digikam.org/en/getting_started/installation.html#configuration-files

... turn on an option about the GPU feature:

Use the software OpenGL rendering: this option will disable the GPU hardware accelerations and switch to a software-emulation for all calls to OpenGL.

https://docs.digikam.org/en/setup_application/miscs_settings.html#system-settings

This is a view of my digikam_systemrc file contents:

[System]
disableOpenCL=true
dnnOpenCLTested=false
enableAIAutoTools=true
enableAesthetic=true
enableAutoTags=true
enableDnnOpenCL=false
enableFaceEngine=true
enableHWTConv=true
enableHWVideo=true
enableLogging=false
enableOpenCL=false
proxyAuth=false
proxyPort=8080
proxyType=0
proxyUrl=
softwareOpenGL=true <==== THIS ONE!!!
useHighDpiPixmaps=false
useHighDpiScaling=false
videoBackend=ffmpeg

// ----------------------------------------------------------------------------------------------------------------------
Comment 6 mlavine 2025-07-29 12:26:12 UTC
(In reply to caulier.gilles from comment #5)
> yes, i propose a solution in reddit, to patch an INI setting file used by
> digiKam:
> 
> //
> -----------------------------------------------------------------------------
> -----------------------------------------
> 
> The problem is know and is relevant of the QtWebEngine component (Chromium
> based and embedded browser).
> 
> Typically Chromium do not detect the GPU acceleration on your Windows and
> lock tha application. This have been already reported previously.
> 
> Solution: in the digikam_systemrc INI config file:
> 
> https://docs.digikam.org/en/getting_started/installation.html#configuration-
> files
> 
> ... turn on an option about the GPU feature:
> 
> Use the software OpenGL rendering: this option will disable the GPU hardware
> accelerations and switch to a software-emulation for all calls to OpenGL.
> 
> https://docs.digikam.org/en/setup_application/miscs_settings.html#system-
> settings
> 
> This is a view of my digikam_systemrc file contents:
> 
> [System]
> disableOpenCL=true
> dnnOpenCLTested=false
> enableAIAutoTools=true
> enableAesthetic=true
> enableAutoTags=true
> enableDnnOpenCL=false
> enableFaceEngine=true
> enableHWTConv=true
> enableHWVideo=true
> enableLogging=false
> enableOpenCL=false
> proxyAuth=false
> proxyPort=8080
> proxyType=0
> proxyUrl=
> softwareOpenGL=true <==== THIS ONE!!!
> useHighDpiPixmaps=false
> useHighDpiScaling=false
> videoBackend=ffmpeg
> 
> //
> -----------------------------------------------------------------------------
> -----------------------------------------

Thank you.  The redit link you previously posted didn't send me to a page with a solution.   I'll try to implement what you suggested below.   Whether this helps or not, I had been using the Qt6 version of 8.6.0 prior to this without issue.
Comment 7 mlavine 2025-08-04 04:02:13 UTC
I believe I made the correct changes to the digikam_systemrc file, without any success.  For now I'm going to stick with 8.6.0 as I have a project I need to work on, but I'll try to debug the issues with 8.7.0 and 8.8.0 time permitting.  Thanks for the help.
Comment 8 caulier.gilles 2025-08-17 14:22:39 UTC
@Alan,

The digiKam 8.8.0 pre-release Windows installer will be updated from Qt framework 6.8.3 to 6.9.0 in one hour. I removed the NVIDIA drivers from this bundle. The file will be available soon at this place:

https://files.kde.org/digikam/

Please test give us a feedback to see if the dysfunction still reproducible.
Thanks in advance

Gilles Caulier
Comment 9 mlavine 2025-08-17 17:16:41 UTC
(In reply to caulier.gilles from comment #8)
> @Alan,
> 
> The digiKam 8.8.0 pre-release Windows installer will be updated from Qt
> framework 6.8.3 to 6.9.0 in one hour. I removed the NVIDIA drivers from this
> bundle. The file will be available soon at this place:
> 
> https://files.kde.org/digikam/
> 
> Please test give us a feedback to see if the dysfunction still reproducible.
> Thanks in advance
> 
> Gilles Caulier

Gilles,
Was this supposed to be directed at me, or was this supposed to be in response to a different thread?
Thanks,
Marc
Comment 10 caulier.gilles 2025-08-17 17:19:36 UTC
yes to you. I'm wrong with the @ sequence from my previous message...
Comment 11 mlavine 2025-08-17 17:21:08 UTC
(In reply to caulier.gilles from comment #10)
> yes to you. I'm wrong with the @ sequence from my previous message...

Thanks for clarifying.  I will look out for the 8.8.0 installer with today's time stamp.
Comment 12 caulier.gilles 2025-08-17 17:27:49 UTC
I have few internet dysfunctions at home today, but it's back. Install 8.8.0 will be online this evening...

Gilles
Comment 13 mlavine 2025-08-18 02:10:25 UTC
(In reply to caulier.gilles from comment #10)
> yes to you. I'm wrong with the @ sequence from my previous message...

(In reply to mlavine from comment #9)
> (In reply to caulier.gilles from comment #8)
> > @Alan,
> > 
> > The digiKam 8.8.0 pre-release Windows installer will be updated from Qt
> > framework 6.8.3 to 6.9.0 in one hour. I removed the NVIDIA drivers from this
> > bundle. The file will be available soon at this place:
> > 
> > https://files.kde.org/digikam/
> > 
> > Please test give us a feedback to see if the dysfunction still reproducible.
> > Thanks in advance
> > 
> > Gilles Caulier
> 
> Gilles,
> Was this supposed to be directed at me, or was this supposed to be in
> response to a different thread?
> Thanks,
> Marc

(In reply to caulier.gilles from comment #8)
> @Alan,
> 
> The digiKam 8.8.0 pre-release Windows installer will be updated from Qt
> framework 6.8.3 to 6.9.0 in one hour. I removed the NVIDIA drivers from this
> bundle. The file will be available soon at this place:
> 
> https://files.kde.org/digikam/
> 
> Please test give us a feedback to see if the dysfunction still reproducible.
> Thanks in advance
> 
> Gilles Caulier

I downloaded 8.8.0 and installed it.  The first time it tried to launch 8.8.0, it crashed without fully loading.  The second time it started to load and again got stuck on the loading tools section.   I uninstalled and reinstalled a second time, and observed the same behaviour.
Comment 14 Roland 2025-08-18 04:31:59 UTC
Unfortunately, switching to Software OpenGL via the GUI in the previous (working) version, or via Notepad++ per the config outline above, do not seem to alter the behavior. I see the standard 'welcome' boot screen with the familiar textual state info and the dot indicators, and then the app simply closes down.

So, reverting to the version which included the Nvidia drivers etc- as that seemed to work with or without hardware OpenGL etc.

Roland
Comment 15 Peter 2025-08-18 08:47:20 UTC
(In reply to Roland from comment #14)
> Unfortunately, switching to Software OpenGL via the GUI in the previous
> (working) version, or via Notepad++ per the config outline above, do not
> seem to alter the behavior. I see the standard 'welcome' boot screen with
> the familiar textual state info and the dot indicators, and then the app
> simply closes down.
> 
> So, reverting to the version which included the Nvidia drivers etc- as that
> seemed to work with or without hardware OpenGL etc.
> 
> Roland

I tested this and I can confirm this.
digiKam-8.8.0-20250817T162413-Qt6-Win64.exe doesnt start even after modifying the configuration file.
I use Intel video card.
Comment 16 mlavine 2025-09-30 13:38:55 UTC
(In reply to Peter from comment #15)
> (In reply to Roland from comment #14)
> > Unfortunately, switching to Software OpenGL via the GUI in the previous
> > (working) version, or via Notepad++ per the config outline above, do not
> > seem to alter the behavior. I see the standard 'welcome' boot screen with
> > the familiar textual state info and the dot indicators, and then the app
> > simply closes down.
> > 
> > So, reverting to the version which included the Nvidia drivers etc- as that
> > seemed to work with or without hardware OpenGL etc.
> > 
> > Roland
> 
> I tested this and I can confirm this.
> digiKam-8.8.0-20250817T162413-Qt6-Win64.exe doesnt start even after
> modifying the configuration file.
> I use Intel video card.

I've since downloaded version digiKam-8.8.0-20250928T170145-Qt6-Win64 and it loads successfully.