crankshaft
crankshaft copied to clipboard
[CSNG] RCA resolution scaling
Phone: Nexus 5 Build: 0.2.0 Hardware: Pontiac G8 factory infotainment system (RCA in) with touch overlay and AR1100
There is an issue with the "connect your phone" screen where it seems the resolution and touch calibration [maybe] is off. It seems that the image is inset from the extents of the display by a fair amount. This doesn't seem to be an issue when a phone is plugged in. Furthermore, the touch registration is functional, but incorrect, before a phone is plugged in and seems to be correct when AA is up and running.
I have calibrated by installing xinput_calibrator on Raspbian and copying the calibration parameters over.
No borders and touches register correctly.
Black borders, touches don't register correctly, and I have no way of exiting this screen.
RCA has a fixed resolution on the Pi. (Same vertical res of 480 but a shorter horizontal res of 720) (Compare to 800 horizontal of the default screen)
Your best best would be to play with the overscan settings in config.txt. You can do this on the fly with https://github.com/ukscone/set_overscan (It auto saves to config.txt upon exiting)
What doesn't make sense to me is that the borders only appear before a phone is connected. They go away once connected and come back when disconnected.
I found more information, the screen is a SHARP LQ065T5AR05, and apparently has a 400(RGB) x 234 resolution. http://www.panelook.com/LQ065T5AR05_SHARP__LCM_overview_9528.html
Changing the overscan helped a little, I can now at least access the buttons on the far right, but still can not see the full screen. It seems that it is not scaling correctly, or at all, for RCA.
I think the resolution was too small - the dialog box simply wasn't expecting that resolution. Too bad the current way the dialog is designed is resolution dependent and it is not going to change soon. However, you totally can change any setting with editing the openauto.ini file directly.
Where is that .ini located?
You need to activate the dev mode (instructions on the wiki) -- then edit the /home/pi/.openauto_saved.ini
file. The logic to save and load the file is described here - save at shutdown and here - load at startup.
OK, is there a way to modify the dialog box to better fit my resolution? I guess ultimately it's not a big deal, but I'm not even sure if I can see all of it. What is all supposed to be configurable in these settings?
What does the DPI setting actually do?
The DPI setting allows you to scale the Android Auto projection interface. Bigger values = bigger buttons/targets to hit.
I'm re-opening this as a feature request for CSNG.
Can we get some sort of resolution settings for those of us not using HDMI?
Hm i think it needs a rework of the gui layout with an x/y correction for scaling. Possible i will think about it for later builds.