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

Matter breaks on resolutions different than 1920x1080 #4

Open
mateosss opened this issue Sep 28, 2019 · 4 comments
Open

Matter breaks on resolutions different than 1920x1080 #4

mateosss opened this issue Sep 28, 2019 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mateosss
Copy link
Owner

Propose a way to handle different resolutions.

@krehwell
Copy link

is this actually handled by matter or is this handled by the grub on /etc/default/grub > GRUB_GFXMODE=auto ?
i've tried to changed the resolution for it (the grub) but still not doing anything, so I wonder if this is actually a bug from Matter or any miss configuration from pc

@mateosss
Copy link
Owner Author

There some things Matter should be able to handle to properly adapt to whatever resolution the user wants.
As of now Matter hardcodes GRUB_GFXMODE=1920x1080,auto by default (see grub.template), so it should be able to recognize which other resolutions are available and select "the best one". The method which detects resolutions should get the same ones as the videoinfo command lists in grub.

After that two problems remain, adapting the font size and the layout. The latter should be done by modifying the percentages that appear in theme.txt.template. If you don't do this, elements will have weird locations and sizes.

What I do in another computer that does not have a 1920x1080 screen is: first normally install matter, and then manually edit /boot/grub/themes/Matter/theme.txt to custom percentages (found by trial and error). Also I change GRUB_GFXMODE=1920x1080,auto in /etc/default/grub to the correct resolution. This works well, but is of course not user friendly enough.

@ghost
Copy link

ghost commented Nov 16, 2021

Hey,
it is not really a great solution, but as I just needed an hour to figure out what was wrong, why not just add a hint/information to the readme that people should check the template files if they have a different resolution as 1920*1080?

(auto set my resolution to 780xsomething so that it looked completely broken)

(there is an information that Matter changes the resolution in /etc/default/grub, but it is very easy to miss)

Currently I only changed the resolution in grub.template to the correct one before installing matter.

@mateosss
Copy link
Owner Author

Good suggestion! I added a note to the quick start section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants