Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-14-08, 11:14 PM   #25
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: mplayer vdpau

7950GX2 supported VC-1 hardware acceleration?
sl1pkn07 is offline   Reply With Quote
Old 11-14-08, 11:15 PM   #26
anonobomber
Registered User
 
Join Date: Oct 2004
Posts: 7
Default Re: mplayer vdpau

Quote:
Originally Posted by sl1pkn07 View Post
7950GX2 supported VC-1 hardware acceleration?
http://www.nvidia.com/object/IO_43029.html - according to this VC-1 is not supported for your card.
anonobomber is offline   Reply With Quote
Old 11-14-08, 11:34 PM   #27
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: mplayer vdpau

is more important the "IDCT"? in the table only disable this feature... (high and standar profile)
sl1pkn07 is offline   Reply With Quote
Old 11-14-08, 11:51 PM   #28
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by philipl View Post
vdp_imp_device_create_x11()
...
vdp_decoder_create()
Error at libvo/vo_vdpau.c:637
Sorry, you also need to:

export VDPAU_DEBUG=2
Stephen Warren is offline   Reply With Quote
Old 11-15-08, 12:00 AM   #29
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by rapsure View Post
What version of libx264 does the SVN snapshot that the script pull require? When I when to compile it I got the following error:
The MPlayer patches haven't been validated against any version of libx264.

Your best bet is to look at the svn revisions that the patch pulls and pull libx264 from the same date/time-stamp. However, there are no guarantees that this will work.

Last edited by Stephen Warren; 11-15-08 at 12:02 AM. Reason: Typo
Stephen Warren is offline   Reply With Quote
Old 11-15-08, 12:40 AM   #30
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: mplayer vdpau

Having the same problem as philipl. Here's my output with both debug options set. Please let me know if the hex would be helpful... it was thousands of lines so I left it out.

http://pastebin.com/m19aade0

TheUni
theuni is offline   Reply With Quote
Old 11-15-08, 12:48 AM   #31
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: mplayer vdpau

I've built a package for ubuntu, it doesn't have any dependencies so you'll need to install the standard mplayer package first I think..

Here it is :
http://www.avenard.org/files/mplayer...29-1_amd64.deb

Watching a 1080p H264 video ; the CPU usage is higher than what I would have expected: about 47% (on a E8500 intel: dual-core 3.16GHz).
There's quite a significant amount of tearing in the video ...

But at least xorg doesn't take 100% of the CPU time as when using xv...
The video is great using the opengl renderer ; but unfortunately there's quite a delay between the sound and the video, and the more you watch the greater the gap easy)

Edit: I didn't specify which codec to use, that's why it didn't show low CPU usage... With the Grey.ts demo file it works ; CPU usage for mplayer is less than 2% the system idling at 99.7% ; impressive !

The tearing is still there though ... also noticing some video corruption from time to time: big blocky bits


I haven't been able to play other H264 videos I have here...
myth@pcliving:~$ mplayer -vo vdpau -vc ffh264vdpau /data/videos/dfn_stardust1080.mkv
MPlayer dev-SVN-r27408-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU E8500 @ 3.16GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing /data/videos/dfn_stardust1080.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Stardust", -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1920x800 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
================================================== ========================
================================================== ========================
Forced audio codec: mad
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
================================================== ========================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 800 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x800 => 1920x800 H.264 HIGH VDPAU acceleration
Error at libvo/vo_vdpau.c:826

Interestingly, after it crashed, it screws up my bash session ; carriage returns do not work anymore and I need to restart a terminal.
jyavenard is offline   Reply With Quote
Old 11-15-08, 12:58 AM   #32
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by theuni View Post
Having the same problem as philipl. Here's my output with both debug options set. Please let me know if the hex would be helpful... it was thousands of lines so I left it out.
theuni, You're having a different issue; all the VDPAU objects are being allocated correctly, but there's a failure some time later whilst actually performing the decode. Can you post a link to the clip you're playing, and we'll see if we can repro the issue. What video card are you using (cat /proc/driver/nvidia/cards/0, or generate an nvidia-bug-report)
Stephen Warren is offline   Reply With Quote

Old 11-15-08, 01:31 AM   #33
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: mplayer vdpau

Stephen

All of the h264 720p/1080p movies in my collection have failed, though some of the samples from the mplayer ftp, and random ones around the web work.

Both samples on this site fail for me:
http://www.digital-digest.com/articl...est_page1.html


Code:
$ cat /proc/driver/nvidia/cards/0
Model:           GeForce 8800 GT
IRQ:             16
Video BIOS:      62.92.12.00.01
Card Type:       PCI-E
DMA Size:        40 bits
DMA Mask:        0xffffffffff
Bus Location:    01.00.0
Running an 8800gt and a 7600gt. 8800gt is running the X session that i'm currently testing.

Code:
$ uname -a
Linux cory64 2.6.25-gentoo-r7 #14 SMP PREEMPT Mon Nov 10 12:57:47 EST 2008 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
Bug report here: http://pastebin.com/m3f5f8e17

Edit: Crash kills my bash session, same as jyavenard. X86_64 here, btw.

TheUni
theuni is offline   Reply With Quote
Old 11-15-08, 02:08 AM   #34
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: mplayer vdpau

Not sure if it will help ; but here is with the debug output

Code:
myth@pcliving:~$ mplayer -vo vdpau -vc ffh264vdpau /data/videos/dfn_stardust1080.mkv ex
MPlayer dev-SVN-r27408-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         E8500  @ 3.16GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing /data/videos/dfn_stardust1080.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Stardust", -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1920x800  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 800 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x800 => 1920x800 H.264 HIGH VDPAU acceleration 
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x235d720, 0, -, -)
    -> 0, 1, 0x7f2e0d38eb70
vdp_get_proc_address(1, 5, -)
    -> 0, 0x7f2e0d2811a0
vdp_get_proc_address(1, 9, -)
    -> 0, 0x7f2e0d283480
vdp_get_proc_address(1, 10, -)
    -> 0, 0x7f2e0d281110
vdp_get_proc_address(1, 13, -)
    -> 0, 0x7f2e0d2875c0
vdp_get_proc_address(1, 12, -)
    -> 0, 0x7f2e0d2870b0
vdp_get_proc_address(1, 24, -)
    -> 0, 0x7f2e0d287af0
vdp_get_proc_address(1, 22, -)
    -> 0, 0x7f2e0d286300
vdp_get_proc_address(1, 18, -)
    -> 0, 0x7f2e0d282d70
vdp_get_proc_address(1, 19, -)
    -> 0, 0x7f2e0d281080
vdp_get_proc_address(1, 46, -)
    -> 0, 0x7f2e0d2845c0
vdp_get_proc_address(1, 47, -)
    -> 0, 0x7f2e0d286180
vdp_get_proc_address(1, 53, -)
    -> 0, 0x7f2e0d280ec0
vdp_get_proc_address(1, 54, -)
    -> 0, 0x7f2e0d2865c0
vdp_get_proc_address(1, 55, -)
    -> 0, 0x7f2e0d280e30
vdp_get_proc_address(1, 56, -)
    -> 0, 0x7f2e0d282060
vdp_get_proc_address(1, 57, -)
    -> 0, 0x7f2e0d280da0
vdp_get_proc_address(1, 63, -)
    -> 0, 0x7f2e0d280cb0
vdp_get_proc_address(1, 64, -)
    -> 0, 0x7f2e0d281e80
vdp_get_proc_address(1, 4096, -)
    -> 0, 0x7f2e0d281c60
vdp_get_proc_address(1, 37, -)
    -> 0, 0x7f2e0d282560
vdp_get_proc_address(1, 38, -)
    -> 0, 0x7f2e0d280f50
vdp_get_proc_address(1, 40, -)
    -> 0, 0x7f2e0d283cf0
vdp_get_proc_address(1, 65, -)
    -> 0, 0x7f2e0d281d50
vdp_presentation_queue_target_create_x11(1, 46137345, -)
    -> 0, 2
vdp_presentation_queue_create(1, 2, -)
    -> 0, 3
vdp_decoder_create(1, 8, 1920, 800, -)
    -> 0, 4
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 5
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 6
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 7
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 8
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 9
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 10
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 11
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 12
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 13
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 14
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 15
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 16
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 17
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 18
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 19
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 20
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 21
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1920, 800, 0}, -)
    -> 0, 22
vdp_output_surface_create(1, 0, 1920, 1080, -)
    -> 0, 23
vdp_output_surface_create(1, 0, 1920, 1080, -)
    -> 0, 24
vdp_decoder_render(4, 5, {...}, 1, {{(ver 0) 1087, 00 00 02 4d 06 05 ff ff 49 dc 45 e9 bd e6 d9 48 b7 96 2c d8 20 d9 23 ee ef 78 32 36 34 20 2d 20 63 6f 72 65 20 35 37 20 73 76 6e 2d 37 31 35 20 2d 20 48 2e 32 36 34 2f 4d 50 45 47 2d 34 20 41 56 43 20 63 6f 64 65 63 20 2d 20 43 6f 70 79 6c 65 66 74 20 32 30 30 35 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 76 69 64 65 6f 6c 61 6e 2e 6f 72 67 2f 78 32 36 34 2e 68 74 6d 6c 20 2d 20 6f 70 74 69 6f 6e 73 3a 20 63 61 62 61 63 3d 31 20 72 65 66 3d 35 20 64 65 62 6c 6f 63 6b 3d 31 3a 2d 32 3a 2d 31 20 61 6e 61 6c 79 73 65 3d 30 78 33 3a 30 78 31 31 33 20 6d 65 3d 75 6d 68 20 73 75 62 6d 65 3d 37 20 62 72 64 6f 3d 31 20 6d 69 78 65 64 5f 72 65 66 3d 31 20 6d 65 5f 72 61 6e 67 65 3d 31 36 20 63 68 72 6f 6d 61 5f 6d 65 3d 31 20 74 72 65 6c 6c 69 73 3d 31 20 38 78 38 64 63 74 3d 31 20 63 71 6d 3d 32 20 64 65 61 64 7a 6f 6e 65 3d 32 31 2c 31 31 20 63 68 72 6f 6d 61 5f 71 70 5f 6f 66 66 73 65 74 3d 30 20 74 68 72 65 61 64 73 3d 33 20 6e 72 3d 30 20 64 65 63 69 6d 61 74 65 3d 31 20 6d 62 61 66 66 3d 30 20 62 66 72 61 6d 65 73 3d 33 20 62 5f 70 79 72 61 6d 69 64 3d 31 20 62 5f 61 64 61 70 74 3d 31 20 62 5f 62 69 61 73 3d 30 20 64 69 72 65 63 74 3d 31 20 77 70 72 65 64 62 3d 31 20 62 69 6d 65 3d 31 20 6b 65 79 69 6e 74 3d 32 35 30 20 6b 65 79 69 6e 74 5f 6d 69 6e 3d 32 35 20 73 63 65 6e 65 63 75 74 3d 34 30 28 70 72 65 29 20 72 63 3d 32 70 61 73 73 20 62 69 74 72 61 74 65 3d 39 38 32 38 20 72 61 74 65 74 6f 6c 3d 31 2e 30 20 72 63 65 71 3d 27 62 6c 75 72 43 70 6c 78 5e 28 31 2d 71 43 6f 6d 70 29 27 20 71 63 6f 6d 70 3d 30 2e 36 30 20 71 70 6d 69 6e 3d 33 20 71 70 6d 61 78 3d 35 31 20 71 70 73 74 65 70 3d 34 20 63 70 6c 78 62 6c 75 72 3d 32 30 2e 30 20 71 62 6c 75 72 3d 30 2e 35 20 69 70 5f 72 61 74 69 6f 3d 31 2e 34 30 20 70 62 5f 72 61 74 69 6f 3d 31 2e 33 30 00 80 00 00 00 18 67 64 00 33 ac 34 e2 40 78 06 5a 10 00 00 07 d0 00 01 76 a8 f1 83 18 98 00 00 00 8a 68 ee bc e5 0a 46 10 a3 04 44 86 02 01 10 20 40 a1 10 14 85 02 21 00 28 03 f8 3e 01 20 06 10 30 01 c2 06 e5 05 ab 37 05 01 80 c8 12 20 40 84 06 7f 81 10 10 02 10 28 40 80 d4 85 21 1d 19 e8 51 d5 98 c5 90 b2 18 e8 92 b3 11 90 40 92 a3 10 54 59 45 08 1c 3c 48 48 35 0d 83 81 c3 c0 8d 03 34 47 fd 34 d1 8e 49 4c 63 90 c7 29 86 09 88 89 88 23 10 20 48 94 30 40 c8 d1 21 80 90 c1 a1 30 4c 18 86 41 e0 40 22 04 c8 16 b0 00 00 01 40 65 88 80 20 00 08 57 fe f6 f0 fe 05 37 66 5f 75 09 71 1c de 89 d3 31 fb f1 5b 8b a3 43 7b dc e0 00 00 03 00 00 03 00 00 03 00 00 03 00 00 7c cb 32 f1 ec ec a7 64 bc 30 00 00 03 00 00 03 00 01 b7 00 00 03 00 64 40 00 00 28 60 00 00 16 b0 00 00 12 80 00 00 0e e0 00 00 10 80 00 00 16 40 00 00 23 80 00 00 2f 80 00 00 5e 00 00 03 00 88 00 00 03 01 10 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 5b c0 }})
    -> 0
vdp_decoder_render(4, 6, {...}, 1, {{(ver 0) 57, 00 00 00 35 41 9a 01 02 32 1f 5f fe 9e 10 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 65 40 }})
    -> 0
vdp_decoder_render(4, 7, {...}, 1, {{(ver 0) 54, 00 00 00 32 41 9e 02 01 3c 43 ab 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 03 00 00 0f 48 }})
    -> 2
Error at libvo/vo_vdpau.c:826
VC1 hardware decoding doesn't work with 9400GT here (not a 9200 or 9300 obviously)
jyavenard is offline   Reply With Quote
Old 11-15-08, 05:59 AM   #35
lintweaker
Registered User
 
Join Date: Oct 2004
Posts: 44
Default Re: mplayer vdpau

this looks very promising! I tried a couple of h264 movies where normally mplayer would say that my system is to slow to play them. With de patched mplayer it only uses ~ 4-5% of 1 of my CPUs! It looked very good, although there where some problems with de-interlacing.

I tested this with a 8600GTS, it's a pity that my 6150 based mythtv box cannot benefit from this new driver.

A very nice surprise from nvidia! Great work!

Off to test some more....

Last edited by lintweaker; 11-15-08 at 06:00 AM. Reason: Fixed typo and added last line
lintweaker is offline   Reply With Quote
Old 11-15-08, 06:10 AM   #36
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: mplayer vdpau

Just add a silent lowend 8300/8400 to your mythtv box.
Thunderbird is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 06:30 AM
VDPAU and KDE 4.8 compositing = slow Pie-rate NVIDIA Linux 30 05-23-12 08:07 AM
VDPAU testing tool crisalide NVIDIA Linux 392 04-29-12 07:01 PM
mplayer & xmms problems! replys2me NVIDIA Linux 5 09-06-02 03:34 PM

All times are GMT -5. The time now is 11:48 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.