Shotcut wont launch on Linux

The OS had an update I ran the update and it seems to have broken shotcut I launch it from the task bar, the shotcut icon on the task bar disappears and starts bouncing at the mouse cursor and nothing happens… it re-appears on the task bar…

I have it installed through the software center mainly because I have access to the AV1 hardware encoder on the AMD GPU

When launching it from the terminal I get this:

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726266469.593337  180756 descriptor_database.cc:633] File already exists in database: versions.proto
F0000 00:00:1726266469.593359  180756 descriptor.cc:2236] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size)
*** Check failure stack trace: ***
@     0x706b33934e09  absl::lts_20240722::log_internal::LogMessage::SendToLog()
@     0x706b339359ae  absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal()
@     0x706b1a490955  (unknown)
@     0x706b1a5c228d  google::protobuf::internal::AddDescriptors()
@     0x706b24696125  (unknown)
@     0x706b6d3d96ad  (unknown)
@     0x706b6d3d65c2  _dl_catch_exception
@     0x706b6d3e04fc  (unknown)
@     0x706b6d3d6523  _dl_catch_exception
@     0x706b6d3e0904  (unknown)
@     0x706b69e9ef14  (unknown)
@     0x706b6d3d6523  _dl_catch_exception
@     0x706b6d3d6679  (unknown)
@     0x706b69e9e9f3  (unknown)
@     0x706b69e9efcf  dlopen
@     0x706b4ffbfc6c  mlt_register
@     0x706b6cf73279  mlt_repository_init
@     0x706b6cf57f52  mlt_factory_init
@     0x706b6cfa25f5  Mlt::Factory::init()
@     0x57c51f7dd856  (unknown)
@     0x57c51f7d3868  (unknown)
@     0x57c51f7d474d  (unknown)
@     0x57c51f65a4a7  (unknown)
@     0x57c51f66179f  (unknown)
@     0x57c51f66c27e  (unknown)
@     0x57c51f50fe65  main
@     0x706b69e34e08  (unknown)
@     0x706b69e34ecc  __libc_start_main
@     0x57c51f511ee5  (unknown)
fish: Job 1, 'shotcut' terminated by signal SIGABRT (Abort)

Operating System: Garuda Linux
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.5 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASRock
Product Name: X670E Pro RS

I did a search on absl::lts_20240722::log_internal::LogMessage::SendToLog() and found kdenlive users suffering the same problem. I found this better backtrace:

It tells me that the frei0r package was built against OpenCV, and that is where it is failing:
#23 0x0000762934f14904 in _dl_open (file=0x5f03a60242d0 "/usr/lib64/frei0r-1/facedetect.so", mode=<optimized out>,

#16 0x00007628c6c96125 in _sub_I_00102_1.1 () from /usr/lib/libopencv_dnn.so.410

That leads to a bug report with Arch Linux, which was fixed around earlier today. You can try to update the opencv package.

Thanks, I removed shotcut, then did a reinstall of OpenCV via terminal, it warned that it was up to date already but I told it to reinstall, restarted the system reinstalled shotcut and tried to run shotcut, that didn’t work, I did a full package reinstall of the whole OS to make sure everything was installed correctly, same issue keeps throwing the same error.

Guess ill wait for it to magically fix itself unless you have any other ideas, I cannot use the appimage version, since that version works but it takes a million years to encode because no GPU hardware acceleration.

I do not know how package builds and caches work in Arch. It is not uncommon there is some delay between a Git commit and an updated package. Does Garuda use Arch repos or mirror them? You might have to wait a day or two. Meanwhile, Flatpak is the best package we make, and it probably does support your hardware encoder.

“Chaotic-AUR” is the repo. https://aur.chaotic.cx/

They still use pacman for terminal app installs

Issue resolved, I did an update again and it started throwing this error:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (6.1.0-3) breaks dependency 'libalpm.so=13-64' required by libpamac-aur
:: installing pacman (6.1.0-3) breaks dependency 'pacman<6.1' required by libpamac-aur

I removed pamac-aur with sudo pacman -Rs pamac-aur then re-ran the updater and then it fixed that problem, then I installed shotcut via terminal and now it all works…

I have no idea why it works after fixing that but whatever, lol (maybe because it installed a whole list of dependencies when I ran the updater again after removing pamac-aur)