this post was submitted on 25 Mar 2024
181 points (95.9% liked)

Linux

48655 readers
385 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!

Anyways: I primarily use Gentoo Linux.

I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted.

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon.

Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes.

What's your unusual setup like?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

But what benefits do you get. At the end it lands on your real audio card anyways

[–] [email protected] 12 points 9 months ago (1 children)

When recording in OBS, I can split the voice and desktop audio and edit them separately.

[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 4 points 9 months ago

Pretty easy to do if you use Pipewire, just add a file named ~/.config/pipewire/pipewire.conf.d/10-virtual.conf with the following content:

context.objects = [
    {   factory = adapter
        args = {
            factory.name     = support.null-audio-sink
            node.name        = "Virtual-Sink-1"
            node.description = "Virtual Sink 1"
            media.class      = "Audio/Sink"
            audio.position   = "FL,FR"
        }
    }

    {   factory = adapter
        args = {
            factory.name     = support.null-audio-sink
            node.name        = "Virtual-Sink-2"
            node.description = "Virtual Sink 2"
            media.class      = "Audio/Sink"
            audio.position   = "FL,FR"
        }
    }
]

This will add 2 virtual sinks to your device list after a restart, which you can use in all applications.

After that you can install qpwgraph and add it to autostart: https://flathub.org/apps/org.rncbc.qpwgraph

Now you can drag & drop all connections from your Virtual sinks to you output device (as shown in the image I posted). You can even send it to multiple output devices at the same time.

When you are done hit Ctrl + S to save your patchbay and select Patchbay -> Activated. Now qpwgraph will load your connections every time it starts.