Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old October 29th, 2008   #1
soundcheck
A Carafe of Ubuntu
 
soundcheck's Avatar
 
Join Date: Jul 2007
Location: DUS
Beans: 150
Alsa 1.0.18 Installation Script

Latest post update 01/21/2009


THIS THREAD IS FROM NOW ON CONTINUED OVER HERE:

ALSA Upgrade Script

Last edited by soundcheck; January 21st, 2009 at 07:47 AM..
soundcheck is offline   Reply With Quote
Old October 29th, 2008   #2
skinnie
Just Give Me the Beans!
 
Join Date: Sep 2007
Beans: 48
Re: Alsa 1.0.18 Installation Script

worked very good for me..
HP DV9575Ep with intel HDA (realtek alc268 )
Thank you very much
__________________
Notebook : HP DV9575ep - Intel T7300 2.0GHz-Nvidia 8600GS-4Gb DDR2-2x160Gb- 17"-Ubuntu 9.04 X64
Desktop : Abit TX5 430TX - AMD k6-2 350@400Mhz - 192Mb PC133 - 40Gb HDD - Creative AWE32 - Matrox Millenium 2Mb - 2xVoodoo 2 SLi
skinnie is offline   Reply With Quote
Old October 29th, 2008   #3
~TheMik
First Cup of Ubuntu
 
~TheMik's Avatar
 
Join Date: Oct 2008
Beans: 4
Re: Alsa 1.0.18 Installation Script

Finally the other two kept failing on me, but this worked....well sort of.

Now when I open amarok and trying to play it freezes. If I select pulseaudio it will play no problems through 2 speakers only, even though the daemon.conf says 6 speakers. If I restart the x server then sound is fine and through pref < sounds I can play test sounds on pulse or alsa it is fine. As soon as I try to play through amarok with alsa then it freezes and I can no longer do test sounds. So I tryed mplayer set to pulse, just fine. I tryed it again with alsa set and unlike amarok it did play, but it was very slow and popped and clicked. I did notice that it said it was 44100 Hz, and I am not sure but I believe my cmi9761 (SI7012) is 48000 Hz only. So I will look into that.

As far as the script goes, thanks seemed to work great!!

Edit:

I got sick of messing with it and opened the package manager, searched alsa, and everything marked installed I set to reinstall and now it is fine. So I guess if you need to rollback you can try that.
__________________
We have the capacity, but most lack the discipline.

Last edited by ~TheMik; October 29th, 2008 at 08:59 PM.. Reason: Update!!
~TheMik is offline   Reply With Quote
Old October 30th, 2008   #4
soundcheck
A Carafe of Ubuntu
 
soundcheck's Avatar
 
Join Date: Jul 2007
Location: DUS
Beans: 150
Re: Alsa 1.0.18 Installation Script

Quote:
Originally Posted by ~TheMik View Post
Finally the other two kept failing on me, but this worked....well sort of.

Now when I open amarok and trying to play it freezes. If I select pulseaudio it will play no problems through 2 speakers only, even though the daemon.conf says 6 speakers. If I restart the x server then sound is fine and through pref < sounds I can play test sounds on pulse or alsa it is fine. As soon as I try to play through amarok with alsa then it freezes and I can no longer do test sounds. So I tryed mplayer set to pulse, just fine. I tryed it again with alsa set and unlike amarok it did play, but it was very slow and popped and clicked. I did notice that it said it was 44100 Hz, and I am not sure but I believe my cmi9761 (SI7012) is 48000 Hz only. So I will look into that.

As far as the script goes, thanks seemed to work great!!

Edit:

I got sick of messing with it and opened the package manager, searched alsa, and everything marked installed I set to reinstall and now it is fine. So I guess if you need to rollback you can try that.
Did you reboot the system after the upgrade?
Did you check alsamixer if all channels are active and unmuted?
You should run the uxchecker script. This will deliver most of the data
needed to track down the issue.
Pulse might upsample - depending on your settings - to 48khz by default. Amarok also upsamples to 48khz by default. Alsa sounds are usually also played in 48khz. Strange that Amarok locks up the system. That should never happen.
soundcheck is offline   Reply With Quote
Old October 30th, 2008   #5
jimifelony
First Cup of Ubuntu
 
Join Date: Feb 2008
Beans: 5
Re: Alsa 1.0.18 Installation Script

Hi I'm running ubuntu 8.04 64 bit, I selected 1.0.18, the script failed compiling utils, the log says:

Code:
checking for libasound headers version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
alsa-utils-1.0.18 make failed
I've done a sudo apt-get install libasound2-dev but am told I have the latest version.

Any ideas?
Attached Files
File Type: gz AlsaUpgradeRev-1.10-103008-14.51.log.txt.tar.gz (25.9 KB, 156 views)
__________________
Ubuntu 8.04 64bit - Intel Q6600 - 4GB DDR800 - 8800GTS 320MB
jimifelony is offline   Reply With Quote
Old October 30th, 2008   #6
jimifelony
First Cup of Ubuntu
 
Join Date: Feb 2008
Beans: 5
Re: Alsa 1.0.18 Installation Script

So ihacked my way through the dependency issues by installing the debs for libasound2 and libasound2-dev from the intrepid repository, now I have the following issue:

Code:
gcc  -g -O2   -o aplay  aplay.o  -lasound -lm -ldl -lpthread
aplay.o: In function `do_test_position':
/usr/src/Alsa-1.0.18/alsa-utils-1.0.18/aplay/aplay.c:1403: undefined reference to `snd_pcm_avail_delay'
collect2: ld returned 1 exit status
make[1]: *** [aplay] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.18/alsa-utils-1.0.18/aplay'
make: *** [all-recursive] Error 1
alsa-utils-1.0.18 make failed
now I'm stumped, I guess I'll just have to dist-upgrade to intrepid...
Attached Files
File Type: gz AlsaUpgradeRev-1.10-103008-15.45.log.tar.gz (24.6 KB, 94 views)
__________________
Ubuntu 8.04 64bit - Intel Q6600 - 4GB DDR800 - 8800GTS 320MB
jimifelony is offline   Reply With Quote
Old October 30th, 2008   #7
soundcheck
A Carafe of Ubuntu
 
soundcheck's Avatar
 
Join Date: Jul 2007
Location: DUS
Beans: 150
Re: Alsa 1.0.18 Installation Script

Quote:
Originally Posted by jimifelony View Post
Hi I'm running ubuntu 8.04 64 bit, I selected 1.0.18, the script failed compiling utils, the log says:

Code:
checking for libasound headers version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
alsa-utils-1.0.18 make failed
I've done a sudo apt-get install libasound2-dev but am told I have the latest version.

Any ideas?
Hi.

1. The script downloads the latest libasound-dev from the repositories by itself. No need to do it manually.
2. All packages compiled OK except the alsa-utils.
3. I am wondering if the newly build libasound needs to be installed (make install) prior to building the utils. When testing the whole thing I started off from an 1.0.18-rc3 installation.

I separated this step "configure/make" from "make install" on purpose. If a configure or make would fail on a later compiled package this would cause inconsistencies. Such a thing would have happened in your case. But now - your system is still untouched.

Perhaps we need to tell the utils-package where to find the new libasound-headers.

I'll check it out.
soundcheck is offline   Reply With Quote
Old October 30th, 2008   #8
jimifelony
First Cup of Ubuntu
 
Join Date: Feb 2008
Beans: 5
Re: Alsa 1.0.18 Installation Script

I went to the sources folder and ran make install for alsa-lib, and then afterwards for utils and utils compiled without error.

Hope this helps.
__________________
Ubuntu 8.04 64bit - Intel Q6600 - 4GB DDR800 - 8800GTS 320MB
jimifelony is offline   Reply With Quote
Old October 30th, 2008   #9
~TheMik
First Cup of Ubuntu
 
~TheMik's Avatar
 
Join Date: Oct 2008
Beans: 4
Re: Alsa 1.0.18 Installation Script

Hey soundcheck I did use uxchecker and didn't see anything out of the ordinary as compared to the to the check to installing. Then again I have been at this a week now so though I am learning quickly I certainly don't know much. Everything thing in the mixer was good to go as well. Amarok didn't lock the system, it froze during play. I would hit the play button the graphic EQ at the bottom would start (no sound) and then just freeze. I would have to force quit then go into System Manager and manually close amarokapp as it was using the cpu fulload.

So the "rollback" didn't quite work as excepted either. I do have 5.1 and softvol again via the asoundrc, but there is no /ect/asound.conf anymore just the state file. Which upon reboot sets everything back to mute (center and lfe) with no master control. When and if I play a song then the asoundrc loads and everything is back to normal until a reboot. I did try the apt-get to uninstall alsa with the purge command and reloading everything but that did nothing for me. So I went into the package manager and reinstalled that way and at least I can listen to music again. I will try more troubleshooting and see what I can find. Right now it looks like a reinstall of hardy maybe in order (would be my 5th time cause I keep breaking things lol).
__________________
We have the capacity, but most lack the discipline.
~TheMik is offline   Reply With Quote
Old October 30th, 2008   #10
karltron
First Cup of Ubuntu
 
Join Date: Aug 2008
Beans: 1
Re: Alsa 1.0.18 Installation Script

Quote:
Originally Posted by jimifelony View Post
Hi I'm running ubuntu 8.04 64 bit, I selected 1.0.18, the script failed compiling utils, the log says:

Code:
checking for libasound headers version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
alsa-utils-1.0.18 make failed
I've done a sudo apt-get install libasound2-dev but am told I have the latest version.

Any ideas?

I have the same issue. My other problem is that I'm a linux newbie, so i might have trouble following these directions.

I have an old intel motherboarded pentium3 with a newish install of Hardy Heron. The sound card is onboard and I havent checked the chipset name yet. Sound works under Windows without special drivers due to the age of the board, and I don't really know what to do with linux. This was the first thing I tried, because this script looks like it takes care of everything for me. I ran the 1.0.18 under the assumption that bigger numbers are better.

This was the result:
Code:
checking for libasound headers version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
alsa-utils-1.0.18 make failed
Thanks for any support, and let me know if I can get you any extra information about the system environment.
Attached Files
File Type: gz uxchecker-1.02-103008-21.36.log.tar.gz (2.2 KB, 45 views)
karltron is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:34 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry