Skip to content
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

TV dimming with iPad OS using HDMI #19151

Closed
jazzybuilds opened this issue May 18, 2024 · 5 comments · Fixed by #19158
Closed

TV dimming with iPad OS using HDMI #19151

jazzybuilds opened this issue May 18, 2024 · 5 comments · Fixed by #19158

Comments

@jazzybuilds
Copy link

jazzybuilds commented May 18, 2024

When connecting ipad to TV using hdmi the screen dims when there is no input.

The only information i could find thats was related was a reddit post regarding another app where apple responded stating that it's likely due to screen sharing compatibility issue within the app.

Edit: Just to add this is on the iPad pro 2018 with the latest iPad OS 17.5 connecting to an Lg OLED C1. I'm not having this issue with delta emulator.

@anr2me
Copy link
Collaborator

anr2me commented May 18, 2024

May be related to this https://9to5mac.com/2023/01/04/ios-16-break-drm-content-hdmi/

It’s unclear what exactly has changed since Apple has never said anything about it. However, it seems that iOS 16 has a new version of DRM that is incompatible with old devices. For those unfamiliar, DRM or Digital Rights Management is a technology that protects digital media from being copied and distributed without permission.

Over time, DRM gets updates that improve the efficiency of the technology, but this also affects devices that no longer receive software updates (or in this case, the firmware of older HDMI adapters). Unfortunately, there’s no easy workaround available for affected users at this point. The good news is that those using a USB-C external display with the iPad can still watch DRM-restricted content – for now.

I wondered, does PPSSPP's screen even considered as DRM-reestricted-content?

@Florin9doi
Copy link
Contributor

Probably related to setIdleTimerDisabled which is currently called only when an external controller is connected :

[[UIApplication sharedApplication] setIdleTimerDisabled:YES]; // prevent auto-lock

@hrydgard
Copy link
Owner

Oh, good catch, if that's it.

Hm, can we detect easily if an iPad is used like this? But, wouldn't it detect your touch input and prevent dimming anyway? I'm a bit unclear on iOS behavior here.

@hrydgard hrydgard added this to the v1.18.0 milestone May 20, 2024
@Florin9doi
Copy link
Contributor

I reproduce the dimming on a normal iPhone after 30 seconds of inactivity. On android the dimming is disabled all the time while ingame:

if (params.equals("ingame")) {

@hrydgard
Copy link
Owner

hrydgard commented May 20, 2024

Ah, good point. I guess I'll just switch the iOS code to the same behavior (I didn't write the current one...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants