The Razer Nari is a gaming headset which has two stereo audio outputs. One for voice chat and one for the rest of the sound. It can be mixed between with a physical knob.
By default, pulseaudio only enables the voice chat output. This profile enables the second (game) output and the udev rule makes sure this profile is used when plugging in the device.
This solves the problem when only mono output is recognized for Nari.
If you use PipeWire, use the install-pipewire.sh. You may need to reboot before you see the changes take effect.
PipeWire has a few differences from pulseaudio:
In 91-pulseaudio-razer-nari.rules is changed PULSE_PROFILE_SET to ACP_PROFILE_SET.
The profiles are copied into /usr/share/alsa-card-profile/mixer/ instead of /usr/share/pulseaudio/alsa-mixer/.
These two changes are necessary on Pop OS 22.04 and Fedora34, and may apply to other distros that have moved to PipeWire as well.
Install the package from the AUR
There was an update in the Arch pulseaudio package (imustafin#5)
which changes the location of the profile files.
In pulseaudio 14.2-2 this was reverted
(imustafin#12). If you
are using pulseaudio >= 14.2-2, then use the usual instructions for other distros.
If you are using pulseaudio >= 13.99.2+7+g6101798c7, < 14.2-2 OR if you are using Pipewire-pulse then use these instructions:
razer-nari-input.conf,razer-nari-output-game.confandrazer-nari-output-chat.confshould go to/usr/share/alsa-card-profile/mixer/paths/razer-nari-usb-audio.confshould go to/usr/share/alsa-card-profile/mixer/profile-sets/91-pulseaudio-razer-nari.rulesto/lib/udev/rules.d/as usual
cd into the razer-nari-pulseaudio-profile folder and run sudo chmod +x install.sh && ./install.sh
Install by copying the following files:
razer-nari-input.conf,razer-nari-output-game.conf, andrazer-nari-output-chat.confto/usr/share/pulseaudio/alsa-mixer/paths/razer-nari-usb-audio.confto/usr/share/pulseaudio/alsa-mixer/profile-sets/91-pulseaudio-razer-nari.rulesto/lib/udev/rules.d/
Script:
cp razer-nari-input.conf /usr/share/pulseaudio/alsa-mixer/paths/
cp razer-nari-output-{game,chat}.conf /usr/share/pulseaudio/alsa-mixer/paths/
cp razer-nari-usb-audio.conf /usr/share/pulseaudio/alsa-mixer/profile-sets/
cp 91-pulseaudio-razer-nari.rules /lib/udev/rules.d/
Restart pulseaudio:
pulseaudio -k
pulseaudio --start
After that, plug in the device to see if it works.