LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Frustration With Audio (https://www.linuxquestions.org/questions/slackware-14/frustration-with-audio-4175492780/)

ReaperX7 01-28-2014 08:22 PM

Okay now that's puzzling...

enorbet 01-28-2014 08:37 PM

Since I'm just naturally curious, why do you reboot again once you boot in to a session that works?

tb75252 01-28-2014 08:47 PM

Quote:

Originally Posted by enorbet (Post 5107120)
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.

ReaperX7 01-28-2014 09:47 PM

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.

tb75252 01-30-2014 09:21 PM

Quote:

Originally Posted by ReaperX7 (Post 5107153)
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.

D1ver 01-30-2014 10:10 PM

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..

Drakeo 01-30-2014 10:18 PM

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

tb75252 01-30-2014 10:51 PM

Quote:

Originally Posted by D1ver (Post 5108465)
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.

ReaperX7 01-30-2014 11:28 PM

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.

Daedra 01-30-2014 11:50 PM

Quote:

Originally Posted by tb75252 (Post 5108476)
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.

ReaperX7 01-31-2014 06:04 AM

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 12:31 PM.