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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-15-08, 05:55 AM   #37
lintweaker
Registered User
 
Join Date: Oct 2004
Posts: 44
Wink Re: mplayer vdpau

Quote:
Originally Posted by Thunderbird View Post
Just add a silent lowend 8300/8400 to your mythtv box.
Thanks for the suggestion, I will probably hold off modifying my mythtv setup till the driver is deemed stable and mplayer has incorporated the patches.

On the other hand, this new driver is also a very good excuse to upgrade my mythtv with a new nvidia based mobo
lintweaker is offline   Reply With Quote
Old 11-15-08, 05:56 AM   #38
Zarbis
Registered User
 
Join Date: Nov 2008
Posts: 12
Default Re: mplayer vdpau

Is it planned to implement VDPAU support for 7xxx series? I'm currently interested in GF 7600GT.
Thanks alot for your job.
Zarbis is offline   Reply With Quote
Old 11-15-08, 08:57 AM   #39
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: mplayer vdpau

+1. but with 7950GX2
sl1pkn07 is offline   Reply With Quote
Old 11-15-08, 09:06 AM   #40
bexbier
Registered User
 
Join Date: Oct 2008
Posts: 19
Default Re: mplayer vdpau

hy

at first .... nic to hear that came out nice stuff for hardware decoding on linux ...BIG THX FOR THAT !!

but i have an problem to compile mplayer with the checkout-patch script :

Code:
coder.o loader/dmo/buffer.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o stream/ai_oss.o libmpeg2/idct_mmx.o libmpeg2/motion_comp_mmx.o mp3lib/decode_i586.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o mp3lib/dct64_mmx.o libswscale/libswscale.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a  -Wl,-z,noexecstack    -lz -lpthread -ldl -rdynamic  -lm   
libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.c:(.text+0x25d): undefined reference to `h264_vdpau_decoder'
allcodecs.c:(.text+0x64d): undefined reference to `vc1_vdpau_decoder'
allcodecs.c:(.text+0x701): undefined reference to `wmv3_vdpau_decoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1
im running ubuntu 8.10 on an p5n7a-vm

how can i fix it ?

regards

bex
bexbier is offline   Reply With Quote
Old 11-15-08, 09:26 AM   #41
raphoun
Registered User
 
Join Date: Jun 2007
Location: Orléans (france)
Posts: 24
Default Re: mplayer vdpau

It's still far away from purevideo on Windows
See: http://www.nvidia.fr/docs/CP/11084/P...Comparison.pdf
raphoun is offline   Reply With Quote
Old 11-15-08, 09:36 AM   #42
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: mplayer vdpau

As mentioned in other threads no support is planned for geforce6/7 and G80 models. The reason is that they lack dedicated purevideo hardware which modern geforce8/9 cards have.
Thunderbird is offline   Reply With Quote
Old 11-15-08, 09:37 AM   #43
DeiF
Registered User
 
Join Date: Oct 2008
Posts: 114
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:

Code:
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include  -I/usr/include/SDL  -D_REENTRANT    -I/usr/include/freetype2 -I/usr/include/dirac     -c -o libx264.o libx264.c
libx264.c: In function 'X264_init':
libx264.c:165: error: 'x264_param_t' has no member named 'b_bframe_adaptive'
libx264.c:230: error: 'struct <anonymous>' has no member named 'b_bidir_me'
libx264.c:231: error: 'struct <anonymous>' has no member named 'b_bframe_rdo'
libx264.c:256: error: 'struct <anonymous>' has no member named 'psz_rc_eq'
make[1]: *** [libx264.o] Error 1
make[1]: Leaving directory `/home/brian/download/mplayer-vdpau-3076399/mplayer-vdpau/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
Quote:
Originally Posted by anonobomber View Post
I'm getting the same thing. Running Debian Lenny amd64 here with all system packages updated. I tried gcc-3.4, gcc-4.1, gcc-4.2 and gcc-4.3 and all result in the same error.
Quote:
Originally Posted by Stephen Warren View Post
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.

I found the solution.

Open the file "libavcodec/libx264.c" and remove these lines:
Code:
x4->params.analyse.b_bidir_me = avctx->bidir_refine > 0;
x4->params.analyse.b_bframe_rdo = avctx->flags2 & CODEC_FLAG2_BRDO;
x4->params.rc.psz_rc_eq = avctx->rc_eq;
Change this:
Code:
x4->params.b_bframe_adaptive = avctx->b_frame_strategy;
to this:
Code:
x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
With that it should compile. Most distros do that already for their mplayer packages.


My results:
  • I have a 8400GS card (not supported for VC-1 IIRC). The last 2 files print this error message: Error at libvo/vo_vdpau.c:637
  • I tried to seek in the "nature" video (the snake one) and my PC crashed (froze) completely. I had to reboot pressing the reset button.

The videos play nice, with low CPU. I'll continue testing...
DeiF is offline   Reply With Quote
Old 11-15-08, 09:50 AM   #44
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: mplayer vdpau

Quote:
Originally Posted by Thunderbird View Post
As mentioned in other threads no support is planned for geforce6/7 and G80 models. The reason is that they lack dedicated purevideo hardware which modern geforce8/9 cards have.
the series 6XXX/7XXX not have the capacity to do this? ("Purevideo Ready")
sl1pkn07 is offline   Reply With Quote

Old 11-15-08, 09:52 AM   #45
tx2rx
Registered User
 
Join Date: Jun 2005
Posts: 18
Default Re: mplayer vdpau

Quote:
Originally Posted by bexbier View Post
hy

at first .... nic to hear that came out nice stuff for hardware decoding on linux ...BIG THX FOR THAT !!

but i have an problem to compile mplayer with the checkout-patch script :

Code:
coder.o loader/dmo/buffer.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o stream/ai_oss.o libmpeg2/idct_mmx.o libmpeg2/motion_comp_mmx.o mp3lib/decode_i586.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o mp3lib/dct64_mmx.o libswscale/libswscale.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a  -Wl,-z,noexecstack    -lz -lpthread -ldl -rdynamic  -lm   
libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.c:(.text+0x25d): undefined reference to `h264_vdpau_decoder'
allcodecs.c:(.text+0x64d): undefined reference to `vc1_vdpau_decoder'
allcodecs.c:(.text+0x701): undefined reference to `wmv3_vdpau_decoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1
im running ubuntu 8.10 on an p5n7a-vm

how can i fix it ?

regards

bex
I ran into the same issue use instead:

./configure --enable-vdpau

Make sure you make clean and then run make again.

Regarding the playback, the sample worked fine but like others I've run into problems like:

Quote:
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 HIGH VDPAU acceleration
Error at libvo/vo_vdpau.c:826
I guess it's a matter of time for the driver and library/API to stabilise abit
tx2rx is offline   Reply With Quote
Old 11-15-08, 10:27 AM   #46
Civilus
Registered User
 
Join Date: Apr 2008
Location: Russia, Moscow
Posts: 39
Send a message via ICQ to Civilus
Default Re: mplayer vdpau

Yet another problem:
http://paste.org.ru/?6q37q8:
Code:
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 HIGH VDPAU acceleration)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 HIGH VDPAU acceleration)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Unexpected init_vo error.
Video card: gf8800GT (g92).
Code:
civil@civil-home ~ $ cat /proc/driver/nvidia/cards/0
Model:           GeForce 8800 GT
IRQ:             16
Video BIOS:      62.92.1f.00.82
Card Type:       PCI-E
DMA Size:        40 bits
DMA Mask:        0xffffffffff
Bus Location:    01.00.0
btw, I've tried to apply patch to current mplayer's trunk. It applied with minor modifications, but can't test. -vo vdpau works, but -vo vdpau -vc codec - same result as with recomended version.
If anybody interested - http://rapidshare.com/files/16405080...s.tar.bz2.html (nellymoserenc.patch is for missing header in nellymoserenc.c in one of mplayer's rev's. Maybe it's fixed now)

p.s. almost forgoten:
Code:
civil@civil-home ~ $ uname -a
Linux civil-home 2.6.27-gentoo #1 SMP PREEMPT Thu Oct 23 14:57:45 MSD 2008 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
http://rafb.net/p/1UQ8NZ81.html - result of nvidia-bug-report.sh if it'll be useful.
Civilus is offline   Reply With Quote
Old 11-15-08, 10:43 AM   #47
r0mik
Registered User
 
Join Date: Nov 2008
Location: Ukraine / Kiev
Posts: 2
Default Re: mplayer vdpau

Hi!
I get this error:

Code:
/usr/local/mplayer-vdpau/bin/mplayer -vo vdpau -vc ffh264vdpau films/Napragi\ izvilini.mkv 
MPlayer dev-SVN-r27408-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing films/Napragi izvilini.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Get.Smart.2008.720p.BluRay.x264-SiNNERS", -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang rus
[mkv] Track ID 3: audio (A_AC3), -aid 1, -alang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  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))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 HIGH VDPAU acceleration 
Error at libvo/vo_vdpau.c:180
VDP_STATUS = 1
This error in:
Code:
    // Create Device
    vdp_st = vdp_device_create_x11(
        mDisplay, //x_display,
        mScreen, //x_screen,
        &vdp_device,
        &vdp_get_proc_address
    );
    CHECK_ST
vdp_device_create_x11 returns an error VDP_STATUS_NO_IMPLEMENTATION (No backend implementation could be loaded).

Running an GF8400M-GS.

What this?


Thanks!
r0mik is offline   Reply With Quote
Old 11-15-08, 10:52 AM   #48
WhiteDwarf
Registered User
 
Join Date: Jul 2004
Posts: 29
Default Re: mplayer vdpau

Quote:
Originally Posted by sl1pkn07 View Post
the series 6XXX/7XXX not have the capacity to do this? ("Purevideo Ready")
The GeForce 6/7 series and G80 based GeForce 8 series PureVideo hardware only accelerates part of the decode process. What it supports is pretty much all already exposed in xvmc for MPEG-2, just not for H.264 (not including G80, which has no video decode acceleration exposed at all). Since these cards don't accelerate the entire decode process and VDPAU seems to be all or nothing, it isn't available on these cards.

The PureVideo hardware in newer cards, that are supported by VDPAU, accelerate the entire process for H.264, MPEG-1, and MPEG-2. From what I've been reading, only a few (8200/8300/9300/9400 mGPUs, 9500/9600GT, and some mobile ones) accelerate the entire process for VC-1, so I wouldn't expect to see VC-1 decode available on many cards.

(Please correct me if I am wrong about any of these things).
WhiteDwarf 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 11:04 AM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 05:30 AM
VDPAU and KDE 4.8 compositing = slow Pie-rate NVIDIA Linux 30 05-23-12 07:07 AM
VDPAU testing tool crisalide NVIDIA Linux 392 04-29-12 06:01 PM
mplayer & xmms problems! replys2me NVIDIA Linux 5 09-06-02 02:34 PM

All times are GMT -5. The time now is 07:24 PM.


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