libMobileGestalt MGIOMFBSupport.c:145: screen parameters are unexpected

These messages are appearing in the text output of the debug area when running my metal app under Simulator for AppleTV 4K.


2020-08-10 22:30:57.937497-0700 Mandelbits[3074:322942] libMobileGestalt MGIOMFBSupport.c:145: screen parameters are unexpected: MGScreenClass3840x2160x2x80 SCREENTYPE(3840,2160,2, 80)

2020-08-10 22:30:57.937639-0700 Mandelbits[3074:322942] screen parameters are unexpected: MGScreenClass3840x2160x2x80 SCREEN

TYPE(3840,2160,2, 80)The message changes to this for "AppleTV 4K (1080p)".

2020-08-10 22:50:04.430681-0700 Mandelbits[3316:340765] libMobileGestalt MGIOMFBSupport.c:145: screen parameters are unexpected: MGScreenClass1920x1080x1x40 SCREENTYPE(1920,1080,1, 40)

2020-08-10 22:50:04.430870-0700 Mandelbits[3316:340765] screen parameters are unexpected: MGScreenClass1920x1080x1x40 SCREEN

TYPE(1920,1080,1, 40) Any idea what these mean? App still starts up and runs.

Environment: Simulator 12.0 (940.14), Xcode 12.0 beta 4 (12A8179i), macOS 10.15.6 (19G73).



Replies

This is occurring for me as well. My application still ran fine under the tvOS beta however now with the Xcode 12 GM and tvOS 14 GM it crashes upon launch. Did you ever find a resolution to this problem?
Through the process of elimination I have discovered that I will receive this error message if I include the “Spacer()” SwiftUI function within the main view master.
Still seeing it with GM XC 12. Doesn't seem to cause a problem. No SwiftUI in my app.
Still in iOS 14.3 – I find it mildly amusing, but also irritating that Apple leaves such messages in their builds. It demonstrates a general sloppiness and lack of polish.
It does indeed look like left over debugging cruft. Does this only occur in the Simulator?

If someone would create a request with Feedback Assistant that would be helpful.
I verified is still issue in Xcode 12.3 and submitted as FB8972110
Im having this issue with an out of the box swiftUI tvOS application, except in my case I'm presented with an empty screen.

Error

2021-02-19 22:41:03.923616+0100 Project Test[70055:871733] screen parameters are unexpected: MGScreenClass1920x1080x1x40 SCREEN_TYPE(1920,1080,1, 40)
Same here, developing a tvOS app. When using the mediaPlayer.play() method, it would display a black screen, it won't play the video that I'm providing, and it would log that "screen params are unexpected" error. Not sure how to go about this. I haven't find any solution yet, neither have been able to resolve it by myself