dimtpap / obs-pipewire-audio-capture

🔊 Audio device and application capture for OBS Studio using PipeWire
https://obsproject.com/forum/resources/pipewire-audio-capture.1458/
GNU General Public License v2.0
298 stars 9 forks source link

A linux native game (Crypt of the necrodancer) doesnt show up as an audio source. #25

Closed AmyRoxwell closed 1 year ago

AmyRoxwell commented 1 year ago

Crypt of the Necrodancer has a linux version (https://store.steampowered.com/app/247080/Crypt_of_the_NecroDancer/) but for some reason it doesnt display when I try to select it as an audio source, this doesnt happen with other native linux games like Half-Life 2 or L4D2. In other hand, when you run the game using proton then you can select it as an audio source just fine.

dimtpap commented 1 year ago

Open the game and run pw-cli info all > pwinfo.txt in a terminal, then post the pwinfo.txt file here, it will be in the directory you ran the command in.

dimtpap commented 1 year ago

If SteamDB is correct and the game uses OpenAL for audio, open the game's properties in your Steam library and in "LAUNCH OPTIONS" put ALSOFT_DRIVERS=pulse %command% and see if it works

AmyRoxwell commented 1 year ago

Sorry for the late answer,

If SteamDB is correct and the game uses OpenAL for audio, open the game's properties in your Steam library and in "LAUNCH OPTIONS" put ALSOFT_DRIVERS=pulse %command% and see if it works

The solution you posted actually fixed it, now it shows up in the plugin properties and it works properly if I use that launch parameter! Open the game and run pw-cli info all > pwinfo.txt in a terminal, then post the pwinfo.txt file here, it will be in the directory you ran the command in.

I tried to use the command but the terminal throws this error: $ pw-cli info all > pwinfo.txt info: unsupported type PipeWire:Interface:Profiler

dimtpap commented 1 year ago

I tried to use the command but the terminal throws this error: $ pw-cli info all > pwinfo.txt info: unsupported type PipeWire:Interface:Profiler

It's just a warning, the command worked

AmyRoxwell commented 1 year ago

I see, so, should I close this issue as solved?

dimtpap commented 1 year ago

Post the pwinfo.txt file

AmyRoxwell commented 1 year ago

pwinfo.txt

dimtpap commented 1 year ago

Yeah in its default configuration the game uses Jack, apps using Jack can have complex port configurations where not all of their output ports should be sent out to speakers/captures (take Ardour for example) so the capture can't really work with them