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

How to set resolution #25

Open
iamdaniel6969 opened this issue Aug 5, 2023 · 10 comments
Open

How to set resolution #25

iamdaniel6969 opened this issue Aug 5, 2023 · 10 comments

Comments

@iamdaniel6969
Copy link

Resolution is stretched

@Lxtharia
Copy link
Owner

Lxtharia commented Aug 7, 2023

I'd love to see a picture!
One thing to check is if the settings in the /etc/default/grub is set correctly:
https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Visual_configuration
If only the background is stretched it should be enough to replace the background.png with a file that matches the display size.
Hope this helps!

@iamdaniel6969
Copy link
Author

@Lxtharia
Copy link
Owner

Ok, what is the resolution of your screen?
And what resolution did you set in /etc/grub/default for GRUB_GFXMODE=?
try setting it to your resolution, for example
GRUB_GFXMODE=1920x1080x30,auto
you can see supported resolutions by entering videoinfo in the console while in grub.

@iamdaniel6969
Copy link
Author

1366x768 and 1366x768x32

@Lxtharia
Copy link
Owner

Hmm, trying that resolution on my 1920x1080 screen works for the most part. I may try it in a VM later.
I don't know what causes this, maybe you could post the output of videoinfo and set while in grub, maybe there is something weird there?

@iamdaniel6969
Copy link
Author

@Lxtharia
Copy link
Owner

Ah, your preferred resolution 1360x768 is not in that list so that explains it.
Try setting it to 1024x768x32 and regenerate the grub.cfg
It would still be as crammed (sorry about that, there is no easy solution yet for making elements smaller), but it shouldn't be stretched anymore.

@iamdaniel6969
Copy link
Author

iamdaniel6969 commented Aug 28, 2023 via email

@Lxtharia
Copy link
Owner

Hello, sorry I abandoned this issue for a bit. Has this been fixed in the meantime?
You need to look at what ratio your monitor has, for example 16:10, then choose the highest resolution from the output of videoinfo that matches your aspect ratio.
Write this in the /etc/default/grub and regenerate the grub config

@iamdaniel6969
Copy link
Author

Hello! i got a new monitor and haven't had time to try minegrub since but i will soon, the monitor is actually 1920x1080 so that is very nice

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