Jump to content


Photo

Bad Sound Quality


  • Please log in to reply
209 replies to this topic

#151 GuSec

GuSec

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 115 posts
  • Gender:Male
  • Location:Northern Sweden
  • Interests:Philosophy, debates, electronics, ethnobotany, good films and music ;)

Posted 13 June 2010 - 03:58 AM

Extremely interesting issue, clearly seems to be a software conflict with ALSA (confusing stuff)! This is the prize for running this young hardware/software (now)!
I hope a solution will be found soon, it don't believe it to difficult to fix, once the problem has been located. (Hotfix 3?)

#152 torpor

torpor

    hack hack hack, the little machines fight back

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2377 posts
  • Gender:Male
  • Location:vienna, austria

Posted 13 June 2010 - 12:00 PM

Also might be worth upgrading to the latest ALSA, because I seem to recall there being a recent bug related to underruns in ALSA, but I don't have the fu to provide a link right now. But, perhaps, a radical leap to the latest version would be in order ..

#153 fusion_power

fusion_power

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2998 posts
  • Location:germany
  • Interests:GP2X ;)

Posted 13 June 2010 - 12:34 PM

Extremely interesting issue, clearly seems to be a software conflict with ALSA (confusing stuff)! This is the prize for running this young hardware/software (now)!
I hope a solution will be found soon, it don't believe it to difficult to fix, once the problem has been located. (Hotfix 3?)

Yupp, I also find this interesting. SD and WIFI can cause bad sound Quality, this wouldn't come in my mind when I would try to find the reason of bad sound quality. :D But I'm not such a tech guy so it's cool that we have at least a direction for looking at the cause of the Problem.

For me as noob it sounds like this ALSA never was made to work with a OMAP ARM Chipset well, what had Texas Instruments in mind which Sound driver should be used to work 100%?
And if this ALSA problem is known also from the PC, why is it still "unsolved" even if ALSA exists since 1998? Is there an "bullet proof" and always working method to prevent any buffer underruns 'n stuff?
What would Brian Boitano do? ;)

#154 mali

mali

    -

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 6308 posts
  • Gender:Male
  • Location:EU

Posted 13 June 2010 - 12:52 PM

ALSA is used on the N900 too, which has an OMAP3. Exophase has always been against ALSA, cause it's a resource hog. Whatever, ALSA works on N900 and will be made to work properly on Pandora sooner or later, I'm sure.

#155 fusion_power

fusion_power

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2998 posts
  • Location:germany
  • Interests:GP2X ;)

Posted 13 June 2010 - 01:31 PM

ALSA is used on the N900 too, which has an OMAP3. Exophase has always been against ALSA, cause it's a resource hog. Whatever, ALSA works on N900 and will be made to work properly on Pandora sooner or later, I'm sure.

Sounds good. I guess the Nokia Guys are no magicians so if they were able to solve this problem, "we" can do this too. :)
Yes, some time ago I read somewhere, that Exophase is not a friend of ALSA, and now I know why. :lol: He is a coder, he could write something new and efficiant.
But I guess there is no real alternative to ALSA for the Pandora at the Moment. ^^"

#156 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 13 June 2010 - 02:01 PM

I've also never been a friend of ALSA, as it caused all kind of weird issues on my desktop PCs (random order of two soundcards, even if I stated them correctly, crackling sound (yay!), etc.)

Using OSS4 on my PC, but as ALSA exists for our OMAP, fixing it seems easier than using a new one that doesn't support it yet ;)

#157 HackModford

HackModford

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 779 posts
  • Gender:Male

Posted 13 June 2010 - 05:01 PM

There was an update available for ALSA-state so I upgraded...

Still the same...

Edit: I'm gonna mess around with Pulseaudio and see what happens. (I really have no idea what I'm doing but never underestimate the ingenuity of fools)

Edit: Does anyone have any idea how to get Pulse audio setup? I've installed pulseaudio, pulse audio mixer thingy, a now pulse audio preferences

Edit: When I go to pulse audio mixer it says "connection failed" I'm gonna reboot to see if that makes a difference. Also after updating Alsa-state my asoundrc is blank :D

Edit: bahhh... I can't figure it out. even though I've installed pulseaudio there are no configs where there should be.... something I'd be very interested in seeing/trying is if another distro has this sound problem. i.e. can I try running ubuntu netbook remix of an sd and seeing if I still have a sound issue?

Edited by HackModford, 13 June 2010 - 05:34 PM.


#158 notaz

notaz

    Mega GP Mania

  • GP Guru
  • 1736 posts
  • Location:Lithuania

Posted 13 June 2010 - 08:10 PM

Pulse can't replace ALSA, it's just another layer on top of it, so you can only get more problems with this.

#159 torpor

torpor

    hack hack hack, the little machines fight back

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2377 posts
  • Gender:Male
  • Location:vienna, austria

Posted 13 June 2010 - 09:12 PM

There is absolutely no point in looking at Pulseaudio until we get ALSA sorted.

I'm no fan of Pulseaudio (I use firewire on my home Linux box, Firepod 10 ftw, 10 channels of ins and outs, works plain and simple out of the box, except for .. Pulseaudio) but I will say this: if there is one place Pulseaudio should work extremely, beautifully, elegantly well, its the Pandora.

So lets get ALSA sorted first and then glom Pulseaudio on top. I really want this to be superlative, personally.

One thing we need is to find out what all the audio-capable apps for the .PND, right now, are using for output. IF they're doing ALSA callbacks, or if they're writing to /dev/dsp, we need to know that and use it to balance the debug results.

Does anyone know an app that *Absolutely* works, always, audio-wise? What is the best audio app so far, as far as you know .. ?

#160 HackModford

HackModford

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 779 posts
  • Gender:Male

Posted 13 June 2010 - 10:00 PM

If I was to make a wild guess in my situation it would be notaz's picodrive.

#161 HackModford

HackModford

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 779 posts
  • Gender:Male

Posted 15 June 2010 - 02:43 PM

N64 is another program that seems to go with my "good" sound settings

#162 notaz

notaz

    Mega GP Mania

  • GP Guru
  • 1736 posts
  • Location:Lithuania

Posted 16 June 2010 - 08:43 PM

ok I think I've got a fix, everyone affected please try. Be sure to remove any .asoundrc tweaks you may have before trying this.

http://notaz.gp2x.de..._fix_100616.zip

Quoting readme:

1. Extract uImage and boot.txt to root of your SD
(must be first partition, FAT32 or ext2).
2. Turn off your pandora unit, then insert the SD with above
files into first slot (the one closer to headphone jack).
3. Press and hold R while turning on the unit. Keep pressing
until menu appears.
4. Select "boot from SD1" and use your pandora as usual.


Note: it is possible to install this into flash but I recommend
waiting for official hotfix installer for this, unless you're ok
with doing full reflash later just to install next hotfix.

Note2: if you want to boot this automatically, rename boot.txt to
autoboot.txt .



#163 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 16 June 2010 - 09:10 PM

ok I think I've got a fix, everyone affected please try. Be sure to remove any .asoundrc tweaks you may have before trying this.

http://notaz.gp2x.de..._fix_100616.zip

Quoting readme:


1. Extract uImage and boot.txt to root of your SD
(must be first partition, FAT32 or ext2).
2. Turn off your pandora unit, then insert the SD with above
files into first slot (the one closer to headphone jack).
3. Press and hold R while turning on the unit. Keep pressing
until menu appears.
4. Select "boot from SD1" and use your pandora as usual.


Note: it is possible to install this into flash but I recommend
waiting for official hotfix installer for this, unless you're ok
with doing full reflash later just to install next hotfix.

Note2: if you want to boot this automatically, rename boot.txt to
autoboot.txt .



GREAT!!! Thx notaz, I'll try it right away! Booting....

WOW! 3 out of 3 tries (master of magic in dosbox, super mario world on zsnes and pandro panic) successful sound intialization!!!! woooooooooohooooooooooo! Good job notaz!

Will try some more, but it seems veryvery promising by now!! (Had sonud glitches in about 80%!)

Edited by zapman, 16 June 2010 - 09:19 PM.


#164 Qvazar

Qvazar

    Member

  • Members
  • PipPip
  • 29 posts

Posted 16 June 2010 - 09:32 PM

ok I think I've got a fix, everyone affected please try.

What was the problem? How did you fix it? We want all the nasty details! :D

#165 SteveM

SteveM

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 563 posts
  • Location:Netherlands

Posted 16 June 2010 - 09:46 PM

If anyone gets a chance to try it, I'd be interested to hear if this fix makes any difference to the sound in MAME and Hu-Go.