Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
@ 2022-10-13 17:07 nyanpasu64
  2022-10-13 18:39 ` paper42
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: nyanpasu64 @ 2022-10-13 17:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

New issue by nyanpasu64 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.14_1 x86_64 GenuineIntel uptodate rFFFFFFFFF

### Package(s) Affected

godot-3.5_1 (technically outdated, 3.5.1 is out upstream but not in void-packages)

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Godot plays audio without stutters, mixed with audio from PipeWire apps. This is achieved by Flathub Godot on Void Linux.

### Actual behaviour

Godot is built with `pulseaudio=no` (https://github.com/void-linux/void-packages/blob/master/srcpkgs/godot/template), leaving it with only an ALSA backend.

- When it outputs to the system ALSA device, it prevents PipeWire apps from playing audio simultaneously.
- When it outputs to the alsa-pipewire package set as the default ALSA device, audio stutters continuously. (Is this a pipewire-alsa or a godot bug, and should it be reported there? PipeWire upstream discourages using ALSA's pipewire plugin, saying to prefer the PulseAudio API instead.)

Is there a technical packaging reason I'm unaware of, that `pulseaudio=no` is necessary?

### Steps to reproduce

1. Install and run PipeWire. Optionally install `alsa-pipewire` and run `sudo ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/`
2. Run Godot and start a game that plays audio.
3. Try to play audio from another PipeWire app while audio is playing.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
@ 2022-10-13 18:39 ` paper42
  2022-10-14 13:04 ` nyanpasu64
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-10-13 18:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1278029025

Comment:
> Is there a technical packaging reason I'm unaware of, that pulseaudio=no is necessary?

There probably isn't, feel free to submit a PR with a fix.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
  2022-10-13 18:39 ` paper42
@ 2022-10-14 13:04 ` nyanpasu64
  2022-10-14 13:05 ` nyanpasu64
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nyanpasu64 @ 2022-10-14 13:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

New comment by nyanpasu64 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1278984262

Comment:
Should I submit the PulseAudio backend and update to 3.5.1 in a single PR?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
  2022-10-13 18:39 ` paper42
  2022-10-14 13:04 ` nyanpasu64
@ 2022-10-14 13:05 ` nyanpasu64
  2022-10-14 13:09 ` nyanpasu64
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nyanpasu64 @ 2022-10-14 13:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

New comment by nyanpasu64 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1278984262

Comment:
Should I enable the PulseAudio backend and update to 3.5.1 in a single PR?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
                   ` (2 preceding siblings ...)
  2022-10-14 13:05 ` nyanpasu64
@ 2022-10-14 13:09 ` nyanpasu64
  2022-10-14 15:05 ` classabbyamp
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nyanpasu64 @ 2022-10-14 13:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

New comment by nyanpasu64 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1278984262

Comment:
Should I enable the PulseAudio backend and update to 3.5.1 in a single PR (from https://github.com/void-linux/void-packages/compare/master...nyanpasu64:void-packages:godot-update-pulse)?

Also is there any dependency to be added, beyond `makedepends="pulseaudio-devel"`? (I'm guessing Godot is smart enough to pick the ALSA backend if PulseAudio isn't running? IDK. And why does `xbps-query godot` print `run_depends` but the list is not in the template?)

Also what does https://github.com/void-linux/void-packages/blob/master/srcpkgs/godot/update do?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
                   ` (3 preceding siblings ...)
  2022-10-14 13:09 ` nyanpasu64
@ 2022-10-14 15:05 ` classabbyamp
  2022-10-14 21:09 ` paper42
  2022-11-13 15:54 ` [ISSUE] [CLOSED] " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-10-14 15:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1279130609

Comment:
> Should I enable the PulseAudio backend and update to 3.5.1 in a single PR (from https://github.com/void-linux/void-packages/compare/master...nyanpasu64:void-packages:godot-update-pulse)?

sure! 

> Also is there any dependency to be added, beyond `makedepends="pulseaudio-devel"`? (I'm guessing Godot is smart enough to pick the ALSA backend if PulseAudio isn't running? IDK. And why does `xbps-query godot` print `run_depends` but the list is not in the template?)

it may. inspect the output of `xbps-src configure godot`, it will probably tell you if it's missing

> Also what does https://github.com/void-linux/void-packages/blob/master/srcpkgs/godot/update do?

it changes some of the default settings for the update checker, see [here](https://github.com/void-linux/void-packages/blob/master/Manual.md#updates) 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
                   ` (4 preceding siblings ...)
  2022-10-14 15:05 ` classabbyamp
@ 2022-10-14 21:09 ` paper42
  2022-11-13 15:54 ` [ISSUE] [CLOSED] " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-10-14 21:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936#issuecomment-1279469437

Comment:
> And why does xbps-query godot print run_depends but the list is not in the template?)

They are detected automatically: https://github.com/void-linux/void-packages/blob/master/Manual.md#runtime-dependencies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ISSUE] [CLOSED] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire
  2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
                   ` (5 preceding siblings ...)
  2022-10-14 21:09 ` paper42
@ 2022-11-13 15:54 ` Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2022-11-13 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

Closed issue by nyanpasu64 on void-packages repository

https://github.com/void-linux/void-packages/issues/39936

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.14_1 x86_64 GenuineIntel uptodate rFFFFFFFFF

### Package(s) Affected

godot-3.5_1 (technically outdated, 3.5.1 is out upstream but not in void-packages)

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Godot plays audio without stutters, mixed with audio from PipeWire apps. This is achieved by Flathub Godot on Void Linux.

### Actual behaviour

Godot is built with `pulseaudio=no` (https://github.com/void-linux/void-packages/blob/master/srcpkgs/godot/template), leaving it with only an ALSA backend.

- When it outputs to the system ALSA device, it prevents PipeWire apps from playing audio simultaneously.
- When it outputs to the alsa-pipewire package set as the default ALSA device, audio stutters continuously. (Is this a pipewire-alsa or a godot bug, and should it be reported there? PipeWire upstream discourages using ALSA's pipewire plugin, saying to prefer the PulseAudio API instead.)

Is there a technical packaging reason I'm unaware of, that `pulseaudio=no` is necessary?

### Steps to reproduce

1. Install and run PipeWire. Optionally install `alsa-pipewire` and run `sudo ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/`
2. Run Godot and start a game that plays audio.
3. Try to play audio from another PipeWire app while audio is playing.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-13 15:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13 17:07 [ISSUE] Godot is missing pulseaudio support, cannot play audio smoothly on PipeWire nyanpasu64
2022-10-13 18:39 ` paper42
2022-10-14 13:04 ` nyanpasu64
2022-10-14 13:05 ` nyanpasu64
2022-10-14 13:09 ` nyanpasu64
2022-10-14 15:05 ` classabbyamp
2022-10-14 21:09 ` paper42
2022-11-13 15:54 ` [ISSUE] [CLOSED] " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).