-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distorted audio with moonlight-qt and sdl2-compat on Arch Linux #329
Comments
Can you please note the versions of SDL and sdl2-compat you're using? |
I'm running Arch Linux with kernel 6.13.1, Gnome on Wayland. Package versions:
|
Thanks, we'll take a look! |
Interesting, I was actually just running this test with the exact same configuration (Arch Linux client too) and audio was okay outputing to an HDMI audio device (monitor). When you start a stream Moonlight will print some message about the audio configuration which look like:
Can you post those from your test? |
In my case its:
To be 100% sure it's
|
Setting the audio driver to
Note that I also tested downgrade to regular |
What happens if you set the environment variable |
That works; audiodriver is mentioned as being |
@icculus, we should fix whatever bug we have when the SDL2 app sample count doesn't match the actual sample count, but then I think we should have sdl2-compat set SDL_HINT_AUDIO_DEVICE_SAMPLE_FRAMES to the application spec sample count when opening an audio device, so we get as close a match as possible. |
I'm running Arch Linux. I use
moonlight-qt
to stream my desktop (which runssunshine
) to my laptop (all systems running Arch Linux).Since the upgrade of
sdl3
and introduction ofsdl2-compat
, I have highly distorted audio. It is specifically not due to network latency, which sounds very different. This sounds like way too loud oversteering or clipping, robotic. It sounds similar to libsdl-org/SDL#12150.I've made a video to illustrate the issue (zipped, because I can apparently not upload an mp4 directly):
moonlight-qt-sdl2-compat-distorted-audio.zip
The text was updated successfully, but these errors were encountered: