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

Alternative screen resolutions breaking ratio #1

Open
iDoka opened this issue Mar 11, 2020 · 2 comments
Open

Alternative screen resolutions breaking ratio #1

iDoka opened this issue Mar 11, 2020 · 2 comments

Comments

@iDoka
Copy link

iDoka commented Mar 11, 2020

When I setup 1280x720 or 960x540 (as recommended from official carplay guide) instread of

width: 800px;
height: 600px;

in server.py
this resolution changes screen ratio (see attach)

Screenshot from 2020-03-11 22-52-15

Screenshot from 2020-03-11 22-53-41

PS: resolution 800x600 works fine, but it too small for real usage.

@electric-monk
Copy link
Owner

There's a couple of other locations that also contain the 800/600 values. It should be a simple matter to move it all to a central location, I'll try and do that tonight.

@iDoka
Copy link
Author

iDoka commented Mar 12, 2020

It's my mistake, I found additional mention of screen resolution in several places:

protocol.py:105:        self.width = 800
server.py:63:width: 800px;
teslabox.py:27:                msg.x = int(x*10000/800)

I assume good solution to move const ouside sources (e.g. yaml/json config).

Just curious:is Carlinkit supports the non-standard screen ratio ?
I mean 1280x480 10.25" LCD which uses in BMW IVI:

Screenshot from 2020-03-12 11-23-47

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

No branches or pull requests

2 participants