Skip to content

Ubuntu 22.10: Project closes if there are no audio output devices #67900

Closed
@dalexeev

Description

@dalexeev

Godot version

v3.5.stable.official [991bb6a], v4.0.beta3.official [01ae26d]

System information

Kubuntu 22.10

Issue description

Not sure if this is a Godot or Ubuntu bug, but I'll report it here as the running project is closing. I think this is wrong behavior.

When trying to play audio, the running project closes with the following errors if there are no audio output devices (for example, headphones are not connected).

E 0:00:00.216   pa_sink_info_cb: PulseAudio: sink info error: No such entity
  <C++ Source>  drivers/pulseaudio/audio_driver_pulseaudio.cpp:77 @ pa_sink_info_cb()

E 0:00:00.216   init_device: PulseAudio: init device failed to detect number of output channels
  <C++ Source>  drivers/pulseaudio/audio_driver_pulseaudio.cpp:195 @ init_device()

Perhaps this is due to the fact that in 22.10 Ubuntu switched from PulseAudio to PipeWire.

Steps to reproduce

Try running a project with audio on Ubuntu 22.10 without audio output devices.

If any configs are required, I can provide them.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions