Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-28-2014, 09:22 PM
|
#16
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Okay now that's puzzling...
|
|
|
01-28-2014, 09:37 PM
|
#17
|
LQ Guru
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,047
|
Since I'm just naturally curious, why do you reboot again once you boot in to a session that works?
|
|
|
01-28-2014, 09:47 PM
|
#18
|
Member
Registered: Oct 2010
Posts: 167
Original Poster
Rep:
|
Quote:
Originally Posted by enorbet
Since I'm just naturally curious, why do you reboot again once you boot in to a session that works?
|
The first and second reboots allowed me to listen to Internet music using Soma which is a stream player that can be launched via the command line. But I wanted to listen to either AccuRadio.com or Pandora.com using Firefox.
|
|
|
01-28-2014, 10:47 PM
|
#19
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
At this point, I'm thinking this is an ALSA/dmix related issue. The audio should just work without a problem.
Although this may seem a radical solution, it did work for me on LFS.
Try installing PulseAudio. Normally this is generally a terrible idea, but the SBo for this is a clean implementation over ALSA and dmix, so it should work well. PulseAudio will auto-direct a lot of audio around your system to the appropriate output channels using it's audio output management daemon.
The SBo to build the package is located here:
http://slackbuilds.org/repository/14...io/pulseaudio/
Then delete the modules.conf and .asoundrc files
The only other solution I can think of would be to update the kernel and chance a fix that way, or blacklist out ALSA and install the OSSv4 drivers and see how they fair.
Last edited by ReaperX7; 01-28-2014 at 10:55 PM.
|
|
|
01-30-2014, 10:21 PM
|
#20
|
Member
Registered: Oct 2010
Posts: 167
Original Poster
Rep:
|
Quote:
Originally Posted by ReaperX7
At this point, I'm thinking this is an ALSA/dmix related issue. The audio should just work without a problem.
Although this may seem a radical solution, it did work for me on LFS.
Try installing PulseAudio. Normally this is generally a terrible idea, but the SBo for this is a clean implementation over ALSA and dmix, so it should work well. PulseAudio will auto-direct a lot of audio around your system to the appropriate output channels using it's audio output management daemon.
The SBo to build the package is located here:
http://slackbuilds.org/repository/14...io/pulseaudio/
Then delete the modules.conf and .asoundrc files
The only other solution I can think of would be to update the kernel and chance a fix that way, or blacklist out ALSA and install the OSSv4 drivers and see how they fair.
|
Well, that did not make an iota of difference... I'm almost inclined to reinstall Slackware and see if things get better! Maybe something went wrong during the first installation.
|
|
|
01-30-2014, 11:10 PM
|
#21
|
Member
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Rep:
|
I had a similar problem which I discussed in a little blog post here..
Try adding a file to /etc/modprobe.d/ called 'snd_virtuoso.conf' with the line
Code:
options snd slot=snd_virtuoso,snd_hda_intel
Then rename/delete the /etc/asound.conf and reboot and cross your fingers..
|
|
|
01-30-2014, 11:18 PM
|
#22
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
this is the kde environment I am sure you went into setting and set default Right . Then I am sure I hope you then applied it to your device list per per application in settings right. When you are sure you have that set up. So then I am not sure.
because if you don't save to those device list per application then you can have the problems with the .kde/share/config/kmixrc , I always get with multiple sound device kde likes to read alsa and change to what alsa default or config is. . just my 2 cents
|
|
|
01-30-2014, 11:51 PM
|
#23
|
Member
Registered: Oct 2010
Posts: 167
Original Poster
Rep:
|
Quote:
Originally Posted by D1ver
I had a similar problem which I discussed in a little blog post here..
Try adding a file to /etc/modprobe.d/ called 'snd_virtuoso.conf' with the line
Code:
options snd slot=snd_virtuoso,snd_hda_intel
Then rename/delete the /etc/asound.conf and reboot and cross your fingers..
|
Unfortunately it does not work.
|
|
|
01-31-2014, 12:28 AM
|
#24
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
At this point... you may have only one option...
OSSv4.
Now granted this driver isn't as difficult to use as ALSA, but it does require extra steps to get working, but it MAY solve your problems... but I won't guarantee it. It could just be a problem with the ALSA audio stack, the sound card, or who knows what.
You'll need all of these at least to get OSSv4 to install on Slackware with the latest kernel.
1. The SlackBuild
http://slackbuilds.org/repository/14.1/system/oss/
2. Kernels up to version 3.13 patch...
Code:
diff -ur oss-v4.2-build2008-src-gpl.orig/setup/Linux/oss/build/osscore.c oss-v4.2-build2008-src-gpl/setup/Linux/oss/build/osscore.c
--- oss-v4.2-build2008-src-gpl.orig/setup/Linux/oss/build/osscore.c 2013-11-06 22:22:05.760399613 +0400
+++ oss-v4.2-build2008-src-gpl/setup/Linux/oss/build/osscore.c 2013-11-06 22:34:41.908792755 +0400
@@ -436,11 +436,15 @@
int
oss_get_uid (void)
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
+ return __kuid_val(current->cred->uid);
+#else
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
return current->cred->uid;
#else
return current->uid;
#endif
+#endif
}
typedef struct tmout_desc
If this doesn't work, I honestly don't know any more tricks to get your audio fully working. You'll have to block and blacklist ALSA, but OSSv4 works really well, and some people actually say it works better than ALSA.
|
|
|
01-31-2014, 12:50 AM
|
#25
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,884
|
Quote:
Originally Posted by tb75252
Unfortunately it does not work.
|
Try Adding options snd_virtuoso index=0 to the snd_virtuoso.conf file, might not work but give it a try.
|
|
|
01-31-2014, 07:04 AM
|
#26
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
The strange thing I find is, I have the PCIe edition of that card the Xonar DX PCIe 7.1. When I've used it I've never had any issues getting audio to work correctly unless it was multi-source audio. PulseAudio cleared it up on LFS and Slackware both using the channel routing mixer provided by Pulse. It also worked well with OSS's mixer using the OSSv4 driver.
I know that Adobe Flash can require using HAL still, though it can be easily installed from the 13.37 repository, but usually that's for DRM which is completely unrelated though.
I do know that when I did use KDE, phonon didn't like to play well with setting up multi-source audio, so I used Xfce which uses GStreamer and it tended to work fine.
It very well could be Phonon causing the problems now that I think about it.
|
|
|
All times are GMT -5. The time now is 01:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|