Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:18 24 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMB4L: MMBasic for Linux version 0.7

     Page 2 of 2    
Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4252
Posted: 10:15pm 22 Jan 2025
Copy link to clipboard 
Print this post

  JohnS said  The test above doesn't output anything with wire in it - should it?


I'm making this up as I go along John. On my machine:

thwill@T480 ~ $ ps -axuww | grep -e pulse -e wire
thwill      3849  0.0  0.0 115088 13456 ?        S<sl 18:15   0:00 /usr/bin/pipewire
thwill      3850  0.0  0.0  97736  5632 ?        Ssl  18:15   0:00 /usr/bin/pipewire -c filter-chain.conf
thwill      3854  0.0  0.0 567016 31744 ?        S<sl 18:15   0:00 /usr/bin/wireplumber
thwill      3856  0.0  0.0 115484 13332 ?        S<sl 18:15   0:00 /usr/bin/pipewire-pulse
thwill     11473  0.0  0.0   9144  2176 pts/0    S+   22:13   0:00 grep --color=auto -e pulse -e wire


Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4006
Posted: 10:22pm 22 Jan 2025
Copy link to clipboard 
Print this post

Aha a la Harrison Ford :)

On mine
$  ps -axuww | grep -e pulse -e wire
john        2261  3.1  0.1 2083288 20060 ?       S<sl Jan12 457:41 /usr/bin/pulseaudio --daemonize=no --log-target=journal
john        2392  0.0  0.0 311660  7120 ?        Sl   Jan12   0:00 /usr/libexec/pulse/gsettings-helper
john     4152554  0.0  0.0   9492  2432 pts/1    S+   22:20   0:00 grep -e pulse -e wire


John
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4252
Posted: 10:36pm 22 Jan 2025
Copy link to clipboard 
Print this post

Hi John, this suggests you've got PulseAudio running rather than PipeWire.

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4006
Posted: 10:51pm 22 Jan 2025
Copy link to clipboard 
Print this post

I have, yes.  Would pipewire be better?

I seem to have OK sound but don't know if it could or should be better.

John
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4252
Posted: 10:04am 23 Jan 2025
Copy link to clipboard 
Print this post

John,

If you have a working system then I wouldn't mess with it ;-)

My confusion arose from:

1. In this post you said you had pipewire installed but "wire" did not appear in the grep results:
       https://www.thebackshed.com/forum/ViewTopic.php?TID=17635&P=1#232895

2. But then in your latest post you said you were using pulseaudio:
       https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=17635&LastEntry=Y#232905#232905

I think we have confirmed that (a) you have pulseaudio, not pipewire, and (b) it is working.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4920
Posted: 10:56am 23 Jan 2025
Copy link to clipboard 
Print this post

@Tom,

The laptop uses pulse audio. But apparently alsa is needed to get sound.
Maybe this version is too old (13.99.1).

harm@harm-Latitude-E7450:~$ ps -axuww | grep -e pulse -e wire
harm         923  0.0  0.2 1409068 19440 ?       S<sl 11:47   0:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
harm        1869  0.0  0.0   8912   652 pts/0    S+   11:51   0:00 grep --color=auto -e pulse -e wire


harm@harm-Latitude-E7450:~$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.1
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is dd8dd00ba091418985875a56d3aa3142.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/harm/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.


Volhout
Edited 2025-01-23 20:57 by Volhout
PicomiteVGA PETSCII ROBOTS
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4252
Posted: 12:34pm 23 Jan 2025
Copy link to clipboard 
Print this post

Hi @Volhout,

<shrugs shoulders>

I'm not qualified to support 'pulseaudio' ... I'm not sure how to even easily test whether it is working/configured properly on your laptop of not, and my laptop is running pipewire (which I don't want to break) so I've no easy way to play myself.

I guess your options are live with ALSA (if it works don't try and fix it), or you go off into the wilds of Linux support on the web to see if (a) you can find out how  to test if pulseaudio is working correctly at all, and (b) if not, then how to fix it.

Apologies that this might not be the level of support you are looking for but it's the best I can offer, Linux is a lot more complex a platform than a micro-controller .

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4006
Posted: 12:37pm 23 Jan 2025
Copy link to clipboard 
Print this post

Tom,

Sorry for the confusion. Seems they're both installed and pulseaudio is running.

I know essentially nothing about either of them!

John
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4252
Posted: 12:39pm 23 Jan 2025
Copy link to clipboard 
Print this post

  JohnS said  I know essentially nothing about either of them!


Me neither, like so much of Linux it's both a black box and a constantly moving target.

@matherp, don't think I can't hear you sniggering .

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4920
Posted: 02:00pm 23 Jan 2025
Copy link to clipboard 
Print this post

Hi Tom,

I will just use ALSA. No problem....

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025