Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#299311 - 11/06/2007 22:21 Audio lag immediately after bootup
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
Since upgrading to 2.0, I've noticed an audio lag which occurs immediately after bootup. After it boots, I take it off pause, a tiny blip of music plays, then a lag as more buffers, then it plays again.

With the disk diag turned on, it appears that the drive doesn't start writing to the cache until I take it off pause. Seemed like 1.03 never had that lag. After boot, I could take it off pause and there was never a pause to buffer music.

Is there a way to make 2.0 start buffering whatever's current (and whatever's next? doesn't the cache do that?) as soon as it's done booting?
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#299312 - 12/06/2007 15:07 Re: Audio lag immediately after bootup [Re: FireFox31]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Your behavior description does not happen on my player. I don't think you're describing a bug in 2.0. Your "desired behavior" is in fact the way 2.0 works, as far as I know.

I think there's something strange going on with your player. Do you have a reservecache in your config.ini, or are you loading any third party software at bootup?
_________________________
Tony Fabris

Top
#299313 - 13/06/2007 01:00 Re: Audio lag immediately after bootup [Re: tfabris]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
There was a lag starting each song. I resolved that by deleting all dynamic data (~5 years old, created in 1.03). I don't think I put a reservecache on yet, though I have 32 meg. I enabled the hard drive monitor to watch for W's and see if it was necessary. Perhaps I will try a moderate reservecache setting.

No 3rd party apps. Soon, though.
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#299314 - 13/06/2007 15:28 Re: Audio lag immediately after bootup [Re: FireFox31]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I would start asking checking into the possibility that the RAM upgrade is the culprit, rather than some more general bug in 2.0.

If you have installed the version of 2.0 that is designed to take advantage of the extra RAM (was that 2.01 or something?), then the problem might be that it's trying to fill its entire cache, and actually causing the lag you're experiencing.

Others here are more experienced with the tricks necessary to make the RAM upgrade perform properly for them, perhaps they can reply here...
_________________________
Tony Fabris

Top
#299315 - 14/07/2007 01:12 Lags when playing silence [Re: FireFox31]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
I thought my problems went away by clearing the dynamic data. But when I uploaded 1.7 gig of new tracks (very much a rare occasion), it has come back.

The player lags on the silence at the end of a track. Time doesn't count, UI is frozen, button presses are cached and execute 3-5 seconds later when it's done lagging.

I actually think it's lagging on the silence, not while trying to end one track and load the next. I experienced this today with a "secret track"; a single track which has a long pause of silence between two songs. During this silence, the UI was frozen, etc. I think it was still playing because the time increased every 5 seconds or so (I was driving so couldn't really notice). Then it lagged at the end of the next two tracks.

A bad CD? Or a clear case of a symptom I only occasionally saw. Now I've got a track to test it.
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#299316 - 14/07/2007 10:52 Re: Lags when playing silence [Re: FireFox31]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Presumably you *do* have a recent Hijack installed ?

Top
#299317 - 15/07/2007 00:15 Re: Lags when playing silence [Re: mlord]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
I have Hijack 464, so I guess it's a little old now. I enabled disk monitoring but have seen no W's or excessive spinups or caching. The UI just lags at the end of songs and, in at least one instance, at a dead silence within a song.

I'll test it more carefully for a better view of the symptoms.
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#299318 - 15/07/2007 01:19 Re: Lags when playing silence [Re: FireFox31]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Quote:
I have Hijack 464, so I guess it's a little old now.


That's new enough. Without it, the UI is 100% non-responsive, rather than just a little sluggish.

Cheers

Top
#299319 - 15/07/2007 13:07 Re: Lags when playing silence [Re: mlord]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
If I read that right, are you familiar with this problem?
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#299320 - 15/07/2007 14:56 Re: Lags when playing silence [Re: FireFox31]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Maybe.

You mentioned in passing that you "have 32 meg", but you did not state the exact player software version in use.

With v2.01 on your 32MB player, I would expect to see the UI slowdown(Hijack) or stoppage(no Hijack).

With v2.00 on your 32MB player, it will treat it as a 16MB player, and should not have the UI issues.

Adding other third party software (other than Hijack) complicates things beyond that.

Cheers

Top
#299321 - 15/07/2007 16:26 Re: Lags when playing silence [Re: FireFox31]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I find it absolutely fascinating that the lag happened in the silent bit a the middle of a track.

I wonder if it's related to the code that does the visuals? That's the only part of the system (I can think of) which behaves differently when the player is playing silence.

Perhaps if there's no audio data to process, the code for the visuals goes into some kind of race condition, executing small loops really fast and taking over the CPU?
_________________________
Tony Fabris

Top
#299322 - 17/07/2007 00:46 Re: Audio lag immediately after bootup [Re: FireFox31]
clsmith
member

Registered: 15/01/2002
Posts: 183
My player suffers this 'lag' as well, about once a week. Typically it occurs just after I pause the player - shut off the vehicle - start the vehicle allowing the player to boot. Then when I un-pause the track I get exactly what you described. A blip of music, a pause, then it resumes and all is well. I'll have to verify this but I seem to recall seeing the battery icon when it happens. Not sure though.

I can't consistently reproduce the behavior and my backup player doesn't seem to do this at all. The backup player is hardly ever used in the vehicle though.

My player started life as 1.03. It's now 2.01 and running Hijack 455 (I know, I need to update.) I have telnetd and rsync installed. No extra memory but I do have a eutronix light kit.

Sorry I don't have any insight as to the cause. But you're not alone.
_________________________
CLS

Top