FS#13265 - [mplayer] compile in XvMC support by default

Attached to Project: Arch Linux
Opened by Frank Thieme (fthieme) - Friday, 13 February 2009, 21:53 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 12 January 2010, 13:20 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I just wondered why xvmc don't work on my machine, just to find out, that XvMC support is actually missing in the mplayer builds.


Additional info:
mplayer 28347-2

Steps to reproduce:

'mplayer -vo help' should give xvmc as an option, but doesn't
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 12 January 2010, 13:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  mplayer-30286-1
Comment by Eric Belanger (Snowman) - Saturday, 21 February 2009, 09:17 GMT
To have xvmc support, we need to add a libxvmc depends. It's only 77.94 K in install size and xine-lib already depends on it. Seems like a good idea to have this in mplayer too. Any objections?
Comment by Eric Belanger (Snowman) - Sunday, 22 February 2009, 20:13 GMT
xvmc support has been enabled in mplayer-28347-3 in testing. Please test (see http://www.archlinux.org/pipermail/arch-dev-public/2009-February/010332.html) and report any success/failures.
Comment by Alessandro Doro (adoroo) - Wednesday, 25 February 2009, 18:41 GMT
nvidia geforce fx5200, driver: nvidia-173xx, i686

$ cat /etc/X11/XvMCConfig
libXvMCNVIDIA_dynamic.so.1

$ mplayer -vo xvmc -vc ffmpeg12mc -fs dvd://7
works fine (relevant log info attached)


$ mplayer -radio channels=`cat channels` radio://{1..23}
works fine also

I can't test lirc support; my remote required lirc_gpio and I never managed to make it work under recent kernels.
Comment by Alessandro Doro (adoroo) - Friday, 27 February 2009, 13:49 GMT
@adoroo
$ mplayer -vo xvmc -vc ffmpeg12mc -fs dvd://7
works fine

...mmh, when it works.

Example:
· start system
· test mplayer/xvmc: freezes
· restart X, test mplayer/xvmc: freezes
· reboot system, test mplayer/xvmc: freezes
· halt system, boot system, test mplayer/xvmc: works

I don't know if this is a system or mplayer problem; I'll try to gather further information.

Note: mplayer freezes after the creation of the output window, without showing a single video frame. I have to kill it with Ctrl-C.
Comment by Frank Thieme (fthieme) - Friday, 27 February 2009, 14:29 GMT
I think it's my system not mplayers fault, but I just see a green frame instead of the video.

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
GMA 4500HD in Thinkpad SL300

It does not freeze, just don't show anything.

But I guess this is not a mplayer issue...
Comment by Alessandro Doro (adoroo) - Friday, 27 February 2009, 15:06 GMT
Weel, for me it IS a system issue. XvMC is working/not working in xine too.

Here is the xorg log diff.
Xorg.0.log (working XvMC)
Xorg.0.log.old (XvMC not working)

$ diff Xorg.0.log Xorg.0.log.old
190a191
> (II) NVIDIA(0): Detected AGP rate: 4X
215c216
< (II) NVIDIA(0): Initialized GPU GART.
---
> (II) NVIDIA(0): Initialized AGP GART.
Comment by Alessandro Doro (adoroo) - Friday, 27 February 2009, 16:27 GMT
@fthieme
It does not freeze, just don't show anything.

Are you playing a mpeg2 video stream? Other video formats aren't supported by XvMC and mplayer plays the audio stream discarding the video output.
Comment by Frank Thieme (fthieme) - Friday, 27 February 2009, 16:34 GMT
ehm, sorry - it shows a windows with a pale green color and thats all. So it's more than nothing ;)

VO: [xvmc] 352x240 => 352x262 MPEG1/2 Motion Compensation
Xlib: extension "Generic Event Extension" missing on display ":0.0".
vo_xvmc: Using Xv Adaptor #0 (Intel(R) Textured Video)
vo_xvmc: Port 81 grabed
vo_xvmc: Found matching surface with id=32315659 on 81 port at 0 adapter
[intel_xvmc] info: decoder type is i965 MPEG2 MC decoder
Xlib: extension "Generic Event Extension" missing on display ":0.0".
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=0 unsigned_intra=1
vo_xvmc: looking for OSD support
vo_xvmc: No OSD support for this mode
Comment by Adrian C. (anrxc) - Saturday, 31 October 2009, 22:17 GMT
In mplayer 29776-1 xvmc is once again missing. No explanation is given on the bug tracker.

Loading...