Author Topic: mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500  (Read 9600 times)

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #15 on: November 12, 2004, 12:47:02 pm »
Does anyone see anything funny in my top output?

Thanks,
Kent!

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #16 on: November 12, 2004, 07:00:04 pm »
Well, the sum of all %CPU values is more than 100, if I'm correct. Your processor seems to be working too hard  which would explain the skipping if it was physically possible.

I would still try to run xmms with as few other processes as possible (you can kill processes through Settings > System Info > Processes).
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #17 on: November 17, 2004, 04:34:54 pm »
Actually, the % CPU is only 15% or so.  The % MEM is more than 100%.

So, is it the % MEM causing me problem?  I mean, this is a newly rebooted Z where all I launched was XMMS to play the music.

Thanks,
Kent!

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #18 on: November 18, 2004, 02:39:21 am »
Memory usage shouldn't be a problem. Beats me.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

bobintetley

  • Newbie
  • *
  • Posts: 1
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #19 on: November 18, 2004, 06:10:46 am »
I had the same trouble and it turned out to be because I was storing them on my 1Gb Sandisk SD card (I know I know! It works great for me with ext2 on my SL-5500). Turns out it couldn't quite read the data off the card fast enough. If I copied the mp3s to /mnt/ram and then played them, it's fine.

Someone else had success using an older version of libmad/xmms (but I didn't fancy that).

Cheers...

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #20 on: December 14, 2004, 06:45:19 pm »
Quote
I had the same trouble and it turned out to be because I was storing them on my 1Gb Sandisk SD card (I know I know! It works great for me with ext2 on my SL-5500). Turns out it couldn't quite read the data off the card fast enough. If I copied the mp3s to /mnt/ram and then played them, it's fine.
Got the same problem with my SD (same as yours actually!) - maybe because both xmms and the files are on the same SD? Thing is if I install oz (64-0) I don't have enough room in root to install xmms.
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

ironstorm

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #21 on: December 15, 2004, 01:51:33 am »
Here's what I've experinced on Opie 3.5.2:

- XMMS (from OZ3.5.1 feed) mounted on a loopback on top of my 1GB FAT FS Kingmax SD card works no problem

- XMMS and Opie-mplayer2 (from OZ 3.5.2 feed) skips and blips when installed to a similar SD loopback

Anyway... if you want to try with a loopback you can get the file with scripts from here http://stacktrace.org/

It'd be interesting to see if it helps with your problems.

Cheers

-G

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #22 on: December 15, 2004, 06:26:14 am »
Quote
Here's what I've experinced on Opie 3.5.2:

- XMMS (from OZ3.5.1 feed) mounted on a loopback on top of my 1GB FAT FS Kingmax SD card works no problem

- XMMS and Opie-mplayer2 (from OZ 3.5.2 feed) skips and blips when installed to a similar SD loopback

Anyway... if you want to try with a loopback you can get the file with scripts from here http://stacktrace.org/

It'd be interesting to see if it helps with your problems.

Cheers

-G
Thanks for the info. I've since updated to 3.5.2 (need to update my sig!) so I assume it won't work then  I also have formatted my SD card to be ext2 - windows is not something that I use too often
What I don't comprehend is that the files will play fine if I transfer them to my CF card and play them from there. Doesn't make much sense but I may try a reinstall of 3.5.1 to try out your method (and format my card in fat)...
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #23 on: December 15, 2004, 08:45:51 am »
I've now given the hentges roms (3.5.2) a try - problem seems to have dissapeared.
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #24 on: January 15, 2005, 01:55:09 pm »
Quote
I've now given the hentges roms (3.5.2) a try - problem seems to have dissapeared.
Haven't used my Zaurus for a while but the skipping problem is back  - how would I force OZ to buffer the contents of an MP3 to cache before playing it (or something else that would solve the problem)?
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

STrRedWolf

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://stalag99.net
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #25 on: January 18, 2005, 01:17:24 am »
Quote
Quote
I've now given the hentges roms (3.5.2) a try - problem seems to have dissapeared.
Haven't used my Zaurus for a while but the skipping problem is back  - how would I force OZ to buffer the contents of an MP3 to cache before playing it (or something else that would solve the problem)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62765\"][{POST_SNAPBACK}][/a][/div]

I have a feeling that it's just that the SD port's specs doesn't allow for a certian speed, while the CF port does.  For example, a 64Kbps Ogg gives the popping on 3.5.1 off of a 128 Meg SD card.

It's a hardware problem.

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #26 on: January 18, 2005, 07:10:41 am »
Quote
I have a feeling that it's just that the SD port's specs doesn't allow for a certian speed, while the CF port does.  For example, a 64Kbps Ogg gives the popping on 3.5.1 off of a 128 Meg SD card.
It's a hardware problem.

Really? I was under the impression that the SD port was actually faster than the CF one on the SL-5500. I thought this was a recent issue rather than one that has been with us for a long time but I may be wrong... It's a bummer if it is a hardware issue though
« Last Edit: January 18, 2005, 07:11:11 am by Zauruman »
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #27 on: January 31, 2005, 01:33:05 pm »
Well it's definately an SD vs CF thing for me.

When I use the SD card, I get skips all over the place (sucks 'cause this is where I'm storing all my user "documents") but when I put them on the CF card, everything plays with no skips at all.

Oh well, at least that's the solution.

Kent!

Zauruman

  • Newbie
  • *
  • Posts: 28
    • View Profile
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #28 on: January 31, 2005, 05:58:50 pm »
Quote
Well it's definately an SD vs CF thing for me.

When I use the SD card, I get skips all over the place (sucks 'cause this is where I'm storing all my user "documents") but when I put them on the CF card, everything plays with no skips at all.

Oh well, at least that's the solution.

Kent!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64714\"][{POST_SNAPBACK}][/a][/div]

Mmmm... so would it be possible to have the option of caching a file to CF before starting to play it on xmms for example?
[span style=\'font-size:8pt;line-height:100%\']Zaurus SL-C750 - PdaXrom RC12
SanDisk 1Gb SD (ext2) - D-Link Air DCF-660W[/span]

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
mp3 skips and blips in XMMS w/OZ 3.5.1 on 5500
« Reply #29 on: February 01, 2005, 07:29:38 am »
You might be able to alter the memory cache (to make it sufficiently large that the slow SD read won't matter), but I don't know that you'd be able to cache to CF (nor would you really want to - lots of writing to a flash device) unless you write a wrapper of your own.

I don't know know which program you guys are talking about here, but looking at the mplayer or xine docs may help you to find out how to alter the default memory cache.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva