You are not logged in.
Pages: 1
I installed arch with archinstall.
I excluded audio feature during the guided installation.
No i would like to add audio ability.
I have this:
# pacman -Q | grep alsa
alsa-lib 1.2.9-1
alsa-topology-conf 1.2.5.1-3
alsa-ucm-conf 1.2.9-1Can i run archinstall again, just to add the missing audio ability?
If no, what the leanest way to enable audio on this installation?
Thx!
Offline
that's unnecesary.
https://wiki.archlinux.org/title/PipeWire
just install:
- pipewire
- pipewire-pulse (pulseaudio support)
- pipewire-alsa (alsa support)
- pipewire-jack (jack support)
- wireplumber (the manager)
they work good out of the box, so it's pretty easy. else there's the link up top in this post.
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
just install:
- pipewire
- pipewire-pulse (pulseaudio support)
- pipewire-alsa (alsa support)
- pipewire-jack (jack support)
- wireplumber (the manager)
Thx for that!
Are all of those required for minimal audio capability?
Would all those be installed by archinstall, if audio is enabled during installation of arch?
i see piperwire listed here:
https://python-archinstall.readthedocs. … ight=audio
Last edited by atomikegg (2023-08-31 07:07:18)
Offline
I don't know what archinstall installs, I think it's for people who aren't capable of reading the installation guide
It might also use pulseaudio.
you can probably drop jack support
pulse is needed by spotify, for example
alsa by a game i use
you can just drop the three and install them if you need them
pipewire and wireplumber are needed
Last edited by jl2 (2023-08-29 07:29:41)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
I don't know what archinstall installs, I think it's for people who aren't capable of reading the installation guide
![]()
Maybe also for people who are capable of reading the installation guide, but want an easy, trouble-free, quick installation process.
I love arch. I've tried many distros and related OS's, and arch is the best. No junk. A minimal install, and i can easily add enhancements to make it a lean, fast, highly capable, low-resource desktop and application experience. No mystery processes clogging up the background. Just the apps i need, nothing more.
The link seems to show the full installation script, including audio.
{
"audio": "pipewire",
"bootloader": "systemd-bootctl",
"custom-commands": [
"cd /home/devel; git clone https://aur.archlinux.org/paru.git",
"chown -R devel:devel /home/devel/paru",
"usermod -aG docker devel"
],
"!encryption-password": "supersecret",
"filesystem": "btrfs",
"gfx_driver": "VMware / VirtualBox (open-source)",
"harddrive": {
"path": "/dev/nvme0n1"
},
"hostname": "development-box",
"kernels": [
"linux"
],
"keyboard-language": "us",
"mirror-region": "Worldwide",
"nic": {
"NetworkManager": true
},
"ntp": true,
"packages": ["docker", "git", "wget", "zsh"],
"profile": "gnome",
"services": ["docker"],
"superusers": {
"devel": {
"!password": "devel"
}
},
"sys-encoding": "utf-8",
"sys-language": "en_US",
"timezone": "US/Eastern",
"users": {}
}
https://python-archinstall.readthedocs. … ight=audio
Last edited by atomikegg (2023-08-31 07:09:39)
Offline
Key Values/Description Description Required
audio pipewire/pulseaudio
you can choose.
but this doesn't say what it installs (pipewire is useless without wireplumber)
btw i had troubles reading the install guide too.
Last edited by jl2 (2023-08-29 08:44:35)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
The reason why archinstall causes allergic reactions is that we have to read the source code to figure out what it does every time there is a question about it.
First of all: I have not found any indication on whether it is a good idea to run archinstall twice to get missing sections. Never tried it.
To find out what archinstall does, this is what I did:
Find the package: https://archlinux.org/packages/extra/any/archinstall/
Find upstream: https://archlinux.org/packages/extra/any/archinstall/
Click around the code, wondering what the world would look like if I knew how to grep on github.
git clone the thing
cd the thing and grep -r audio *
It's talking about schema.json and audio_config. What I could find is pipewire and pulseaudio.
You have to dig deeper in the code to know what it installs exactly, but suffice the wiki articles for pipewire and pulseaudio should help you plenty at this point. It is worth mentioning, that pipewire seems to be the modern way to do this.
BUT I CANNOT JUST NOT BECAUSE I HAVE A CONDITION
grep -r pipewire *
^archinstall/profiles/applications/pipewire\.py$ looks like a path!
find -name pipewire.py
cat ./archinstall/default_profiles/applications/pipewire.py
It looks like it installs pipewire, pipewire-alsa, pipewire-jack, pipewire-pulse, gst-plugin-pipewire, libpulse and wireplumber and then enables pipewire-pulse.service as a user service for every user.
It is also worth noting, that https://wiki.archlinux.org/title/Archinstall explicitly says: "Warning: The recommended way of installing Arch Linux is still to follow the installation guide."
Last edited by Awebb (2023-08-29 09:29:25)
Offline
Offline
The archinstall script is (was?) officially not meant to be used by end users to install archlinux.
Next to the warning in https://wiki.archlinux.org/title/Archinstall see also https://bbs.archlinux.org/viewtopic.php … 1#p1965851 - though idk where Alad got that from, doesn't seem on the archinstall homepage nor github, maybe some internal discussion.
To balance this out, he had a more realistic take in https://bbs.archlinux.org/viewtopic.php … 2#p2110452
The reason why it causes allergic reactions is because it, evidenced by your post, advertises an easy and uncomplicated arch installation, but in reality is pestered by long standing ridiculous bugs and systematically causes a situation where the user ends up in front of a system they don't understand or know. And then they show up here and ask questions you'd get a RTFM on ubuntu forums for.
And on the other hand it was assured that this was neither case nor intention - what, if your read the linked thread, nobody ever believed.
tl;dr - I get how you came to the conclusion that "archinstall is for people who want an easy, trouble-free, quick installation process", but you've been fooled.
It's neither "trouble-free" and technically also not "archlinux", see https://bbs.archlinux.org/misc.php?action=rules and ifyou have any archinstall related problems, they belong into https://bbs.archlinux.org/viewforum.php?id=51 and you'll simply have to live w/ the fact that most experienced members of this forum will tell you that you did yourself a complete disservice by using it.
Offline
It's neither "trouble-free" and technically also not "archlinux", see https://bbs.archlinux.org/misc.php?action=rules and ifyou have any archinstall related problems, they belong into https://bbs.archlinux.org/viewforum.php?id=51 and you'll simply have to live w/ the fact that most experienced members of this forum will tell you that you did yourself a complete disservice by using it.
I have manually installed vanilla arch MANY times over the course of a few years, without issue, on a local HD. Once i get it installed, i devote many hours manually adding and removing packages with pacman and `git clone...makepkg`, and tweaking the system to my liking.
My special case with this install was to install persistent arch to an SD drive. I struggled for a couple days just with partitioning. I thought my partitions were correct, based on the manual guide, but it still wouldn't install. Also, i was confused about "system partition" vs "boot partition", and other confusions.
In the end, archinstall did me a big favor, as i hoped it would. It installed arch quickly, simply, and without issue. It wasn't a disservice in the least. Then i customized arch as usual.
The missing audio ISN'T an issue with archinstall. I CHOSE not to include audio components during my install.
i think archinstall is different than Artix, Apricity, Archbang, Artix, Chakra, EndeavourOS, Evo/Lution, or Manjaro. It's included on the native arch live image. And there's a page dedicated to it on the arch wiki. It's part of the arch ecosystem. The wiki INVITES users to post support requests about archinstall:
"When using a system installed with archinstall, please mention so in support requests and provide /var/log/archinstall/install.log."
https://wiki.archlinux.org/title/archinstall
I'd be happy to provide the log if anyone actually wants to look at it
. Here it is:
https://pastebin.com/94vjH3vn
"No audio server will be installed"
Things i installed manually:
https://pastebin.com/Wfn5Fds5
archinstall script is (was?) officially not meant to be used by end users to install archlinux.
- How do you know? I can't find that statement on the archinstall page.
- Who else would be served by an easy installer? Advanced users don't need it.
despite any disclaimers to the contrary, it was designed with the purpose of attracting new users.
https://bbs.archlinux.org/viewtopic.php … 3#p2110343
Some (most?) arch users love the experience of digging into the guts of the OS. That's awesome.
But a few of us just love a snappy alternative to Windows, so we can get our business done.
I love arch for this, because i think it's the cleanest, fastest, most minimal linux, rock-solid stable, and supports xfce (the best small linux desktop
). I've tried a bunch of small linuxes
Anyhoo, i will try to get audio working ![]()
Last edited by atomikegg (2023-08-31 16:18:30)
Offline
To find out what archinstall does, this is what I did:
Find the package: https://archlinux.org/packages/extra/any/archinstall/
...
Thx for that awesome walkthrough! I will refer to it in the future.
wondering what the world would look like if I knew how to grep on github.
Umm, wait. That's hard?
BUT I CANNOT JUST NOT BECAUSE I HAVE A CONDITION
like... Grubelnsucht?
Last edited by atomikegg (2023-08-31 16:19:10)
Offline
just install:
...
- pipewire-pulse (pulseaudio support)
....
Thanks for that, @jl2 !
I hesitated to proceed with your recommendation, because in the past i've used alsa without installing pulse (cuz trying to run as minimal as possible). And also, i read pipewire is supposed to REPLACE pulse. So i was hesitant when you included pipewire-pulse.
Thx for that! Yep, it says
PipeWire — Multimedia framework intended as a replacement for both PulseAudio and JACK
Also, i used jack in the past to route audio to a recorder app (IIRC), and wondered if it was required just to play YouTube videos.
I got:
# pacman -S pipewire-jack
resolving dependencies...
looking for conflicting packages...
:: pipewire-jack and jack2 are in conflict (jack). Remove jack2?
Last edited by atomikegg (2023-08-31 06:54:07)
Offline
Well, archinstall offers either pulseaudio or pipewire if you don't pick nothing, so if your quest is to have a "default" audio setup that works, then either one of these will be it. Maybe try pipewire at least once.
Offline
I have manually installed vanilla arch MANY times over the course of a few years, without issue, on a local HD. Once i get it installed, i devote many hours manually adding and removing packages and tweaking the system to my liking.
So why is this thread?
Are you seriously asking whether you should run archinstall again and again whenever you want to add or remove a package? Reinstall the system when switching from emacs to vim?
Once archinstall did the installation process for you (more or less) you're with the system as usual. Otherwise it would without any question constitute a different distribution.
Offline
Well, archinstall offers either pulseaudio or pipewire if you don't pick nothing, so if your quest is to have a "default" audio setup that works, then either one of these will be it. Maybe try pipewire at least once.
As mentioned in above post, i am trying to use pipewire. I reported errors and questions above.
Offline
Once archinstall did the installation process for you (more or less) you're with the system as usual. Otherwise it would without any question constitute a different distribution.
That's what i figured. I didn't know the answer. That's why i asked.
I got sound working! By installing various alsa and pipewire things, and making a .asoundrc file. Not exactly sure which thing made sound work ![]()
Last edited by atomikegg (2023-09-01 16:05:39)
Offline
Pages: 1