LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 10-13-2020, 08:09 AM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
excuse rambling my notes about: sudden sound gremlins, ridding pulse, restoring audio "just works" sanity.


stldr: sound broke, interim workaround "mpv --ao=sndio" while uninstalled pulse, rebooted, sound seems to work.

UPDATE: tldr: something broke sound, told mpv to use sndio as a workaround while uninstalling pulse, rebooted, stopped telling mpv to use sndio, and... seems to be working ok again. next level, will not only merely uninstall, but will block, pulseaudio. i dont see that i have a need for it, and it seems to give me more trouble than its worth.


feeling the need to keep track of this somewhere... idk if there's a question yet [(or if strictly bedrock related ~ but since it's on bedrock... )]... we'll see how well all this goes. think it will go well?

sound gremlins have suddenly crept in from... somewhere.

so... skipping rest of the long hunt-&-mend adventure-story so far, [tldr:]i'm up to "just remove pulseaudio" after some mild table-flipping, and making do with telling mpv to
Code:
mpv --ao=sndio
to avert whatever was blocking audio (i wanna blame pulse, but idk, there's probably a simpler mend yet ~ or even scrap some strata and start them from scratch to avoid the pebkac jank i've introduced, heh.).

[edit as reported/grumbled last night ##bedrock-chat :
Quote:
[2020-10-12 22:33:08] * Digit grumbles about sound issues again, having deleted (mv'd) configs and killed pulse, can at least get aplay or speaker-test to make noise, but mpv, back to "Audio: no audio", and pulse glomping the sound system silent again...
[2020-10-12 22:33:36] * Digit leaves these actions here as a reminder where upto, when parted for r&r to de-stress
[2020-10-12 22:39:32] * Digit tells mpv to ao=sndio and there was much rejoicing.
/edit]



so on with...

Code:
 pmm list --installed | grep pulse
* strat -r void xbps-query -l | awk '$1 == "ii" {sub(/-[0-9.]+_[0-9]+$/, "", $2); print $2}'
void:xbps       alsa-plugins-pulseaudio
void:xbps       libpulseaudio
void:xbps       pulseaudio
* strat -r gentoo qlist -IC
* strat -r diguan dpkg -l | awk '$1 == "ii" {sub(/:[0-9]+$/,"",$2); print $2}'
diguan:apt      gstreamer1.0-pulseaudio:amd64
diguan:apt      libpulse-dev:amd64
diguan:apt      libpulse-mainloop-glib0:amd64
diguan:apt      libpulse0:amd64
* strat -r aurtix yay -Q | cut -d' ' -f1
aurtix:yay      libpulse
aurtix:yay      pulseaudio
aurtix:yay      pulseaudio-alsa
* strat -r bubunbu dpkg -l | awk '$1 == "ii" {sub(/:[0-9]+$/,"",$2); print $2}'
so those packages will be ridden (even tho i think at least a couple of them might just be compatibility thingies), and making sure the alsa things are installed (and some extra alsa things to be sure, and some packages that just took my eye from searches (like cava and xava))...


Code:
sudo pacman -Rs pulseaudio pulseaudio-alsa libpulse ; sudo pacman -S alsa-utils alsa-plugins alsa-oss
Code:
sudo xbps-remove alsa-plugins-pulseaudio libpulseaudio pulseaudio ; sudo xbps-install AlsaMixer.app alsa-firmware alsa-plugins alsa-sndio alsa-plugins-samplerate alsa-plugins-jack alsa-tools xava
Code:
sudo apt-get remove gstreamer1.0-pulseaudio libpulse-dev libpulse-mainloop-glib0 libpulse0 ; strat freshuan sudo apt-get install alsa-oss alsa-tools alsa-tools-gui alsamixergui alsa-utils alsaplayer-alsa alsaplayer-common alsaplayer-gtk alsaplayer-jack alsaplayer-oss cava oss-compat
[[[ (freshuan (a devuan ceres stratum) gave some errors, had me update and re-run the install command, it went through but still with some errors e.g.:

Code:
E: Could not open file /var/cache/apt/archives/gcc-10-base_10.2.0-15_amd64.deb - open (2: No such file or directory)
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
a whole bundle of them, and preselectings probably automended that. but i dont think it important for proceeding here anyway.
) ]]]

oh, and cava and xava both ask to check if pulseaudio is running. n_n that's what i get for curiosity-installs. maybe they'll be fine without it, once i'm thoroughly settled into this process of ridding pulseaudio to see what that's like these days. ~ a lot of the tips i'm finding on this (spanning a few dozen tabs) are back from like 2011. ... anyways, onwards... ... i'll likely report back with updates after testing more sound things, and possibly a reboot or two too (and/or even after that appealing bedrocky idea of scrap n restart some strata, rearrange which... maybe just barebones it back to just void and carbs, mmm). or i might forget about this entirely with audio "just work"ing. heh, i doubt it (expecting mmmuch pulse dependence these days (~ another reason sending me itching towards more sucklessness).

[and, scruffily/hastily, just before posting (and adding colours while proofreading, lol), speakertest fails (resource busy), i check fuser -vf /dev/snd* and see many pulses still... pkill pulseaudio, fuser check again still 2 mpv and 2 alsamixers, but no new sound not even in speakertest, but the still running mpv's still making sound (good, can still wim hof a few more rounds before rebooting)... (and searched hastily just now skimming for what's this dejavu about ... no sign of my prior posts about sound/pulse)... so that'll do for now. bbl after reboot probably, to update and tidy this up.]

Last edited by Siljrath; 10-13-2020 at 11:18 AM. Reason: updated after reboot. :3
 
Old 10-13-2020, 08:10 AM   #2
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Original Poster
Rep: Reputation: 66
& may wanna block, not just uninstall...
 
Old 10-13-2020, 02:23 PM   #3
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Original Poster
Rep: Reputation: 66
some old panes in tmux[1] with old fish configs (with 'alias mpv "mpv --ao=sndio") still in play,
nearly giving some false negatives on testings. i'm not fooled (anymore ~ tho possibly was earlier).

[1] tmux-continuum life.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH Script - ridding a weird char in filename BW-userx Programming 15 06-10-2017 08:15 AM
LXer: Microsoft releases open source bug-bomb in the rambling house of C LXer Syndicated Linux News 0 06-16-2016 06:41 AM
Pulse counter or frequency of incoming pulse train jayhorizon Programming 15 10-29-2010 04:29 AM
OS multiverse rambling jwhiz Linux - General 4 04-17-2008 04:08 PM
Ridding my system of junk... Enlightened Linux - Software 2 06-18-2004 01:39 AM

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

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