I recently installed DaVinci resolve 18.1 and got "the gpu failed to perform image processing error code 999" Error as soon as I started the Program. I had no Clue . Requires solution.
DaVinci Error code 999 , the gpu failed to perform image processing error code 999
2.2k views Asked by tikendraw AtThere are 4 answers
On my machine I was finally able to fix it by prepending
env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
when executing the resolve binary.
Since I run wayland It's tricky to launch gui programs from the terminal so I added this to the Exec
line in the .desktop entry at /usr/share/applications/DaVinciResolve.desktop
(on Arch, yours may be somewhere else) so the final command that runs looks like:
env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/resolve/bin/resolve %u
This prime-run /opt/resolve/bin/resolve showed "prime-run: command not found". I did were these steps:
- Copy the contents of the gist: GitHub
#!/bin/bash export __NV_PRIME_RENDER_OFFLOAD=1 export __GLX_VENDOR_LIBRARY_NAME=nvidia export __VK_LAYER_NV_optimus=NVIDIA_only export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json exec "$@"
Create a file
~/bin/prime-run
("~" means your home directory)Run
chmod +x "~/bin/prime-run"
to make it executable.Closed and re-opened my terminal. After this, it worked by running:
prime-run /opt/resolve/bin/resolve
I am using Fedora 37.
Source: Ask Ubuntu.
How to fix Error code 999 (the gpu failed to perform image processing).