* [gentoo-user] mplayer directfb permissions?
@ 2011-04-25 16:45 Indi
0 siblings, 0 replies; 6+ messages in thread
From: Indi @ 2011-04-25 16:45 UTC (permalink / raw
To: gentoo-user
Greetings,
My old thinkpad is showing its age lately, especially when using
mplayer to play avi or mkv files. Fooling around with various options
and config arguments has revealed that using the directfb for vo gives
sterling results, with the worst files playing happily in sync just like
I always dreamed -- but only as root!
Obviously there's a permissions issue somewhere...
My user is a member of all the appropriate groups (unless I've missed
something?):
[idd@gh~] $ id
uid=501(indulekha) gid=501(indulekha) groups=501(indulekha),5(tty),
10(wheel),16(cron),17(console),18(audio),19(cdrom),27(video),35(games),
104(crontab),994(vboxusers),998(plugdev)
I've googled quite a bit about it and found a few users with the same problem
but nowhere have I seen an answer. Is there a solution for this, or should I
simply resign to watching videos as root?
TIA!
--
/\ /\
<\ />
^ caveat utilitor
'v-v'
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mplayer directfb permissions?
2011-04-25 22:38 Indi
@ 2011-04-25 22:17 ` Mick
0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2011-04-25 22:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1124 bytes --]
On Monday 25 April 2011 23:38:04 Indi wrote:
> On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
> > ...using the directfb for vo gives
> > sterling results, with the worst files playing happily in sync just like
> > I always dreamed -- but only as root!
> >
> > Obviously there's a permissions issue somewhere...
>
> Oh jeepers, I've made a silly error -- the reason videos were playing so
> well as root is that root had no .mplayer/config, :)
> Apparently I just needed to clean up my config file and now it works
> just fine again with x11 driver. Didn't realize defining a couple of audio
> and video filters would impact performance that much but apparently it
> really does, at least with avi and mkv files. Sorry for the noise!
>
> For other reasons though it might still be nice to know how to give a
> user directfb permission.
>
> :)
Just an idea.
Not sure if it uses svgalib - in which case setuid it to root before you fire
it up as a plain user.
Alternatively, run strace as a plain user and see at what point it fails to
access the files it needs.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mplayer directfb permissions?
@ 2011-04-25 22:38 Indi
2011-04-25 22:17 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Indi @ 2011-04-25 22:38 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
>
> ...using the directfb for vo gives
> sterling results, with the worst files playing happily in sync just like
> I always dreamed -- but only as root!
>
> Obviously there's a permissions issue somewhere...
Oh jeepers, I've made a silly error -- the reason videos were playing so
well as root is that root had no .mplayer/config, :)
Apparently I just needed to clean up my config file and now it works
just fine again with x11 driver. Didn't realize defining a couple of audio
and video filters would impact performance that much but apparently it
really does, at least with avi and mkv files. Sorry for the noise!
For other reasons though it might still be nice to know how to give a
user directfb permission.
:)
--
/\ /\
<\ />
^ caveat utilitor
'v-v'
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mplayer directfb permissions?
[not found] ` <gLCs2-1ja-21@gated-at.bofh.it>
@ 2011-04-26 13:34 ` Indi
2011-04-26 19:03 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Indi @ 2011-04-26 13:34 UTC (permalink / raw
To: gentoo-user
On Tue, Apr 26, 2011 at 12:30:02AM +0200, Mick wrote:
> On Monday 25 April 2011 23:38:04 Indi wrote:
> > On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
> > > ...using the directfb for vo gives
> > > sterling results, with the worst files playing happily in sync just like
> > > I always dreamed -- but only as root!
> > >
> > > Obviously there's a permissions issue somewhere...
> >
> > Oh jeepers, I've made a silly error -- the reason videos were playing so
> > well as root is that root had no .mplayer/config, :)
> > Apparently I just needed to clean up my config file and now it works
> > just fine again with x11 driver. Didn't realize defining a couple of audio
> > and video filters would impact performance that much but apparently it
> > really does, at least with avi and mkv files. Sorry for the noise!
> >
> > For other reasons though it might still be nice to know how to give a
> > user directfb permission.
> >
> > :)
>
> Just an idea.
>
> Not sure if it uses svgalib - in which case setuid it to root before you fire
> it up as a plain user.
>
> Alternatively, run strace as a plain user and see at what point it fails to
> access the files it needs.
> --
> Regards,
> Mick
Thanks for the suggestions.
Was going to look into that just now but after updating the system
(and runing revdep-rebuild and python updater and --depclean) the
directfb driver doesn't display properly anymore for some reason.
Everything else seems fine, and videos are playing in sync with the x11
driver and all that. I have a feeling from what Ive read STFW that this
is going to come down to my ATI Mobility 9600 chipset's incomplete kernel
support and may not be practically solvable to the point of being worth
pursuing.
I may pursue it anyway at some point in the future but for right
now it's been moved to the back burner for a bit.
--
/\ /\
<\ />
^ caveat utilitor
'v-v'
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mplayer directfb permissions?
2011-04-26 13:34 ` Indi
@ 2011-04-26 19:03 ` Mick
0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2011-04-26 19:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2198 bytes --]
On Tuesday 26 April 2011 14:34:05 Indi wrote:
> On Tue, Apr 26, 2011 at 12:30:02AM +0200, Mick wrote:
> > On Monday 25 April 2011 23:38:04 Indi wrote:
> > > On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
> > > > ...using the directfb for vo gives
> > > > sterling results, with the worst files playing happily in sync just
> > > > like I always dreamed -- but only as root!
> > > >
> > > > Obviously there's a permissions issue somewhere...
> > >
> > > Oh jeepers, I've made a silly error -- the reason videos were playing
> > > so well as root is that root had no .mplayer/config, :)
> > > Apparently I just needed to clean up my config file and now it works
> > > just fine again with x11 driver. Didn't realize defining a couple of
> > > audio and video filters would impact performance that much but
> > > apparently it really does, at least with avi and mkv files. Sorry for
> > > the noise!
> > >
> > > For other reasons though it might still be nice to know how to give a
> > > user directfb permission.
> > >
> > > :)
> >
> > Just an idea.
> >
> > Not sure if it uses svgalib - in which case setuid it to root before you
> > fire it up as a plain user.
> >
> > Alternatively, run strace as a plain user and see at what point it fails
> > to access the files it needs.
>
> Thanks for the suggestions.
> Was going to look into that just now but after updating the system
> (and runing revdep-rebuild and python updater and --depclean) the
> directfb driver doesn't display properly anymore for some reason.
> Everything else seems fine, and videos are playing in sync with the x11
> driver and all that. I have a feeling from what Ive read STFW that this
> is going to come down to my ATI Mobility 9600 chipset's incomplete kernel
> support and may not be practically solvable to the point of being worth
> pursuing.
>
> I may pursue it anyway at some point in the future but for right
> now it's been moved to the back burner for a bit.
Are you running KMS in the kernel and have you emerged x11-drivers/radeon-
ucode (not sure if your card needs it) as per:
http://www.gentoo.org/doc/en/xorg-config.xml
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mplayer directfb permissions?
[not found] ` <gLVO2-ut-27@gated-at.bofh.it>
@ 2011-04-26 20:40 ` Indi
0 siblings, 0 replies; 6+ messages in thread
From: Indi @ 2011-04-26 20:40 UTC (permalink / raw
To: gentoo-user
On Tue, Apr 26, 2011 at 09:10:02PM +0200, Mick wrote:
>
> Are you running KMS in the kernel and have you emerged x11-drivers/radeon-
> ucode (not sure if your card needs it) as per:
>
> http://www.gentoo.org/doc/en/xorg-config.xml
>
No. I have a pretty straight kernel, and my video card specified in
make.conf and all that jazz. Do not want binary blobs if I can live
without them.
--
If only my interface to the time-space continuum could be unix-like... With vim keybindings, cron, and everything!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-04-26 20:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 16:45 [gentoo-user] mplayer directfb permissions? Indi
-- strict thread matches above, loose matches on Subject: below --
2011-04-25 22:38 Indi
2011-04-25 22:17 ` Mick
[not found] <gLBPk-b8-23@gated-at.bofh.it>
[not found] ` <gLCs2-1ja-21@gated-at.bofh.it>
2011-04-26 13:34 ` Indi
2011-04-26 19:03 ` Mick
[not found] <gLQEG-8s3-3@gated-at.bofh.it>
[not found] ` <gLQEG-8s3-5@gated-at.bofh.it>
[not found] ` <gLQEG-8s3-1@gated-at.bofh.it>
[not found] ` <gLVO2-ut-27@gated-at.bofh.it>
2011-04-26 20:40 ` Indi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox