RZ09-0482X
..

RZ09-0482X

0x00 - Latest Updates

  • Update the Audio section

0x01 - Intro

This is my personal journey to utilize Manjaro GNOME (Arch Linux) on my personal daily driver. Feel free to check out and follow up as there will be some updates or things I’d like to customize my driver.

Note that this guide might be incomplete or unreliable in future usage, so keep up for any incoming updates. If you have any questions or suggestions, ask away through my email. I will answer as soon as I can.

0x02 - Repository Update

chaotic-aur

The first time when I used Athena OS is the OS itself has a repository called chaotic-aur, which is an unofficial package repository that contains pre-built packages from the AUR. For example, you can install Discord, Zoom, Anydesk, or others through chaotic-aur.

While chaotic-aur might be helpful to install such applications, I still manage myself to manually install tools or drivers that might not available on Manjaro repository through AUR site – Where you clone the repository package and run $ makepkg -si on each package directory.

You can follow along from their documentation, or you can follow along on this step as how I installed the repository by myself.

  1. Ensure to update the pacman’s repository first.
    $ sudo pacman -Syy 
    
  2. Retrieve the chaotic-aur primary key to enable the installation of the keyring and mirror list, provided by chaotic-aur.
    $ sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
    $ sudo pacman-key --lsign-key 3056513887B78AEB
    
  3. After retrieving the primary key, install the chaotic-keyring and chaotic-mirrorlist packages as well.
    $ sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
    $ sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
    
  4. Then, append the following syntax to the /etc/pacman.conf repository
    [chaotic-aur]
    Include = /etc/pacman.d/chaotic-mirrorlist
    
  5. As the final touch, sync the recently chaotic-aur mirrorlist with a full system update
    $ sudo pacman -Syu
    

If you’re living in the non-first-world countries (probably as same as mine), you can optionally run powerpill to download binaries, drivers, and packages, from all mirrors simultaneously. To run powerpill, run it in the following terminal.

$ sudo pacman -Sy && sudo powerpill -Su && paru -Su

0x03 - Essential Drivers

The first thing I did after installing Manjaro is to install drivers, especially CPU and GPU drivers.

CPU

I believe that the AMD drivers usually comes pre-installed with Linux, but I gotta make sure that the driver runs perfectly with the latest CPU that I’m using.

To do that, you can run the following command, which is the simplified version of installing AMD drivers.

$ sudo pacman -S mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver libva-utils

GPU

When it comes to the Nvidia GPU installation, this might be the tricky part, as you’ll encounter an enormous guides on how to install it.

According to the guide from Manjaro, you can install the following command for automated identification and installation of Nvidia drivers.

$ sudo mhwd -a pci nonfree 0300
  • -a: “auto-install.”
  • pci: specifies the type of hardware.
  • nonfree: ensures that you wanna use non-free (proprietary) drivers.
  • 0300: specifies the PCI class ID for graphics cards.

Alternatively, you can install the Nvidia drivers through pacman as well.

$ sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils optimus-manager nvidia-dkms nvidia-settings
  • nvidia: the main NVIDIA driver.
  • nvidia-utils: utilities for Nvidia GPUs.
  • lib32-nvidia-utils: 32-bit libraries for compatibility with 32-bit applications.
  • optimus-manager: (optional) install hybrid graphics with AMD+Nvidia
  • nvidia-dkms: (optional) install Nvidia on custom kernel.
  • nvidia-settings: (optional) other functionality tools.

Razer Drivers

Once you set up the chaotic-aur repository, you can install other binaries/apps from AUR. Since the Razer support is minimal, I ran the following command to search for Razer drivers.

$ pacman -Ss razer

This will search any drivers/libraries/binaries that matches with the syntax razer.

If you want to skip search, you can use the following command to install the entire Razer drivers.

$ sudo pacman -S openrazer-daeomon openrazer-driver-dkms python-openrazer polychromatic

0x04 - Issues

Display

If you encountering wack display (watching videos on YouTube but the video is almost like 0.5x slower), consider disabling Wayland.

Manjaro has a function to disable Wayland, which is located on Manjaro Hello (the application that starts after the OS has successfully installed). You can click Gnome Layout Switcher > Settings, then disable Wayland session.

Audio

One of the issues I’ve first encountered is the audio. The first time I’m installing the OS is the audio wasn’t functionable as it supposed to be, as I was expected for the audio to be functionable as the same as on Windows environment.

I recommend to use Pipewire instead of PulseAudio, as I encountered a lot of issues when using PulseAudio. To run the entire Pipewire audio driver, follow along to use this command to install and enable it.

$ sudo pacman -S alsa-tools manjaro-pipewire pipewire-pulse easyeffects pipewire-jack pipewire-v4l2 pipewire-x11-bell pipewire-zeroconf 

Then, enable the Pipewire on start; so whenever you start your computer, the Pipewre will start as you starting to log into it.

$ systemctl --user enable pipewire pipewire-pulse

$ systemctl --user start pipewire pipewire-pulse

Next, you can install other Pipewire essentials as well, as this might be the optional steps.

$ sudo pacman -S pipewire pipewire-alsa pipewire-libcamera

Once it’s done, enable the optional Pipewire binaries.

$ systemctl --user enable --now pipewire && systemctl --user enable --now wireplumber &&  systemctl --user enable --now pipewire-pulse

The issue that I was encountered was there’s no audio on my speakers. Surprisingly, the audio from bluetooth, audio jack, as well as the input device (audio recorder on my device) functions really well.

Fortunately, I stumbled across the blog and found the fix, which is from the kernel.org forum. I have uploaded the bash file to fix the audio problem, which you can download it here

Once you downloaded the file, ensure to choose the speakers to Speaker - Family 17h\19h\1ah HD Audio Controller. Once it’s done, simply run the command.

$ sudo bash RB14_2023_enable_internal_speakers_ver2.sh

Restart the device, and the audio has been fixed successfully.

Audio: 2025-04-09 Update

I realized that once I shutdown my computer, the audio problem still persists, meaning the audio kernel is returned to the previous state until I run the RB14_2023_enable_internal_speakers_ver2.sh bash file again.

Luckily, I read the forum again and I found the guide on how to keep the kernel audio persists through this guide.

Make the script become persistent after reboot

Once you’ve installed the bash file, ensure to rename it to make the script name simpler and make it become an executable script.

$ mv RB14_2023_enable_internal_speakers_ver2.sh rz_audio_hwC2D0

$ chmod a+x rz_audio_hwC2D0

Then, move the script into the /usr/local/bin directory to a permanent location.

$ mv rz_audio_hwC2D0 /usr/local/bin/

Next, allow the script to run without sudo password required by creating a sudoers file.

$ sudo touch /etc/sudoers.d/rz_audio_fix

Within the sudoers file, add the echo line and make sure to replace yournamehere with your actual username (on whoami)

$ echo 'yournamehere ALL=(ALL) NOPASSWD: /usr/local/bin/rz_audio_hwC2D0' | sudo tee -a /etc/sudoers.d/rz_audio_fix

After that, we can create a systemd service, by creating a service file first.

$ sudo nano /etc/systemd/system/rz_audio_fix.service

Then, we can paste the following (correcting the path if needed), then save and exit.

[Unit]
Description=Fix Razer Audio on Boot

[Service]
Type=oneshot
ExecStart=/usr/bin/sudo /usr/local/bin/rz_audio_hwC2D0
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

Once everything is set, we can enable the service that we created.

$ sudo systemctl daemon-reload
$ sudo systemctl enable rz_audio_fix.service
$ sudo systemctl start rz_audio_fix.service

Finally, we can verify if everything works.

$ sudo systemctl status rz_audio_fix.service

Then, we can reboot the system.

$ reboot