89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
10.12k stars 417 forks source link

[Error] Can't install DaVinci Resolve in RockyLinux box #883

Closed Azer0s closed 1 year ago

Azer0s commented 1 year ago

I want to install DaVinci Resolve 18.5 in a RockyLinux distrobox. I am running Ubuntu 22.04 & distrobox 1.5.0.2

distrobox create --image quay.io/rockylinux/rockylinux:latest --name resolve --nvidia
distrobox enter resolve
cd Downloads
sudo dnf install unzip
unzip DaVinci_Resolve_18.5_Linux.zip
./DaVinci_Resolve_18.5_Linux.run -i

The output is bash: ./DaVinci_Resolve_18.5_Linux.run: No such file or directory

I checked that the file is actually there, and it is. When I do ls the container sees it, when I try to execute it, it doesn't.

Azer0s commented 1 year ago

I tried Fedora 38 and 39, both give the same result.

[~/Downloads] : ./DaVinci_Resolve_18.5_Linux.run -i                                                                                                            
fish: Job 1, './DaVinci_Resolve_18.5_Linux.ru…' terminated by signal SIGSEGV (Address boundary error)

[~/Downloads] : strace ./DaVinci_Resolve_18.5_Linux.run -i                                                                                                     
execve("./DaVinci_Resolve_18.5_Linux.run", ["./DaVinci_Resolve_18.5_Linux.run", "-i"], 0x7ffdac2cf288 /* 61 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++
Azer0s commented 1 year ago

Initializing the box like so

distrobox create --image quay.io/fedora/fedora:37  \
 --additional-packages "unzip git iproute fuse fuse-devel libqtxdg-devel librsvg2-devel alsa-lib apr apr-util libXcursor libXi libXrandr libXtst mesa-libGLU pulseaudio-libs libXinerama polkit polkit-devel rocm-opencl libxcrypt-compat xhost" \
--nvidia \
--name resolve

then install appimagelauncher, then run xhost + and then run DaVinci Resolve seems to work.