LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-19-2006, 10:44 AM   #1
GiantBucket
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Upgrading 2.6 kernel for 10.2 slack -> no sound after KDE startup


I compiled my own 2.6.15.1 kernel in Slackware 10.2, finding the right sound card and everything (ALSA being compiled in the kernel, not as a module). After I boot up sound works perfectly (using mpg123 and the like), but right after I run KDE 3.4 my sound dies (if I run mpg123 while it loads, the sound stops near the end).

If I leave KDE, mpg123 doesn't work anymore. I've been using ALSA before with 2.4 (as packaged by the full Slackware 10.2 install) and the sound card is recognized (by alsamixer, which shows the right version). The settings in alsamixer are correct (PCM, Master Vol, etc...), so it's not a muted. In fact, turning the master volume on and off in KMix will produce a popping noise, so I know it kinda works. I also did the generate-modprobe.conf thing.

I suspect that KDE loads something which conflicts with ALSA.
 
Old 01-19-2006, 11:10 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
Did you recompile alsa?

Brian
 
Old 01-20-2006, 07:26 AM   #3
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: openSUSE 10.2/64bit
Posts: 276

Rep: Reputation: 30
i had to compile alsa as a module to get it to work in 2.6.15, then re-run alsaconf, alsamixer, then alsaconf store to get my sound working properly. It would not work compiled into the kernel.
 
Old 01-20-2006, 08:58 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
There are a few bug reports in the alsa forums which sound like this and they are mostly Slackware users. There is something broken in 1.0.10
 
Old 01-20-2006, 09:09 AM   #5
GiantBucket
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
The sound works fine; I'm listening to it right now (in FluxBox and TTY1). The problem is that KDE does something when it starts up that messes up the sound system. As I load KDE, music from mpg123 or ogg123 dies. In KMix I can mute the master volume on/off to make my speakers 'pop,' but that's it. Once I log out of KDE I can't hear sound until I reboot.

Maybe you could point me to the scripts KDE uses to start, and I might pinpoint what it loads that messes up ALSA.
 
Old 01-20-2006, 10:27 AM   #6
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 464

Rep: Reputation: 43
Don't forget that KDE will try and use the aRts sound daemon to play stuff. I don't use KDE, I can't offer anymore help than: alsamixer != aRts volumes

- Piete.
 
Old 01-20-2006, 12:07 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
Quote:
Originally Posted by GiantBucket
Maybe you could point me to the scripts KDE uses to start, and I might pinpoint what it loads that messes up ALSA.
The main script is startkde and s/b in /opt/kde/bin.

Have you tried configuring sound in kde (Settings->Sound&Multimedia)? Piete is probably right, that is has something to do with aRts.

Brian
 
Old 01-20-2006, 05:52 PM   #8
phase9
Member
 
Registered: Mar 2004
Location: austria, vienna
Distribution: slackware-10.2
Posts: 89

Rep: Reputation: 15
Hi!

Quote:
Originally Posted by GiantBucket
I compiled my own 2.6.15.1 kernel in Slackware 10.2, finding the right sound card and everything (ALSA being compiled in the kernel, not as a module). After I boot up sound works perfectly (using mpg123 and the like), but right after I run KDE 3.4 my sound dies (if I run mpg123 while it loads, the sound stops near the end).
I have the same problem with kernel-2.6.15.1 and KDE-3.4.2/Alsa-1.0.9a. Kernel-2.6.14.5 did make any problems.
For now I am using again 2.6.14.5 and it seems I will have to wait for (a hopefully better) 2.6.15.2.
 
Old 01-21-2006, 10:48 AM   #9
GiantBucket
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
It just gets weirder. My compy has been running Fluxbox for the past 20 hours, and I just switched into KDE to see if aRTs settings were messing up the sound, but now the sound works without intervention. Even when running tvtime and amaroK at the same time.

The only thing I did to the system was install an Acard PCI IDE controller and recompile the kernel. Oh well.
 
Old 01-30-2006, 12:38 PM   #10
khotyan
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
alsa and arts don't play well together

I would like to confirm strange arts/alsa behaviour on gentoo-patched
kernel 2.6.15-r1.

On my system (AMD64, ASUS A8V, VIA 8237, Realtek ALC850 AC'97 audio)
after using some KDE multimedia application the sound in non-KDE apps
is _almost_ muted, and vice versa.
Quitting the application and restarting artsd usually helps.
However, I'd better stay with kernel 2.6.14 for a while.

Should we fill a bug report at bugzilla.kernel.org?
 
Old 01-30-2006, 01:09 PM   #11
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
tell me please how to fight this this:
when installing nvidia driver - the kernel header file '/lib/modules/2.6.12/build/include/linux/version.h does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/2.6.12/build' have not been configured.
when installing ALSA driver, just the same - The file /lib/modules/2.6.12/source/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.12/source)

where to find, download, how to configure?
 
Old 01-31-2006, 06:15 AM   #12
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: openSUSE 10.2/64bit
Posts: 276

Rep: Reputation: 30
do locate version.h | grep 2.6.12
then grab the location and do
./NVIDIA-whatever --with-kernel=/the/location/you/got/2.6/12/source
 
Old 02-01-2006, 06:07 PM   #13
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
anyway alsa do not work.. with or without including it in a kernel (like module or built-in).
tried to compile kernel without alsa, just with "common sound support" then compiled alsa separately...
nothing works...
in my box MOPSLinux 4.0 wich is based on Slackware10.2 sound "jumps" in XMMS and hangs in amaroK completely..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound in Arch Linux, had same problem when upgrading to slack 10.1 landfill Linux - Hardware 11 06-25-2005 01:45 PM
Bizzare X Startup and KDM, Slack 10, 2.6.7 Kernel sovietpower Slackware 11 09-19-2004 01:15 PM
No sound after upgrading to kernel 2.6.8 thiqued Linux - Hardware 2 09-03-2004 10:07 PM
Upgrading KDE 3.1 -> 3.2.1 on Slack 9.1 PhuckFonix Slackware 10 03-31-2004 09:02 AM
Upgrading Slack to the 2.6 kernel jspaceman Slackware 16 12-18-2003 09:03 PM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration