LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   /dev/rtc problem with gmplayer on Slackware 10 (https://www.linuxquestions.org/questions/linux-software-2/dev-rtc-problem-with-gmplayer-on-slackware-10-a-290672/)

synaptical 02-27-2005 07:22 PM

i don't know what the input.conf errors mean, as i don't have an ~/.mplayer/input.conf file and my player works. but it looks like it's using the /usr/local/share/mplayer config so you should be okay. you have skins, right?

if you're using a stock kernel, i'd guess that RTC was built in. so there should be no need to recompile just for that (it might be a good idea for other things, though. you could even upgrade to 2.6.x). if you want to make sure RTC is enabled you could go to your source directory in /usr/src/<linux-version> and do cat .config |grep RTC to see if it is in fact built in. you should get CONFIG_RTC=y returned.

if you want to save your kernel configurations, just save the .config file somewhere.

i'm stumped about the gmplayer problem. even if you don't have RTC, it looks like it's using usleep. so again it seems that shouldn't be holding it back.


have you tried Xine? :D

alagenchev 02-27-2005 07:36 PM

Yes I got CONFIG_RTC=y returned. I already have Xine, but mplayer is really a better player than Xine- supports more formats

Thank you for the help anyways

perfect_circle 02-27-2005 11:32 PM

When you compile mplayer, input.conf is under <mplayer temporary directory>/etc/. After I did make install I did copy etc/* /usr/local/etc/mplayer/ manually and i have:
Code:

skalkoto@darkstar:~$ ls /usr/local/etc/mplayer/
codecs.conf    example.conf  inttypes.h  mplayer.desktop
dvb-menu.conf  input.conf    menu.conf  mplayer.ico
skalkoto@darkstar:~$

In there if that makes any difference at all.
Also rtc in my computer is not writable, not even by root and it shouldn't be.
Code:

skalkoto@darkstar:~$ ls -la /dev/rtc
cr--r--r--  1 root root 10, 135 1996-05-30 03:06 /dev/rtc
skalkoto@darkstar:~$


alagenchev 02-28-2005 07:45 PM

Thank you perfect_circle, but non of that worked. :confused: :cry:

Is there any other suggestions?:(

kodon 04-04-2005 12:09 PM

Re: Re: /dev/rtc problem with gmplayer on Slackware 10
 
Quote:

Originally posted by synaptical
...<edited out rc.local suggestion>

if i could hijack a little, i'm having a problem with the subtitle font. everytime i load gmplayer i get a message saying "New_Face failed. maybe the font path is wrong. please supply the text font file (~/.mplayer/subfont.ttf)."

i made a symlink from a bitstream vera sans font to ~/.mplayer/subfont.ttf but i still get the error. this doesn't happen on my arch system, only slack. anyone have a suggestion? thx


>>edit: fixed it by copying an actual arial.ttf file from windows into ~/.mplayer. but now i'm getting an error saying "Sorry, your system does not support the Xshape extension," so i changed it back. :p

i had a similar problem after compiling myself...
i believe it was still trying to use the conf file from the old package.
my solution was to delete ~/.mplayer and /etc/mplayer and let it
regenerate new confs...

Freaksta 04-25-2005 09:55 PM

*BUMP*

slackware 10.1 any fix? i didnt compile myself, used the linuxpackages.net tgz.

Shade 04-26-2005 01:10 AM

Sometimes mplayer/gmplayer will fail to start and won't give an indication as to why, if your soundcard is taken over. if artsd or esd are running, try killing them and starting them from the command line again. eg:

Code:

killall artsd && killall esd && gmplayer <file>
--Shade

Link182 05-02-2005 08:04 PM

uhmmm sorry for bringin this thread back to life, but i've got the same problem, has any one fix it?

I compiled Kernel 2.6.11.7, and when trying modprobe rtc i get FATAL: Module rtc not found.

Thanks

**edited** even with the -nortc option, it just doesn't shows anything and i have to do ctrl-c -_-

Code:

link@localhost:~$ gmplayer -nortc
MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Intel  (Family: 8, Stepping: 10)
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)


alagenchev 05-02-2005 11:24 PM

I still don't have solution to the problem, I have been extremely busy with projects at my university this semester and haven't had time to deal with it. I will try to fix it again in about a month, when everything settles down a little bit here. If I come up with anything, I will post the solution here

Freaksta 05-15-2005 06:11 PM

*BUMP*

I have Enhanced RTC enabled * in kernel.

I used the ECHO command at boot, and now instead of getting error messages, I just dont get anything. No GUI and no Error message.


trak@slack:~$ gmplayer
MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)



And then nothing. Anyone know how to fix this? I have the correct RTC settings now, why does this continue?

Freaksta 05-15-2005 06:24 PM

Problem solved.

Follow all directions and enable '*' 'Enhanced Real Time Clock' in your kernel under Device drivers, character devices.

Follow directions and paist ' echo 1024 > /proc/sys/dev/rtc/max-user-freq ' in your /etc/rc.d/rc.local file.

delete /usr/local/share/mplayer and all sub directories (might not be nessasary)
delete ~/.mplayer and all sub directories (might not be nessasary)

pay close attention here:

THE IMAGE FILES FOR THE SKINS DO --NOT-- WANT TO BE UNDER /usr/local/share/mplayer/Skin/default/skin

they want to be under

/usr/local/share/mplayer/Skin/default/

the files themselves should be in the 'default' directory, not a sub directory in 'default'

Congradulations. Fix your font paths when mplayer bitches at you (if you deleted your /usr/local/share/mplayer directory) and have a GREAT day!

Freaksta 05-15-2005 06:25 PM

root@slack:/usr/local/share/mplayer/Skin/default# ls
README exit.png iconify.png mute.png plb.png stop.png
VERSION font.fnt load.png neutron-1.5.tar.bz2 pos.png sub.png
about.png font.png main.png next.png pref.png symbols.fnt
back.png forward.png menu.png pause.png prev.png symbols.png
eqb.png fsb.png menus.png play.png skin volume.png
root@slack:/usr/local/share/mplayer/Skin/default#



As shown the files for your skin should be in the default directory, not in a sub directory of default.

voidembraced 07-03-2005 05:56 AM

FYI: With respect to:
Code:

/dev/rtc: Device or resource busy
I found a reference to it on this google'd page, where it basically states that the rtc driver has been written in such a way as to not allow multiple concurrent access.

I was running in to a problem because I would run mplayer to capture online streams, and then another mplayer to listen to the saved mp3 stream file. Naturally, the 2nd instance couldn't access the rtc.

What does this mean?? Not a whole heck of a lot, but I have noticed that all things being equal, the non-rtc instance tracks just a tiny bit faster--as in, if I start listening to a stream which hasn't output for very long, I'll hit EOF and have to start it up again.

Regarding the rest, I'm affraid I can't be much help. I don't run slackware, and I basically use X for running multiple term/ssh windows & web browsing. Everything else I do...well...in my term/ssh windows on via command lines. I use mplayer on the command line & love it. :)

{void}

Learning by doing
embrace the void

voidembraced 07-03-2005 06:08 AM

As a final note, if one needs to determine what's holding up the works with respect to accessing /dev/rtc, use "fuser". Probably have to use the full path as, at least with RedHat, it's in /sbin which is typically a root path. Regardless, fuser will provide the pid number of the process holding a lock for a file.

Obviously it's useful for lots of other purposes. :)

{void}

Learning by doing
embrace the void

tenacris 07-18-2005 01:31 PM

try gmplayer -skin Blue

you should have installed de Blue default skin in /usr/local/share/mplayer/Skin


All times are GMT -5. The time now is 10:04 PM.