bevyengine / bevyengine/bevy

`alsa::poll()` returned POLLERR

Open
#17,038 3 comments 0 reactions 0 assignees View on GitHub
A-Audio C-Bug S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.15.0

## Relevant system information
```
Operating System: Arch Linux
Kernel Version: 6.12.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Memory: 31.1 GiB of RAM
```
----
```
SystemInfo { os: "Linux rolling Arch Linux", kernel: "6.12.7-arch1-1", cpu: "AMD Ryzen 5 7500F 6-Core Processor", core_count: "6", memory: "31.1 GiB" }
AdapterInfo { name: "AMD Radeon RX 6750 GRE 12GB (RADV NAVI22)", vendor: 4098, device: 29663, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.3.2-arch1.1", backend: Vulkan }
```

## What you did

## What went wrong
When running my Bevy program, the terminal occasionally shows significant noise with messages like "alsa::poll() returned POLLERR".
If I play audio in a browser first and then run the Bevy program, the noise appears when the audio in the browser stops playing.
If I run the Bevy program first, it seems to prevent my browser from loading streaming media properly.
And this issue still occurs even when I disable `bevy_audio`.

## Additional information
Here is the content of the terminal output:
```
an error occurred on output stream: A backend-specific error has occurred: `alsa::poll()` returned POLLERR
an error occurred on output stream: A backend-specific error has occurred: `alsa::poll()` returned POLLERR
......
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ALSA POLLERR output with a Bevy program on Arch Linux, testing browser audio before and after launch and with bevy_audio disabled. Compare the behavior across those cases and trace which Bevy audio or platform backend reports the error; done requires identifying the cause and establishing a reliable fix or reproduction boundary.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.