Bug 4178

Summary: vlc version 3 won't play dvd discs or avi files
Product: Fedora Reporter: sixerjman
Component: vlcAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED EXPIRED    
Severity: major    
Priority: P5    
Version: 24   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: VLC error log

Description sixerjman 2016-08-06 19:42:03 CEST
Created attachment 1598 [details]
VLC error log

Version 2.2.4 from Debian has no problem with either the DVD discs, iso files or .avi files.

Attached is the vlc error log from trying to play an .avi file.
Comment 1 Nicolas Chauvet 2016-08-06 22:32:09 CEST
Can you retry with vlc from
dnf update vlc\* --enablerepo=rpmfusion-free-updates-testing


What is your vdpauinfo output ? (which hardward/driver do you have ?)
Can you try with vdpau disabled ?

FYI, I can play avi and many plays very fine with this version, so this works for me.
Comment 2 Nicolas Chauvet 2016-08-16 10:36:56 CEST
No info ? I'm closing the bug
Comment 3 sixerjman 2016-08-18 20:21:11 CEST
Please reopen, I just got back around to this bug.  The information you requested:

Can you retry with vlc from
dnf update vlc\* --enablerepo=rpmfusion-free-updates-testing

sudo dnf update vlc\* --enablerepo=rpmfusion-free-updates-testing
RPM Fusion for Fedora 24 - Free - Test Updates                                                                209 kB/s |  22 kB     00:00    
Last metadata expiration check: 0:00:03 ago on Thu Aug 18 14:12:53 2016.
Dependencies resolved.
Nothing to do.
Complete!


What is your vdpauinfo output ? (which hardward/driver do you have ?)

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     2048  2048  NV12 YV12 
422     2048  2048  
444     2048  2048  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  --- not supported ---
H264_MAIN                      --- not supported ---
H264_HIGH                      --- not supported ---
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
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          2048  2048    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R8G8B8A8          2048  2048    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          2048  2048
R8G8B8A8          2048  2048
A8                2048  2048

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
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        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  


Can you try with vdpau disabled ?

As noted above, the workaround for me is to explicitly select 'OpenGL GLX Video Output (XCB)', which was next in the list of output methods behind VDPAU, so VDPAU was implicitly disabled.  If there is a way to _explicitly_ disable VDPAU and select 'Automatic', let me know what it is and I will try it.
Comment 4 sixerjman 2016-08-18 20:29:10 CEST
The symptoms are I can hear the audio, but the video flickers black and white regions at a rapid rate while none of the actual video stream is displayed.

A test of playing the first few seconds of any video shows the following statistics (Tools / Statistics):

Audio
Decoded N (i.e. 505) audio blocks decoded
Played N (i.e 505) buffers
Lost 0 buffers 

Video
Decoded 0 blocks
Displayed / Lost 0 frames
Comment 5 Nicolas Chauvet 2016-08-19 10:07:16 CEST
You can disable vdpau with Preferences > Codecs > Hw accelerated decoding
You haven't mentionned your hardware, from your vdpauinfo output, I can only see that you are using a gallium driver (nouveau,radeon,r600) and not intel.

Please note that if you are using nouveau and later want to enable vdpau hw, you will need to extract the video firmware from the binary driver.
https://nouveau.freedesktop.org/wiki/VideoAcceleration/

Also vdpau doesn't seem to work with Wayland right now
Comment 6 Nicolas Chauvet 2016-08-26 18:25:31 CEST
Can you answer back ?
Comment 7 Nicolas Chauvet 2016-09-01 21:15:01 CEST
No answearn closing. Please re-open if you have others info