LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-28-2023, 04:26 PM   #16
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320

Barring any last minute issues, this will be released today as inxi 3.3.26.

Thanks for checking this out and giviing feedback/testing.
 
1 members found this post helpful.
Old 03-28-2023, 05:09 PM   #17
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,453

Rep: Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211
Code:
$ ./pinxi -Aa --vs
pinxi 3.3.26-01 (2023-03-28)
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Dell
    Raven/Raven2/FireFlight/Renoir Processor driver: snd_rn_pci_acp3x
    v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max:
    gen: 4 speed: 16 GT/s bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.1.21 status: kernel-api with: aoss type: oss-emulator
    tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.67 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: off 3: wireplumber
    status: active tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
    tools: pacat,pactl,pamixer,pavucontrol
 
1 members found this post helpful.
Old 03-28-2023, 05:43 PM   #18
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks again h2-1 !

Looks good.

-- kjh

Code:
# ./pinxi -Aa --vs

pinxi 3.3.26-01 (2023-03-28)
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:228b
    class-ID: 0403
  API: ALSA v: k6.1.21.kjh_p status: kernel-api with: aoss
    type: oss-emulator tools: alsamixer,amixer
  Server-1: JACK v: 1.9.20 status: off tools: jack_control
  Server-2: PipeWire v: 0.3.44 status: off with: 1: pipewire-pulse
    status: off 2: pipewire-media-session status: off tools: pw-cat,pw-cli
  Server-3: PulseAudio v: 15.0 status: active (root, process)
    tools: pacat,pactl,pamixer,pavucontrol
 
1 members found this post helpful.
Old 03-28-2023, 05:48 PM   #19
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
That looks about as good as I can get it, maybe for future, expanding the detections for the server emulators, though I got a lot of them handled, the main issue here was pipewire-pulse running to replace pulseaudio, and a few other helper features, which I'm in particular pleased to find work on Slackware, I also tested in Slax slackware 15.0 and it all seems good there too, though the perfectionist in me would like to get all possible emulation types handled, but it's a good start for now, way better than what was there.

I also learned a fascinating tidbit, which I did not know, that OSS was itself derived from an ancient Linux sound driver, I had always assumed OSS was born in BSDs, but such was not the case apparently, which leaves Linux audio born in Linux, migrated to BSD, became OSS, then migrated back as OSS to Linux, then became ALSA to replace OSS, and Linux sound/media servers continue to evolve. I also learned that you can run PipeWire on FreeBSD, which I also did not know. At least you could in the past.

I still don't actually know what OSS on linux is, is it a server, an API, an interface? I gave up, and just called it an API for Linux, but given almost nobody runs Linux OSS, it's not a big deal, but it was something I could not find a good answer for. Some call it a framework, which to me is just a term people use when they don't know what something is.

Thanks everyone here for taking a look and posting results, as usual, exposed some unexpected corner case things which are also nice to get handled, like the unwrapping long list of alternate drivers.

The main goal here was to as quickly as possible get a reasonably accurate fixed audio server/api report released into current inxi, so I'm glad a fair number of issues were exposed, also glad I was reminded here to check the older os version, which exposed more glitches, mostly all fixed now as well. I even found a bug in the debugger, which didn't manifest in newer os, but would hang in older, 4.9 kernel based in this case, bluetoothctl was getting passed an invalid option '-- list' (note the space) which modern just ignores so I never noticed it when running the debugger, but it hung that version totally. Having bugs in the debugger is an obvious problem for debugging, lol, sigh.

And yes, huge oversights continue, for example, unable to get OSS version in 2.4 kernel, from 2005-sh era Linux, lol, but even the modern OSS version method is a total hack which may only work on Debian, I don't know, but bit by bit... Fun fact: early ALSA had an actual version number reported by /proc/asound/version, then at some point, they switched to just showing the current kernel version as version number. I found that when figuring out when version was failing for older ALSA (syntax of line slightly changed and inxi didn't use robust enough parsing).

But not bad, at least it's not embarrassingly wrong now, albeit possibly incomplete for some systems re the helpers and core tools reported, but that's easy to upgrade if there is demand / data for that. Demand can be determined if you feel a strong sense of outrage that inxi is failing to report what you view as a core or key helper or tool.

Last edited by h2-1; 03-31-2023 at 11:49 PM.
 
Old 03-28-2023, 06:16 PM   #20
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
My system is not super old, but it is not efi.

Code:
pinxi 3.3.25-20 (2023-03-27)
Audio:
  Device-1: AMD SBx00 Azalia vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: NVIDIA GP108 High Definition Audio vendor: PNY
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 4
    bus-ID: 01:00.1 chip-ID: 10de:0fb8 class-ID: 0403
  API: ALSA v: k6.1.21 status: kernel-api with: aoss type: oss-emulator
    tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.67 status: off with: 1: pipewire-pulse
    status: off 2: pipewire-media-session status: off tools: pw-cat,pw-cli
  Server-2: PulseAudio v: 16.1 status: active (root, process)
    tools: pacat,pactl,pamixer,pavucontrol
 
1 members found this post helpful.
Old 03-28-2023, 07:03 PM   #21
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
This is much better, I can now actually tell what is happening with the sound servers, even as root.

Code:
sudo pinxi -Aa
 ...
  API: ALSA v: k5.19.0-16.2-liquorix-amd64 status: kernel-api with: aoss
    type: oss-emulator tools: alsamixer,alsamixergui,amixer
  Server-1: PipeWire v: 0.3.65 status: n/a (root, process)
    tools: pw-cat,pw-cli
  Server-2: PulseAudio v: 16.1 status: active (root, process)
    tools: pacat,pactl,pavucontrol
When I compare, I can deduce that the PipeWire process is running, but it's active state cannot be determined, but in your case, the process is not running at all. Without sudo/root, mine would show an 'off' for pipewire [it's actual user state], and a simple 'active' for PulseAudio if run as user, not sudo/root.

So inxi is giving a lot more to go on now than before, and it's not trying to make up answers to things it can't know when run as root/sudo. I didn't actually realize that Jack/Pulse/Pipewire are running as user processes in many cases, which can be stopped or started without the process itself going away, that took some testing, then to discover that as a user process, root/sudo had no access to their real states. These are all new features. Plus of course the RoarAudio/NAS (Network Audio System) server support added, the former of which I'd never heard, only found it by going through all the Debian sound related packages and looking for helpers and servers I didn't know about, same with NAS. There's probably one or two more obscure sound servers I missed.
 
Old 03-28-2023, 07:16 PM   #22
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Dell 540s; I think it was built in late 2009. Running Slackware64 15.0.
Code:
user1@darkstar:/tmp/pinxi$ ./pinxi -M -Aa --vs
pinxi 3.3.26-01 (2023-03-28)
Machine:
  Type: Desktop System: Dell product: Studio Slim 540s v: N/A
    serial: <superuser required> Chassis: type: 3 v: 01
    serial: <superuser required>
  Mobo: Dell model: 0M017G v: A00 serial: <superuser required> BIOS: Dell
    v: 1.1.3 date: 08/25/2009
Audio:
  Device-1: Intel 82801JI HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3a3e class-ID: 0403
  API: ALSA v: k5.15.94 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.44 status: off with: 1: pipewire-pulse
    status: off 2: pipewire-media-session status: off tools: pw-cat,pw-cli
  Server-2: PulseAudio v: 15.0 status: active
    tools: pacat,pactl,pamixer,pavucontrol
user1@darkstar:/tmp/pinxi$

Last edited by baumei; 03-28-2023 at 07:21 PM.
 
Old 03-28-2023, 07:42 PM   #23
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
ASUS 1025C; I think it was built in mid-2012. Runs Slackware 15.0 (32 bit).
Code:
user1@littlestar:/tmp/pinxi$ ./pinxi -M -Aa --vs
pinxi 3.3.26-01 (2023-03-28)
Machine:
  Type: Laptop System: ASUSTeK product: 1025C v: x.x
    serial: <superuser required> Chassis: type: 10 v: x.x
    serial: <superuser required>
  Mobo: ASUSTeK model: 1025C v: x.xx serial: <superuser required>
    BIOS: American Megatrends v: 1025C.1301 date: 08/16/2013
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio
    vendor: ASUSTeK Eee PC 1015PX driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403
  API: ALSA v: k5.15.94-smp status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.44 status: off with: 1: pipewire-pulse
    status: off 2: pipewire-media-session status: off tools: pw-cat,pw-cli
  Server-2: PulseAudio v: 15.0 status: active
    tools: pacat,pactl,pamixer,pavucontrol
user1@littlestar:/tmp/pinxi$
 
Old 03-28-2023, 07:49 PM   #24
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
So far I'm liking the outputs, seems like things are working as hoped. There's probably some more corner case audio server things that won't work quite right, but this is a nice start. And it's not going to be blatantly wrong anymore, like reporting pulseaudio is present but off because it found pactl in PATH, luckily I found that glitch when I was doing my test vm, I installed some package that had pactl but not pulseaudio itself, and it worked fine, but then inxi said pulseaudio was there when it wasn't, then I realized, oh, head slap, that test was bad all along, not conclusive but acting as if it were. The OSS present test was also bad since various oss emulator tools would make it appear as there as well, but that's less of an issue, but it was a similar failure.

Many issues like that have been resolved, hopefully I didn't create too many new ones with the fixes.

I am glad to see that the main methods are working for Slackware without any changes required, I think there might be helper plugin or module detections that might not work, but the main ones so far are all showing up nicely.

Last edited by h2-1; 03-28-2023 at 07:57 PM.
 
Old 03-28-2023, 09:58 PM   #25
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
ASUS 1005HA; I think it was built in 2010. Runs Slackware 14.2 (32 bit).
Code:
user1@smallstar:/tmp/pinxi$ ./pinxi -M -Aa --vs
pinxi 3.3.26-01 (2023-03-28)
Machine:
  Type: Laptop System: ASUSTeK product: 1005HA v: x.x
    serial: <superuser required> Chassis: type: 10 v: x.x
    serial: <superuser required>
  Mobo: ASUSTeK model: 1005HA v: x.xx serial: <superuser required>
    BIOS: American Megatrends v: 1601 date: 04/18/2011
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8
    class-ID: 0403
  API: ALSA v: k4.4.276-smp status: kernel-api tools: alsamixer,amixer
  Server-1: PulseAudio v: 9.0-rebootstrapped status: off
    tools: pacat,pactl,pamixer,pavucontrol
user1@smallstar:/tmp/pinxi$
(Since it no longer connects to the Internet, it has not been updated in a while.)

Last edited by baumei; 03-28-2023 at 10:02 PM.
 
Old 03-28-2023, 10:32 PM   #26
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Still looking solid, assuming what it is reporting is correct, of course.

Looking at that however does make me wonder if maybe I should have used two terms for 'off', or modified the 'off' to indicate if the process is simply not there, or of it's there, but the actual server is turned off, which is a valid condition for at least jack and pipewire, not pulse I think, though not certain about pulse. Like 'off', 'stopped', for example. But that's not a good idea since when it's off it's stopped. These terms are tricky. Maybe something will come to me in the future, most pressing was to get wrong reports corrected, the future can bring any fine tunings that might make sense.
 
Old 03-29-2023, 02:52 AM   #27
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
h2-1 --

This is my headless backup server running init level 3

-- kjh

Code:
# ( dmesg -t |grep DMI: ; uname -a ; ./pinxi -Aa --vs ; )

DMI: HP ProLiant ML10 v2, BIOS J10 02/02/2015

Linux bupbox 4.4.302.cip71 #1 SMP Mon Jan 9 08:41:20 CST 2023 x86_64 Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz GenuineIntel GNU/Linux

pinxi 3.3.26-01 (2023-03-28)
Audio:
  Message: No device data found.
  Server-1: PulseAudio v: 9.0-rebootstrapped status: off tools: pacat,pactl,pamixer,pavucontrol
Thanks for reminding me ... I built a new CIP Kernel last weekend and never installed it

This is everything for my bupbox:

Code:
# ./pinxi --version |grep '^pinxi'

pinxi 3.3.26-01 (2023-03-28)

# ./pinxi -v8

System:
  Host: bupbox.kjh.home Kernel: 4.4.302.cip71 arch: x86_64 bits: 64 compiler: gcc v: 5.5.0
    parameters: auto BOOT_IMAGE=CIP44302T ro root=900 vt.default_utf8=0 raid=noautodetect
    md=0,/dev/sda3,/dev/sdb3
  Console: pty pts/0 Distro: Slackware 14.2
Machine:
  Type: Desktop System: HP product: ProLiant ML10 v2 v: N/A serial: CN65320G05 Chassis: type: 7
    serial: CN65320G05
  Mobo: N/A model: N/A serial: N/A BIOS: HP v: J10 date: 02/02/2015
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 7.74 GiB used: 686.4 MiB (8.7%)
  Array-1: capacity: 32 GiB slots: 4 EC: Single-bit ECC max-module-size: 8 GiB note: est.
  Device-1: PROC  1 DIMM  1 type: no module installed
  Device-2: PROC  1 DIMM  2 type: DDR3 detail: synchronous unbuffered (unregistered) size: 8 GiB
    speed: 3200 MT/s (1600 MHz) volts: curr: 1.5 min: 1.5 max: 1.5 width (bits): data: 64 total: 72
    manufacturer: HP part-no: 669239-081 serial: N/A
  Device-3: PROC  1 DIMM  3 type: no module installed
  Device-4: PROC  1 DIMM  4 type: no module installed
PCI Slots:
  Slot: 1 type: PCIe gen: 2 lanes: phys: 1 active: 4 status: available length: long volts: 3.3
    bus-ID: 0d:00.0
  Slot: 2 type: PCIe gen: 2 lanes: phys: 1 active: 8 status: available length: long volts: 3.3
    bus-ID: 0a:00.0
  Slot: 3 type: PCIe gen: 3 lanes: 8 status: available length: long volts: 3.3 bus-ID: 07:00.0
  Slot: 4 type: PCIe gen: 3 lanes: phys: 8 active: 16 status: available length: long volts: 3.3
    bus-ID: 04:00.0
CPU:
  Info: model: Intel Core i3-4150 socket: BGA1155 (Proc 1) note: check bits: 64 type: MT MCP
    arch: Haswell gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
    model-id: 0x3C (60) stepping: 3 microcode: 0x27
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: N/A cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1977 high: 2100 min/max: 1064/3500 base/boost: 3500/4800 scaling:
    driver: pcc-cpufreq governor: ondemand volts: 1.4 V ext-clock: 100 MHz cores: 1: 1995 2: 2100
    3: 1995 4: 1820 bogomips: 27935
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts clflush cmov
    constant_tsc cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fxsr ht ibpb ibrs invpcid invpcid_single kaiser lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdtscp rep_good sdbg sep smep ss ssbd
    sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Processor vulnerable
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Message: No PCI device data found.
  Display: server: X.org v: 1.18.3 driver: gpu: mgag200 tty: 100x55
  Monitor-1: VGA-1 size-res: N/A in console modes: 1024x768, 800x600, 848x480, 640x480
  API: OpenGL Message: GL data unavailable in console for root.
Audio:
  Message: No device data found.
  Server-1: PulseAudio v: 9.0-rebootstrapped status: off tools: pacat,pactl,pamixer,pavucontrol
Network:
  Device-1: Broadcom NetXtreme BCM5720 Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3
    v: 3.137 port: N/A bus-ID: 03:00.0 chip-ID: 14e4:165f class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 30:8d:99:cc:db:f8
  IP v4: 192.168.0.29/24 scope: global broadcast: 192.168.0.255
  IP v6: fe80::328d:99ff:fecc:dbf8/64 scope: link
  Device-2: Broadcom NetXtreme BCM5720 Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3
    v: 3.137 port: N/A bus-ID: 03:00.1 chip-ID: 14e4:165f class-ID: 0200
  IF: eth1 state: down mac: 30:8d:99:cc:db:f9
  WAN IP: XXX.XXX.XXX.XXX
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Supported mdraid levels: linear raid0 raid1 raid10 raid6 raid5 raid4 multipath
  Device-1: md0 maj-min: 9:0 type: mdraid level: mirror status: active state: clean
    size: 3.63 TiB
  Info: report: 2/2 UU blocks: 3896531712 chunk-size: N/A
  Components: Online:
  0: sda3 maj-min: 8:3 size: 3.63 TiB state: active sync
  1: sdb3 maj-min: 8:19 size: 3.63 TiB state: active sync
Drives:
  Local Storage: total: raw: 7.73 TiB usable: 4.1 TiB used: 2.21 TiB (54.0%)
  ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HDN724040ALE640 family: Deskstar NAS
    size: 3.64 TiB block-size: physical: 4096 B logical: 512 B sata: 3.0 speed: 6.0 Gb/s type: HDD
    rpm: 7200 serial: PK1334PEK49LXS rev: A5E0 temp: 36 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 6y 99d 7h cycles: 32
  ID-2: /dev/sdb maj-min: 8:16 vendor: HGST (Hitachi) model: HDN724040ALE640
    family: Deskstar NAS size: 3.64 TiB block-size: physical: 4096 B logical: 512 B sata: 3.0
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: PK1334PEK48JBS rev: A5E0 temp: 34 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 6y 99d 6h cycles: 32
  ID-3: /dev/sdc maj-min: 8:32 vendor: HP model: MB0500GCEHE size: 465.76 GiB block-size:
    physical: 512 B logical: 512 B sata: 3.0 speed: 3.0 Gb/s type: HDD rpm: 7200
    serial: WMAYP0HAKAK9 rev: HPG1 temp: 29 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 6y 97d 9h cycles: 54
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 3.63 TiB size: 3.57 TiB (98.43%) used: 2.21 TiB (62.0%) fs: ext4
    block-size: 4096 B dev: /dev/md0 maj-min: 9:0 label: N/A
    uuid: da8b7278-594f-4494-aee2-7c1986ab713e
  ID-2: /basic raw-size: 2 GiB size: 1.9 GiB (95.16%) used: 24 KiB (0.0%) fs: ext4
    block-size: 4096 B dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 840225d0-7c44-42e7-a71e-30d8e516c5ac
  ID-3: /boot raw-size: 2 GiB size: 1.9 GiB (95.16%) used: 281.5 MiB (14.4%) fs: ext4
    block-size: 4096 B dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: 7a86d21a-15bf-45f8-b564-27da2a75b9fd
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 852 KiB (0.0%) priority: -1 dev: /dev/sda2
    maj-min: 8:2 label: N/A uuid: d5fa3676-66f0-4289-8e2b-43f6153d1576
  ID-2: swap-2 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb2
    maj-min: 8:18 label: N/A uuid: 9dce8506-519a-46dc-8fd2-3f713e6c4423
Unmounted:
  ID-1: /dev/sdc1 maj-min: 8:33 size: 2 GiB fs: ext4 label: N/A
    uuid: f92feeed-d569-4b53-af0d-734e7257eb85
  ID-2: /dev/sdc2 maj-min: 8:34 size: 4 GiB fs: swap label: N/A
    uuid: 1e77e571-39f0-4ccc-9cdb-16a840c7de6e
  ID-3: /dev/sdc3 maj-min: 8:35 size: 459.76 GiB fs: ext4 label: N/A
    uuid: 5bfca6e2-fc78-47ea-b222-735a2985ac45
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 8087:8008 class-ID: 0900
  Hub-3: 2-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 3-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 4-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 4-1:2 info: Intel ports: 6 rev: 2.0 speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900
  Hub-7: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: pkgtool pkgs: 1456 libs: 270 tools: slackpkg pm: rpm pkgs: 0
  No slackpkg mirror set in: /etc/slackpkg/mirrors
Processes:
  CPU top: 5 of 140
  1: cpu: 0.0% command: init pid: 1 mem: 1.41 MiB (0.0%)
  2: cpu: 0.0% command: [kthreadd] pid: 2 mem: 0.00 MiB (0.0%)
  3: cpu: 0.0% command: [ksoftirqd/0] pid: 3 mem: 0.00 MiB (0.0%)
  4: cpu: 0.0% command: [kworker/0:0h] pid: 5 mem: 0.00 MiB (0.0%)
  5: cpu: 0.0% command: [rcu_sched] pid: 7 mem: 0.00 MiB (0.0%)
  Memory top: 5 of 140
  1: mem: 33.9 MiB (0.4%) command: perl pid: 5475 cpu: 0.0%
  2: mem: 14.7 MiB (0.1%) command: polkitd pid: 1234 cpu: 0.0%
  3: mem: 10.4 MiB (0.1%) command: smtp pid: 5461 cpu: 0.0%
  4: mem: 7.54 MiB (0.0%) command: tlsmgr pid: 1357 cpu: 0.0%
  5: mem: 7.17 MiB (0.0%) command: bounce pid: 5462 cpu: 0.0%
Info:
  Processes: 140 Uptime: 2d 18h 46m wakeups: 5 Init: SysVinit v: 2.88 runlevel: 3 default: 3
  tool: /etc/rc.d Compilers: gcc: 5.5.0 alt: 5.5.0 clang: 3.8.0 Shell: Bash v: 4.3.48
  running-in: pty pts/0 (SSH) pinxi: 3.3.26-1
 
Old 03-29-2023, 10:41 AM   #28
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Another data point

Gigabyte mobo purchased 2009
Code:
# pinxi -M -Aa --vs
pinxi 3.3.26-01 (2023-03-28)
Machine:
  Type: Desktop System: Gigabyte product: GA-MA770T-UD3P v: N/A serial: N/A
    Chassis: type: 3 serial: N/A
  Mobo: Gigabyte model: GA-MA770T-UD3P serial: N/A BIOS: Award v: F12
    date: 03/22/2011
Audio:
  Device-1: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000
    Series] vendor: PC Partner / Sapphire driver: snd_hda_intel bus-ID: 3-1:37
    v: kernel pcie: chip-ID: 0a12:1243 class-ID: 0300 gen: 2
    serial: B40020170802 speed: 5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 1002:aab0 class-ID: 0403
  Device-2: Cambridge Silicon Radio Audioengine HD3 type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.1.20 status: kernel-api with: aoss type: oss-emulator
    tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.67 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: pipewire-media-session status: active
    tools: pw-cat,pw-cli
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
    tools: pacat,pactl,pamixer,pavucontrol
 
Old 03-29-2023, 02:11 PM   #29
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
kjhambrick, that's a case I could not figure out if it can happen, your examples shows it can, that is, no ALSA detected.

Can you give me a brief how-to of what you did to not have ALSA running or visible? Did you compile the kernel with no ALSA? This was one of the areas I was not filled with certainty about.

ALSA is a test that, like OSS on BSDs, relies on the presence of a file (/proc/asound/version for ALSA, /dev/sndstat for OSS, but only if no /proc/asound/version, in which case it's ALSA using OSS emulation, unless it's the new linux OSS, which has the program ossinfo, which BSD OSS does not have from what I can see). I could not find out if ALSA itself as a kernel API can be disabled, but still be present, and I had no way to test if that state can happen or had happened, since then ALSA should report as present but disabled. The same issue goes for BSD OSS).

With the new logic, in general you will get more reliable audio sound system data as user, not root with inxi now. But the root reports allow for basic deductions/assumptions to be made that are quite likely to be right.

I was wondering if systemctl aka the systemd Slackware users are free of might have something to do with the user/root detection difficultly, since current pulse/pw set the sound server to run using the systemctl --user switch, which enables it per user, not for the system, but also, jack_control start/stop does the same, switches it on for user process. I believe however that slackware for pulse and pipewire would switch those servers on systemwide, is that correct?

I can see some room for future improvements, and I'm trying to document stuff in inxi-perl/docs/inxi-audio.txt reasonably well so I don't have to try to guess at why things are the way they are, but that also is not complete or comprehensive, but the base for future fine-tunings is laid reasonably well now.
 
Old 03-30-2023, 02:55 AM   #30
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
h2-1 --

I didn't do anything special to trim away any Packages or Procs on this Slackware64 14.2 Box.

It is an older HP Proliant Box that I use to BackUp Programs and Data on my LAN.

All Packages are up-to-date.

One difference is that I have been running linux-4.4.302.cip71 ( the CIP Kernel - https://www.cip-project.org/ )

I'll boot the final official 4.4.301 and run the latest pinxi as soon an my work schedule allows ( later today / tomorrow ).

Thnaks again for all your work, h2-1 !

-- kjh
 
  


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
Testers for inxi/pinxi redone -C CPU logic... huge internal changes h2-1 Slackware 353 02-24-2022 08:51 PM
pinxi/inxi huge BSD updates, testers? h2-1 *BSD 0 03-08-2021 11:54 PM
Testersfeedback for new pinxi/inxi feature -E/--bluetooth h2-1 Slackware 2 01-29-2021 06:53 PM
Huge inxi/pinxi upgrade, new features, Logical volumes, raid rewrite, beta testers? h2-1 Slackware 12 12-17-2020 05:04 PM

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

All times are GMT -5. The time now is 05:55 AM.

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