Posts: 16
	Threads: 4
	Joined: May 2022
	
Reputation: 
0
	 
	
		
		
		05-12-2022, 10:16 PM 
(This post was last modified: 05-12-2022, 10:17 PM by Mike Iwantprivacy.)
		
	 
	
		Issue : h.264 hardware decode does not seem to be working. 
Driver : Nvidia 340.108  recommended driver from the tools. 
CPU : T9500 2.6 ghz
Memory 6 Gb. 
I would like to use the hardware decoding built into the video card. Everything I have read states that this card supports it. 
However when I run steam remote play I see its on dedicated software decode. 
When I run firefox I see software decode on youtube videos. 
Any application I have seems to be running in software mode. I have tried installing libva packages but no luck. 
Does anyone have any hints on how to get this to kick in properly?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 4
	Joined: May 2022
	
Reputation: 
0
	 
	
	
		updated info :
So I can set VLC manually to us vdpau mode. That will drop cpu usage from 20-30% down to 2%. So I know that hardware decode can and does work. 
However for some reason it will not "auto select" this mode. 
I have also found running vdpau info it show support for hardware decoding of h264 "Main" and "High" profiles  but NOT "Baseline" which seems odd. 
I am still looking for answers. 
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 4
	Joined: May 2022
	
Reputation: 
0
	 
	
	
		vdpauinfo 
[pre]display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  340.108  Wed Dec 11 14:31:24 PST 2019
Video surface:
name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 
Decoder capabilities:
name                        level macbs width height
----------------------------------------------------
MPEG1                           0  8192  2048  2048
MPEG2_SIMPLE                    3  8192  2048  2048
MPEG2_MAIN                      3  8192  2048  2048
H264_BASELINE                  --- not supported ---  -WTF?
H264_MAIN                      41  8192  2048  2048
H264_HIGH                      41  8192  2048  2048
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
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      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
Output surface:
name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
Bitmap surface:
name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192
Video mixer:
feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        -
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         1     4096
VIDEO_SURFACE_HEIGHT             y         1     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  [/pre]