You are not logged in.

#1 2023-03-26 14:52:09

wq5H28RXdzk
Member
Registered: 2023-03-26
Posts: 5

Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

Hello, I've searched all over and haven't found anyone with the same issue.

I can play music/videos in Firefox and via VLC or other media players and it works fine. Then I launch Steam and run a game -- the audio in the games never works.

But I also noticed if I alt-tab out to Firefox and try playing a video, it just hangs now that Steam has launched and somehow messed up my sound? That feels like an important hint.

Here are pulse/pipeware related packages I have installed:

gst-plugin-pipewire 1:0.3.67-1
kpipewire 5.27.3-1
lib32-libpipewire 1:0.3.67-1
lib32-libpulse 16.1-6
lib32-pipewire 1:0.3.67-1
lib32-pipewire-jack 1:0.3.67-1
libpipewire 1:0.3.67-1
libpulse 16.1-6
libwireplumber 0.4.14-1
pipewire 1:0.3.67-1
pipewire-alsa 1:0.3.67-1
pipewire-audio 1:0.3.67-1
pipewire-jack 1:0.3.67-1
pipewire-pulse 1:0.3.67-1
pipewire-pulse 1:0.3.67-1
pulseaudio-qt 1.3-1
wireplumber 0.4.14-1
~ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-03-26 08:31:05 MDT; 20min ago
TriggeredBy: ● pipewire.socket
   Main PID: 3507 (pipewire)
      Tasks: 2 (limit: 154290)
     Memory: 21.6M
        CPU: 9.801s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─3507 /usr/bin/pipewire

Mar 26 08:42:51 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:42:54 verde pipewire[3507]: spa.alsa: iec958:3: (56 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:42:56 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:42:58 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:00 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:02 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:04 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:06 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:08 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe
Mar 26 08:43:10 verde pipewire[3507]: spa.alsa: iec958:3: (250 missed) snd_pcm_avail after recover: Broken pipe

Offline

#2 2023-03-26 20:10:13

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

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

lib32-alsa-plugins installed? Does starting "just" Steam suffice or is it a specific game/which game? Native or proton? when the issue happens what's your output for

sudo fuser -v /dev/snd/*

Last edited by V1del (2023-03-26 20:11:00)

Offline

#3 2023-03-27 12:34:22

wq5H28RXdzk
Member
Registered: 2023-03-26
Posts: 5

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

Hi, thanks for replying!

> lib32-alsa-plugins installed?

~ pacman -Q lib32-alsa-plugins
lib32-alsa-plugins 1.2.7.1-2

> Does starting "just" Steam suffice or is it a specific game/which game? Native or proton?

Just launching Steam doesn't seem to do it, I have to launch a game. I've tried Jurassic World Evolution 2 and Orcs Must Die 3. It looks like both of those are Proton, I think. I'll have to try a native game out.

edit: I just tried Binding of Issac which appears to be native, and sound worked! So it seems like it's specific to Proton?

edit2: I disabled Proton in Stream Play, and was still able to launch Orcs Must 3, this time it appeared to use wine instead of Proton, and it still killed my sound!

> when the issue happens what's your output for

~ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user      3486 F.... wireplumber
/dev/snd/controlC1:  user      3486 F.... wireplumber
/dev/snd/controlC2:  user      3486 F.... wireplumber
/dev/snd/controlC3:  user      3486 F.... wireplumber
/dev/snd/pcmC3D0p:   user      3485 F...m pipewire
/dev/snd/seq:        user      3485 F.... pipewire

I do notice this in the game logs, I'm not sure if its a red herring or not.

winegstreamer error: decodebin0: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin0: ../src-gst_base/gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2)
Couldn't set avdec_h264-0 to PAUSEDCouldn't set avdec_valve_h264-0 to PAUSED

Based on Googling that I installed lib32-gst-libav from AUR which didn't help, so I've removed it. It seems odd to me that a missing codec would kill me other sound, so it may be unrelated?

Last edited by wq5H28RXdzk (2023-03-27 12:51:54)

Offline

#4 2023-03-29 12:28:16

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

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

wine/proton will/should require lib32-libpulse and default to using pulseaudio, lib32-libpulse should be installed by steam dependency chains, or at least something to double check. Yes a codec error shouldn't kill the rest of the sound. Is this repo steam or flatschpak steam? Try repo steam if flatschpak, do NOT try flatschpak if repo  is the output you posted of the fuser during the problematic situation?  Additionally during the problematic situation can you post

pactl list sinks
pactl list sink-inputs

Offline

#5 2023-03-30 18:35:05

wq5H28RXdzk
Member
Registered: 2023-03-26
Posts: 5

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

pacman -Q lib32-libpulse
lib32-libpulse 16.1-6

If repo steam means from Pacman, then yes:

pacman -Q steam         
steam 1.0.0.76-1

Before problem, sound playing in Firefox:

~ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user      3486 F.... wireplumber
/dev/snd/controlC1:  user      3486 F.... wireplumber
/dev/snd/controlC2:  user      3486 F.... wireplumber
/dev/snd/controlC3:  user      3486 F.... wireplumber
/dev/snd/pcmC3D0p:   user      3485 F...m pipewire
/dev/snd/seq:        user      3485 F.... pipewire
                     gdm       207158 F.... pipewire

During issue, game running and music hangs in Firefox:

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user      3486 F.... wireplumber
/dev/snd/controlC1:  user      3486 F.... wireplumber
/dev/snd/controlC2:  user      3486 F.... wireplumber
/dev/snd/controlC3:  user      3486 F.... wireplumber
/dev/snd/pcmC3D0p:   user      3485 F...m pipewire
/dev/snd/seq:        user      3485 F.... pipewire
                     gdm       207158 F.... pipewire

~ pactl list sinks
Sink #386
        State: RUNNING
        Name: alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.iec958-stereo
        Description: Jabra SPEAK 410 Digital Stereo (IEC958)
        Driver: PipeWire
        Sample Specification: s16le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 36045 /  55% / -15.58 dB,   front-right: 36045 /  55% / -15.58 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.iec958-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.card = "3"
                alsa.card_name = "Jabra SPEAK 410 USB"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_usb_audio"
                alsa.id = "USB Audio"
                alsa.long_card_name = "Jabra SPEAK 410 USB at usb-0000:00:14.0-1.2, full speed"
                alsa.name = "USB Audio"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "Jabra SPEAK 410 USB at usb-0000:00:14.0-1.2, full speed"
                api.alsa.card.name = "Jabra SPEAK 410 USB"
                api.alsa.path = "iec958:3"
                api.alsa.pcm.card = "3"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "4"
                device.api = "alsa"
                device.class = "sound"
                device.id = "74"
                device.profile.description = "Digital Stereo (IEC958)"
                device.profile.name = "iec958-stereo"
                device.routes = "1"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Jabra SPEAK 410"
                node.name = "alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.iec958-stereo"
                node.nick = "Jabra SPEAK 410 USB"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:3:iec958:3:playback"
                priority.driver = "1008"
                priority.session = "1008"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "34"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "52"
                object.serial = "386"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "64"
                api.alsa.period-num = "512"
                api.alsa.headroom = "64"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "3"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio3"
                device.bus = "usb"
                device.bus-id = "usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00"
                device.bus_path = "pci-0000:00:14.0-usb-0:1.2:1.0"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-usb"
                device.name = "alsa_card.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00"
                device.nick = "Jabra SPEAK 410 USB"
                device.plugged.usec = "353767173747"
                device.product.id = "0x0410"
                device.product.name = "Jabra SPEAK 410"
                device.serial = "0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.0/sound/card3"
                device.vendor.id = "0x0b0e"
                device.vendor.name = "GN Netcom"
                device.string = "3"
        Ports:
                iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
        Active Port: iec958-stereo-output
        Formats:
                pcm
host ➜ ~ pactl list sink-inputs
Sink Input #474
        Driver: PipeWire
        Owner Module: n/a
        Client: 468
        Sink: 386
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "Orcs Must Die! 3"
                application.process.id = "231967"
                application.process.user = "user"
                application.process.host = "host"
                application.process.binary = "wine64-preloader"
                application.language = "C"
                window.x11.display = ":1"
                application.process.machine_id = "98486c02a7c14b29a3ad21675ad37ad5"
                application.process.session_id = "54"
                media.name = "audio stream #2"
                node.rate = "1/48000"
                node.latency = "240/48000"
                stream.is-live = "true"
                node.name = "Orcs Must Die! 3"
                node.autoconnect = "true"
                node.want-driver = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.spa-node = ""
                object.register = "false"
                factory.id = "6"
                clock.quantum-limit = "8192"
                factory.mode = "split"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "76"
                object.id = "70"
                object.serial = "474"
                pulse.attr.maxlength = "11520"
                pulse.attr.tlength = "9600"
                pulse.attr.prebuf = "8"
                pulse.attr.minreq = "3840"
                module-stream-restore.id = "sink-input-by-application-name:Orcs Must Die! 3"

Sink Input #479
        Driver: PipeWire
        Owner Module: n/a
        Client: 422
        Sink: 386
        Sample Specification: float32le 2ch 44100Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "Firefox"
                application.process.id = "208121"
                application.process.user = "user"
                application.process.host = "host"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":1"
                application.process.machine_id = "98486c02a7c14b29a3ad21675ad37ad5"
                application.process.session_id = "54"
                media.name = "YouTube Music"
                node.rate = "1/44100"
                node.latency = "3307/44100"
                stream.is-live = "true"
                node.name = "Firefox"
                node.autoconnect = "true"
                node.want-driver = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.spa-node = ""
                object.register = "false"
                factory.id = "6"
                clock.quantum-limit = "8192"
                factory.mode = "split"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "59"
                object.id = "77"
                object.serial = "479"
                pulse.attr.maxlength = "4194304"
                pulse.attr.tlength = "44104"
                pulse.attr.prebuf = "35296"
                pulse.attr.minreq = "8816"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"

Offline

#6 2023-03-30 20:12:10

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

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

Mhm... All things register properly this shouldn't be an issue from where I'm sitting. Random assumptions, this is a digital output and it might be that the game activates a passthrough mode for "reasons" (check it's audio settings, does it use surround/dolby digital or something and can you disable that?) or the link getting saturated, are you knowingly and intentionally using the digital out? What happens if you switch the card profile (e.g. Configuration tab in pavucontrol) from iec958-stereo to an analog-output variant)? Other than that because firefox's pulse integration is weird, can you reproduce the same issue when watching youtube in chromium or so? (... though that would/should exclude vlc, so I think the first one seems more likely)

Last edited by V1del (2023-03-31 14:18:31)

Offline

#7 2023-03-31 22:51:20

wq5H28RXdzk
Member
Registered: 2023-03-26
Posts: 5

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

This is weird. I switched to analog and it didn't seem to do anything. I then tried playing a movie in VLC and launched a game, and the audio worked in the game for the first time ever. It doesn't seem to work every time, but it does give me a hacky work around. I wonder if this rings any bells to anyone, though?

There's the output when it's working:

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user      3486 F.... wireplumber
/dev/snd/controlC1:  user      3486 F.... wireplumber
/dev/snd/controlC2:  user      3486 F.... wireplumber
/dev/snd/controlC3:  user      3486 F.... wireplumber
/dev/snd/pcmC2D0c:   user      3485 F...m pipewire
/dev/snd/pcmC3D0c:   user      3485 F...m pipewire
/dev/snd/pcmC3D0p:   user      3485 F...m pipewire
/dev/snd/seq:        user      3485 F.... pipewire
                     gdm       207158 F.... pipewire

pactl list sinks
Sink #1078
        State: RUNNING
        Name: alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.analog-stereo
        Description: Jabra SPEAK 410 Analog Stereo
        Driver: PipeWire
        Sample Specification: s16le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 30802 /  47% / -19.67 dB,   front-right: 30802 /  47% / -19.67 dB
                balance 0.00
        Base Volume: 48211 /  74% / -8.00 dB
        Monitor Source: alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.card = "3"
                alsa.card_name = "Jabra SPEAK 410 USB"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_usb_audio"
                alsa.id = "USB Audio"
                alsa.long_card_name = "Jabra SPEAK 410 USB at usb-0000:00:14.0-1.2, full speed"
                alsa.name = "USB Audio"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "Jabra SPEAK 410 USB at usb-0000:00:14.0-1.2, full speed"
                api.alsa.card.name = "Jabra SPEAK 410 USB"
                api.alsa.path = "front:3"
                api.alsa.pcm.card = "3"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "3"
                device.api = "alsa"
                device.class = "sound"
                device.id = "79"
                device.profile.description = "Analog Stereo"
                device.profile.name = "analog-stereo"
                device.routes = "1"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Jabra SPEAK 410"
                node.name = "alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00.analog-stereo"
                node.nick = "Jabra SPEAK 410 USB"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:3:front:3:playback"
                priority.driver = "1009"
                priority.session = "1009"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "34"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "89"
                object.serial = "1078"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "512"
                api.alsa.period-num = "64"
                api.alsa.headroom = "512"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "3"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio3"
                device.bus = "usb"
                device.bus-id = "usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00"
                device.bus_path = "pci-0000:00:14.0-usb-0:1.2:1.0"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-usb"
                device.name = "alsa_card.usb-0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200-00"
                device.nick = "Jabra SPEAK 410 USB"
                device.plugged.usec = "452206173879"
                device.product.id = "0x0410"
                device.product.name = "Jabra SPEAK 410"
                device.serial = "0b0e_Jabra_SPEAK_410_USB_70BF92630EE5x011200"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.0/sound/card3"
                device.vendor.id = "0x0b0e"
                device.vendor.name = "GN Netcom"
                device.string = "3"
        Ports:
                analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
        Active Port: analog-output
        Formats:
                pcm
host ➜ ~ pactl list sink-inputs
Sink Input #1113
        Driver: PipeWire
        Owner Module: n/a
        Client: 1112
        Sink: 1078
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: yes
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "VLC media player (LibVLC 3.0.18)"
                application.id = "org.VideoLAN.VLC"
                application.version = "3.0.18"
                application.icon_name = "vlc"
                application.language = "en_US.UTF-8"
                application.process.id = "559371"
                application.process.user = "user"
                application.process.host = "host"
                application.process.binary = "vlc"
                window.x11.display = ":1"
                application.process.machine_id = "98486c02a7c14b29a3ad21675ad37ad5"
                application.process.session_id = "100"
                media.role = "video"
                media.name = "audio stream"
                node.rate = "1/48000"
                node.latency = "1920/48000"
                stream.is-live = "true"
                node.name = "VLC media player (LibVLC 3.0.18)"
                node.autoconnect = "true"
                node.want-driver = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.spa-node = ""
                object.register = "false"
                factory.id = "6"
                clock.quantum-limit = "8192"
                factory.mode = "split"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "88"
                object.id = "113"
                object.serial = "1113"
                pulse.attr.maxlength = "4194304"
                pulse.attr.tlength = "46080"
                pulse.attr.prebuf = "0"
                pulse.attr.minreq = "15360"
                module-stream-restore.id = "sink-input-by-media-role:video"

Sink Input #1305
        Driver: PipeWire
        Owner Module: n/a
        Client: 1292
        Sink: 1078
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "Orcs Must Die! 3"
                application.process.id = "562760"
                application.process.user = "user"
                application.process.host = "host"
                application.process.binary = "wine64-preloader"
                application.language = "C"
                window.x11.display = ":1"
                application.process.machine_id = "98486c02a7c14b29a3ad21675ad37ad5"
                application.process.session_id = "100"
                media.name = "audio stream #2"
                node.rate = "1/48000"
                node.latency = "240/48000"
                stream.is-live = "true"
                node.name = "Orcs Must Die! 3"
                node.autoconnect = "true"
                node.want-driver = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.spa-node = ""
                object.register = "false"
                factory.id = "6"
                clock.quantum-limit = "8192"
                factory.mode = "split"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "46"
                object.id = "93"
                object.serial = "1305"
                pulse.attr.maxlength = "11520"
                pulse.attr.tlength = "9600"
                pulse.attr.prebuf = "8"
                pulse.attr.minreq = "3840"
                module-stream-restore.id = "sink-input-by-application-name:Orcs Must Die! 3"

Offline

#8 2023-04-01 11:03:15

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

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

This sounds more like something specific to that game, if you check it's audio settings is some dolby digital/surround whatever active that might not be properly emulated in proton? From a pipeline stand point (what comes into pipewire and theorethically out of the speakers) the setup looks fine.

Offline

#9 2023-04-02 17:02:55

wq5H28RXdzk
Member
Registered: 2023-03-26
Posts: 5

Re: Sounds work in Firefox/VLC until I launch Steam (which doesn't work)

I've tried and it fails for every game I launch via Proton. The sound that briefly worked with the VLC hack eventually died within minutes. When I launch games that don't use Proton they work. I deleted all Steam installation files, reinstalled and tried again and got the same result. (I also didn't find any dolby or other weird options in any game menus.)

It's so weird but I'm out of ideas, so I think gaming on linux is a no go for me. sad

Thanks for your help though.

Last edited by wq5H28RXdzk (2023-04-02 17:43:58)

Offline

Board footer

Powered by FluxBB