View previous topic :: View next topic |
Author |
Message |
groenoord n00b

Joined: 30 Apr 2007 Posts: 5
|
Posted: Sat May 09, 2009 3:30 pm Post subject: |
|
|
When I read that people identified libsdl as cause of the problem I checked my use flags. I am using virtualbox on my laptop, but I remembered that a long time ago I had other problems with esound on my desktop computer, where I finally decided to put -esd in make.conf. So I did the same on my laptop and this solved the virtualbox sound problem as well.
/Andreas |
|
Back to top |
|
 |
overkll Veteran

Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sat May 09, 2009 3:35 pm Post subject: |
|
|
Well I'll be! SOB! Disabling esd worked here as well.
Good catch groenoord/Andreas! |
|
Back to top |
|
 |
joefish Guru


Joined: 27 Jan 2004 Posts: 316 Location: New Zealand
|
Posted: Sun May 10, 2009 4:05 am Post subject: |
|
|
Fixes it for me too! |
|
Back to top |
|
 |
cyrre n00b

Joined: 02 Jul 2007 Posts: 26
|
Posted: Sun May 10, 2009 2:34 pm Post subject: |
|
|
Re-emerging libsdl without the esd USE-flag didn't solve it for me.
Issue still remains when using ALSA  |
|
Back to top |
|
 |
overkll Veteran

Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 10, 2009 5:05 pm Post subject: |
|
|
Sorry to hear that. It worked for me on two systems - one laptop and one desktop. I don't know what else to suggest. I didn't even have to reboot or logout/login to test. Just recompiling libsdl w/o esd worked.
Which version of libsdl are you using? |
|
Back to top |
|
 |
overkll Veteran

Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 10, 2009 5:49 pm Post subject: |
|
|
@cyrre,
What happens if you rollback esound from 0.2.41 to 0.2.38-r1? It's still in portage so you shouldn't have to make an overlay to test. |
|
Back to top |
|
 |
cyrre n00b

Joined: 02 Jul 2007 Posts: 26
|
Posted: Sun May 10, 2009 7:32 pm Post subject: |
|
|
Heyy, thanks for your quick replies
Downgrading esound didn't solve it.
But I noticed after I posted earlier that the issue is probably related to ALSA. I realised that only one application at the time can use audio. For some weird reason some of my apps seems to have stopped using dmix? Everything has been working flawless after I set up ALSA+dmix when I installed Gentoo in 2007. But since today or yesterday this doesn't work anymore.
The weird thing is that mpd+skype can use audio at the same time. But no other application plays sound (i.e Firefox+flash) when mpd is running, this has always been working earlier since I configured dmix. So I guess my VirtualBox-issue also will be solved when I figure out what has been messing up my system.
Any comments on what could be causing this will be appreciated.
Kind of a frustrating coincidence that this would happen around the same time a solution to the VirtualBox+libsdl issue was found.  |
|
Back to top |
|
 |
overkll Veteran

Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun May 10, 2009 7:58 pm Post subject: |
|
|
I've never set up dmix before, but maybe that's the issue you are having. Check out this link:
http://alsa.opensrc.org/home/w/org/opensrc/alsa/index.php?title=DmixPlugin
To quote directly:
NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing.
What are we at now? 1.0.18 or so?
Maybe you could try disabling dmix and just use a standard alsa setup. I also recall reading (an emerge warning?) that any .asoundrc files need to be deleted as they can cause issues.
Good luck.
EDIT: Found the warning in alsa-lib ebuild:
Code: | Starting from alsa 1.0.11_rc3 the configuration for dmix is changed.
Leaving around old asound.conf or ~/.asoundrc might make all apps
using ALSA output crash.
Note that dmix output is enabled by default on the 'default' device
since ALSA 1.0.9. |
|
|
Back to top |
|
 |
cyrre n00b

Joined: 02 Jul 2007 Posts: 26
|
Posted: Sun May 10, 2009 8:31 pm Post subject: |
|
|
I remember I've read about this before, but since my setup with dmix has worked I haven't cared about it I guess.
Don't have time right now, but tomorrow I will remove asound.conf and ~/.asoundrc and see if it makes any difference.
Thank you very much!
overkll wrote: | I've never set up dmix before, but maybe that's the issue you are having. Check out this link:
http://alsa.opensrc.org/home/w/org/opensrc/alsa/index.php?title=DmixPlugin
To quote directly:
NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing.
What are we at now? 1.0.18 or so?
Maybe you could try disabling dmix and just use a standard alsa setup. I also recall reading (an emerge warning?) that any .asoundrc files need to be deleted as they can cause issues.
Good luck.
EDIT: Found the warning in alsa-lib ebuild:
Code: | Starting from alsa 1.0.11_rc3 the configuration for dmix is changed.
Leaving around old asound.conf or ~/.asoundrc might make all apps
using ALSA output crash.
Note that dmix output is enabled by default on the 'default' device
since ALSA 1.0.9. |
|
|
|
Back to top |
|
 |
AlienPenguin n00b


Joined: 08 Sep 2004 Posts: 12 Location: Pisa, Italy
|
Posted: Mon May 11, 2009 8:17 am Post subject: |
|
|
I am glad to confirm that disabling the esd USE for libsdl fixed it for me too. (on two systems) |
|
Back to top |
|
 |
bigsun n00b

Joined: 19 Mar 2009 Posts: 2
|
Posted: Tue May 12, 2009 12:12 pm Post subject: |
|
|
very happy , the problem is resolved by -esd USE flag at last. |
|
Back to top |
|
 |
cyrre n00b

Joined: 02 Jul 2007 Posts: 26
|
Posted: Wed May 13, 2009 4:31 am Post subject: |
|
|
I had messed up my mpd.conf which was causing my issues ALSA.
The sound in VirtualBox works fine after disabling the -esd USE-flag.  |
|
Back to top |
|
 |
lkraav Tux's lil' helper


Joined: 13 Oct 2004 Posts: 128 Location: Estonia
|
Posted: Sun Mar 07, 2010 7:23 pm Post subject: |
|
|
thanks ladies and gents, libsdl -esd fixed virtualbox-bin-3.1.4 audio for me. |
|
Back to top |
|
 |
Master of the Darkside Tux's lil' helper

Joined: 02 Sep 2004 Posts: 94 Location: Iasi, Romania
|
Posted: Sat Apr 03, 2010 6:47 pm Post subject: |
|
|
I can confirm that downgrading libsdl (from ~ to stable amd64), solved it for me. I never used the esd use flag. _________________ No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought |
|
Back to top |
|
 |
SDNick484 Apprentice

Joined: 05 Dec 2005 Posts: 226
|
Posted: Thu Apr 29, 2010 7:27 am Post subject: |
|
|
This issue is still open. I'm running app-emulation/virtualbox-bin-3.1.6 and sound wasn't working with media-libs/libsdl-1.2.14-r2 (current ~amd64). Downgrading to media-libs/libsdl-1.2.13-r1 (current stable) resolved the issue for me. Also I should note that there's no "esd" USE for 1.2.14.
So to be clear, the following failed (no sound in VirtualBox with ALSA):
[ebuild R ] media-libs/libsdl-1.2.14-r2 USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib -xinerama"
Downgrading to the following fixed the issue:
[ebuild R ] media-libs/libsdl-1.2.13-r1 USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -oss -pulseaudio (-svga) -tslib -xinerama" |
|
Back to top |
|
 |
cyrius n00b

Joined: 27 Jan 2007 Posts: 70 Location: France
|
Posted: Sat May 29, 2010 6:03 pm Post subject: |
|
|
Unfortunately, i use Virtual Box.
Allright, i think i found the solution for newest ebuild of libsdl.
In the ebuild the option --disable-alsa-shared is on. Then by removing it, it works now.
I post a bugg for gentoo. |
|
Back to top |
|
 |
rh1 Guru


Joined: 10 Apr 2010 Posts: 501
|
Posted: Sat Jun 26, 2010 2:04 am Post subject: |
|
|
Quote: | In the ebuild the option --disable-alsa-shared is on. Then by removing it, it works now. |
Thanks, this fix worked for me also.  |
|
Back to top |
|
 |
meyerm Veteran


Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Aug 19, 2010 10:50 am Post subject: |
|
|
rh1 wrote: | Quote: | In the ebuild the option --disable-alsa-shared is on. Then by removing it, it works now. |
Thanks, this fix worked for me also.  |
+1
~amd64
libsdl-1.2.14-r3
virtualbox-bin-3.2.8 |
|
Back to top |
|
 |
agent_jdh Veteran

Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Wed Aug 25, 2010 10:18 pm Post subject: |
|
|
YES! This has been irritating me for some time now, and removing --disable-alsa-shared from the libsdl ebuild has fixed it. Thanks guys. Maybe a bug should be filed? _________________ Jingle Jangle Jewellery |
|
Back to top |
|
 |
mgromit n00b

Joined: 14 Apr 2011 Posts: 1
|
Posted: Thu Apr 14, 2011 5:40 pm Post subject: |
|
|
SDNick484 wrote: | This issue is still open. I'm running app-emulation/virtualbox-bin-3.1.6 and sound wasn't working with media-libs/libsdl-1.2.14-r2 (current ~amd64). Downgrading to media-libs/libsdl-1.2.13-r1 (current stable) resolved the issue for me. Also I should note that there's no "esd" USE for 1.2.14.
So to be clear, the following failed (no sound in VirtualBox with ALSA):
[ebuild R ] media-libs/libsdl-1.2.14-r2 USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib -xinerama"
Downgrading to the following fixed the issue:
[ebuild R ] media-libs/libsdl-1.2.13-r1 USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -oss -pulseaudio (-svga) -tslib -xinerama" |
Hello everybody.
The problem is still actual for virtualbox-bin-4.0.4, libsdl-1.2.14-r6, x86
Downgrade to libsdl-1.2.13-r1 (as it's shown above) fixes it.
Please note, that libsdl-1.2.14-r6 doesn't have the disable-alsa-shared use flag. |
|
Back to top |
|
 |
IceSunrise n00b

Joined: 03 Mar 2008 Posts: 24 Location: Russia, Saint-Petersburg
|
Posted: Fri Apr 15, 2011 10:44 am Post subject: |
|
|
mgromit wrote: |
Hello everybody.
The problem is still actual for virtualbox-bin-4.0.4, libsdl-1.2.14-r6, x86
Downgrade to libsdl-1.2.13-r1 (as it's shown above) fixes it.
Please note, that libsdl-1.2.14-r6 doesn't have the disable-alsa-shared use flag. |
Confirm that, has the same problem.
I've found a bug report on Gentoo's Bugzilla, waiting for any replies.
https://bugs.gentoo.org/show_bug.cgi?id=363635 |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Tue May 03, 2011 9:24 am Post subject: |
|
|
Another me too here. |
|
Back to top |
|
 |
|