Category: Linux

Linux Pipewire Audio with ROG Strix B450-F Gaming RealTek ALC1220

Linux Pipewire Audio with ROG Strix B450-F Gaming RealTek ALC1220

Upon installing Garuda Dragonized edition on my Desktop rig. Everything seems fine upon first start-up but then when I try to launch anything with audio, I’m already having problems and cannot control the audio to my speakers or headphones very well. Sound comes from the headphones (Front Panel) just fine but not from the Line out. Going into AlsaMixer, I see that “Auto Detect” is enabled, so I disable it and now I have sound coming from headphones and speakers simultaneously and I’m fine with this.

I did a little digging around on Google for hopefully some answers. Here are some links I found:

  • https://forum.manjaro.org/t/fresh-install-gnome-21-07-no-sound-with-realtek-alc1220/73263
  • https://www.maketecheasier.com/install-configure-pipewire-linux/
  • https://www.reddit.com/r/linux_gaming/comments/v67jl9/easy_virtual_soundcards_with_pipewire_for/
  • https://bugzilla.kernel.org/show_bug.cgi?id=211743

This list will grow as I find new information so I can keep up with the changes also I look forward to comments from people who know Pipewire better than I do and hopefully resolve my issue and help others out in the process.

From one of the links above, someone had said when trying to get OBS to work correctly is to add some Virtual Sinks to be able to help with separating audio paths. So I added this to my /home/username/.config/pipewire/pipewire.conf.d directory. (I had to make both the pipewire and pipewire.conf.d directories under .config)

/home/username/.config/pipewire/pipewire.conf.d/10-coupled-streams.conf

1
context.modules = [<br>    {   name = libpipewire-module-loopback<br>        args = {<br>            audio.position = [ FL FR ]<br>            capture.props = {<br>                media.class = Audio/Sink<br>                node.name = game_sink<br>                node.description = "Virtual game sink"<br>            }<br>        }<br>    }<br>    {   name = libpipewire-module-loopback<br>        args = {<br>            audio.position = [ FL FR ]<br>            capture.props = {<br>                media.class = Audio/Sink<br>                node.name = live_only_sink<br>                node.description = "Live-only virtual sink"<br>            }<br>        }<br>    }<br>]

Not exactly sure

Gentoo Linux ~amd64 kernel config for Asus Rog Strix B450-F Gaming motherboard and AMD Ryzen 5 2600x

Gentoo Linux ~amd64 kernel config for Asus Rog Strix B450-F Gaming motherboard and AMD Ryzen 5 2600x

I’m going to start with a kernel configuration for this Mobo/CPU combo. This will not be for other devices, just for this motherboard and CPU combo. You can add modules as you see fit to add them, but this should be the baseline for your kernel. I’ll be updating this as I go along but for now, i’m running the testing branch on Gentoo (~amd64) and the current kernel i’m using is 5.7.12 so far. I will edit this as I go along and modify the kernel version as well so this will be an ongoing post but with the same hardware. I hope this helps someone out as it will help me keep track of my changes.

Here is my setup:
Asus Rog-Strix B450-F Gaming Motherboard
AMD Ryzen 5 2600X
MSI GTX970 4GB Gaming video card

.config
make.conf

Editor’s Note: If anyone sees anything out of place with my config and make.conf files, please feel free to comment below on things I could change to make better. I always enjoy constructive criticism.

I hope by posting this I can help someone out with this configuration and get started on their Gentoo build pretty quick. In the kernel, i’ve tried to keep modules down to a minimum. There are a few WiFi drivers I left in there because i’d like to be able to just plug it in if I need to and i’ve omitted all the others I don’t have. I’ve also omitted a lot of the low level SCSI drivers and other things as well. I’m still working on trimming this down even more. Right now, my kernel is sitting at around 10MB and I have it tuned for ‘performance’ instead of ‘ondemand’. There may be some things you can tweak with this and if you’d like to share, please comment below.

Gentoo emerging cdrdao errors with bitrate_table error

Gentoo emerging cdrdao errors with bitrate_table error

Happens in stable or testing branch (amd64 or ~amd64)

Here is the error:

1
2
3
toc2mp3-toc2mp3.o: In function `init_encoder(int)':
toc2mp3.cc:(.text+0x2da): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x2e7): undefined reference to `bitrate_table'

The fix is to patch cdrdao, here are the steps:

1
2
3
4
mkdir -p /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
cd /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
wget "http://chrisfaulkner.org/wp-content/uploads/2017/11/cdrdao-1.2.3-dlopen-lame.patch" -O cdrdao-1.2.3-dlopen-lame.patch
emerge -1 cdrdao
ODroid c2 OS Installs

ODroid c2 OS Installs

Armbian
Im working on finding a Gentoo install disc at the moment or some other workaround. I may have to build a install disc from scratch. I was told on Gentoo-embedded that GCC4 will not work but GCC5 and GCC6 shows promise

Lenovo G50-45 Linux Mint 17.1 (Rebecca)

Lenovo G50-45 Linux Mint 17.1 (Rebecca)

Installing this version of Linux was fairly easy. Even booted with UEFI turned on but I had to turn off Secure Boot. After installation, you have to install the fglrx driver through Menu > Administration > Driver Manager.

Also, before you start updating, the WiFi has an issue after a few minutes of being connected, it will disconnect and won’t allow you to reconnect without a reboot. To resolve this issue, you have to create a file in /etc/modprobe.d call it rtl8723be.conf . Inside this file type in this:

options rtl8723be fwlps=N ips=N

Reboot, then update your repos with apt-get update and then apt-get upgrade

This will solidify your installation..