Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Blurry video on VLC Player with hardware acceleration

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
nolddor
Posts: 24
Joined: 2018-09-01 17:25

Blurry video on VLC Player with hardware acceleration

#1 Post by nolddor »

Hi guys,
After upgrading my graphic card to a brand new AMD/ATI RX 5700 XT (Navi), some videos on VLC player (v 3.0.92) are blurry. After some research I spot the problem.
The video blurs (see image) when I enable hardware acceleration (using VDPAU), using the following sample video, the console outputs:

Code: Select all

libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_6
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
libva info: va_openDriver() returns 0
[00007f8bfc002de0] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007f8c0005a860] main video output error: video output creation failed
[00007f8c1cc0f240] main decoder error: failed to create video output
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
[00007f8c1cc0f240] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
Addition Info about my system:

Code: Select all


       _,met$$$$$gg.           
    ,g$$$$$$$$$$$$$$$P.       nolddor@computer 
  ,g$$P"     """Y$$.".         
 ,$$P'              `$$$.     OS: Debian GNU/Linux Bullseye x86_64 
',$$P       ,ggs.     `$$b:   Kernel: 5.5.0-1-amd64 
`d$$'     ,$P"'   .    $$$    Shell: bash 5.0.16 
 $$P      d$'     ,    $$P    Desktop: Cinnamon 
 $$:      $$.   -    ,d$$'    Packages: 3129 (dpkg) 
 $$;      Y$b._   _,d$P'      Uptime: 2 hours, 36 mins 
 Y$$.    `.`"Y$$$$P"'          
 `$$b      "-.__              CPU: Intel i5-6600K (4) @ 4.100GHz [37.0°C] 
  `Y$$                        GPU: AMD ATI Radeon RX 5700 XT 
   `Y$$.                      Memory: 4271MiB / 15958MiB (26%) 
     `$$b.                    Disk (/dev/sda5): 100G / 135G (78%) 
       `Y$$b.                 Disk (/dev/sdb): 207G / 466G (45%) 
          `"Y$b._
              `"""

Code: Select all

nolddor@computer:~$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.7.0)
vainfo: Driver version: Mesa Gallium driver 19.3.3 for AMD Radeon RX 5700 XT (NAVI10, DRM 3.36.0, 5.5.0-1-amd64, LLVM 9.0.1)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Code: Select all

nolddor@computer:~$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  52 65536  4096  4096
H264_MAIN                      52 65536  4096  4096
H264_HIGH                      52 65536  4096  4096
VC1_SIMPLE                      1 65536  4096  4096
VC1_MAIN                        2 65536  4096  4096
VC1_ADVANCED                    4 65536  4096  4096
MPEG4_PART2_SP                  3 65536  4096  4096
MPEG4_PART2_ASP                 5 65536  4096  4096
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE       0 65536  4096  4096
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      186 139264  8192  4352
HEVC_MAIN_10                   186 139264  8192  4352
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

Code: Select all

nolddor@computer:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon RX 5700 XT (NAVI10, DRM 3.36.0, 5.5.0-1-amd64, LLVM 9.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.3.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.3.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Can someone help me with this issue?
Regards
Last edited by nolddor on 2020-04-21 14:04, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Blurry video on VLC Player with hardware acceleration

#2 Post by stevepusser »

The video blurs (see image) when I enable hardware acceleration (using VDPAU), using the following sample video, the console outputs:
Isn't vdpau only for Nvidia cards? What does vdpauinfo show for you? I suggest you try the Automatic setting in VLC instead to see if va-api works.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6457
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: Blurry video on VLC Player with hardware acceleration

#3 Post by sunrat »

stevepusser wrote:Isn't vdpau only for Nvidia cards?
That's what I thought too but I was wrong. It was developed by Nvidia but is open-source and now supported for AMD by mesa-vdpau. I would guess the package mesa-vdpau-drivers (or vdpau-driver-all or vdpau-va-driver?) needs to be installed. Whether it or va-api is easier to set up I have no idea.
https://wiki.archlinux.org/index.php/Ha ... AU_drivers
Couldn't find anything in Debian wiki about it. I'd say trying to use vdpau with AMD is currently for the brave and adventurous. :mrgreen:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Blurry video on VLC Player with hardware acceleration

#4 Post by Head_on_a_Stick »

AMD cards can use either VDPAU or VA-API so the OP should probably try VA-API instead.

EDIT: I don't think that Navi card is supported by bullseye's firmware package, try MX's newer version instead: http://mxrepo.com/mx/repo/pool/ahs/l/li ... +1_all.deb
deadbang

nolddor
Posts: 24
Joined: 2018-09-01 17:25

Re: Blurry video on VLC Player with hardware acceleration

#5 Post by nolddor »

stevepusser wrote:Isn't vdpau only for Nvidia cards? What does vdpauinfo show for you? I suggest you try the Automatic setting in VLC instead to see if va-api works.
The error shown on my first message appeared when I select AUTO or VDPAU as a hardware acceleration, using VA-API the video plays well. However using VA-API no "avcodec decoder" is shown at all on the logs. Does it mean that hardware acceleration is disabled? See VLC section on HardwareVideoAcceleration wiki

sunrat wrote: That's what I thought too but I was wrong. It was developed by Nvidia but is open-source and now supported for AMD by mesa-vdpau. I would guess the package mesa-vdpau-drivers (or vdpau-driver-all or vdpau-va-driver?) needs to be installed. Whether it or va-api is easier to set up I have no idea.
https://wiki.archlinux.org/index.php/Ha ... AU_drivers
Couldn't find anything in Debian wiki about it. I'd say trying to use vdpau with AMD is currently for the brave and adventurous. :mrgreen:
mesa-vdpau-drivers is already installed and updated on the system, as already said above in my reply to "stevepusser" using VA-API the video plays well. However using VA-API no "avcodec decoder" is shown at all on the logs. Does it mean that hardware acceleration is disabled? See VLC section on HardwareVideoAcceleration wiki


Head_on_a_Stick wrote:AMD cards can use either VDPAU or VA-API so the OP should probably try VA-API instead.
EDIT: I don't think that Navi card is supported by bullseye's firmware package, try MX's newer version instead: http://mxrepo.com/mx/repo/pool/ahs/l/li ... +1_all.deb
You're right, Navi10 Firmware was manually added to my system from git.kernel.org since current linux-firmware does not include navi10 blobs.
Force VLC to use VA-API or VA-API with DRM instead of (Auto or VDPAU) seems to "solve" the video issue, however I cannot see any entry in the log saying "avcodec decoder" as pointed out on HardwareVideoAcceleration wiki. So I believe is not using Hardware Acceleration at all using VA-API and also the log outputs some errors:

Code: Select all

libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_6
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
libva info: va_openDriver() returns 0
[00007f130c002de0] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007f131005a860] main video output error: video output creation failed
[00007f1324c05590] main decoder error: failed to create video output
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!

Thanks all of you for your kind support, guys <3

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Blurry video on VLC Player with hardware acceleration

#6 Post by stevepusser »

Install Inxi and give us the result of

Code: Select all

inxi -G
so we can see how your drivers are working.
MX Linux packager and developer

nolddor
Posts: 24
Joined: 2018-09-01 17:25

Re: Blurry video on VLC Player with hardware acceleration

#7 Post by nolddor »

That was the result:

Code: Select all

Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] driver: amdgpu 
           v: kernel 
           Display: server: X.Org 1.20.8 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.36.0 5.5.0-1-amd64 LLVM 9.0.1) v: 4.5 Mesa 19.3.3
Regards

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Blurry video on VLC Player with hardware acceleration

#8 Post by stevepusser »

OK, that output appears cromulent (OK). :D
MX Linux packager and developer

nolddor
Posts: 24
Joined: 2018-09-01 17:25

Re: Blurry video on VLC Player with hardware acceleration

#9 Post by nolddor »

Good to know that,
Have you any other idea why i'm getting the error?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Blurry video on VLC Player with hardware acceleration

#10 Post by stevepusser »

Not really. Once you get into a rolling set of packages like in testing, va-api becomes rather fragile, as I've discovered when backporting newer Mesas, ffmpegs, libva-devs, and media players for MX's stable base. What is compiled on a Debian stable versions of those often will break va-api when those optional updates are installed, so I have to build another version of VLC against those to keep it working. I give thanks that pbuilder makes swapping in repos and removing them from its chroot build platforms fast and easy.

So expecting it to "just work" on testing and Sid may be expecting too much.

That said, apparently Chromium in Buster and Sid had va-api working for streaming video until the recent 81 upgrade, which messed it up.
MX Linux packager and developer

nolddor
Posts: 24
Joined: 2018-09-01 17:25

Re: Blurry video on VLC Player with hardware acceleration

#11 Post by nolddor »

Everything was working fine until the day I change my graphic card... ;( I've been using testing for long time w/o issues on VLC.

Nobody have an idea about what can be happening here?
Thanks in advance <3

AgenttiX
Posts: 1
Joined: 2021-01-12 16:47

Re: Blurry video on VLC Player with hardware acceleration

#12 Post by AgenttiX »

I have the same issue with Radeon VII, Kubuntu 20.10 and VLC 3.0.11.1. I first noticed it when trying to view some OBS recordings, as they appeared blurry on VLC regardless of the OBS encoder settings, but were sharp when viewed with the mpv media player. The issue also affects VLC 3.0.11 installed as a snap. Thanks to your suggestions, as a temporary workaround I have set VLC to use VA-API instead of automatic hardware-accelerated decoding, but based on the VLC output below that seems to result in an automatic fallback to software decoding. It may be related that this is a dual-GPU system with Nvidia GTX Titan as the secondary GPU, as that has caused some configuration issues in the past.

Code: Select all

~ screenfetch 
                          ./+o+-       mika@agx-z2e-kubuntu
                  yyyyy- -yyyyyy+      OS: Ubuntu 20.10 groovy
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.8.0-36-generic
           .++ .:/++++++/-.+sss/`      Uptime: 9h 4m
         .:++o:  /++++++++/:--:/-      Packages: 3460
        o:+o+:++.`..```.-/oo+++++/     Shell: zsh 5.8
       .:+o:+o/.          `+sssoo+/    Resolution: 3440x1440
  .++/+:+oo+o:`             /sssooo.   DE: KDE 5.74.0 / Plasma 5.19.5
 /+++//+:`oo+o               /::--:.   WM: KWin
 \+/+o+++`o++o               ++////.   GTK Theme: Breeze [GTK2/3]
  .++.o+++oo+:`             /dddhhh.   Icon Theme: breeze
       .+.o+oo:.          `oddhhhh+    Disk: 613G / 914G (71%)
        \+.++o+o``-````.:ohdhhhhh+     CPU: AMD Ryzen Threadripper 3970X 32-Core @ 64x 3.7GHz
         `:o+++ `ohhhhhhhhyo++os:      GPU: GeForce GTX TITAN
           .o:`.syhhhhhhh/.oo++o`      RAM: 13044MiB / 128741MiB
               /osyyyyyyo++ooo+++/    
                   ````` +oo+++o\:    
                          `oo++.

Code: Select all

~ vainfo 
libva info: VA-API version 1.8.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.8 (libva 2.8.0)
vainfo: Driver version: Mesa Gallium driver 20.2.6 for AMD Radeon VII (VEGA20, DRM 3.38.0, 5.8.0-36-generic, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

Code: Select all

~ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 
420_16 16384 16384  
422_16 16384 16384  
444_16 16384 16384  

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  52 65536  4096  4096
H264_MAIN                      52 65536  4096  4096
H264_HIGH                      52 65536  4096  4096
VC1_SIMPLE                      1 65536  4096  4096
VC1_MAIN                        2 65536  4096  4096
VC1_ADVANCED                    4 65536  4096  4096
MPEG4_PART2_SP                  3 65536  4096  4096
MPEG4_PART2_ASP                 5 65536  4096  4096
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE       0 65536  4096  4096
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      186 65536  4096  4096
HEVC_MAIN_10                   186 65536  4096  4096
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y

Code: Select all

~ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon VII (VEGA20, DRM 3.38.0, 5.8.0-36-generic, LLVM 11.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Code: Select all

~ inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Vega 20 [Radeon VII] driver: amdgpu v: kernel 
           Device-2: NVIDIA GK110 [GeForce GTX TITAN] driver: nvidia v: 460.27.04 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,nvidia FAILED: ati unloaded: fbdev,modesetting,nouveau,radeon,vesa 
           resolution: 3440x1440~144Hz 
           OpenGL: renderer: AMD Radeon VII (VEGA20 DRM 3.38.0 5.8.0-36-generic LLVM 11.0.0) v: 4.6 Mesa 20.2.6
VLC output when using automatic hardware-accelerated decoding

Code: Select all

~ vlc
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[000055d10a1b5670] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055d10a2496f0] main playlist: playlist is empty
kf.kio.widgets.kdirmodel: protocol mismatch: "" vs "file"
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f3384003f10] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.8.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
[00007f3384003f10] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007f33800abb10] main video output error: video output creation failed
[00007f3390c10680] main decoder error: failed to create video output
[00007f338489b080] gl gl: Initialized libplacebo v2.72.0 (API v72)
[00007f3390c10680] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
QObject::~QObject: Timers cannot be stopped from another thread
VLC output when using VA-API

Code: Select all

~ vlc
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[000055d44d063670] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055d44d0f76f0] main playlist: playlist is empty
kf.kio.widgets.kdirmodel: protocol mismatch: "" vs "file"
kf.kio.widgets.kdirmodel: protocol mismatch: "" vs "file"
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f49b4003f10] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.8.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
[00007f49b4003f10] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007f49bc0abb10] main video output error: video output creation failed
[00007f49c8c0ebd0] main decoder error: failed to create video output
[00007f49b4099360] gl gl: Initialized libplacebo v2.72.0 (API v72)
[00007f48f8045070] gl gl: Initialized libplacebo v2.72.0 (API v72)
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
QObject::~QObject: Timers cannot be stopped from another thread

Post Reply