I don’t see lua support on OpenSUsE Leap 15.3 either. On looking a bit farther, this showed up:
> darktable --version
this is darktable 3.8.0~git50.9716a5a5f0-lp153.72.1
copyright (c) 2009-2022 johannes hanika
darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support disabled
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
So not too surprising that I can’t get Lua to work. Probable cause: no Lua 5.4 available in my OS version
I can understand distributions hesitating to switch to a new version of a library after the distribution is published. And I can understand the developers wanting to use the newest library versions. What I don’t really like is the lack of communication about disabled features (it tends to waste the time of the users).
But that’s the responsability of whoever creates the package for a distribution, it’s out of the control of the developers.
@darix: last version I can see (and installed) is 3.8.0~git50.9716a5a5f0-lp153.72.1, build on monday 03 janv. 2022 08:56:56 from source package darktable-3.8.0~git50.9716a5a5f0-lp153.72.1
I Get the same thing, LUA is Disable ?? How can we enable it ?
jacques@borg:~ $ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support disabled <<<<<<<
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
jacques@borg:~ $
It was disabled at build time. You will need to get a package that has it enabled and install that. There is nothing else you can do locally, unless you build the software yourself.
See the new version from @darix, it worked for @rvietor.
Previously was using that repo
deb [http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu](http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu) focal main
The package at this site seem to be compile without LUA
[https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/darktable](https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/darktable)
I have the same problem described here (LinuxMint 20.02, Ubuntu 20.04, no LUA in DT after darktable 3.8 installation) and tried to solve it .
If I understand right, the first 5 code lines of @jadupl2 last post should install a DT build with LUA support. I’m not so familiar with these Linux commands. I have an idea what they are doing but I get an error executing the command below and can’t identify the reason.
Sorry, it doesn’t work for me.
After installation regarding your proposal (I removed the " ’ " around the deb command in the /etc/apt/sources.list.d/graphics:darktable.list) and
The error message doesn’t match to the command you’ve posted. The error message complains about an unexpected left bracket (Klammer auf) but there is none in the command you posted.
The first command
echo 'deb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/graphics:darktable.list
will add a new installation source by creating the file /etc/apt/sources.list.d/graphics:darktable.list
It’s a “pipeline” with two parts, the first part just prints the text that we need (echo is basically a print command for the shell) and after the “pipe” character | is the command that redirects this text into a file. Only that part needs the sudo.
Next we need to install a cryptographic key, so that the package manager can make sure the .deb packages are genuine and haven’t been tampered with.
If your output looks the same, you don’t need to repeat these steps.
Maybe you have a different darktable version in your $PATH somewhere.
What’s the (full) output of these two commands?
$ which darktable
/usr/bin/darktable
$ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika
darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 8.0.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
Hello Oliver @revilo ,
thank you for your comprehensive explanation. Helps me to understand much more. I read it carefully and did what you suggested.
But unfortunately it doesn’t work with Lua support.
I tried it several times. Also the recommendations from Jacques @jadupl2 a tried several times over the last days.
I would like to show you what I did with the commands an the regarding output. Maybe I do still something wrong or you can find hints in the output.
as@KaLM:~$ which darktable
DT not installed, no output. OK!
as@KaLM:~$ cat /etc/apt/sources.list.d/graphics:darktable.list
deb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /
as@KaLM:~$ gpg --show-keys /etc/apt/trusted.gpg.d/graphics_darktable.gpg
pub rsa2048 2017-12-26 [SC] [verfällt: 2022-05-16]
3247B7519EDBEAB422E900A3040524A84C70D8B5
uid graphics:darktable OBS Project <graphics:darktable@build.opensuse.org
as@KaLM:~$ sudo apt update
OK:1 http://ftp.uni-mainz.de/ubuntu focal InRelease
OK:2 http://ftp.uni-mainz.de/ubuntu focal-updates InRelease
OK:3 http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04 InRelease
OK:4 http://archive.canonical.com/ubuntu focal InRelease
OK:5 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal InRelease
OK:6 http://ftp.uni-mainz.de/ubuntu focal-backports InRelease
OK:7 http://download.opensuse.org/repositories/graphics:/darktable:/stable/xUbuntu_20.04 InRelease
OK:8 http://ppa.launchpad.net/ubuntuhandbook1/ppa/ubuntu focal InRelease
Ign:9 https://mirror.dogado.de/linuxmint uma InRelease
OK:10 https://mirror.dogado.de/linuxmint uma Release
OK:11 http://security.ubuntu.com/ubuntu focal-security InRelease
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 6 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
as@KaLM:~$ sudo apt install darktable
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
linux-headers-5.11.0-41-generic linux-headers-5.4.0-91 linux-headers-5.4.0-91-generic
linux-hwe-5.11-headers-5.11.0-41 linux-image-5.11.0-41-generic
linux-image-5.4.0-91-generic linux-modules-5.11.0-41-generic
linux-modules-5.4.0-91-generic linux-modules-extra-5.11.0-41-generic
linux-modules-extra-5.4.0-91-generic
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
darktable-dbg
Die folgenden NEUEN Pakete werden installiert:
darktable darktable-dbg
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 6 nicht aktualisiert.
Es müssen 42,2 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 66,7 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable amd64 1:3.8.0-1build2~ubuntu20.04 [5.434 kB]
Holen:2 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable-dbg amd64 1:3.8.0-1build2~ubuntu20.04 [36,8 MB]
Es wurden 42,2 MB in 9 s geholt (4.812 kB/s).
Vormals nicht ausgewähltes Paket darktable wird gewählt.
(Lese Datenbank ... 539212 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../darktable_1%3a3.8.0-1build2~ubuntu20.04_amd64.deb ...
Entpacken von darktable (1:3.8.0-1build2~ubuntu20.04) ...
Vormals nicht ausgewähltes Paket darktable-dbg wird gewählt.
Vorbereitung zum Entpacken von .../darktable-dbg_1%3a3.8.0-1build2~ubuntu20.04_amd64.deb
...
Entpacken von darktable-dbg (1:3.8.0-1build2~ubuntu20.04) ...
darktable (1:3.8.0-1build2~ubuntu20.04) wird eingerichtet ...
darktable-dbg (1:3.8.0-1build2~ubuntu20.04) wird eingerichtet ...
Trigger für mime-support (3.64ubuntu1) werden verarbeitet ...
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger für gnome-menus (3.36.0-1ubuntu1) werden verarbeitet ...
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Trigger für desktop-file-utils (0.24+linuxmint1) werden verarbeitet ...
as@KaLM:~$ which darktable
/usr/bin/darktable
as@KaLM:~$ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika
darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
**Lua support disabled**
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
Thank you very much for any investigation!!
Could it be, the problem is regarding the Lua installation on my OS? I tried to install the Lua version 5.4. on my LinuxMint 20.02
as@KaLM:~$ dpkg -l|grep lua
ii liblua5.1-0:amd64 5.1.5-8.1build4 amd64 Shared library for the Lua interpreter version 5.1
ii liblua5.2-0:amd64 5.2.4-1.1build3 amd64 Shared library for the Lua interpreter version 5.2
ii liblua5.3-0:amd64 5.3.3-1.1ubuntu2 amd64 Shared library for the Lua interpreter version 5.3
ii liblua5.3-dev:amd64 5.3.3-1.1ubuntu2 amd64 Development files for the Lua language version 5.3
ii lua5.3 5.3.3-1.1ubuntu2 amd64 Simple, extensible, embeddable programming language