Bug 431473

Summary: Failed to initialise VAAPI connection: -1 (unknown libva error)
Product: [Applications] kdenlive Reporter: Kerry <contact>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: snd.noise
Priority: NOR    
Version First Reported In: 20.04.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kerry 2021-01-12 05:18:20 UTC
SUMMARY


STEPS TO REPRODUCE
1. open new project with settings 
4k uhd 2160p 29.97 fps | Video Settings Frame size: 3840 x 2160 (16:9)
Frame rate: 29.97 fps
Pixel Aspect Ratio: 1
Color Space: ITU-R 709
Interlaced: no

2. From Project Bin select 'Add Clip or Folder'
3. Select Video

OBSERVED RESULT

The error produced 'Failed to Create Proxy Clip'
Detailed Log '[AVHWDeviceContext @ 0x55cabb390ec0] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error
Error parsing global options: Input/output error'


EXPECTED RESULT 
Expected proxy clip to be produced


SOFTWARE/OS VERSIONS
 
Linux/KDE Plasma: 
Ubuntu 20.04.1 LTS 64-bit
KDE Plasma Version: 
KDE Frameworks Version: KDE Frameworks 5.68.0
Qt 5.14.1 (built against 5.14.1)
The xcb windowing system
Qt Version: 

ADDITIONAL INFORMATION

Intel® Core™2 Quad CPU Q8200 @ 2.33GHz 
AMD® Rv610
result of vainfo:

$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 20.2.6 for AMD RV610 (DRM 2.50.0 / 5.4.0-60-generic, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

otal 0
drwxr-xr-x   3 root root        100 Jan 11 21:59 .
drwxr-xr-x  19 root root       4520 Jan 11 22:00 ..
drwxr-xr-x   2 root root         80 Jan 11 21:59 by-path
crw-rw----+  1 root video  226,   0 Jan 11 21:59 card0
crw-rw----+  1 root render 226, 128 Jan 11 21:59 renderD128
Comment 1 Kerry 2021-01-12 18:38:06 UTC
after upgrading to the latest version 20.12 this issue is not reproducible.
Comment 2 farid 2021-03-03 22:31:28 UTC
Thanks for the feedback, closing.