Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Wrong Xfree+nvidia+mplayer appli load sequence, how to override the 'gz before dsl' beh< Next Oldest | Next Newest >
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: Feb. 21 2006,10:23 QUOTE

I've seen it, or similar, I put it down to changed .xserverrc.
Or at least changed from what mplayer saw when it installed.

My setup is Frugal with an /optional directory.
I'm not using nvidia, but the xfree.dsl goes in the root directory,
preceeded by a "machine-specific.dsl", (a little tarball I made
with the xf86config-4, the .xserverrc, and backup stuff), and the mplayer package goes in the /optional directory.
You could also include the nvidia package in the / or root directory,
renamed "ynvidia.dsl" to load last if needed.

After packages in /, the contents of /optional are loaded.
The mplayer package won't actually install until you select it
from the Mydsl menu.
So you have to wait like 5 seconds for it to install and load.
But X was already set and stable when you started the desktop.

Having said that, I am not using the "latest" DSL release,
but I'd be surprised if the /optional directory function is no
longer valid.

The "machine-specific.dsl" tarball is just made by including the
files you want in your .filetool.lst (I think it's called),
doing a backup to somewhere handy, and renaming
the resultant "backup.tar.gz" to I dunno, "myconf.dsl" or something.
Then throwing it in your / directory.

*Edit- afterthought, you might want to call it wmyconf.dsl, so it
loads before xfree and ynvidia.You'll need to think about what
else is in your backup, and when you want it to load.Adjust capitals
accordingly.

Which gives you the superpower to write to places like /etc/X11.
And worse.
Be aware that you can get yourself into a lot of trouble doing this.

It's a suggestion, you can try if you want, at your own risk.

If you're running Frugal, (a wonderful thing), you can blow that
"wmyconf.dsl" away, and get back to what you had before.

As Rogue suggested, it would be simpler to just set the loading
order of packages with a prefixed letter, but this has one advantage
in that your config files are loaded with your other backup stuff,
"hands-free" so to speak.Then mplayer isn't installed until much later.

You can always get lots of info from mplayer if you start it from a terminal- /opt/mplayer/mplayer abc.avi.
A wonderfully verbose and informative application.

Hope this helps..
Back to top
Profile PM 
gammaburst Offline





Group: Members
Posts: 10
Joined: Feb. 2006
Posted: Feb. 21 2006,21:42 QUOTE

Lot's of useful information in there, i might try out some of it. Am i to understand that your first solution does not provide for automatic loading of Mplayer, though ?

For the sake of completeness , i will include a short description of my setup :
The knoppix iso image and boot directory are on a Windows partition /dev/hdg1
The home and other data are saved in a linux root partition /dev/hdg3
/dev/hdg5 linux swap partition used
The whole contraption is booted from GRUB using :

title DSL (Damn Small Linux) 2.2
root (hd0,0)
kernel /boot/dsl22/linux24 fromhd=/dev/hdg1 vga=792 quiet ramdisk=64000 noeject knoppix_dir=KnoppixDSL22 lang=fr dma
initrd /boot/dsl22/minirt24.gz
#savedefault
boot

Copied XF86Config-4_nvidia_accel_ready provided with Xfree86.dsl to /etc/X11/XF86Config-4

Changed
Driver      "nv"
to
Driver      "nvidia"

content of .xserverrc :
exec /usr/X11R6/bin/XFree86 -nolisten  tcp -I &>/dev/null
Back to top
Profile PM 
gammaburst Offline





Group: Members
Posts: 10
Joined: Feb. 2006
Posted: Feb. 21 2006,22:35 QUOTE

I finally tried to start from terminal and it says this :

MPlayer 1.0pre6-3.3.1 © 2000-2004 MPlayer Team
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

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.
Playing /mnt/hdg3/YouOnlyLiveTwice_1967.avi.
AVI file format detected.
VIDEO:  [DIV3]  720x480  24bpp  23.977 fps  635.2 kbps (77.5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
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 undefined - no prescaling applied.
VO: [xv] 720x480 => 720x480 Planar YV12
A:   3.9 V:   3.9 A-V:  0.003 ct:  0.035  94/ 94 44% 14%  3.1% 1 0
Back to top
Profile PM 
jls legalize Offline





Group: Members
Posts: 476
Joined: April 2004
Posted: Feb. 22 2006,00:54 QUOTE

hdg3?
Back to top
Profile PM WEB ICQ MSN YIM 
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: Feb. 22 2006,02:38 QUOTE

Hdg3!/?
O.K., I don't really understand the setup,
I've never done the persistent home and opt thing myself.
I had never seen the knoppix_dir=x boot code, or never used it.
But yes, the idea was to get the mplayer app "appearing" in the Mydsl menu from an /optional directory, under the root
directory of wherever the the basic iso is.
So the mplayer is not autoloaded as such, but is in the menu
waiting to be loaded.You click on the menu item, and it installs
and opens.
This is so that mplayer wouldn't load first, then after xfree changes the X environment, it sees a whole "new" X
environment.
Thats what I thought the problem was.
But perhaps I have misunderstood.

That output from mplayer you posted looks quite normal.
It didn't freeze that time I suppose!
Back to top
Profile PM 
12 replies since Feb. 20 2006,20:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Wrong Xfree+nvidia+mplayer appli load sequence

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code