LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 07-12-2013, 05:38 PM   #31
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,688
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139

It's always good to have a fall back driver just in case.
 
Old 07-30-2013, 11:12 AM   #32
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
After reading the change log for the 3.10.4 kernel yesterday morning, I compiled and installed it, but it did not solve the audio problem (lack of volume).
Back to the 3.8.13 kernel.
 
Old 07-30-2013, 11:28 AM   #33
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 207

Rep: Reputation: 33
Quote:
Originally Posted by cwizardone View Post
After reading the change log for the 3.10.4 kernel yesterday morning, I compiled and installed it, but it did not solve the audio problem (lack of volume).
Back to the 3.8.13 kernel.
I wonder what it is about the 3.8.13 kernel that agrees with your sound hardware more than any recent kernel. Most unusual, to say the least. I have not had any trouble with the 3.9.10 kernel. However, I have had some luck with these commands when I have switched to a new version of the 3.x.x kernel, because ALSA sometimes complains about the lack of controls for the sound card when I switch to a new version of the kernel. Maybe these commands will help you too:

Code:
alsactl init
alsactl store
The init command tells ALSA to re-initialize your sound hardware, and the store command, of course, stores the new settings.

Hope this helps.

Regards,

Matt
 
Old 08-06-2013, 12:57 PM   #34
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Installed the 3.10.5 Kernel and it did not fix the audio problem, but I'll run it for a while and see how it behaves. So far so good with xorg 1.14.2 and the new Nvidia 325.15 driver.
 
Old 08-15-2013, 11:43 AM   #35
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Installed the 3.10.6 Kernel and it did not fix the audio volume problem, but I'll run it for a while and see how it behaves. So far so good with xorg 1.14.2 and the new Nvidia 325.15 driver.
 
Old 08-15-2013, 02:42 PM   #36
perseus12
LQ Newbie
 
Registered: Oct 2012
Distribution: Slackware 14.0
Posts: 20

Rep: Reputation: Disabled
Lightbulb

cwizardone:

I've followed this post with a smile...I admire your perseverance :-)

alsa has been the #1 pain in the neck for me. When it works it is great, but since leaving the 2.6 series kernels, with almost every kernel update I do, alsa changes what it detects as the sound card/chip.

I have installed Slackware on many machines (mine and friends) and so my experience has included a number of chipsets and the best detection has been anything from Creative.

To help you this is a typical scenario for me involving a chipset which the kernel reports as 'HD-Intel: Conexant ID5045'
kernel 3.0.75:
no loud pop on start up or shutdown
loud pop on resume
mixer channels: master; pcm; s/pdf, mic
sound dynamic range good but worse than windows vista

kernel 3.2.29
loud pop on start up & shutdown
no loud pop on resume
mixer channels: master; headphone; pcm; s/pdf, s/pdif default;
sound dynamic range terrible; only the top 5% is usable

Fixed by creating /etc/modprobe.d/alsa-base.conf and adding line
option snd-hda-intel model=generic. This restored full volume range
and solved loud pop on startup but not on shutdown; so I added line to
/etc/rc.d/local.shutdown to unload alsa modules.

kernel 3.2.45
loud pop on start up & shutdown
no loud pop on resume
mixer channels: headphone; speaker; pcm; capture
sound dynamic range terrible

Same fix for 3.2.29 works but NOTICE the different channels detected.
Sound is much better than 3.0.75, on par with windows vista.

kernel 3.10.5 & 3.10.6:
no loud pop on start up & shutdown
but loud pop when insert & remove headphones
mixer channels: speaker; headphone; pcm; s/pdf; s/pdif default;
(NOTICE again different channels)
volume for speaker does not work.
volume range for pcm is good like kernel 3.2.45
volume range for headphones affects both speaker and headphones
which means when headphones are plugged in sound still comes out
of speakers

By the way this is without pulseaudio, gstreamer or anything;
just the alsa layer.

So I'm staying with kernel 3.2.45 on that machine, but that's how things
go with alsa.

Whenever I upgrade a kernel I have to flip the definition
in /etc/modprobe.d/alsa-base.conf to 'model=generic.' or 'model=basic' or 'model=auto' to make sound work on this particular machine.

This is NOT a problem caused by Slackware, I seen to it on Gentoo and read about it for the Ubuntus as well; I think it is simply a kernel-alsa bug.
My biggest complaint is against the loud pops though; I'd rather put up with shitty sound than those.

My advice is to play around with values in /etc/modprobe.d/alsa-base.conf,
although even that doesn't work for me with 3.10.5/6 kernels :-(
 
1 members found this post helpful.
Old 08-15-2013, 05:35 PM   #37
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
@perseus12,
Thanks for the information.
Greatly appreciated!
 
Old 08-15-2013, 11:27 PM   #38
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Installed the 3.10.7 Kernel and it did not fix the audio volume problem, but I'll run it for the rest of the evening and see how it behaves. So far there have been no other problems using xorg 1.14.2 and the new Nvidia 325.15 driver.
In the morning I'll go back to the 3.8.13 kernel as the lack of volume when doing almost anything involving multimedia is most troublesome (a major P.I.T.A. ).

Last edited by cwizardone; 08-15-2013 at 11:29 PM.
 
Old 08-16-2013, 12:56 AM   #39
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,688
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
I seriously doubt any newer kernels are going to fix the problems in ALSA any time soon.

For now I've resigned to OSSv4 as my primary audio driver and even disabled ALSA support in the kernel completely with only the minimal soundcore so that OSSv4 can operate off it on my BLFS install.

Works great without having to worry, and I can keep my newer kernels by doing simply OSSv4 rebuilds.
 
Old 08-16-2013, 09:48 AM   #40
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Perhaps I don't understand how alsa and the kernel interact, but as the alsa version remains the same and the only change is the kernel (or a kernel module?) it would seem the fault is with the kernel?

This morning I'm using the 3.8.13 kernel along with xorg 1.14.2 and the Nvidia 325.15 driver, and all is well. The volume levels and quality have returned.

I don't recall if I mentioned the quality issue before or not, but with the newer kernels, not only is the volume level reduced by over 50%, but quality also suffers. This is probably a matter of distortion, but when the volume is turned up, with the newer kernels, loud enough to be heard, the quality of the sound is just poor enough to make it difficult to clearly understand what is being said.
This is not a problem with the 3.8.13 kernel.
 
Old 08-16-2013, 12:07 PM   #41
GazL
Senior Member
 
Registered: May 2008
Posts: 3,481

Rep: Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016
If you're waiting for it to go away on its own then you may be in for a long wait. Your best bet would be to try and identify what introduced the problem and talk to the alsa kernel devs about it. You know it was ok in 3.8.13, I'd start with 3.9.0 and see whether that introduced the problem, if not try 3.9.1, and so on. The more you can narrow it down, the better chance you'll have in getting them interested.

When I had a similar problem it had always been broken so I had nothing to point at and say "There!... that broke it!", you're in a much better position than I was, but its going to take some work on your part.
 
Old 08-16-2013, 03:03 PM   #42
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Well, I've tried,
3.9.4
3.9.5
3.9.7
3.9.9
3.9.10
3.10.4
3.10.5
3.10.6
3.10.7,

I guess I could try 3.9.0 through 3.9.3 and see with which one the problem started.

However, this is a known bug, as I mentioned in post #15 of this thread,

https://bugzilla.redhat.com/show_bug.cgi?id=974225

Last edited by cwizardone; 08-16-2013 at 03:12 PM.
 
Old 08-16-2013, 03:49 PM   #43
GazL
Senior Member
 
Registered: May 2008
Posts: 3,481

Rep: Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016
Well, if as you say it's a known issue there's probably nothing to be gained by testing them, though from what I saw on that bug report, they were talking about no sound at all, and you've just been saying you're having low volume/quality issues.

Last edited by GazL; 08-16-2013 at 03:56 PM.
 
Old 08-16-2013, 06:42 PM   #44
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,688
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
I would say to go report this to the ALSA developers themselves but I doubt since it's all kernel team now, that might be pointless.
 
Old 08-17-2013, 12:14 PM   #45
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,253

Original Poster
Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by GazL View Post
Well, if as you say it's a known issue there's probably nothing to be gained by testing them, though from what I saw on that bug report, they were talking about no sound at all, and you've just been saying you're having low volume/quality issues.
Might as well be no sound at all.
Once I have the physical volume knob on the speakers adjusted to a reasonable level with the 3.8.13 kernel and then move to any of the 3.9.4> kernels, the volume drops by at least 50%, if not more. If I leave the adjustment made to the speakers alone and boot to Xp-sp3 I have to almost, without exaggeration, turn the software volume slider to the off position.
Yesterday evening I was bouncing back and forth between Slackware64 with the 3.10.7 kernel and Xp, watching the same online video in the same browser (same version for both Linux and winblows) and the sound was far, far superior and the video was noticeably clearer (cleaner) and sharper.
If I didn't dislike mickeysoft so much on principle, and if I didn't have so much time "invested" in Linux, I would bite the bullet and use Xp. Twelve years old and it is still does somethings better than latest the versions of Linux.

Last edited by cwizardone; 08-17-2013 at 01:24 PM. Reason: Typo.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recent Changes in Current (or things that go bump in the night). cwizardone Slackware 13 03-02-2013 09:30 AM
[SOLVED] Problems after upgrade to -current gmartin Slackware 1 12-29-2011 10:50 PM
LXer: Tutorial: Viewing the Night Sky with Linux, Part I: KStars LXer Syndicated Linux News 0 08-29-2008 05:00 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM
bash scripts which go bump in the night and the system resources who hate them dehuszar Programming 16 07-08-2004 04:24 PM


All times are GMT -5. The time now is 04:56 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 Google+: linuxquestions
Open Source Consulting | Domain Registration