LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-30-2014, 02:27 PM   #1
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Question alsa and pulseaudio problem


hi all,

I have a problem here that I have not encountered before in a Slackware install WITHOUT Dropline GNOME installed (and I have it installed now) and it installed pulseaudio so I am going to assume that this is the culprit.

my problem:
no audio in games. (specifically darkplaces quake, yamagi-quake2 and ioquake3. I own these games so I kinda figure that I want them installed and functioning properly on my system so any help here would be appreciated. everything was working with alsa and gstreamer before I installed dropline and it's pulseaudio package. I have since un-installed the dropline pulseaudio package and replaced it with the updated version from slackbuilds hoping that recompiling pulseaudio would solve the problem but it did not. also, I cannot run alsamixer in the terminal so something is up and it's probably an easy fix. here's the output of that command:

Code:
~$ alsamixer
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_ctl_pulse.so
cannot open mixer: No such device or address
I'm not an idiot, but I need a little help. thanks.
 
Old 08-30-2014, 04:28 PM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
The shared library you are apparently missing is part of alsa-plugins

You (or something) have alsa configured to use pulseaudio for audio output. Since it can't load the plugin, it can't do anything with the sound it gets and hence your games (and other apps using alsa directly) are silent.
 
1 members found this post helpful.
Old 08-30-2014, 06:44 PM   #3
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Thumbs up excellent !!!

thanks bro...

I fired up pkgtool and checked the versions of some packages dropline GNOME overwrote. so far I have removed some packages and:

Code:
sboinstall ffmpeg
with the PULSEAUDIO=yes option
Code:
sboinstall alsa-plugins
and now I have sound in my games and a master out for alsamixer. THANK-YOU

not only do I have sound in my games but I have sound in chromium when I am browsing http://youtube.com ... a problem I had posted on LQ previously but nobody was able to solve. so kudos to you, my friend... you aced this one.
 
Old 08-30-2014, 09:09 PM   #4
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
scarrz, so you installed ffmpeg and alsa-plugins from sbo.org ?
what else did you change ?

This will help in updating dropline gnome to address this issue.
 
Old 08-31-2014, 04:19 AM   #5
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
FWIW, ffmpeg should have no impact here. ffmpeg's pulseaudio support entails that it can transcode audio from pulseaudio input to another format, so potentially for use cases like screen recording, or recording skype conversations. But for being able to hear audio in games, it would hardly be relevant.

So the only reason for ffmpeg here would be alsa-plugin's optional dependency on it, but I'm not sure what that would do. I doubt it would be relevant either.
 
Old 09-01-2014, 12:07 PM   #6
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Post yep...

Quote:
Originally Posted by bartgymnast View Post
scarrz, so you installed ffmpeg and alsa-plugins from sbo.org ?
what else did you change ?

This will help in updating dropline gnome to address this issue.
after installing those packages everything was fine. I JUST installed slackware-current and am going thru the motions of getting this set up again. alsa-plugins didn't build with the dropline version of ffmpeg and that's why I installed it. As far as my other changes... I had to find a slackbuild for audacious-plugins and install libcue to get my favorite audio player working with .cue support... (not dropline related) and I removed totem and replaced it with the sbo version because the interface is a little easier to use and it adds gst-plugins-bad and ugly to the build for dvd support and whatnot; and since vlc is no longer available on sbo totem is my replacement. I do not want to use AlienBob's vlc package as I prefer to use software form sbo first and foremost before anything and totem seems to run a bit better anyways.

So far my dropline GNOME pet is proving to be quite a challenge but I am not giving up! It works... it's just really slow and font rendering is buggy with the nVIDIA proprietary driver.
 
Old 09-04-2014, 03:25 PM   #7
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Exclamation pulseaudio on slackware-current

hello again...

recently migrated to slackware64-current and am getting dropline GNOME set up again and am doing ALOT of tweaking. seems pulseaudio will not run as a normal user but runs fine as root. (ie: I can hear sound in games and YouTube and pulseaudio plugins in my favorite multimedia apps like audacious and totem) I have uninstalled the pulseaudio package from the gnome install as well as alsa-plugins and ffmpeg and all the gst1 plugins and replaced them with the SBo versions.this is what happens when I:
Code:
bash-4.3$ pulseaudio
Quote:
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
so I:
Code:
bash-4.3$ killall pulseaudio
and:
Code:
bash-4.3$ pulseaudio restart
and I get:
Quote:
E: [pulseaudio] main.c: Too many arguments.
and I am scratching my head because this exact same setup worked in Slackware64 14.1 as a normal user.

I seem to remember jack audio needing special permissions to start it's own server... and at install pulseaudio was suppose to do that but I am wondering if it didn't. doing homework, any help would be much appreciated.
 
Old 09-04-2014, 09:57 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
etc/pulse/default.pa
Code:
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
the output your reading is just that. If pavucontrol stops working. Then you need to restart the xorg or reboot.
this can be handled with outher edits to your default.pa. But we want alsa to control pulse in slackware.
And if using KDE we want the default devices chosen in kmix multimedida settings. To be used.

Quote:
killall pulseaudio
really does not do that ok. pulseaudio -k
but if your /etc/pulse/client.conf is
Quote:
; autospawn = yes
It will just restart.

Last edited by Drakeo; 09-04-2014 at 10:02 PM.
 
Old 09-07-2014, 01:30 AM   #9
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Lightbulb re-solved...

heads up...
I must have had left my old settings in my home dir. removing ~/.config/pulse and logging out/in solved my problem. thanks again for your help.
 
  


Reply



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
[SOLVED] How can I remove pulseaudio and use alsa MooseMagnet Linux - Software 5 05-12-2014 10:12 AM
Alsa and/or PulseAudio stream multiplexing vadiml Linux - Software 0 02-16-2013 06:45 PM
pulseaudio with alsa configuration? rabbit2345 Linux - Hardware 6 08-28-2012 05:01 PM
Alsa to pulseaudio to Alsa - skype only problem Weber Kai Slackware 0 01-27-2012 07:23 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration