LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-26-2021, 12:04 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I am impressed


Here what I found in Live Slackware Edition (Xfce stripped version)
Code:
% ldd /usr/bin/firefox 
	not a dynamic executable
I am impressed. In nowadays static build whoa, and great thanks for alsa support in firefox build. All credits go to AlienBob, whoa, standing ovation.
 
Old 04-26-2021, 01:00 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Quote:
Originally Posted by igadoter View Post
Here what I found in Live Slackware Edition (Xfce stripped version)
Code:
% ldd /usr/bin/firefox 
	not a dynamic executable
I am impressed. In nowadays static build whoa, and great thanks for alsa support in firefox build. All credits go to AlienBob, whoa, standing ovation.
You are kidding, right?

For your information, the file /usr/bin/firefox is a (wrapper) shell script.

Of course it's not a dynamic executable.

Code:
bash-5.1$ file /usr/bin/firefox
/usr/bin/firefox: POSIX shell script, ASCII text executable
bash-5.1$
bash-5.1$ cat /usr/bin/firefox
#!/bin/sh
#
# Shell script to start Mozilla Firefox.
#
# Don't reset the user profile on a detected browser downgrade:
export MOZ_ALLOW_DOWNGRADE=1

# Start Firefox:
exec /usr/lib64/firefox/firefox "$@"
bash-5.1$

Last edited by LuckyCyborg; 04-26-2021 at 01:40 AM.
 
1 members found this post helpful.
Old 04-26-2021, 05:12 AM   #3
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Of course how stupid I am. But what about support for alsa only? So far it is only version of firefox with sound on non-pulse system. I was expecting to see something difference in ldd for this firefox. Hate pulse-s.
 
Old 04-26-2021, 08:54 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
If you're running one that doesn't support alsa directly (such as the official mozilla binary build), then 'apulse' works nicely.
 
Old 04-26-2021, 09:11 AM   #5
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Well everything is fine
Code:
% pgrep pulseaudio
%
on AlienBob Liveslak. See no pa running. But I am happy to listen to Tycho on youtube. On MX Linux, Porteous - there is no sound in firefox without pulseaudio. On MX Linux forum I found that they use upstream Debian build - and supposedly Debian build does not have direct alsa support. In case of Porteous - it is less clear. Firefox on Porteous without pa has no sound. Now - guys claim Porteous is on top of Slackware. So or Slackware default firefox build lacks alsa support - or Porteous is using custom firefox build - which means it is not quite on top of Slackware. In former case firefox in Liveslak is AlienBob custom build. Complicated. But I really greatly appreciate that I can use firefox on alsa only system. This saves a lot of money - in other case I would have to spend them to buy good audio system - to cover poor pa quality.
 
Old 04-26-2021, 10:10 AM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
FYI, igadoter, pulse is not an audio server. It has no means to interact with audio hardware. It still uses ALSA for that. PA is just a "conductor" for the "symphony" of options and connections. In that it creates considerable latency which really does not affect Playback, only Recording. I Record and Edit so I don't like PA either but it's easy to configure it to "go sit in a corner" even without PipeWire. PipeWire can essentially do all that at low latency and fool apps like Firefox to think PA is being used.

None of them have saved me money, not even ALSA, since I buy audiophile (not to be confused with "audiophool") gear. It would cost around $5000.00 USD to replace my PC audio gear that began 25 years ago... LONG before PA ever existed.

Last edited by enorbet; 04-26-2021 at 10:15 AM.
 
Old 04-26-2021, 10:35 AM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Sorry enorbet, you are not right. If someone has very good audio, or even good audio - there is no difference between PA and pure alsa. But for middle ware one can hear difference - in pa drums and cymbals sound like poured sand. The sound is flat. Someone posted pa was never created with audio quality in mind. Just magical word: server. But even arts (?) KDE 3.5 sound server was better in terms of sound quality. For people who create audio application - pa was a savior from alsa - say audacious still has problems with alsa only audio - but for price of sound quality. And of course pa was forced by the same side of force which pushes now pipewire. Say firefox with support for alsa, pa and pipewire?
 
Old 04-26-2021, 10:53 AM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
You could be right, igadoter, but I don't see how. How does PA have any effect on playback quality? It doesn't control the hardware. It only controls ALSA AFAIK. Actaully that's what pisses me off about Firefox.

I understand why they would prefer to take the easy way out by dropping any concern for what is underneath and only deal with what is above, but the option for ALSA is still there, just disabled! Why would they bother to disable it? Of what value is it to Mozilla? Seems like a mere washing of hands to me, with no concern for those who prefer a more direct approach.

Nevertheless if using PA on "middleware" is somehow reduced quality for you, it seems likely to me you haven't setup ALSA correctly with a solid User .asoundrc.

Also, what do you consider Middleware? Onboard? Personally I consider any onboard audio chipset as substandard if only for the degradation due to noise floor. I see numerous PCI and PCIe semi-pro quality soundcards, new and used, for $30-$100 on sites like eBay. If you prefer external, some decent ones are in similar price ranges. The hardware will make WAY more difference than the software.
 
Old 04-26-2021, 10:55 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by igadoter View Post
Of course how stupid I am. But what about support for alsa only? So far it is only version of firefox with sound on non-pulse system. I was expecting to see something difference in ldd for this firefox. Hate pulse-s.
You need to run ldd on the binary of Firefox, which is located in /usr/lib64/firefox/firefox

Code:
ldd /usr/lib64/firefox/firefox
However, I hate to break it to you, but even Mozilla's official binaries don't show pulse as a shared library, but it's compiled without alsa support.

Code:
jbhansen@craven-moorhead:~$ ldd /usr/lib64/firefox/firefox
        linux-vdso.so.1 (0x00007fff093d1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f04288e1000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f04286dd000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f0428361000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0428058000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f0427e41000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0427a78000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0428afe000)
Package was created using ruario's latest-firefox.sh script (mozilla-firefox-83.0-x86_64-1ro -- yes, I'm out of date, but Firefox is not my primary browser).

Quote:
Originally Posted by igadoter View Post
Sorry enorbet, you are not right. If someone has very good audio, or even good audio - there is no difference between PA and pure alsa. But for middle ware one can hear difference - in pa drums and cymbals sound like poured sand. The sound is flat. Someone posted pa was never created with audio quality in mind. Just magical word: server. But even arts (?) KDE 3.5 sound server was better in terms of sound quality. For people who create audio application - pa was a savior from alsa - say audacious still has problems with alsa only audio - but for price of sound quality. And of course pa was forced by the same side of force which pushes now pipewire. Say firefox with support for alsa, pa and pipewire?
As has been said on other threads, this must be unique to your hardware. I noticed no difference when I moved my htpc from 14.1 to 14.2 (and to -current). I don't use passthrough (although, I did test passthrough and it sounds the same). My htpc is plugged into a relatively high-end Onkyo receiver via HDMI for video and audio. Sounds are all clear and crisp. Explosions are never muddled (and they will shake my house if I have the system turned up loud enough).
 
Old 04-26-2021, 11:01 AM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Honestly, for me the PipeWire sounds better than PulseAudio - more clear, but I do not know why.

Last edited by LuckyCyborg; 04-26-2021 at 11:02 AM.
 
Old 04-26-2021, 11:08 AM   #11
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by bassmadrigal View Post
However, I hate to break it to you, but even Mozilla's official binaries don't show pulse as a shared library, but it's compiled without alsa support.
This is what I try to understand. For sure I don't run now pa - but I can listen to music in youtube - but so far only in firefox on AlienBob Liveslak. I know ldd output - I did it - in hope I will find a clue why do I have sound in firefox on alsa? Maybe this will help
Code:
2701  2701  2701 ?        00:50:26   firefox
 2750  2701  2701 ?        01:14:20     Web Content
 2803  2701  2701 ?        00:02:53     WebExtensions
 2941  2701  2701 ?        00:19:09     RDD Process
 2964  2701  2701 ?        00:00:16     Privileged Cont
 2998  2701  2701 ?        00:07:30     Web Content
 6362  2701  2701 ?        00:00:12     Web Content
 7485  2701  2701 ?        00:00:00     Web Content
I am curious about RDD Process(?)
 
Old 04-26-2021, 11:14 AM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Quote:
Originally Posted by igadoter View Post
This is what I try to understand. For sure I don't run now pa - but I can listen to music in youtube - but so far only in firefox on AlienBob Liveslak. I know ldd output - I did it - in hope I will find a clue why do I have sound in firefox on alsa? Maybe this will help
Code:
2701  2701  2701 ?        00:50:26   firefox
 2750  2701  2701 ?        01:14:20     Web Content
 2803  2701  2701 ?        00:02:53     WebExtensions
 2941  2701  2701 ?        00:19:09     RDD Process
 2964  2701  2701 ?        00:00:16     Privileged Cont
 2998  2701  2701 ?        00:07:30     Web Content
 6362  2701  2701 ?        00:00:12     Web Content
 7485  2701  2701 ?        00:00:00     Web Content
I am curious about RDD Process(?)
Research & Development Daemon?
 
Old 04-26-2021, 11:20 AM   #13
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by igadoter View Post
...
I am curious about RDD Process(?)
Have you got anything selected under "Firefox Data Collection and Use" in the "Privacy and Security" page of Firefox's "Preferences"?
 
Old 04-26-2021, 11:27 AM   #14
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I just noticed that this firefox does not forks, on my stationary system ps for firefox usually looks like
Code:
firefox 
 |-- firefox
 |-- firefox 
..
these are not necessary true forks - but nonetheless - but on my output above there are only Web Content subprocesses. And mysterious RDD.
 
Old 04-26-2021, 11:33 AM   #15
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by jsbjsb001 View Post
Have you got anything selected under "Firefox Data Collection and Use" in the "Privacy and Security" page of Firefox's "Preferences"?
I didn't touch anything there - firefox reports standard - but perhaps one of extensions I use may spawn RDD process - https everywhere, noscript, ublock origin, privacy badger - I use them to kill google adds on youtube. I like to enjoy non-stop music.

Last edited by igadoter; 04-26-2021 at 11:34 AM.
 
  


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
Not at all impressed !! At Newbie's experience rhb_hj Mandriva 32 10-08-2004 10:46 PM
Just installed Mepis - I'm impressed Judland LinuxQuestions.org Member Success Stories 1 04-13-2004 08:11 PM
stuck on windows, I'M NOT VERY IMPRESSED jon_k General 20 08-22-2003 02:08 AM
Wow!! Fluxbox - I'm impressed!! esteeven Linux - Software 40 08-13-2003 06:38 PM
College Linux - I'm Impressed! yowwww Linux - Distributions 5 05-20-2003 12:58 AM

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

All times are GMT -5. The time now is 09:15 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