View previous topic :: View next topic |
Author |
Message |
stone[no] n00b
Joined: 23 Sep 2004 Posts: 28 Location: Norway
|
Posted: Thu Sep 23, 2004 5:59 pm Post subject: ALSA + KDE = no sound (SOLVED [KMix bug...]) |
|
|
I'm running P4 with gentoo-dev-2.6.8-r3 kernel.
I've activated the Kernel ALSA driver.
When I'm starting Gentoo in text-mode the sound works great:
This is also true when I run X11
However, when I start kde and it's up-and-running the sound is gone!
Code: | bash-2.05b$ startkde
xset: bad font path element (#70), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
xset: bad font path element (#70), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
ICE default IO error handler doing an exit(), pid = 7776, errno = 0
ICE default IO error handler doing an exit(), pid = 7774, errno = 0
ICE default IO error handler doing an exit(), pid = 7767, errno = 4
ICE default IO error handler doing an exit(), pid = 7810, errno = 0
WARNING: DCOP communication problem!
kdeinit: Communication error with launcher. Exiting!
startkde: Starting up...
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
KWrited - Listening on Device /dev/pts/0
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
kwin: it looks like there's already a window manager running. kwin not started.
#
#[welcome music played...]
#
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x817ec50 ): KAccel object already contains an action name "del"
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kmix: ERROR: snd_ctl_open err=No such file or directory
kmix: ERROR: snd_ctl_open err=No such file or directory
QTime::setHMS Invalid time 25:03:44.000
QImage::smoothScale: Image is a null image
startkde: Shutting down...
ICE default IO error handler doing an exit(), pid = 8189, errno = 29
ICE default IO error handler doing an exit(), pid = 8216, errno = 0
ICE default IO error handler doing an exit(), pid = 8192, errno = 0
startkde: Running shutdown scripts...
startkde: Done.
|
Note the error on alsa-lib.... And that the welcome music is played!
Now, to get the music back I have to run the following commands as root:
Code: | /etc/init.d/alsasound stop
rm /etc/asound.state
/etc/init.d/alsasound start
amixer set Master 100
amixer set PCM 100 |
Now I got audio back, until I restart kde
I later found that I could alter the "/etc/conf.d/alsasound" value: SAVE_ON_STOP="no"
Now, when I start kde and want sound, I only need to restart alsasound
Code: | /etc/init.d/alsasound restart |
Does anybody out there have any clues or comments???
__
- Stein Erik _________________ Linux rules!
Last edited by stone[no] on Thu Sep 23, 2004 8:24 pm; edited 1 time in total |
|
Back to top |
|
|
rfujimoto Apprentice
Joined: 22 Mar 2004 Posts: 195
|
Posted: Thu Sep 23, 2004 7:44 pm Post subject: |
|
|
Is this the kmix error? Try this is a temporary work around:
Start up kmix (kmenu->multimedia->kmix) and de-select 'restore volumes on login' after making sure you have sound while in a KDE environment.
You could patch your sources with the patch in the bug report below, or use the workaround...
http://bugs.kde.org/show_bug.cgi?id=69320
Hope this helps |
|
Back to top |
|
|
stone[no] n00b
Joined: 23 Sep 2004 Posts: 28 Location: Norway
|
Posted: Thu Sep 23, 2004 8:22 pm Post subject: |
|
|
Yes, it was! Thanks for the help!
I've now have sweet sound on my Gentoo box!
Thanks again!
__
- Stein Erik _________________ Linux rules!
Last edited by stone[no] on Fri Sep 24, 2004 5:39 pm; edited 1 time in total |
|
Back to top |
|
|
Matteo Azzali Retired Dev
Joined: 23 Sep 2004 Posts: 1133
|
Posted: Fri Sep 24, 2004 11:28 am Post subject: |
|
|
Thanks a lot, this thread solved also my problems....... please stick this!!!!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|