nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   8756: XvMC not working on 7300 Go (http://www.nvnews.net/vbulletin/showthread.php?t=68451)

elehvi 04-14-06 02:18 PM

8756: XvMC not working on 7300 Go
Anyone managed to get XvMC working on a Geforce Go 7300? I'm using mplayer on Ubuntu Dapper AMD64 and here's what happens:

XVMC_DEBUG=2 mplayer -vo xvmc -vc ffmpeg12mc ./test.mpeg


Starting playback...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: vo config request - 704 x 576 (preferred colorspace: MPEG1/2 Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 704x576 => 1024x576 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 274 grabed
vo_xvmc: Found matching surface with id=54434449 on 274 port at 0 adapter
NV-XVMC (WARN): failed to allocate AGP DMA buffer
NV-XVMC (WARN): allocated framebuffer DMA buffer instead
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=1 unsigned_intra=0
vo_xvmc: looking for OSD support
Subpicture id 0x34344149
vo_xvmc: OSD support by additional frontend rendering
Only buffers allocated by vo_xvmc allowed
mplayer: vd_ffmpeg.c:1034: mc_get_buffer: Assertion `0' failed.

... and after that mplayer crashes with 'MPlayer interrupted by signal 6 in module: decode_video'.

Dr. Tyrell 04-14-06 04:22 PM

Re: 8756: XvMC not working on 7300 Go
I had to turn off Composite in xorg.conf, and then switch the order of -vc and -vo, then it worked.

Also, for xine, i had to make a file named /etc/X11/XvMCConfig containing only one line:

Xine's usage is called xxmc, DON'T USE XINE'S XVMC, IT WON'T WORK.

Now both mplayer and xine (which i prefer) both use xvmc extension, but I lose the kde shadows and trans because of shutting off composite.

Dr. Tyrell

elehvi 04-15-06 08:50 AM

Re: 8756: XvMC not working on 7300 Go
Thanks Dr. Tyrell, that fixed xine / gxine for me! Using XvMC gives a very nice improvement in CPU usage over plain Xv.

Unfortunately MPlayer is still crashing with XvMC. Turning off composite didn't help and neither did switching the -vo -vc order. But I'm starting to think it's probably a bug in the Ubuntu MPlayer package since Xine has no problems with the XvMC extension. Time to file a bug report. :)

PenGun 04-15-06 02:04 PM

Re: 8756: XvMC not working on 7300 Go
You need to build an mplayer against the libs that come with 8756.

--enable-xvmc --with-xvmclib=XvMCNVIDIA


elehvi 04-15-06 07:46 PM

Re: 8756: XvMC not working on 7300 Go
PenGun, thanks - that did the trick! I compiled MPlayer against the new libs and XvMC is now working.

Btw. Is this really necessary every time a new driver is released? I thought XvMC was a standardized interface and that only a set of driver libraries is needed for it to work. Or is it just MPlayer that's particularly cranky?

PenGun 04-16-06 01:32 PM

Re: 8756: XvMC not working on 7300 Go
I think it's just mplayer. I was surprised that it needed to be recompiled.


Bzzzttt 04-25-06 07:47 AM

Re: 8756: XvMC not working on 7300 Go

I'm encountering problems to make my GeForce 7300 Go work on my Asus A6Vm notebook. Once the file have been installed X.org crashes by telling me that my video card is not supported by the drivers. So I wonder whether you had some trouble for installing the nVidia drivers, ehlevi !

Otherwise I'm going to begin the Linux driver installation again :D


netllama 04-27-06 12:53 PM

Re: 8756: XvMC not working on 7300 Go
Bzzzttt, if you're experiencing problems with xvmc, please provide the following:
0) nvidia-bug-report.log
1) full mplayer output with XVMC_DEBUG=2
2) The type of media you are trying to play with mplayer


All times are GMT -5. The time now is 11:22 AM.

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