View previous topic :: View next topic |
Author |
Message |
mendelhex n00b
Joined: 10 May 2006 Posts: 2
|
Posted: Sun May 28, 2006 7:09 pm Post subject: mplayer-bin and opengl |
|
|
I have having difficulty using mplayer-bin for playing an .avi with the vo set to gl. When i do that, my cpu shoots up to 100%, and the process using that much is not mplayer-bin, but X! I have opengl set up for my ati x800. glxgears works, and glxinfo displays the ati information. However, if i choose x11 as my vo, i get hardly any, if no, cpu usage. Comments, answers?
P.S. Could anyone explain the difference between the vo being opengl and x11?
[edit] gmplayer-bin is also acting the same way. [/edit] |
|
Back to top |
|
|
Unne l33t
Joined: 21 Jul 2003 Posts: 616
|
Posted: Mon May 29, 2006 7:30 pm Post subject: |
|
|
http://www.mplayerhq.hu/DOCS/HTML/en/output-trad.html
Quote: | 8.2.1. Xv
Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines using the XVideo extension. This is what the option '-vo xv' uses. |
Quote: | 8.2.8. OpenGL output
MPlayer supports displaying movies using OpenGL, but if your platform/driver supports xv as should be the case on a PC with Linux, use xv instead, OpenGL performance is considerably worse. If you have an X11 implementation without xv support, OpenGL is a viable alternative. |
Quote: | 8.2.12. X11
Avoid if possible. Outputs to X11 (uses shared memory extension), with no hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still slow) software scaling, use the options -fs -zoom. Most cards have hardware scaling support, use the -vo xv output for them, or -vo xmga for Matrox cards. |
_________________ Obligatory hompage link. |
|
Back to top |
|
|
galidor Apprentice
Joined: 07 Mar 2005 Posts: 157 Location: Valencia
|
Posted: Wed May 31, 2006 12:26 am Post subject: |
|
|
Do you have problems running any other opengl aplication? Just like 3ddesktop or simply glxgears.
I'm having the same problem with mplayer-bin with the options -vo gl or -vo gl2 and any other aplication based on opengl.
I hope this info helps us. _________________ Linux User #373183 |
|
Back to top |
|
|
paszczi Tux's lil' helper
Joined: 23 Sep 2005 Posts: 117 Location: Poznan, Poland
|
Posted: Wed May 31, 2006 1:16 pm Post subject: |
|
|
Well I had the same problems with ati card few days ago, please post output of these commands:
Code: |
LIBGL_DEBUG=verbose mplayer-bin
|
and
Code: |
cat /etc/env.d/09ati
|
In my case problem was in the improperly set LIBGL_DRIVERS_PATH environment variable, when I changed them in env.d/ati to:
Code: |
LIBGL_DRIVERS_PATH="/usr/lib32/xorg/modules/dri:/usr/lib64/xorg/modules/dri"
|
And everything (after reboot) started working again
I use gl all the time since xv doesn't work on tv-out. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|