Timeline won't play, video not rendered (Linux, AMDGPU ROCm)

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

therhutt

  • Posts: 2
  • Joined: Thu Mar 16, 2023 6:45 pm
  • Real Name: Rick Hutt

Timeline won't play, video not rendered (Linux, AMDGPU ROCm)

PostThu Mar 16, 2023 7:28 pm

DaVinci Resolve is recognising my "Discrete" "Main Display GPU" and claims to be using OpenCL for GPU processing, but won't preview/display/render any video. Audio can be played but only in Fairlight.

I'm using DaVinci Resolve 18.4.1 with an AMD Radeon RX 6700 XT GPU on Fedora 37 (RedHat family Linux).

If I create a new project and timeline, pressing spacebar makes the "play" button turn orange, but the timeline cursor does not progress across the timeline. This is the case on all pages except Fairlight.

Example screenshot: Timeline stuck, even though it should be playing
Timeline stuck.cleaned.png
Timeline stuck
Timeline stuck.cleaned.png (106.34 KiB) Viewed 1693 times


Example screenshot: Fairlight successfully playing audio
Fairlight playing successfully.cleaned.png
Fairlight playing successfully
Fairlight playing successfully.cleaned.png (128.1 KiB) Viewed 1693 times


If I import a DNxHD video, thumbnails are not generated and I can't play a preview of the clip. When placed on the timeline, I can see a waveform for the audio though. On the fairlight page I can also play the clip and listen to it there. I'm not able to play the clip in any capacity in any other way on any other page.

Importing JPEG images behaves the same way DNxHD does; no thumbnails generated, video cannot be previewed in any way.

Please find attached my DaVinci Resolve Diagnostics Log.

Further system, driver, and package information can be found below:

System information
$ inxi -bz
Code: Select all
System:
  Kernel: 6.1.18-200.fc37.x86_64 arch: x86_64 bits: 64 Desktop: GNOME v: 43.3
    Distro: Fedora release 37 (Thirty Seven)
Machine:
  Type: Laptop System: Framework product: Laptop (12th Gen Intel Core) v: A6
    serial: <superuser required>
  Mobo: Framework model: FRANMACP06 v: A6 serial: <superuser required>
    UEFI: INSYDE v: 03.05 date: 08/23/2022
Battery:
  ID-1: BAT1 charge: 31.1 Wh (60.2%) condition: 51.7/55.0 Wh (94.0%)
  ID-2: hidpp_battery_0 charge: 89% condition: N/A
CPU:
  Info: 12-core (4-mt/8-st) 12th Gen Intel Core i7-1260P [MST AMCP]
    speed (MHz): avg: 2120 min/max: 400/4700:3400
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 22.1.8 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: amdgpu,modesetting
    unloaded: fbdev,radeon,vesa dri: iris gpu: i915 resolution: 2256x1504~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.7 renderer: Mesa Intel Graphics (ADL GT2)
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi
Drives:
  Local Storage: total: 1.82 TiB used: 1004.69 GiB (53.9%)
Info:
  Processes: 491 Uptime: 51m Memory: 31.05 GiB used: 8.61 GiB (27.7%)
  Shell: Zsh inxi: 3.3.25


OpenCL information
$ clinfo
Code: Select all
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3513.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1031
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0
  Driver Version                                  3513.0 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 6700 XT
  Device PCI-e ID (AMD)                           0x73df
  Device Topology (AMD)                           PCI-E, 0000:81:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               20
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                32
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2725MHz
  Graphics IP (AMD)                               10.3
  Device Partition                                (core)
    Max number of sub-devices                     20
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple (kernel)     32
  Wavefront width (AMD)                           32
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              12868124672 (11.98GiB)
  Global free memory (AMD)                        12566528 (11.98GiB) 12566528 (11.98GiB)
  Global memory channels (AMD)                    6
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           10937905968 (10.19GiB)
  Unified memory for Host and Device              No
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    10937905968 (10.19GiB)
  Preferred total size of global vars             12868124672 (11.98GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             29663
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 8192 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             16384x16384x8192 pixels
    Max number of read image args                 128
    Max number of write image args                8
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            2347971376 (2.187GiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory size per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        10937905968 (10.19GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties (on host)                     
    Out-of-order execution                        No
    Profiling                                     Yes
  Queue properties (on device)                   
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        0ns (Thu Jan  1 01:00:00 1970)
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  No
    Number of async queues (AMD)                  8
    Max real-time compute queues (AMD)            8
    Max real-time compute units (AMD)             20
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1031
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1031
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1031


AMD GPU Driver packages
$ sudo dnf list installed '*amd-gpu*' '*amdgpu*' '*rocm*' '*roct*' '*hsa*' 'kernel'
Code: Select all
Installed Packages
amd-gpu-firmware.noarch             20230310-148.fc37                 @updates 
hsa-rocr.x86_64                     1.7.0.50403-121.el9               @rocm-copy
hsa-rocr-devel.x86_64               1.7.0.50403-121.el9               @rocm-copy
hsakmt.x86_64                       1.0.6-27.rocm5.4.1.fc37           @updates 
hsakmt-roct-devel.x86_64            20221020.0.2.50403-121.el9        @rocm-copy
kernel.x86_64                       6.1.14-200.fc37                   @updates 
kernel.x86_64                       6.1.15-200.fc37                   @updates 
kernel.x86_64                       6.1.18-200.fc37                   @updates 
rocm-cmake.x86_64                   0.8.0.50403-121.el9               @rocm-copy
rocm-comgr.x86_64                   5.4.1-2.fc37                      @updates 
rocm-core.x86_64                    5.4.3.50403-121.el9               @rocm-copy
rocm-core5.4.3.x86_64               5.4.3.50403-121.el9               @rocm-copy
rocm-dbgapi.x86_64                  0.68.0.50403-121.el9              @rocm-copy
rocm-device-libs.x86_64             1.0.0.50403-121.el9               @rocm-copy
rocm-gdb5.4.3.x86_64                12.1.50403-121.el9                @rocm-copy
rocm-hip-libraries.x86_64           5.4.3.50403-121.el9               @rocm-copy
rocm-hip-runtime.x86_64             5.4.3.50403-121.el9               @rocm-copy
rocm-hip-runtime-devel.x86_64       5.4.3.50403-121.el9               @rocm-copy
rocm-hip-sdk.x86_64                 5.4.3.50403-121.el9               @rocm-copy
rocm-language-runtime.x86_64        5.4.3.50403-121.el9               @rocm-copy
rocm-llvm.x86_64                    15.0.0.23045.50403-121.el9        @rocm-copy
rocm-llvm5.4.3.x86_64               15.0.0.23045.50403-121.el9        @rocm-copy
rocm-ocl-icd.x86_64                 2.0.0.50403-121.el9               @rocm-copy
rocm-opencl.x86_64                  2.0.0.50403-121.el9               @rocm-copy
rocm-opencl-runtime.x86_64          5.4.3.50403-121.el9               @rocm-copy
rocm-runtime.x86_64                 5.4.1-1.fc37                      @updates 
rocm-smi.noarch                     4.0.0-6.fc37                      @fedora   
rocm-smi-lib.x86_64                 5.0.0.50403-121.el9               @rocm-copy
rocminfo.x86_64                     1.0.0.50403-121.el9               @rocm-copy
rocthrust-devel.x86_64              2.10.9.50403-121.el9              @rocm-copy
xorg-x11-drv-amdgpu.x86_64          23.0.0-1.fc37                     @updates


Please advise.
Attachments
log_archive_20230316-192052.tgz
DaVinci Resolve Diagnostics Log
(106.25 KiB) Downloaded 35 times
Offline

therhutt

  • Posts: 2
  • Joined: Thu Mar 16, 2023 6:45 pm
  • Real Name: Rick Hutt

Re: Timeline won't play, video not rendered (Linux, AMDGPU R

PostFri Mar 17, 2023 10:19 pm

Screenshot of DaVinci Resolve detecting my GPU and claiming to use OpenCL with it.
GPU detected.cleaned.png
GPU Detected
GPU detected.cleaned.png (41.62 KiB) Viewed 1671 times


I suspect I am missing certain AMD GPU (driver) packages required to make DaVinci Resolve render video using OpenCL.

Is anyone else with an AMD GPU able to get a photo/video to display within DaVinci Resolve in any capacity on Linux?
Offline

Lucius Snow

  • Posts: 732
  • Joined: Sun Nov 24, 2013 1:19 pm

Re: Timeline won't play, video not rendered (Linux, AMDGPU R

PostSun Mar 19, 2023 7:50 pm

therhutt wrote:Is anyone else with an AMD GPU able to get a photo/video to display within DaVinci Resolve in any capacity on Linux?

I had similar troubles when I was using dual Radeon VII on CentOS three years ago. I don't remember how I fixed it but you should take at look at the install options. Some components are required. It's completely flawless with nVidia drivers. Very happy with the RTX 3090 and now the RTX 4090.
Offline

rayne steward

  • Posts: 1
  • Joined: Fri Jul 05, 2024 2:55 pm
  • Real Name: rayne steward

Re: Timeline won't play, video not rendered (Linux, AMDGPU R

PostFri Jul 05, 2024 2:58 pm

Hey , im using the 7900xtx on fedora 40. i have davinci resolve studio 18.6.6 and is facing the same problem.
have you found a fix for this ?
Offline

bulkmoerls

  • Posts: 2
  • Joined: Sun Apr 13, 2025 1:48 pm
  • Real Name: john moerls

Re: Timeline won't play, video not rendered (Linux, AMDGPU R

PostSun Apr 13, 2025 7:22 pm

I have the same problem, except I have an integrated Intel GPU. How the hell did we get here?

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], okiewardoyo, panos_mts, Steveo123 and 204 guests