SuperTuxKart (STK) sound over nvidia HDMI

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
maleficmax

SuperTuxKart (STK) sound over nvidia HDMI

Post by maleficmax »

Hi!
I have the Mint 15 and I can not get the STK sound over HDMI. All other programs work fine, I can swith the output in the pavucontrol, but if I do so for the STK, it just does not switching.

$ aplay -L

Code: Select all

default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, ALC889 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital                                                                                                                            
    Direct sample mixing device                                                                                                                          
dsnoop:CARD=Intel,DEV=0                                                                                                                                  
    HDA Intel, ALC889 Analog                                                                                                                             
    Direct sample snooping device                                                                                                                        
dsnoop:CARD=Intel,DEV=1                                                                                                                                  
    HDA Intel, ALC889 Digital                                                                                                                            
    Direct sample snooping device                                                                                                                        
hw:CARD=Intel,DEV=0                                                                                                                                      
    HDA Intel, ALC889 Analog                                                                                                                             
    Direct hardware device without any conversions                                                                                                       
hw:CARD=Intel,DEV=1                                                                                                                                      
    HDA Intel, ALC889 Digital                                                                                                                            
    Direct hardware device without any conversions                                                                                                       
plughw:CARD=Intel,DEV=0                                                                                                                                  
    HDA Intel, ALC889 Analog                                                                                                                             
    Hardware device with all software conversions                                                                                                        
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
I have found this topic: http://forum.freegamedev.net/viewtopic.php?f=17&t=5193
Here is the author's solution
Add this to ~/.openalrc or /etc/openal/alsoft.conf (if first does not work)

Code: Select all

    (define devices '(alsa))
    (define alsa-out-device "hdmi:0,0")
    (define speaker-num 2)
But I do not know what to enter in this lines in my case.
Please, help me to get rid of this problem.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
stemy

Re: SuperTuxKart (STK) sound over nvidia HDMI

Post by stemy »

Hello,

I have the same problem with other games (flightgear, OpenBVE, Extreme tux racer, SuperTux).

My config

Code: Select all

default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, ALC889A Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889A Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC889A Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC889A Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog                                                                                                                                                                                                                                                  
    Direct hardware device without any conversions                                                                                                                                                                                                                             
hw:CARD=Intel,DEV=1                                                                                                                                                                                                                                                            
    HDA Intel, ALC889A Digital                                                                                                                                                                                                                                                 
    Direct hardware device without any conversions                                                                                                                                                                                                                             
plughw:CARD=Intel,DEV=0                                                                                                                                                                                                                                                        
    HDA Intel, ALC889A Analog                                                                                                                                                                                                                                                  
    Hardware device with all software conversions                                                                                                                                                                                                                              
plughw:CARD=Intel,DEV=1                                                                                                                                                                                                                                                        
    HDA Intel, ALC889A Digital                                                                                                                                                                                                                                                 
    Hardware device with all software conversions                                                                                                                                                                                                                              
hdmi:CARD=NVidia,DEV=0                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    HDMI Audio Output                                                                                                                                                                                                                                                          
hdmi:CARD=NVidia,DEV=1                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    HDMI Audio Output                                                                                                                                                                                                                                                          
hdmi:CARD=NVidia,DEV=2                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    HDMI Audio Output                                                                                                                                                                                                                                                          
hdmi:CARD=NVidia,DEV=3                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    HDMI Audio Output                                                                                                                                                                                                                                                          
dmix:CARD=NVidia,DEV=3                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    Direct sample mixing device                                                                                                                                                                                                                                                
dmix:CARD=NVidia,DEV=7                                                                                                                                                                                                                                                         
    HDA NVidia, HDMI 0                                                                                                                                                                                                                                                         
    Direct sample mixing device                                                                                                                                                                                                                                                
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
Locked

Return to “Sound”