[MPlayer-users] mplayer only as root
Bob Gill
gillb4 at telusplanet.net
Mon Oct 13 05:44:42 CEST 2003
Hi. I have a bug (at least I think so, I've built the latest version,
the latest CVS and looked through the faqs (both) and documentation.
I've also experimented and the problem remains. The bug: I run mplayer
as root, and it runs ok (dvd playback, many different files played back
including avi's and mpg's). I run mplayer as non-root and playback is
slow and jerky. I've looked at google and saw that /dev/rtc could be a
problem, so I changed the permissions and users allowed. Problem
remains. As mentioned before, the CVS sub-version does not help (as
before, it runs perfectly as root, but very slowly as non-root). When
playing (encrypted) DVD's as non-root, it eventually gives an error
message 'too many packets in buffer'.
My system: RedHat Linux 9.0 updated with yum, running Linux kernel
2.6.0-test7
My audio: Soundblaster Live Value
My video: Nvidia Ti4200 with a patched Nvidia binary driver (to work
with the new kernel).
Intel pentium4 @ 1800 MHz overclocked by 5% to 1890 MHz.
1GB of PC2700 DDR memory.
I must also mention that -nosound does improve things somewhat, but
video is still jerky. There are no problems (audio or video) when
running as root.
Startup sequence:
[bob at localhost MPlayer-1.0pre2]$ mplayer -nosound
MPlayer 1.0pre2-3.2.2 (C) 2000-2003 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood 1890 MHz (Family: 8,
Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Reading config file
/data/mplayer/MPlayer-1.0-pre2/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/bob/.mplayer/config
[cfg] read config file: /home/bob/.mplayer/gui.conf
Reading config file /home/bob/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
xscreensaver_disable: xscreensaver wid=8388614.
Reading /home/bob/.mplayer/codecs.conf: 61 audio & 157 video codecs
font: can't open file:
/usr/local/share/mplayer/font/iso-8859-1/arial-14/font.desc
Cannot load font:
/usr/local/share/mplayer/font/iso-8859-1/arial-14/font.desc
Failed to open /dev/rtc: No such device (mplayer should be setuid root
or /dev/rtc should be readable by the user.)
Using usleep() timing
Input config file /home/bob/.mplayer/input.conf parsed: 52 binds
SKIN dir 1: '/home/bob/.mplayer/Skin'
SKIN dir 2: '/data/mplayer/MPlayer-1.0-pre2/share/mplayer/Skin'
Playing dvd://1
Reading disc structure, please wait...
There are 18 titles on this DVD.
There are 27 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Cache fill: 0.00% (0 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x480 => 854x480 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
xscreensaver_disable: xscreensaver wid=8388614.
V: 2.1 57 14% 17% 0.0% 0 0 18%
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS
changed to 23.976!
V: 4.5 116 13% 14% 0.0% 0 0 6%%
Exiting... (Quit)
I modified /dev/rtc to crw-rw-rw- 1 bob users 10, 135 Jan
30 2003 /dev/rtc
(to allow all read access, and chowned it from root/root to bob/users,
no success). I have downloaded new codecs and deleted the old ones
prior to installing the new ones to make sure there were no old ones
lying around. I also ran chown -R bob.users mplayer/* to make sure
local users had access to all files at the top of the mplayer source tree.
Thanks in advance,
Bob
More information about the MPlayer-users
mailing list