Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio and Firefox
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Sun Jun 11, 2017 4:15 pm    Post subject: Reply with quote

You need to unmask apulse-0.1.9
/usr/portage/eclass/mozconfig-v6.52.eclass:
...
        pulseaudio? ( || ( media-sound/pulseaudio
                >=media-sound/apulse-0.1.9 ) )
...


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. And, I would have been first if I had not researched the history on this. ;) -Hu]
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sun Jun 11, 2017 4:21 pm    Post subject: Reply with quote

According to that output, you cannot emerge old apulse together with firefox-bin. Specifically, you must use >=media-sound/apulse-0.1.9 if you want to use apulse. The ebuild has no specific comment explaining this. The most recent touch of that line was www-client/firefox-bin: rework pulseausio deps to ensure apulse-0.1.9 is installed, but that was just a restructuring to switch from >= to !<. It looks like this was probably added because of the (still open) Gentoo bug =www-client/firefox-bin-{52.1.0,53.0}: video doesn't work with media-sound/apulse-0.1.6-r1 (found by searching for all open bugs mentioning firefox-bin).

Portage reported the block because new enough apulse is not yet stable for your architecture, so an automatic upgrade was not a valid solution.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Tue Jun 13, 2017 12:51 am    Post subject: Reply with quote

Stranger than fiction :!:

I performed my routine weekly updates this weekend, and I just accidently discovered that my sound is once again working again for non-root users. Apparently it had something to do with the abi non-compatibility fix for the new version of gcc. 8O
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
kshade
n00b
n00b


Joined: 13 Jan 2004
Posts: 60
Location: Germany

PostPosted: Fri Jun 16, 2017 3:16 pm    Post subject: Reply with quote

Had an issue with Fx 54 where no sound was played, with errors like

Code:
do_connect_pcm: can't open playback device "default". Error code -13 (Permission denied)


To fix this, apply the workaround from https://github.com/i-rinat/apulse/issues/54

Quote:
Code:
open("/dev/snd/controlC0", O_RDWR)
is blocked by sandbox. workaround: set
Code:
security.sandbox.content.write_path_whitelist
to
Code:
/dev/snd/controlC0,/dev/snd/pcmC0D0p
.


The setting is accessible via about:config in Firefox. Maybe Gentoo should add this to the default config if apulse is used?
_________________
Get an operating system!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sat Jun 17, 2017 1:04 pm    Post subject: Reply with quote

kshade wrote:
The setting is accessible via about:config in Firefox. Maybe Gentoo should add this to the default config if apulse is used?
This gets my vote.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 136

PostPosted: Sun Jun 18, 2017 3:33 am    Post subject: Reply with quote

Okay, so I just cloned apulse from their github page, compiled it, moved the shared objects to /usr/lib64/apulse (while copying to /tmp the ones Protage installed there) and it worked like a charm. So, there's something with the Gentoo version that is not working for some reason on my build.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Jun 20, 2017 4:42 pm    Post subject: Reply with quote

I was a bit shocked that the default for non-pulse systems was to merge pulseaudio versus installing apulse...
Probably because of the ~arch mask...?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Tue Jun 20, 2017 6:36 pm    Post subject: Reply with quote

Has anyone tried palemoon to see how they stack up compared to standard firefox? I don't really feel like going the apulse route. Definitely not installing pulseaudio or systemd here.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Jun 20, 2017 7:52 pm    Post subject: Reply with quote

bunder,

Not for a year or so. I've moved to gcc-7.1 and the palemoon build system says it breaks with gcc->4
I'll be kind, a few years ago, it was "feature incomplete" enough to make me stay with Firefox.
If the build problems with newer gcc have not been fixed, I'm concerned for the developer effort behind Palemoon.

Code:
# When built with gcc >=5 Pale Moon is highly unstable, so you are
# prevented from building it if you are on a 5.* profile. You can use
# gcc-config to change your compiler profile, just remember to change it back
# afterwards. You need to have the appropriate versions of gcc installed for
# them to be shown in gcc-config.


With gcc-5 being stable, its not really useful on Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Tue Jun 20, 2017 9:42 pm    Post subject: Reply with quote

Neddy, see my post here, https://forums.gentoo.org/viewtopic-t-1060964-postdays-0-postorder-asc-start-50.html, from May 10th.
Back to top
View user's profile Send private message
saellaven
l33t
l33t


Joined: 23 Jul 2006
Posts: 646

PostPosted: Wed Jun 21, 2017 12:49 pm    Post subject: Reply with quote

using palemoon compiled with gcc-6.3.0 and no issues
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Wed Jul 12, 2017 6:23 pm    Post subject: Reply with quote

robdd wrote:
And don't get me started on Grub-2. Recently I was re-purposing an old rack-mounted Dell as a file server. Because it's old and the hardware is a bit weird I cocked up the grub install - then I can't even try to boot from the command line because the video drivers weren't loading. Video drivers to boot a kernel FFS!!!! I don't want a pretty splash screen and a mindless bar moving from side to side - I just want to bloody well boot a kernel! And whoever thought that having conditional parsing in grub.conf was a good idea needs to be shot. I'm not a parser FFS, that's what the COMPUTER is for! Now every Linux machine I control boots with good old Lilo.

Ah! You might want to read something I wrote on unix.SE... (Say SYSLINUX for me but that's the spirit.)

robdd wrote:
Nice to see I'm not the only one unpleasantly surprised to find that upgrading firefox-bin meant introducing that pulseaudio rubb^H^H^H^Hstuff. In fact, I'm getting a bit tired of the big distributions forcing solutions on me for problems I don't have. I came back to Gentoo after flirting with Linux Mint because they were (as a derivative of Ubuntu) adopting systemd. BTW, there's a cracker of a "Downfall parody" about systemd at https://www.youtube.com/watch?v=_cdEFF-ttLw.

:lol:

Absolutely fabulous!

robdd wrote:
So I will try installing firefox from source, and if that doesn't work I'll use Chrome until I can find another browser that doesn't tattle to Google about everything I'm doing. I'm already worried that the initial install of the new firefox-bin/pulseaudio damaged my Alsa set-up, but I'd rather fix that than have some complicated piece of kit that does heaps of things that I'll never need infesting (infecting??) my machine.
</rant>
Regards to all.. Rob.


I'm also disappointed (to say the least) to see more and more occurrences where a handful of individuals sacrifice choice for convenience (theirs, not ours of course), which reminds me more and more of the reasons I let Windows down. I grew fed up of attitudes such as:
- Want to continue developing? Give up C++, Basic, Java... Adopt Dot Net!
- Want to continue using Windows? Change your hardware!
- Want to continue using our software? Upgrade Windows!
- Want to continue with our line of hardware? Upgrade to our newest Windows+1 drivers!

You get the tone.

Something sounds strangely familiar in what Mozilla does with PulseAudio, what Poettering and Co did to SystemV, how RedHat et al do with SystemD as what I experienced with Windows: someone other than myself was having control over my machine and what's in it and not to my benefit. I feel a sting in my shoe when the software I'd chosen to avoid — just because I once had the choice — forcibly make their way where I'd rather do without.

I'd rather give up watching videos than resorting to pulse audio.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sun Jul 30, 2017 10:37 am    Post subject: Reply with quote

I'm still on FF 53. I should probably downgrade to the ESR, but still holding out that there will be an alternative that isn't Chrome. Google has enough of my information already.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Sun Jul 30, 2017 11:03 am    Post subject: Reply with quote

bunder wrote:
I'm still on FF 53. I should probably downgrade to the ESR, but still holding out that there will be an alternative that isn't Chrome. Google has enough of my information already.

Chromium from pg_overlay has useflag ungoogled that remove google integration from browser
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum