You are not logged in.

#1 2022-02-17 21:52:46

Megarock90
Member
Registered: 2012-01-18
Posts: 45

[SOLVED]Single application not playing audio through HDMI

I'm trying to play Stepmania (git version, self compiled) through my tv since I got a pad lately, only to find that the audio keeps playing through my shitty laptop speakers. Every other application I try uses the TV speakers correctly.

Trying to figure what was going on I tried looking for it on pavucontrol while running, only to not find it anywhere. It also doesn't show up on the Plasma volume applet, settings manager nor on EasyEffects output list.

Running it through console I get

./stepmania
StepMania5.1-git-a38865dd2
Compiled 20220217 @ 21:02:03 (build a38865dd2)
Log starting 2022-02-17 16:11:44
Loading window: gtk
OS: Linux ver 051609
Crash backtrace component: x86 custom backtrace
Crash lookup component: backtrace_symbols
Runtime library: glibc 2.35
Threads library: NPTL 2.35
libavcodec: 0x372765 (3614565)
ALSA: Advanced Linux Sound Architecture Driver Version k5.16.9-zen1-1-zen.
ALSA Driver: 0: HD-Audio Generic [Generic], device 3: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA Driver: 1: HD-Audio Generic [Generic_1], device 0: ALC256 Analog [ALC256 Analog], 1/1 subdevices avail
ALSA device overridden to "plughw:1,0"
ALSA: Mixing at 44100hz
Sound driver: ALSA-sw
Lights driver: SystemMessage
Lights driver: Export
Video renderers: 'opengl'
Display: :0 (screen 0)
X server vendor: The X.Org Foundation [1.21.1.3]
Server GLX vendor: SGI [1.4]
Client GLX vendor: Mesa Project and SGI [1.4]
Paletted textures disabled: GL_EXT_paletted_texture missing.
Direct rendering: yes

any idea of what's happening? Running pipewire, packages up to date.

Last edited by Megarock90 (2022-02-17 22:50:56)

Offline

#2 2022-02-17 22:16:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED]Single application not playing audio through HDMI

It seems to enforce plughw:1.0 on an alsa level which is equivalent to direct device access and will not show up on the pipewire daemon

According to the upstream sources this should support pulseaudio, check your build log whether you missed compiling pulse support in (or rather the build system not recognizing libpulse for some reason), and if you didn't and it's present change it's preferences and switch the sounddriver to "pulse" or switch the ALSA device to "default" and have pipewire-alsa installed. https://github.com/stepmania/stepmania/ … references

Last edited by V1del (2022-02-17 22:37:49)

Offline

#3 2022-02-17 22:50:20

Megarock90
Member
Registered: 2012-01-18
Posts: 45

Re: [SOLVED]Single application not playing audio through HDMI

Yep, preferences.ini was at fault.

SoundDrivers=pulse

Marking as solved, should have looked it there 1st.

Offline

Board footer

Powered by FluxBB