-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Needs more GPU testing #21
Comments
@rothgar can it play MP4 video files and such? |
MP4 video plays just fine but aac audio doesn't work with or without distrobox. That's a licensing issue with resolve on Linux in general. I convert all of my videos to .MOV container with PCM audio.
|
On a laptop with Nvidia, DaVinci doesn't use the dGPU by default, and GNOME's "launch with discrete GPU" option doesn't work because it sets environment variables which don't get passed through by distrobox. The fix I found was editing the desktop file and replacing Exec=/usr/bin/distrobox-enter -n davincibox -- /opt/resolve/bin/resolve %u with Exec=/usr/bin/distrobox-enter -n davincibox -- env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/resolve/bin/resolve %u |
Resolve is crashing with davincibox running 18.6.4 Studio version on a Radeon VII Also experimeted with installing drivers in the container: After installing either of these Resolve stopped crashing but gives a GPU Initialization Failed error Was experimenting with building Rocky Linux containers before finding your project and will gladly help test future builds. |
@trafotin have you tried my solution? This worked for me even without the |
We're further along, but I'm still getting crashes. Crash is identical on both Wayland and X11.
I haven't tried without the Nvidia option, but will respond to this post and tag you when I do. |
Was able to get an Arch Linux distrobox working, the amdgpu-pro-oglp using progl prefix would crash but opencl-amd and mesa-rusticl-git with "export OCL_ICD_VENDORS= export OCL_ICD_FILENAMES=/usr/lib64/libRusticlOpenCL.so export RUSTICL_ENABLE=radeonsi" works. So Mesa Rusticl 24 should fix media not playing in Resolve on Fedora with AMD cards. |
@shubhisroking what does this command output for you? podman run \
--user 1000:1000 \
--security-opt=no-new-privileges \
--cap-drop=ALL \
--security-opt label=type:nvidia_container_t \
--device=nvidia.com/gpu=all \
docker.io/nvidia/samples:vectoradd-cuda11.2.1 I am using uBlue, which has support for nvidia in containers out of the box. If the above command doesn't work and you tried building the distrobox both with the |
|
@shubhisroking weird. Can you provide Davinci logs please? |
|
If you are on Wayland (guessing because no titlebars), try start Resolve in X11 once, then start it up again in Wayland. Although I wonder if that is a thing with AMD users. I use Nvidia and Nvidia is still hard-dependent on X11. There's also the possibility your GPU isn't being seen by container. Are you using a discrete AMD card? |
I am using X11 on Debian testing with XFCE. Yeah, I am using a discrete AMD card. |
After entering the davincibox you could try
and then
This will more than likely allow Resolve to start but no media will decode. Personally I could not get davincibox, flatpak or any flavor of Linux distrobox working with Resolve and my Radeon VII other than Arch Linux. I wrote out steps on how to get that working in another forum here. Hope any of this helps! |
Thanks very much for your efforts. It appears that Davinci is not really ready for Linux yet. |
@aldecrat davinci is very much ready for Linux, it just isn't intended to be run inside of a container It also generally just works better with Nvidia GPUs |
@aldecrat i got this answer from reddit :
|
Has anyone tried this with an RX580? I know that ROCM support was dropped from these cards a while ago and there have been various workarounds. Not sure if i am better off trying this or running a rocky linux virtual machine |
Works on my Gigabyte Aero 15 X-9 running Bluefin (F39). I had the black screen issue (#65) and had to edit the desktop file. Launching the app froze at the splash screen until I rebooted. nvidia-smi
|
Host: Mint Cinnamon 21.3 (based on Ubuntu jammy) First off, Resolve doesn't launch without elevated privileges, so I need:
Unfortunately, same issue as @aldecrat Resolve can't see my GPU, the GPU list is empty. I saw the |
i have and intel iGPUs , iam welcome to help test this project |
@ricardopiloto Can confirm the same issue on my end; neither ROCm nor rusticl working with Resolve right now. |
I'll be closing this issue. When this project was just beginning, having a "call to action" issue thread like this to have various GPUs tested was great, and I want to thank each and everyone who reported test results here. I think we've determined that Nvidia generally seems to work, AMD has its issues, and...Intel is somewhat unknown, but we have a separate issue for Intel now anyway. That being said, we're at a point where it'd be better to have separate issues opened for specific problems, to make sure things don't get lost in the shuffle (such as #21 (comment), which sounds like a similar issue as #76?). If you've posted about a problem in this thread that doesn't already have an open issue report, please open a new issue about it. |
The docs are ever a work-in-progress as it is, but one big thing we're completely lacking right now is information on GPUs that work with what's provided here.
Right now, we're using AMD ROCm for AMD graphics cards. In my own testing, RX 6000 series cards---or at least, 6600 XT and up---should work OK. Other cards that are officially supported in ROCm should work too, but this isn't something I can verify alone. Older AMD cards are less likely to work.
For Nvidia and Intel, I can't test the former myself, and I have no idea on the latter whatsoever.
tl;dr: More testers needed with varying graphics cards
Edit:
GTX 10XX cards seem to work fine
Edit 2023-12-18:
As of ROCm 5.7.1, Resolve crashes on launch on my RX 6600 XT. Mesa's OpenCL (i.e. rusticl) lets Resolve launch successfully, but in an unusable state as video playback doesn't function and some of my projects don't load
The text was updated successfully, but these errors were encountered: