-
Notifications
You must be signed in to change notification settings - Fork 354
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
MacOS Mojave Mirroring doesn’t work #6
Comments
I'm able to reproduce the problem and have traced it back to the max_dec_frame_buffering injection in the video renderer. I played around with the max_dec_frame_buffering value a bit, and it seems reducing it to 4 works with iOS (portrait and landscape) and mirroring the native monitor and a 1080p external monitor from macOS. So, please modify line 301 of renderers/video_renderer_rpi.c to:
And let me know if that helps! If you don't want macOS to change the screen resolution while mirroring the native monitor, change the "Optimise for" monitor setting to "Built-in Retina Display" in the system settings. Technical background: While implementing max_dec_frame_buffering injection, for a while the code for constructing modified_data had a bug that I only noticed when I tested iOS portrait before publishing my code. The currently used max_dec_frame_buffering value 8 was tested with macOS and iOS while that bug was still present. |
@kevin-hv Can you confirm the fix? |
Just Building it, sry I wasn’t available. |
Now the mirroring works, thank you for the quick fix. |
Extending the display works, but when I try to mirror it, the screen resolutiom changes on the Mac and there is a black screen on the RPi
The text was updated successfully, but these errors were encountered: