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 script.
If you see the default profiles (names like Multichannel) but not these profiles (names like Game Output, Chat Output), then you might need to change the udev rules.
In 91-pulseaudio-razer-nari.rules change PULSE_PROFILE_SET to ACP_PROFILE_SET.
Might apply to other distributions that have migrated to PipeWire.
In addition to the change to 91-pulseaudio-razer-nari.rules described above, you also need to move all config files originated from this repo from /usr/share/pulseaudio/alsa-mixer/ to /usr/share/alsa-card-profile/mixer/.
Install the package from the AUR
There was an update in the Arch pulseaudio package (#5)
which changes the location of the profile files.
In pulseaudio 14.2-2 this was reverted
(#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.