moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.81k stars 569 forks source link

Choppy audio on loss of focus after v6.0 MACOS #1303

Open BitGrub opened 2 months ago

BitGrub commented 2 months ago

Describe the bug What the title says

Steps to reproduce Start streaming, play some music/video, switch app focus. Switch back to make it stop. The issue isn't constant.

Client PC details

Server PC details

Additional context If I were to guess it has something to do with Game Mode being dis-enabled in the new client version

cgutman commented 2 months ago

I'd be surprised if this is related to Game Mode, because Game Mode is only active when Moonlight is in full-screen with focus. It would have already been disabled when Moonlight goes to the background anyway. I suspect it may be an occurence of #159 rather than anything specific to Game Mode.

If you want to try with and without Game mode, you can use our recent CI builds from the time of the change:

AntonLT commented 2 months ago

I have the same issue after updating to 6.0.0 I haven't observed any audio issues when used with 5.0.1 for a month almost daily in the background or in the foreground. At least I haven't felt it

MacOS latest stable Sunshine latest stable Host PC: rtx 4060 Client PC: M1 pro

BitGrub commented 2 months ago

FWIW: It stopped happening as soon as I reported the issue. Only change I made was lowering the bitrate from 150 to 100Mbps

cgutman commented 2 months ago

@AntonLT does reducing the bitrate change anything for you?