/dev/rtc problem with gmplayer on Slackware 10
I installed mplayer from source, but I have a few problems. When I try to start gmplayer from user, I get:
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. when I try to run it from root: vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.) Also when I play videos in mplayer I do not have any sound, the same is with Xine. I had the same problem with xmms and found out that xmms outputs to my modem instead of the soundcard and fixed. i do not have an idea how to fix mplayer or Xine. Any suggestions on how to fix gmplayer and get the sound working? |
I have exactly the same problem. I havenīt found any solution yet. :(
|
it's not a problem, just some advice... mplayer should be working fine.
the 1024 section, means add that command to /etc/rc.local or such like, something that will be executed once on bootup. as for rtc permissions, just use "chmod a+r /dev/rtc". if this does not persst between boots, you need to modify either /etc/devfsd.conf or /etc/udev/permissions.d/50-udev.permissions to make /dev/rtc have mode 664 permissions. |
KIngOfDreams do you have problem with the sound as well? If you do ,I fixed it, and I can post the solution here. I was going to do it anyways , but I wanted to wait until I find a solution to both problems.
|
Acid_KewPie, here is my /etc/rc.d/rc.local I already had it changed like this:
#!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local setup commands in here: echo 1024>/proc/sys/dev/rtc/max-user-freq ~ Still no result. Any other suggestions? I have the sound fixed , but I still cannot get gmplayer. Do you think recompiling the kernel and adding an extra module would fix the problem? In other words could it be because of the kernel? Here is the wrror I get now: vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Oh and also I have full permitions on /dev/rtc and they persist after boot. |
well it really doesn't matter if you're getting that message, there's nothing wrong with that being like that. maybe your kernel is too old to support it? i doubt it personally, but i think it was around 2.4.10 that functionality came in...
|
Re: /dev/rtc problem with gmplayer on Slackware 10
...<edited out rc.local suggestion>
|
that's strange... It worked fine for me from day one i tried it, and i use the default kernel.
my rc.local looks like this: Code:
#!/bin/sh Code:
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team |
Acid_kewpie, I am running 2.4.26. I couldn't find anything on mplayer website as to what kernel is needed. But perfect circle says he's running the default kernel
P.S.: I understand that it dowsn't matter that I am getting the message for mplayer, but I am trying to get the GUI working, since I prefer it much more. Does anyone have any other suggestions. I have been trying to find a solution for the problem for the last 3 weeks with no success whatsoever. |
what is your video driver set to? try changing it from xv to x11, or vice versa.
|
Quote:
Now I am getting : vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.) This thing is changing the error messages all the time. This is weird.Any other help? :confused: :cry: :cry: :cry: :confused: :mad: :cry: |
|
Synaptical, thank you for sticking with me. I read the DOC and My kernel is 2.4.26, so I figured I don't need a kernel recompile. I issued the comman at the console and at first I thought it worked, because I didn't get a warning. however gmplayer did not start, and I had to do ctrl-z to get back to prompt. Then I got:
MPlayer interrupted by signal 15 in module: unknown When I tried to run gmplayer again I got teh same old error: vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.) I am about to give up on this thing. I have never had such a problem with linux before, usually almost everything is fixable. This gets me so frustrated. :eek: :confused: :mad: :cry: |
> MPlayer interrupted by signal 15 in module: unknown
that's just the message telling you ctrl+c shut it down. if you built RTC as a module, are you sure it's loading? (do "# modprobe rtc" to load it) when you say you issued the command after reading the doc and at first you thought it worked, what did you try that you thought worked? * dumb question: you did enable the gui when you built it, right? (./configure --enable-gui?) i'm probably showing my own ignorance as you might get a totally different error if you didn't, but i thought i'd ask just in case. |
This is what I get when I do gmplayer -v -v :
alagenchev@Necromancer:~$ gmplayer -v -v MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team CPU: Intel Pentium M Banias (Family: 6, Stepping: 5) 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 vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) CommandLine: '-v' '-v' init_freetype get_path('font/font.desc') -> '/home/alagenchev/.mplayer/font/font.desc' font: can't open file: /home/alagenchev/.mplayer/font/font.desc font: Reading section: [info] font: Reading section: [files] RAW: /usr/local/share/mplayer/font//cp1250-a.raw 4800 x 32, 256 colors RAW: /usr/local/share/mplayer/font//cp1250-b.raw 4800 x 32, 256 colors font: Reading section: [characters] font: Reading section: [files] RAW: /usr/local/share/mplayer/font//osd-mplayer-a.raw 416 x 27, 256 colors RAW: /usr/local/share/mplayer/font//osd-mplayer-b.raw 416 x 27, 256 colors font: Reading section: [characters] font: resampling alpha by factor 0.750 (192) DONE! font: resampling alpha by factor 0.750 (192) DONE! Font /usr/local/share/mplayer/font/font.desc loaded successfully! (233 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.) Using nanosleep() timing get_path('input.conf') -> '/home/alagenchev/.mplayer/input.conf' Can't open input config file /home/alagenchev/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2b, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2c, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2d, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2e, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x2f, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x30, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x31, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x32, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x33, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x34, depth 24, R:FF0000 G:FF00 B:FF vo: X11 truecolor visual 0x35, depth 24, R:FF0000 G:FF00 B:FF [ws] Screen depth: 32 [ws] size: 1024x768 [ws] origin: +0+0 [ws] red mask: 0xff0000 [ws] green mask: 0xff00 [ws] blue mask: 0xff [ws] XShm version is 1.1 [ws] XShape version is 1.0 get_path('Skin') -> '/home/alagenchev/.mplayer/Skin' SKIN dir 1: '/home/alagenchev/.mplayer/Skin' SKIN dir 2: '/usr/local/share/mplayer/Skin' Quote:
Quote:
When I did modprobe rtc, I get : modprobe: Can't locate module rtc BTW I haven't built any modules, I am running the default kernel, and I don't know anything about modules or kernel compilation. I am just learning :newbie: I was planning on doing kernel compilation right after I fix gmplayer(one thing at a time), but it looks like I need to recompile to fix gmplayer. What do you think? BTW Do I lose my configurations if I do kernel recompilation? BTW gmplayer -v -v, says: get_path('input.conf') -> '/home/alagenchev/.mplayer/input.conf' Can't open input config file /home/alagenchev/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory get_path('input.conf') -> '/home/alagenchev/.mplayer/input.conf' Can't open input config file /home/alagenchev/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config What does that mean |
All times are GMT -5. The time now is 03:32 PM. |