birdybirdonline / Linux-Arctis-7-Plus-ChatMix

A basic workaround for the lack of the proprietary Steelseries GG Software for the Arctis 7+ ChatMix modulator on Linux
GNU General Public License v3.0
10 stars 4 forks source link

SOLVED Service is dead when checked using systemctl, and running Arctis_7_Plus_ChatMix.py manually generates Failure reason: No Arctis device match #4

Open EnigmaRaptor opened 1 month ago

EnigmaRaptor commented 1 month ago

I have an Arctis 7+ refurb. Running Nobara 39 (A Fedora based distro). Python version 3.12.3

I tried the standard install instructions for the Arctis7+ install, but the service seems to fail, and returns this from the systemctl status:

○ arctis7pcm.service - Arctis 7+ ChatMix Loaded: loaded (/home/username/.config/systemd/user/arctis7pcm.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/user/service.d └─10-timeout-abort.conf Active: inactive (dead)

Then following the troubleshooting from another open ticket, I tried to run Arctis_7_Plus_ChatMix.py which returns this: (I have no idea why the first line of this quote block is created differently in the markup. It's part of the quote block)

INFO | Initializing ac7pcm...

/bin/sh: line 1: pactl: command not found INFO | default sink identified as /bin/sh: line 1: pactl: command not found ERROR | Something wrong with Arctis definition in pactl list short sinks regex matching. Likely no match found for device, check traceback.

Traceback (most recent call last): File "/home/username/Downloads/Linux-Arctis-7-Plus-ChatMix-main/Linux-Arctis-7-Plus-ChatMix-main/Arctis_7_Plus_ChatMix.py", line 93, in _init_VAC arctis_sink = list(filter(arctis.match, pactl_short_sinks))[0]


IndexError: list index out of range
    INFO | Cleanup on shutdown
sh: line 1: pactl: command not found
    INFO | Destroying virtual sinks...
Error: "destroy: unknown global 'Arctis_Game'"
Error: "destroy: unknown global 'Arctis_Chat'"
    INFO | ---------------------------------------------
CRITICAL | Failure reason: No Arctis device match
    INFO | ---------------------------------------------

Solution: The pactl packages are not installed by default, so I installed these and the service was able to be run manually. I will verify the automatic loading of the service after a reboot.

May I recommend that the pactl package is listed as a dependency in the install instructions? Possibly check for the package in the install script?

EnigmaRaptor commented 1 month ago

Correction on a detail, It's the pulseaudio-utils package that is needed.