video acceleration works for root, not normal users
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
Reply to: