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.
|
|
|
04-19-2014, 12:57 PM
|
#1
|
Member
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51
Rep:
|
Flash does not like pulseaudio
I get no sound from flash with pulse audio, it does not detect it, and I put the asoundrc in /etc and still no luck.
Youtube videos won't play at all and other sites play with no sound, pulse works with everything else though.
I need to use it to record internal audio and using the alsa loopback yeilds the same result.
Any suggestions? I use Slackware 14.1
asoundrc
Code:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
|
|
|
04-19-2014, 01:13 PM
|
#2
|
Member
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 642
|
Pulseaudio = Lennart Poettering. No-one like PulseAudio.
|
|
|
04-19-2014, 01:20 PM
|
#3
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Rep:
|
Hi Gumboherpy,
pulseaudio is not supported in flash.
the following configuration file could solve the problem.
/etc/asound.conf
Code:
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
|
|
|
04-19-2014, 07:01 PM
|
#4
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Unfortunately Flash was geared more with ALSA's dmix and OSS's ossmix in mind rather that pulseaudio. You'll have to use them if you want Flash audio media.
|
|
|
04-19-2014, 09:53 PM
|
#5
|
Member
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51
Original Poster
Rep:
|
The above input did not help things at all, videos in youtube play now but still no sound. I am willing to ditch pulseaudio but I need somehow to record internal computer audio. (for gameplay recordings and such) I tried setting up an alsa loopback and that yeilded no results, same thing. Anyway you guys know on how to record computer audio? Thanks.
|
|
|
04-19-2014, 10:31 PM
|
#6
|
Member
Registered: Jun 2008
Distribution: Slackware
Posts: 102
Rep:
|
|
|
|
04-20-2014, 07:34 AM
|
#8
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
JACK and ESounD work with ALSA directly via routing audio streams rather than against it trying to force it across an API layer. You might have better results with those. As Eric said in that blog, ESounD does take some work, but it works rather well. JACK is just dynamite however.
http://slackbuilds.org/repository/14.1/audio/jack2/
JACK2 is the more modernized version. And the JACK homepage has plenty or articles to set it up.
Last edited by ReaperX7; 04-20-2014 at 07:46 AM.
|
|
|
04-20-2014, 10:38 PM
|
#9
|
Member
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51
Original Poster
Rep:
|
Okay so I tried following Alienbob's tutorial and everytime I try to run the alsa2jack loopback I get this error via terminal.
Code:
herpy ~
$ /usr/local/bin/loop2jack
--- start
ERROR:dbus.proxies:Introspect error on :1.66:/org/jackaudio/Controller: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
DBus exception: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.66 was not provided by any .service files
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Could not open component .so '/usr/lib/jack/jack_netone.so': /usr/lib/jack/jack_netone.so: undefined symbol: opus_custom_mode_create
Could not open component .so '/usr/lib/jack/jack_netone.so': /usr/lib/jack/jack_netone.so: undefined symbol: opus_custom_mode_create
jack_get_descriptor : dll jack_netone.so is not a driver
Could not open component .so '/usr/lib/jack/jack_netone.so': /usr/lib/jack/jack_netone.so: undefined symbol: opus_custom_mode_create
Could not open component .so '/usr/lib/jack/jack_netone.so': /usr/lib/jack/jack_netone.so: undefined symbol: opus_custom_mode_create
jack_get_descriptor : dll jack_netone.so is not a driver
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JACK server not running?
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JACK server not running?
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JACK server not running?
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JACK server not running?
herpy ~
$ Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
jack server not running?
jack server is not running or cannot be started
jack server not running?
$
aplay -l spits this out
Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 3: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice
This is what my asoundrc looks like
Code:
# ------------------------------------------------------
# hardware 0,0 : used for ALSA playback
pcm.loophw00 {
type hw
card Loopback
device 0
subdevice 0
format S32_LE
rate 44100
}
# ------------------------------------------------------
# hardware 0,1 : used for ALSA capture
pcm.loophw01 {
type hw
card Loopback
device 0
subdevice 1
format S32_LE
rate 44100
}
# ------------------------------------------------------
# playback PCM device: using loopback subdevice 0,0
pcm.amix {
type dmix
ipc_key 196101
slave {
pcm "loophw00"
buffer_size 8192
period_size 4096
periods 2
}
}
# capture PCM device: using loopback subdevice 0,1
pcm.asnoop {
type dsnoop
ipc_key 196102
slave {
pcm loophw01
period_size 4096
periods 2
}
}
# ------------------------------------------------------
# software volume
pcm.asoftvol {
type softvol
slave.pcm "amix"
control { name PCM }
min_dB -51.0
max_dB 0.0
}
# ======================================================
# ------------------------------------------------------
# duplex device combining our PCM devices defined above
pcm.aduplex {
type asym
playback.pcm "asoftvol"
capture.pcm "loophw01"
hint {
description "ALSA->JACK Loop Bridge"
}
}
# ======================================================
# ------------------------------------------------------
# Mixer control definitions to keep JACK and some other apps happy
ctl.amix {
type hw
card Loopback
}
ctl.asnoop {
type hw
card Loopback
}
ctl.aduplex {
type hw
card Loopback
}
# ======================================================
# ------------------------------------------------------
# for jack alsa_out: looped-back signal at other end
pcm.ploop {
type hw
card Loopback
device 1
subdevice 1
format S32_LE
rate 44100
}
# ------------------------------------------------------
# for jack alsa_in: looped-back signal at other end
pcm.cloop {
type hw
card Loopback
device 1
subdevice 0
format S32_LE
rate 44100
}
# ======================================================
# ------------------------------------------------------
# default device
pcm.!default {
type plug
slave.pcm "aduplex"
}
And this is what my jackdrc looks like
Code:
/usr/bin/jackd -r -m -dalsa -r44100 -p1024 -n2 -m -H -D -Chw:0 -Phw:0
What am I missing?
|
|
|
04-20-2014, 11:27 PM
|
#10
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Gumboherpy
I get no sound from flash with pulse audio, it does not detect it, and I put the asoundrc in /etc and still no luck.
Youtube videos won't play at all and other sites play with no sound, pulse works with everything else though.
I need to use it to record internal audio and using the alsa loopback yeilds the same result.
Any suggestions? I use Slackware 14.1
|
In Debian with MATE 1.6 and MATE 1.8 I have no problems at all with Flash and PulseAudio working together. Do you have other systems you can use to confirm the problem or do you just use Slackware?
Quote:
Originally Posted by Mark Pettit
Pulseaudio = Lennart Poettering. No-one like PulseAudio.
|
It would be nice if people can get away from the "personality" thing. I actually do like PulseAudio, it "just-works" on my laptop when ALSA doesn't. Instead of bashing something because of the person behind it it would be great if you could actually offer help.
|
|
|
04-21-2014, 12:20 AM
|
#11
|
Member
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51
Original Poster
Rep:
|
It works on debian so it is a slackware issue. My soundcard is hw:0'0. Thats what I'm trying to record sound from.
|
|
|
04-21-2014, 12:36 AM
|
#12
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
What browser are you using? Flash and Linux are slowly separating. Flash is up to version 13 while it is stuck at 11.2 in Linux so some flash sites won't work properly or at all in Firefox/Iceweasel and you will be forced to use Chrome (or Chromium with pepperflash extracted from Chrome) to actually use flash sites.
The other thing you can do is force YouTube to use HTML5 rather than flash or use a Firefox extension that converts Flash to a range of other video types that you can use.
|
|
|
04-21-2014, 12:50 AM
|
#13
|
Member
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232
Rep:
|
Quote:
Originally Posted by k3lt01
you can do is force YouTube to use HTML5 rather than flash.
|
Dumb question.. How ?
|
|
|
04-21-2014, 01:46 AM
|
#14
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by linuxtinker
Dumb question.. How ?
|
Not Dumb, I had to look for it a while back. Go to this page and select HTML5 at the bottom. If you are signed in it will remember the setting, I'm not sure if it will remember it if you're not signed in.
|
|
1 members found this post helpful.
|
04-21-2014, 02:12 AM
|
#15
|
Member
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232
Rep:
|
@k3lt01
Thanks I rather use the HTML 5 for my set up...
|
|
|
All times are GMT -5. The time now is 10:28 PM.
|
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
|
|