Closed pppKin closed 7 years ago
Hello @pppKin, are you running steam with the steam runtime or steam with the native runtime? If you are running with the native runtime, do you have the steam-native-runtime
package installed?
Do you happen to know if any of the other games you tested are 64 bit?
I am not able to reproduce this issue on my Arch test box.
@kisak-valve thank you for replying. yes I've installed steam-native-runtime. And I have this issue with steam runtime and native runtime. and I've tried them in xorg and wayland. None can work.
I tried these games and they work fine(not sure which one is 64bit though) : Metro 2033 redux, Sanctum 2, CSGO, Borderlands 2.
edit: I've just tried Dirt Rally, which appears to be a 64bit game, it doesn't even start. output shows a lot of libraries missing.
Do you know a rough timeframe of the update that changed things, something with a more specific date and what updated?
The only thing that might have affected this recently was our SDL update so I'm assigning to the SDL dev.
@gdrewb-valve I can confirmed that it happens within the last 10 days. My last game was on 18th April, which was perfectly fine. After 18th I've done several upgrades. Not sure which part breaks the sound. I will try to downgrade some package and see if it can be fixed. Thank you for your reply.
I am posting some info about pulseaudio on my system. Not sure if it helps.
$pacmd list-sink-inputs
index: 57
driver: <protocol-native.c>
flags: DONT_MOVE
state: DRAINED
sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 15.01 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 12
client: 72 <dota2>
properties:
media.name = "Simple DirectMedia Layer"
application.name = "dota2"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
application.process.id = "3899"
application.process.user = "nickleoi"
application.process.host = "leois-ativbook"
application.process.binary = "dota2"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ff7fc4223b445438ec58550d28f6873"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-application-name:dota2"
the DRAINED confuses me. It seems that this only appear with dota 2.
$pacmd list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7f10000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset -10000 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
Update: I manage to fix this by specifying
SDL_AUDIODRIVER=alsa
in the launch options. I guess it's more like a configure problem rather a "program error". Thank you guys for pitching in!After recent update I cannot get any sound in Dota 2. I'm running on Arch Linux with pulseaudio and pulseaudio-jack pulseaudio-alsa installed.(version 10.0.3). Other games are just fine. I can find dota2 under the playback tab in pavucontrol though
I've got the following SDL libraries installed.
Here are the outputs when running steam from terminal