Quaver icon indicating copy to clipboard operation
Quaver copied to clipboard

Weird issues with PipeWire & Wayland.

Open h4rldev opened this issue 1 year ago • 2 comments

Describe the bug

I am running

  • Arch Linux | Hyprland: Wayland | Pipewire
  • CPU: AMD Ryzen 9 3900X (24) @ 4.100GHz
  • GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT

Issue(s)

  • Sometimes, when I share my screen or Quaver directly, through PipeWire, the game either crashes, gets issues in the map selector, or maps don't load correctly.
  • Recently (today as of writing this), when playing long maps (1 hour-ish) my microphone (HyperX USB Mic) if turned off, turns on and blinks weirdly synced to the music, aswell as cause a massive lag spike, causing you to sometimes die, this happens multiple times during a map, at seemingly random intervals.

To Reproduce

  • Install Hyprland on Arch Linux, use PipeWire + extensions such as pipewire-jack and alsa and such,
  • (first issue) To reproduce the first issue, install Vesktop (only client i know that shares with audio), and share your screen.
  • (first issue) Play any quaver map.
  • (second issue) Install maps such as Force! full album or Windrose Full Album.
  • (second issue) Play the map installed.

Expected behavior

  • first issue: To be able to play Quaver with no crashes and similar.
  • second issue: To be able to play long maps without killing my microphone.

Log Files

network.log runtime.log

Screenshots

I'll record both issues ASAP.

h4rldev avatar Apr 06 '24 19:04 h4rldev

  • are you running Quaver as X11 or Wayland?
  • are you recording a monitor or a Quaver window?
  • does it reproduce if you record with OBS or screenshare in a browser?

Either way, I'm not sure how hyprland does PW, screencasting, but normally it shouldn't cause any difference as far as applications are concerned, so that's quite weird. Maybe it's the pipewire audio capture specifically causing the issue?

The second one also sounds weird and more like something in pipewire or system configuration.

YaLTeR avatar Apr 07 '24 04:04 YaLTeR

  • I run Quaver in Wayland
  • It doesn't matter, same thing happens on both.
  • Vesktop is essentially the same as browser, as it's just it's webclient in it's finest, but i'll se what I can do, not sure about OBS, but when streaming it gets quite jittery after a while.

It usually handles everything through xdg-desktop-portal-hyprland. And this issue is only prevalent in Quaver, or well, it's the only one I can observe having these issues.

h4rldev avatar Apr 07 '24 04:04 h4rldev