Bug 86006 - [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware acceleration
Summary: [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware acceleration
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 14:59 UTC by Илья Индиго
Modified: 2019-12-04 08:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
mplayer2 -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /ILYA/Video/Documentaries/Space/Through\ the\ Wormhole/Through\ the\ Wormhole\ 3.03\ -\ Is\ The\ Universe\ Alive.mkv (115.68 KB, image/png)
2014-11-07 14:59 UTC, Илья Индиго
no flags Details
MPlayer2.png (115.68 KB, image/png)
2014-11-07 15:02 UTC, Илья Индиго
no flags Details
mpv opengl-hd/VDPAU (541.59 KB, image/png)
2014-11-07 19:01 UTC, Илья Индиго
no flags Details
mediainfo (4.23 KB, text/plain)
2014-11-07 19:03 UTC, Илья Индиго
no flags Details
Media info work (14.89 KB, text/plain)
2014-11-07 19:27 UTC, Илья Индиго
no flags Details
MPlayer (11.00 KB, text/plain)
2014-11-07 19:43 UTC, Илья Индиго
no flags Details
MPlayer (11.00 KB, image/png)
2014-11-07 19:44 UTC, Илья Индиго
no flags Details

Description Илья Индиго 2014-11-07 14:59:33 UTC
Created attachment 109089 [details]
mplayer2 -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /ILYA/Video/Documentaries/Space/Through\ the\ Wormhole/Through\ the\ Wormhole\ 3.03\ -\ Is\ The\ Universe\ Alive.mkv

Nvidia GeForce 8600 GT don't correct decode h264 video via VDPAU on MPlayer2 and mpv.(See Attachment)
Firmware I got from Nvidia 340.58 as written on this site http://nouveau.freedesktop.org/wiki/VideoAcceleration
Without firmware h264 don't work. With proprietary blob h264 decoding work fine, but with green flash during (re)initialization video.
openSUSE 12.3 x86_64 | Kernel 3.17.2-desktop | XOrg 7.6 1.16.1 | Mesa 10.3.2 | nouveau 1.0.11 | Firmware from Nvidia 340.58
Comment 1 Илья Индиго 2014-11-07 15:02:05 UTC
Created attachment 109090 [details]
MPlayer2.png
Comment 2 Илья Индиго 2014-11-07 15:07:53 UTC
[code]ilya@ilya:~> 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     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

Output surface:

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

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                         -
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 [/code]
Comment 3 Ilia Mirkin 2014-11-07 17:57:38 UTC
Do any videos work, or do they all look messed up? Does the video keep playing (with just the top quarter being shown) or does it freeze? Can you double-check it with mplayer (vs mplayer2)? MPlayer2 does vdpau stuff very differently.
Comment 4 Илья Индиго 2014-11-07 19:01:11 UTC
Created attachment 109105 [details]
mpv opengl-hd/VDPAU
Comment 5 Илья Индиго 2014-11-07 19:03:02 UTC
Created attachment 109106 [details]
mediainfo
Comment 6 Илья Индиго 2014-11-07 19:03:37 UTC
I checked, is not, not all video is broken, and only this season series. I have it only in FullHD. Seen in HD output normally. Now try to download anything else in FullHD and check how it will be played.
Link to the torrent of the series http://rutracker.org/forum/viewtopic.php?t=4763644
Playing with normal sound, without freezing 1/5 screen with the appearance of artifacts on this part of the screen.
Through mpv through VDPAU, played similarly. Through mpv through opengl-hq/VDPAU played worse. 4/5 part of the screen is flashing dark green stripes. See Atachment.
I brought in atachment output mediainfo this video file.
Comment 7 Ilia Mirkin 2014-11-07 19:14:29 UTC
(In reply to Ilya Indigo from comment #6)
> Through mpv through VDPAU, played similarly. Through mpv through

Please double-check with mplayer -- not mplayer2, not mpv, not xine, not gstreamer, not anything else... mplayer. http://mplayerhq.hu/

I highly suspect it'll be the same issues, but it's still good to know.

Assuming that the same issues persist, can you grab the first ~200 lines from the output of

VDPAU_TRACE=255 mplayer -vo vdpau -vc ffh264vdpau foo.mkv

This should include full frame contents and settings being sent to vdpau. Additionally, include the first, say, 100KB of the video file (double-check first that it plays ok without vdpau and is still broken with vdpau) which should make testing much easier.
Comment 8 Илья Индиго 2014-11-07 19:27:28 UTC
1/5 = 1/4 //fixed
4/5 = 3/4 //fixed
I uploaded another video in FullHD, and it work normal from VDPAU.
http://rutracker.org/forum/viewtopic.php?t=4519200
meduiainfo this file attached.
Comment 9 Илья Индиго 2014-11-07 19:27:56 UTC
Created attachment 109111 [details]
Media info work
Comment 10 Илья Индиго 2014-11-07 19:43:09 UTC
Created attachment 109112 [details]
MPlayer
Comment 11 Илья Индиго 2014-11-07 19:44:36 UTC
Created attachment 109113 [details]
MPlayer
Comment 12 Илья Индиго 2014-11-07 19:45:39 UTC
mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /ILYA/Video/Documentaries/Space/Through\ the\ Wormhole/Through\ the\ Wormhole\ 3.03\ -\ Is\ The\ Universe\ Alive.mkv
MPlayer -4.7 (C) 2000-2014 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /ILYA/Video/Documentaries/Space/Through the Wormhole/Through the Wormhole 3.03 - Is The Universe Alive.mkv.
libavformat version 55.48.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
[lavf] stream 2: audio (dca), -aid 1, -alang eng
VIDEO:  [H264]  1920x1080  0bpp  50.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 encoder: libebml v1.3.0 + libmatroska v1.4.0
 creation_time: 2014-06-13 10:53:11
Load subtitles in /ILYA/Video/Documentaries/Space/Through the Wormhole/
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.69.100 (internal)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration  [zoom]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration  [zoom]
A:  44.8 V:  44.8 A-V:  0.000 ct:  0.000   0/  0 17%  0%  0.8% 3 0 


Black  screen with sound and blinking pixels in left upper conner
Comment 13 Илья Индиго 2014-11-07 20:25:35 UTC
$ VDPAU_TRACE=255 mplayer -vo vdpau -vc ffh264vdpau /ILYA/Video/Documentaries/Space/Through\ the\ Wormhole/Through\ the\ Wormhole\ 3.03\ -\ Is\ The\ Universe\ Alive.mkv 
MPlayer -4.7 (C) 2000-2014 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /ILYA/Video/Documentaries/Space/Through the Wormhole/Through the Wormhole 3.03 - Is The Universe Alive.mkv.
libavformat version 55.48.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
[lavf] stream 2: audio (dca), -aid 1, -alang eng
VIDEO:  [H264]  1920x1080  0bpp  50.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 encoder: libebml v1.3.0 + libmatroska v1.4.0
 creation_time: 2014-06-13 10:53:11
Load subtitles in /ILYA/Video/Documentaries/Space/Through the Wormhole/
Failed to open VDPAU trace library /usr/lib64/vdpau/libvdpau_trace.so.1: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.69.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:  25.9 (25.9) of 2616.1 (43:36.0)  0.9% 


MPlayer interrupted by signal 2 in module: play_audio
A:  26.0 (25.9) of 2616.1 (43:36.0)  0.9% 

Exiting... (Quit)


I do not quite understand what should happen as a result.
And what can be cut off if you can console Command, 100 kb file?
Comment 14 Martin Peres 2019-12-04 08:51:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/148.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.