Davinci resolve descerte gpu problem.
Hi! I install davici resolve by following this tutorial: https://universal-blue.discourse.group/t/davinci-resolve-setup-guide/1197
When i open it it show this messages in screenshot.
I search it a little and for what i understand its a problem with distrobox and my hybrid laptop. How can i make distrobox and davici to utilise the cuda cores of mu nvidia?
Universal Blue
DaVinci Resolve Setup Guide
DaVinci Resolve is an industry standard professional visual effects and video editor by Blackmagic Design. Open a host terminal and enter: ujust distrobox Select “New” When it asks for an image name, enter: ghcr.io/zelikos/davincibox:latest Name your container: davincibox Download DaVinci Resolve (requires account registration) Extract t...


33 Replies
I've been having the same issue. It appears to be a problem with the Nvidia 555 driver
@August fix the issue by DISABLING igpu in BIOS
@August @alex13131
another new easy way to install davinci now just using the command - ujust install-resolve
I did use ujust install-resolve.
Also disabling the igpu is not a practical solution since I’m on a laptop with limited battery life
ok then try to open BoxBuddy , choose davicibox, press open terminal, then use -
NV_PRIME_RENDER_OFFLOAD=1 GLX_VENDOR_LIBRARY_NAME=nvidia run-davinci
it will probably force davinci using the nvidia gpu
I did a little more research and came to the same conclusion. that the 555 driver is to blame.
Ujust install resolve didn't fix the problem. It has no difference.
Are you using the 19 beta or 18?
I would try. But as i see the problem is that DaVinci isn't recognise the cuda. And DaVinci doesn't work with opencl
Both. I have try both with the exact same behaviour.
ok so that's not the issue
yeah this doesn't work
I think alex is right, there's some kind of issue with using cuda in distrobox
no wait, ujust nvidia "Test CUDA Support" works
so that's not it
DaVinci detects the Nvidia but doesn't use cuda. Is this the problem you also have?
same
that's it

I have a laptops with intel i7 8750h and a Nvidia 1050ti.
maybe the issue is that the davincibox container has the wrong version of the driver internally
I watch a youtube video that someone use distrobox and install DaVinci and work's.
Drew Naylor
YouTube
How to run DaVinci Resolve Studio with an Nvidia card in Distrobox ...
Since I'm moving to Linux again to avoid Windows 11, I needed to get Resolve running so I could keep using it for video editing. It's more difficult to have it run properly under Linux, but as a few other videos and projects demonstrate, you can run it under distrobox in a container. From what I can tell, usually these projects and videos involv...
yeah it used to work
I am going to give it a try
Its 2 months old video
He installs cuda inside the fedora container
how'd it go?
I will let you know
I didn't manage to solve the problem😥
Zero progress
Facing the same issue here
Untill now i haven't found a solution. I am considering to try nobara to see if the problems remain
This is getting a fix upstream
https://github.com/zelikos/davincibox/pull/121
GitHub
fix: Remove nvidia driver packages by zelikos · Pull Request #121 ·...
Based on findings in #114 (comment) it seems that having the akmod-nvidia and CUDA packages installed into the container actually cause problems, and through nvidia-container-toolkit the container ...
In the mean time, this would be the fix done in a manual way for those who want to test it:
1. Run
ujust install-resolve
in the terminal to install the container
2. Restart the container with podman restart davincibox
3. Run this in the terminal (in host, not the container):
4. Run podman restart davincibox
again
5. Try to open davinci from the app menu
UPDATE: Fix got merged, the workaround above is no longer needed@Zeglius thank you so much for keeping us updated. I am definitely going to check it!
I did this and now it use the Nvidia cuda!
Hi. I know this is old but just wanted to drop you a comment on this. I know you've said it's merged and the workaround is no longer needed but I had the same problems as the OP after installing with distrobox and running these commands fixed it so I'm not entirely sure the fixes are implemented in the distrobox install. If it helps to identify the possible issue, I'm using the bazzite-nvidia-open image.
Thanks for the post above though, it's been driving me mad 🙂
@Zeglius - sorry for the re-ping but I've just had to reinstall davincibox and it wouldn't work correctly without the fix above so I think the workaround is still needed.
No worries, you need to otherwise I wouldn't know if something breaks xD
For what I briefly read in davincibox issues, this seems to be something to do with the newest kernel
https://github.com/zelikos/davincibox/issues/154
GitHub
CUDA stops working permanently after container restart · Issue #154...
IMPORTANT Before reporting a bug, make sure that you can reproduce it on the latest version of davincibox. See the upgrading section of the README for more information. Also, be sure to read the Di...
Maybe. But if the workaround works, it might be a different issue
Will attempt to reproduce and from there we will see if the fix can be done upstream or something
Actually now I've messed about a bit more, it only partially solves it. Without the fix, playback on the timeline didn't work and projects made before I reinstalled wouldn't open. The fix fixed that part but resolve still crashes after playing back for a while and rendering starts working for a few seconds then the time remaining goes up into days and then hangs. Weird one!
Cuda isn't available as an option either, just opencl so I wonder if it was the last driver update as I've had problems with it for ages now and was hoping the reinstall would fix it before having to make a windows partition again
Honestly yeah, seems a windows partition would seem to be easier, not gonna lie
Wish they would provide a flatpak or something 😔
I'm resisting as much as I can 🤣 Not looked back for months since I deleted it off a while back
I did see https://github.com/H3rz3n/davinci-helper
Not sure how I would try that on Bazzite (still learning!) but will give it a go tomorrow and see if it makes any difference
GitHub
GitHub - H3rz3n/davinci-helper: The best DaVinci Resolve companion ...
The best DaVinci Resolve companion app on Linux. Contribute to H3rz3n/davinci-helper development by creating an account on GitHub.
Mmm from what I read there, is making calls to dnf4 and dnf, so probably will need some workarounds, like adding a wrapper that calls rpm-ostree instead
I can tell this won't work that easily beforehand
That's good to know, thanks. Probably not one for me to mess with as a relatively new user
Just in case you were putting any time into this, don't 🙂 It's the nvidia driver. Posted what I did in the general chat in case anyone else has the problem also
https://discord.com/channels/1072614816579063828/1087140957096517672/1351182838782889997