GithubHelp home page GithubHelp logo

imustafin / razer-nari-pulseaudio-profile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from demontpx/steelseries-arctis-5-pulseaudio-profile

103.0 6.0 20.0 23 KB

Pulseaudio profile for Razer Nari

License: MIT License

Makefile 54.48% Shell 45.52%

razer-nari-pulseaudio-profile's Introduction

Razer Nari pulseaudio profile

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.

Installing

PipeWire

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.

Fedora34

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/.

Arch Linux

Install the package from the AUR

Devices not recognized on Arch

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.conf and razer-nari-output-chat.conf should go to /usr/share/alsa-card-profile/mixer/paths/
  • razer-nari-usb-audio.conf should go to /usr/share/alsa-card-profile/mixer/profile-sets/
  • 91-pulseaudio-razer-nari.rules to /lib/udev/rules.d/ as usual

Other Linux Systems

cd into the razer-nari-pulseaudio-profile folder and run sudo chmod +x install.sh && ./install.sh

Other

Install by copying the following files:

  • razer-nari-input.conf, razer-nari-output-game.conf, and razer-nari-output-chat.conf to /usr/share/pulseaudio/alsa-mixer/paths/
  • razer-nari-usb-audio.conf to /usr/share/pulseaudio/alsa-mixer/profile-sets/
  • 91-pulseaudio-razer-nari.rules to /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.

razer-nari-pulseaudio-profile's People

Contributors

bfenty avatar demontpx avatar denesb avatar foonly avatar imustafin avatar marc-pierre-barbier avatar nzbr avatar omico avatar the4thgoose avatar wpalmer avatar yodadacoda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

razer-nari-pulseaudio-profile's Issues

Headset mic not shown in sound setting GUI

Ubuntu 18.04

Hey this works really well, thanks for making this.

The only thing that is funny is that the mic no longer is shown in the settings menu so I can't adjust the sensitivity or switch the input source.
image
image

Everything works however. Is this something you encountered or perhaps I've installed it wrong? I didn't build it I just copied the relevant files.

XKB error when inserting the receiver

Hi there! I have used your configuration with sucess in several debian based distos, and worked pretty good.
I'm now testing Manjaro, i installed through AUR, and while it works 100%, everytime i plug the usb receiver, instantly this error comes up:

https://i.imgur.com/bAyYQZq.png

Can you help me figure out why keyboard as anything to do with this?

cheers

Game/Chat balance doesn't work with pulseeffects enabled.

I'm using ZorinOS 16 (Ubuntu 20.04 based)
the chat/game balance breaks if i use pulseeffects.
the reason i want to use pulseeffects is so the headset doesn't sound like crap.
but i also find myself missing the game/chat balance on numerous occasions.
if i select my razer nari chat audio device in discord it doesn't actually seem to be going to the chat audio device but instead game until i disable pulseeffects
now to be honest idk if this is an issue with the profile or pulseeffects.

Pulseaudio 14.2-2

Pulseaudio version 14.2-2 made my headset completely unusable, it doesnt show up anywhere. I dont know if this has anything to do with this package or pulseaudio itself but im gonna post this here anyway. I have downgraded for now and it works again on version 14.2-1 it would be nice to see it working on the newest version tho

Pop!_OS 21.10 support

I have attempted to add this to my new Pop!_OS 21.10. I was not able to get it to work. I tried the following:

  1. Installing using the built deb package.
  2. Installing using the install script.
  3. Following the manual instructions.
  4. Following the instructions for pipewire adjustments.

I don't know what you might need as debugging output or whatever. Please let me know, I'll provide if asked.

Note: I know very little about pulse audio so this is new territory for me. That said I'm willing to contribute. I can help with shell scripting and the like.

Compatibility with Fedora34 (PipeWire)

First off, awesome repo, thanks to you I can use my headset on Linux!

The headset stopped working after I upgraded to Fedora34, which brings with itself a migration to PipeWire. Basically it reverted to the old single Mono output.

Doing the following restored the previous functionality (Chat Output, Game Output, Stereo):

  • Replace PULSE_PROFILE_SET with ACP_PROFILE_SET in 91-pulseaudio-razer-nari.rules as you suggest in the README.md.
  • Move all the config files originating from this repo from /usr/share/pulseaudio/alsa-mixer/ -> /usr/share/alsa-card-profile/mixer/
  • Reboot.

I wanted to create an issue so others with the same problem can find the solution. I can also send a PR to update the README.md if you are willing to add a section to this corner (?) case.

Broke withe pipewire

Hey brother!
I've been using this profile for so...so many time now, in all linux distros ranging from debian based to arch. Worked awesome everytime.
Now the issue is.. as distros start moving to pipewire, this no longer works.
I was using latest Pop!_OS, and after an update.. it just broke.
I'm now testing arch with latest gnome, and i can't get this to work anymore.
Do you happen to got this working in recent distros?
cheers

Pop OS 22.04 Support (with Pipewire)

It's possible this is my own misunderstanding, but...

On a fresh install of Pop OS 22.04 I'm unable to get the Nari working properly. I've always used pulseaudio and that worked fine on the old version of Pop, but with the latest release they've switched to Pipewire and I can't get figure out how to get the profile installed. I figure lots of people will probably have the same question, so it would be worth posting it here for an answer.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.