LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2017, 12:51 PM   #1
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 68

Rep: Reputation: 1
VLC fails to replay video using NVIDIA GeForce G 105M, nouveau and mesa-vdpau


Hello everyone,

I am using Arch Linux and am trying to get VLC to use hardware accelerated decoding. I have an old NVIDIA GeForce G 105M and have installed the open source nouveau drivers, so I have installed the mesa-vdpau package.

Keep in mind that I wish this to work with the open source drivers and that I'd rather not use hardware decoding if it means installing the proprietary driver.

When I try to run mp4 videos using VLC, I get the following messages:

Quote:
[00007f6cc4c53ee8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[00007f6ca0001268] vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.
I would think that this is either due to the fact that my card does not support decoding MPEG4 with mesa-vdpau or that I simply do not have the decoder capabilities. However, mpv seems to work just fine with hardware decoding, so I can't seem to identify the problem.

This is the output of my vdpauinfo:

Quote:
display: :0.0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

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

Decoder capabilities:

name level macbs width height
----------------------------------------------------
MPEG1 0 16384 2048 2048
MPEG2_SIMPLE 3 16384 2048 2048
MPEG2_MAIN 3 16384 2048 2048
H264_BASELINE 41 16384 2048 2048
H264_MAIN 41 16384 2048 2048
H264_HIGH 41 16384 2048 2048
VC1_SIMPLE 1 16384 2048 2048
VC1_MAIN 2 16384 2048 2048
VC1_ADVANCED 4 16384 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 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R8G8B8A8 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
B10G10R10A2 8192 8192 y NV12 YV12 UYVY YUYV 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 -
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 2048
VIDEO_SURFACE_HEIGHT y 48 2048
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
Any help will very much be appreciated.

EDIT: After doing some more reading, I found this out on the Arch Wiki's page on the NVIDIA proprietary drivers:

Quote:
Pure Video HD

At least a video card with second generation PureVideo HD is required for hardware video acceleration using VDPAU.
It so happens that this graphics card does not have this technology. Also, mpv seems to often break when stopping or starting video replay, effectively choking the whole system, so it may be related to this.

Last edited by Johnny_Metal; 03-18-2017 at 01:44 PM.
 
Old 03-18-2017, 01:55 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
vlc has an option to force software decoding.
in the simple prefs, UNcheck "accelerated video output".
 
Old 03-18-2017, 03:57 PM   #3
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,439

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
VLC and VA-API doesn't play nice. I suggest QMPlay2 instead.
 
Old 03-19-2017, 02:20 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
... or just play with the video output settings on mpv or mplayer (or vlc if you must) until you get it right.
everything in software decoding can't be right.
that video card must be of SOME use.
 
Old 03-19-2017, 04:36 AM   #5
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: 1
I've uninstalled mesa-vdpau and simply instructed VLC to use software decoding.

In the past, i've had propritetary graphics installed and was able to use hardware decoding with VLC, without it breaking like mpv seems to have done to me this time when using open source drivers. Seeing as this laptop is barely going to be used to watch videos and that I do not wish proprietary graphics installed, I'll settle with software decoding.

Thank you for the help!

PS: Ondoho, I would like to ask you how you use mpv. I like it a lot, it's just that unlike VLC I cannot (as far as I know) open it separately without a terminal window. I must always use it to open a file, so either I use the terminal or a file manager. Can you send me a private message explaining how you go about it?
 
Old 03-19-2017, 05:52 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
Quote:
Originally Posted by Johnny_Metal View Post
I must always use it to open a file
that would be about right.
but there's still this option:
Code:
mpv --force-window --idle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't play video with Nvidia/vdpau coralfang Slackware 1 07-17-2016 03:46 PM
[SOLVED] Hardware Accelerated Video (VDPAU/VAAPI) Using Mesa Radeon Driver? bassmadrigal Slackware 15 01-31-2016 08:10 PM
[SOLVED] Reverting back to nouveau from bumblebee/nvidia fails Serophis Linux - Software 12 10-10-2012 10:41 AM
Nouveau driver + S-Video + Nvidia 5200 SilentSam Linux - Hardware 4 11-23-2011 02:19 PM
problem with Nvidia GeForce g 105m and fedora bolla123 Linux - Hardware 4 01-18-2010 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration