[FEEDBACK] inxi does not appear to know about pulseaudio
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
hi

This is not a feature request as I looked at /proc and could not spot pulseaudio running information there....so not sure how inxi could get it.

however I am creating a pulseaudio howto, even tho I am not an expert and ran

:: Code ::

inxi -c21 -v5
System:    Host: sid Kernel: 3.4.0-6.dmz.1-liquorix-686 i686 (32 bit, gcc: 4.6.3)
           Desktop: Enlightenment 0.16.999.71001 Distro: siduction 12.1 Desperado - lxde - (201205212227)
Machine:   System: ECS product: 945GCT-M2 version: 1.x
           Mobo: ECS model: 945GCT-M2 version: ECS Bios: American Megatrends version: 080012 date: 05/14/2008
CPU:       Dual core Pentium CPU E5200 (-MCP-) cache: 2048 KB flags: (lm sse sse2 sse3 ssse3) bmips: 9976.4
           Clock Speeds: 1: 1203.00 MHz 2: 2500.00 MHz
Graphics:  Card: NVIDIA G96 [GeForce 9500 GT] bus-ID: 01:00.0 X.Org: 1.12.3.902 driver: nvidia Resolution: 1680x1050@60.0hz
           GLX Renderer: GeForce 9500 GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 304.43 Direct Rendering: Yes
Audio:     Card: Intel N10/ICH 7 Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: 1.0.25
Network:   Card: Realtek RTL-8139/8139C/8139C+ driver: 8139too ver: 0.9.28 port: e800 bus-ID: 02:05.0
           IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: 00:21:97:76:2d:da
Drives:    HDD Total Size: 80.0GB (23.2% used) 1: id: /dev/sda model: WDC_WD800JD size: 80.0GB
           Optical: /dev/sr0 model: N/A rev: N/A dev-links: cdrom,cdrw,dvd,dvdrw
Partition: ID: / size: 16G used: 3.0G (20%) fs: ext3 dev: /dev/sda1
           label: N/A uuid: 263500ab-f799-4442-84cc-7abeb6a2a754
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 0.0:39C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 115 Uptime: 1:22 Memory: 376.1/2024.1MB Runlevel: 5 Gcc sys: 4.7.1 Client: Shell inxi: 1.8.14


PA is a front end to alsa, but inxi sees the backend only
Sound: Advanced Linux Sound Architecture ver: 1.0.25

sorry if this wastes any time reading it but better I put it out there so someone can correct me on an easier way of checking PA is running.

The easiest way for me to confirm PA is running is to run
alsamixer and see if it sees my card details or states pulseaudio.

but this is an image and I lack the skills to grep the string from an image.


cheers
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
ok a google shows these

:: Code ::

ps ax | grep pulseaudio
 3364 ?        Sl     2:56 /usr/bin/pulseaudio --start --log-target=syslog
 3371 ?        S      0:00 /usr/lib/pulseaudio/pulse/gconf-helper
 8585 pts/0    SN+    0:00 grep pulseaudio

top | grep pulseaudio
 3364 gordon     1   0  160m  10m 8580 S   5.7  0.5   2:57.93 pulseaudio                                                                                           
 3364 gordon     1   0  160m  10m 8580 S   5.3  0.5   2:58.09 pulseaudio                                                                                           
 3364 gordon     1   0  160m  10m 8580 S   5.3  0.5   2:58.25 pulseaudio                                                                                           
 3364 gordon     1   0  160m  10m 8580 S   5.3  0.5   2:58.41 pulseaudio                                                                                           
 3364 gordon     1   0  160m  10m 8580 S   5.6  0.5   2:58.58 pulseaudio


the trouble with the last one.....I had to close this command with control + c as its
a daemon reponse refreshing.....I assume?


not sure if that helps

I think newbies will be better off with an alsamixer image?
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
ah, I'd been wondering about top end stuff like pulse, what inxi does in sound is pretty darned primitive to be honest.

You found the way to find if it's running, ps aux, I tried it here too, and that does work.

There's other ones too, though, I think gnome has something as well, don't know if there are others, jack, for example.

Never seen jack so don't know if it runs instead of alsa, or ontop of it, but i do know when you pick audio back ends in some apps, jack is one option, alsa another.

So real audio update would require a lot more data collection to be an actual meaningful upgrade, like the desktop running thing turned into, where it now supports most used desktops out there, and when it doesn't we add it in. Well, ok, I add it in, unless I get a patch.
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
thanks TechAdmin
Back to top
GoinEasy9
Status: Contributor
Joined: 28 Jun 2008
Posts: 84
Location: Manorville, New York
Reply Quote
This is from my Fedora 16 install:

:: Code ::
[GoinEasy9@fedora16dwkde ~]$ top | grep pulseaudio
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:03.75 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:03.91 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:04.07 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.6  0.2   0:04.24 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.0  0.2   0:04.39 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:04.55 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.0  0.2   0:04.70 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.6  0.2   0:04.87 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:05.03 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.6  0.2   0:05.20 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.3  0.2   0:05.36 pulseaudio                                               
 1448 GoinEasy   9 -11  107m 7656 6388 S  5.0  0.2   0:05.51 pulseaudio                                               
                                               

[GoinEasy9@fedora16dwkde ~]$ ps ax | grep pulseaudio
 1448 ?        S<sl   0:05 /usr/bin/pulseaudio --start --log-target=syslog
 4320 pts/1    S+     0:00 grep --color=auto pulseaudio


Funny, I didn't get any results from "top | grep pulseaudio" until I opened up the PulseAudio applet.
I guess I should try installing it on one of my siduction installs. I haven't used it in Debian yet.
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
hi

do you have a home folder daemon.conf under .pulse

otherwise its your /etc/pulse/daemon.conf file that probably has a timeout

I suggest its this setting

:: Quote ::

exit-idle-time = 20

Back to top
GoinEasy9
Status: Contributor
Joined: 28 Jun 2008
Posts: 84
Location: Manorville, New York
Reply Quote
I would also venture a guess and say that systemd is keeping it inactive till it is needed, but, I'd have to look into that closer.

exit-idle-time = 20 is the default in Fedora, or, at least that's what the /etc/pulse/daemon.conf files leads me to believe. If the topic is how to recognize it in inxi, we'll need to find other methods than top. I wonder how and if it shows on other distros.
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
another test for those interested in possible timeout of PA
I am using local user settings and not system wide for all settings

1) no media player open ---- top | grep pul......no result
2) vlc open but not playing ------------------------no result
3) vlc playing.....finally get hits

systemd

not sure....maybe TechAdmin when he has time or damentz might know
but I looked at each file in /etc/systemd and I could not spot anything that wants to do anything with PA.

when you install PA you do get Real time Kit (rtkit)
and when you run vlc you can get hits for rt
----but when I stop vlc I still get hits for rt

SIDETRACK ---- I wonder if its related that rtkit and low spec users struggle with
---------------------- CPU usage

/lib/systemd/system has file = rtkit-daemon.service
but its contents has no mention of PA

looking for rtkit under /etc/systemd no mention

so I am struggling to see how we can use any meaningful infor for PA and inxi?
Back to top
Display posts from previous:   

All times are GMT - 8 Hours