Forum Discussion
Kayatt
8 years agoStart Partner
[GearVR] Cannot change PixelDensity (PD) or ScreenPercentage in Runtime
I had this amazing idea of changing the PD in runtime by getting how hot my device was getting when playing the game, but them I just got the sensation that it is impossible to change ScreenPercentage...
Norman3D
8 years agoExpert Protege
rpalandri said:
Hey!
A couple things here.
1) The pixel density commands have changed a lot (we tried to unify them with Rift in 4.14, then unify them with all the headsets in 4.15 IIRC) so they're pretty hard to find. My bad. Please give me your engine version and I'll show you how to use them. Adaptive pixel density does NOT work on Gear.
2) In 4.15.0 we have a crash on adreno GPUs (not mali) when trying to change it, so you need to upgrade to 4.15.1 if you want to do that.
3) I would not recommend to do what you're trying to do. If your device is getting too hot, please lower the CPU/GPU metrics and reduce the number of draw calls, but don't change the resolution. In its current implementation, that will reallocate the underlying rendertarget (all 3 of them, since we're doing triple buffering) and its depth buffer, which will take a bit of time. You can try though, if you don't change the pixel density too many times.
4) FYI we're currently investigating ways to actually do adaptive pixel density on Gear, using adaptive viewport and perf metrics. Might work, might not work. We shall see. Perf metrics on mobile chipsets is a hard thing to get, due to the "deferred" tiled renderers.
edit : I didn't think to take into account the chipset temp. for adaptive. that's a pretty good idea ;)
Yes please! Use temperature as another metric to delay hitting the thermal limit! Reducing resolution would certainly help. I think most of us are already setting GPU and CPU as low as we can.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 years ago
- 10 years ago