No media preview for Davinci Resole 17 on Opensuse Leap 15.2

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Andyk75

  • Posts: 7
  • Joined: Sun Mar 14, 2021 10:05 am
  • Real Name: Andreas Kreuzer

No media preview for Davinci Resole 17 on Opensuse Leap 15.2

PostMon Mar 15, 2021 9:50 am

Hi,

after learning Davinci Resolve on a Laptop I finally managed to add a dedicated graphics card to my Linux workstation. I started with a new install of Opensuse Leap 15.2 and added all the media codecs so that my videos play in the VLC.
But now to my Davinci Resolve problem:
I installed the 16 and 17 Studio version and Resolve starts quite fast without any problems, but I get no preview of any kind.
I know the issue with the audio on Linux, but even JPGs or videos without sound are not shown! I also reformatted a video-file to test the audio fix but no difference. I mean I can add Videos and Pictures to the timeline, but no preview of any kind is shown.

I checked the library dependencies with ldd for resolve and the Raw-Player and the Raw-Speedtest. They seem all fine so far. But the Raw-Player and the Raw-Speedtest quit with an invalid pointer.

I added a few files with debug and system information. In the zip-file you will find nine text files:
01 to 03: ldd output for RawPlayer, RawSpeedTest and Resolve
04 and 05: Console-output when RawPlayer and RawSpeedTest crash
06: system-info with output from "uname -a" and "inxi --graphics"
07 to 09: Debug-Files from .local/share/DaVinciResolve/

If you need more information please let me know!
I really like Davinci Resolve and in terms of usability and performance it is really one of the best software that I have ever seen. I mean I have edited 8k on a Laptop! (With 1fps, but ok it worked!)

Thanks
Andreas
Attachments
20210315.zip
Debug and System-Information
(12.02 KiB) Downloaded 57 times
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 14928
  • Joined: Wed Aug 22, 2012 7:08 am

Re: No media preview for Davinci Resole 17 on Opensuse Leap

PostMon Mar 15, 2021 11:11 am

moved to resolve forum
DaVinci Resolve Product Manager
Offline

Andyk75

  • Posts: 7
  • Joined: Sun Mar 14, 2021 10:05 am
  • Real Name: Andreas Kreuzer

Re: Solution for Davinci Resole 17 on Opensuse Leap 15.2

PostWed Mar 17, 2021 5:05 pm

I finally found a solution for my setup and I want to share it with you.

This is my hardware: Intel i5, 16GB RAM, AMD Radeon Pro WX3200 (4GB)
And this is how I got it working with Opensuse Leap 15.2:
  1. Install Opensuse Leap 15.2 with KDE
  2. Add the Packman repository and install the missing the codecs
  3. Download the proprietary amdgpu PRO driver.
  4. Install the amdgpu-driver.
    This is the commandline I used, because the dmks-install fails for the new Opensuse kernel:
    Code: Select all
    sudo ./amdgpu-install --pro --opencl=pal,legacy --no-dkms
  5. Download and install Davinci Resolve
  6. Start Davinci and verify that it is running and working!
  7. Open a file manager and copy the following folders and files to a specific folder on your home-drive:
    • complete folder /opt/amdgpu/ to ~/AMDGPU/
    • complete folder /opt/amdgpu-pro/ to ~/AMDGPU/
    • The file /usr/lib64/dri/amdgpu_dri.so to ~/AMDGPU/amdgpu/lib64/dri/
      You might need to delete the link in this folder first, because it is pointing to this file.
    • The *.icd-files in /etc/OpenCL/vendors/ to ~/AMDGPU/amdgpu/lib64/dri/
      After deinstall you have to restore them to /etc/OpenCL/vendors/
  8. Now it is time to uninstall the amdgpu-pro driver.
    Why would I do this, when it is working for Davinci Resolve?
    Well, it works with Davinci but every other graphic software like hugin, darktable or gimp will end in a freeze of the system!!!
    Uninstall the driver with:
    Code: Select all
     sudo amdgpu-uninstall
  9. Create a custom start-script to fix the missing driver libraries for Resolve. If you used the above mentioned folder in your home-drive it should be as
    Code: Select all
    #!/bin/bash
    progl() {
    export LD_LIBRARY_PATH="${HOME}/AMDGPU/amdgpu-pro/lib64:${LD_LIBRARY_PATH}"
    export LIBGL_DRIVERS_PATH="${HOME}/AMDGPU/amdgpu/lib64/dri"
    export dri_driver="amdgpu-dri"
    }
    progl
    /opt/resolve/bin/resolve
    Save this code in a script called runDavinci.sh
  10. set the executable flag with chmod +x runDavinci.sh
  11. start Davinci Resolve with calling this script like ./runDavinci.sh

I started this thread because I initially thought I didn't have an install problem. After all it seems it was an install problem. And I solved it with the inspiration by this post "https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=56878&start=1850#p732699" (sorry, I'm not allowed to post URLs) and a lot of google...

Thanks to all and happy creating!
Andreas

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], panos_mts and 265 guests