FS#78421 - [darktable] won't start unless opencl disabled

Attached to Project: Community Packages
Opened by Obs (obspm) - Friday, 05 May 2023, 20:43 GMT
Last edited by Toolybird (Toolybird) - Sunday, 07 May 2023, 21:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Currently (I don't know exactly from which version, It's been a few months since I use it) darktable don´t start without --disable-opencl option.

I remove $HOME/.config/darktable and $HOME/.cache/darktable but no effect.

If I start darktable with “-d all" option I don't have a lot of information


0,333159 [pwstorage_new] Creating new context 0x55f2191ea9c0
0,333161 [pwstorage_new] no storage backend. not storing username/password. please change in preferences, core tab.
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: 'default'
[opencl_init] opencl_library: 'default path'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 200
[opencl_init] opencl library 'libOpenCL' found on your system and loaded

then... nothing just hang there without anything else (even after 1 hour)


Additional info:
* package version(s)

Everything up2date

* config and/or log files etc.

With or without config. Same result.

I've no idea if it's a problem with archliunx or with darktable on archlinux.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 07 May 2023, 21:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by Obs (obspm) - Friday, 05 May 2023, 20:52 GMT Comment by Toolybird (Toolybird) - Friday, 05 May 2023, 23:41 GMT
There must be something amiss with your opencl setup and/or GPU hardware[1]. It seems to work fine in a test VM with Nvidia card passed thru and Nvidia drivers installed. Please visit the proper channels (forum/IRC/mailing lists/Reddit/etc) to see if anyone can assist in debugging your system.

[1] https://wiki.archlinux.org/title/GPGPU
Comment by Obs (obspm) - Saturday, 06 May 2023, 20:38 GMT
  • Field changed: Percent Complete (100% → 0%)
Ok don't know If I should reopen this one or create another one. But I find the problem.

It's a dependency of Blender who mess up everything. When installing blender as dependency pacman also install

intel-oneapi-common intel-oneapi-compiler-dpcpp-cpp-runtime intel-oneapi-compiler-dpcpp-cpp-runtime-libs intel-oneapi-compiler-shared-opencl-cpu intel-oneapi-compiler-shared-runtime intel-oneapi-compiler-shared-runtime-libs intel-oneapi-openmp intel-oneapi-tbb blende

with those package installed darktable doesn't working. If I uninstalle those package darktable work again.

Tell me if I should open another ticket

Regards
Comment by Toolybird (Toolybird) - Saturday, 06 May 2023, 21:08 GMT
Details of your GPU hardware and drivers?
Comment by Obs (obspm) - Sunday, 07 May 2023, 07:04 GMT
I'm not sure the problem come from the hardware, but you will be correct if you say I've no idea.

So I try to reinstalled blender and now both working perfectly.

But... currently without blender installed I've inside

/etc/openCL/vendors

something like

-rw-r--r-- 1 root root 35 2 mai 03:11 intel.icd
-rw-r--r-- 1 root root 19 22 avril 03:26 mesa.icd
-rw-r--r-- 1 root root 22 22 avril 03:26 rusticl.icd

Before I uninstalled blender those tree files does not exist and only one file are inside this directory, I don't remember the exact name

I'm not the only one who get thise problem :

https://bbs.archlinux.org/viewtopic.php?id=284575

or

https://www.reddit.com/r/archlinux/comments/11z79x9/opencl_hangs/

I'm guessing pacman or the pkg manager mess up someway.

Anyway now everything work fine.

Just in case if that help you here the output of lspci

Thanks


00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01)
00:07.1 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:16.3 Serial controller: Intel Corporation Tiger Lake-LP Active Management Technology - SOL (rev 20)
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
55:00.0 Non-Volatile memory controller: Toshiba Corporation XG6 NVMe SSD Controller
Comment by Obs (obspm) - Sunday, 07 May 2023, 07:06 GMT
forget to say, now after re-installed blender the directory /etc/openCL/vendors didn't change, Still same 3 files
Comment by Toolybird (Toolybird) - Sunday, 07 May 2023, 21:49 GMT
Ok, thanks for the follow-up info. It appears there were some packaging changes in the intel-oneapi-compiler-* pkgs which caused these issues. Luckily, these pkgs now seem to be fixed and removing/reinstalling blender and associated deps appears to do the trick. I think this explains the mystery you and some others had and we can now close this.

Loading...