[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fixed - Re: video acceleration works for root, not normal users



Turns out it was something completely different:  in the 
~/.mplayer/config file for the normal user, I had the line "vo=gl2" 
(which directs MPlayer to use the GL2 video output method; this was 
needed by the previous video card driver.)  Root's MPlayer config file 
did not have this directive.  Apparently forcing it to use the GL2 
method is incompatible with the acceleration.  

Thanks to Richard Blumel, who emailed me some advice off-list that led 
to the solution.

Best,
Aaron

On Tuesday 13 June 2006 09:54 am, Aaron Maxwell wrote:
> Hi.  I'm running X.org 6.9.0.dfsg.1-4, on AMD64 testing.  The video
> card is a ATI Radeon 9550, and accelleration works fine when I startx
> as root.  However, if I go into X as a normal user, there is no
> acceleration.  The obvious guess is that this is due to permissions,
> but I have not found any.  For example,
>
>   shenri% ls -l /dev/fb0
>   crw-rw----  1 root video 29, 0 2006-06-13 09:27 /dev/fb0
> The normal user does indeed belong to the 'video' group, so that
> should not be the problem.
>
> To enable acceleration (as root), I load the 'radeonfb' kernel
> driver, and configure xorg.conf to use the 'radeon' driver in the
> appropriate Device section.
>
> One last clue: the messages from mplayer are different in each case.
> When running as root (and, thus, with working acceleration), the
> output includes
>   VDec: vo config request - 304 x 240 (preferred csp: Planar YV12)
>   VDec: using Planar YV12 as output csp (no 0)
>   Movie-Aspect is undefined - no prescaling applied.
>   VO: [xv] 304x240 => 304x240 Planar YV12
>   A:   0.2 V:   0.0 A-V:  0.142 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
>
> Whereas with the normal user, I get
>   VDec: vo config request - 304 x 240 (preferred csp: Planar YV12)
>   Could not find matching colorspace - retrying with -vf scale...
>   Opening video filter: [scale]
>   VDec: using Planar YV12 as output csp (no 0)
>   Movie-Aspect is undefined - no prescaling applied.
>   SwScaler: using unscaled Planar YV12 -> BGR 24-bit special
> converter VO: [gl2] 304x240 => 304x240 BGR 24-bit  [fs] [zoom]
>   A:   0.5 V:   0.0 A-V:  0.439 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
>
> I've searched quite a bit on this, and made headway but have gotten
> stuck.  Any ideas?  Thanks in advance.
>
> --
> Peace,
> Aaron Maxwell - http://redsymbol.net

-- 
Peace,
Aaron Maxwell - http://redsymbol.net



Reply to: