03-09-2019, 04:30 PM
Hello!
My phone does not correctly determine the physical size of the screen, apparently somewhere in the core of the android they forgot to fix X dpi and Y dpi. Due to this bug, vr games show small images!
(03-09-2019, 04:30 PM)Алексей Налимов Wrote: Hello!
My phone does not correctly determine the physical size of the screen, apparently somewhere in the core of the android they forgot to fix X dpi and Y dpi. Due to this bug, vr games show small images!
(04-09-2019, 08:46 PM)maxpayne Wrote:Yes, I tried changing the smallest width to 480 dpi, it was 411.(03-09-2019, 04:30 PM)Алексей Налимов Wrote: Hello!
My phone does not correctly determine the physical size of the screen, apparently somewhere in the core of the android they forgot to fix X dpi and Y dpi. Due to this bug, vr games show small images!
I see..
Have you tried editing the 'Smallest width' setting in Settings > Developer options.
Have you rooted your phone? What of ro.sf.lcd_density in build.prop?
(05-09-2019, 12:04 AM)Алексей Налимов Wrote: Yes, I tried changing the smallest width to 480 dpi, it was 411.
Yes, the phone has a root.
ro.sf.lcd_density = 560 in build.prop
I entered the following command:
adb shell dumpsys display
I found where exactly such values of X dpi and Y dpy are registered, but how to change them is unclear. It looks like they are set in the Linux kernel.
(09-09-2019, 02:26 PM)Алексей Налимов Wrote: I am glad to report that the problem with the screen resolution was possible, if not solved, then circumvented from an unexpected direction.
The bottom line is that the parameter values for vr glasses for cardboard adjust to our incorrect values in the phone.
Thank you!