[SOLVED] trying to decrease resolution of tty terminal
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think you can do this by setting your resolution in /etc/default/grub and another parameter where grub tells linux to keep it... so if no better advice is posted, search for grub tutorials or start playing with that config file...
I think you can do this by setting your resolution in /etc/default/grub and another parameter where grub tells linux to keep it... so if no better advice is posted, search for grub tutorials or start playing with that config file...
I am not using grub.
I boot with refind installed in a dedicated partition.
You could trying keeping the resolution but enlarging your font size. Try adding this to your kernel boot line...
Code:
fbcon=font:TER16x32
Here is some kernel documentation about it.
Code:
1. fbcon=font:<name>
Select the initial font to use. The value 'name' can be any of the
compiled-in fonts: 10x18, 6x10, 7x14, Acorn8x8, MINI4x6,
PEARL8x8, ProFont6x11, SUN12x22, SUN8x16, TER16x32, VGA8x16, VGA8x8.
Note, not all drivers can handle font with widths not divisible by 8,
such as vga16fb.
i had the very same issue with the 4K screen on a Dell laptop. you may manually change the font for the time being till you found the right boot parameters. see here my previous post about another post in the same matter :
Now the font, still small, is legible. But I can't see the bottom of the screen.
So I logged in in the dark. Then I Ctrl-L to clear the screen.
The tty2 is ok. I can log in (as an ordinary user). I opened a graphic session.
But when I logged out of xfce, I got the same problem as in tty1.
However this time I could clear the screen and see what I was typing.
Thank you all for your input.
I'll try to play with other resolutions (I tried a greater one, that didn't
solve the problem). So I won't mark this as solved yet.
Tried another config
Relevant excerpts from dmesg:
Code:
Kernel command line: video=1440x810@120 root=/dev/nvme0n1p4 ro
...
efifb: mode is 1920x1080x32, linelength=7680, pages=1
...
fb0: switching to inteldrmfb from EFI VGA
...
Console: switching to colour frame buffer device 240x67
I changed the fontsize in /etc/rc.font from 22 to 18
I still have the same problem. The previous dmesg differs from this one
only in the line 'Kernel command line:'
I have two more resolutions to try: 1600x900@120 and 1920x1080@60
I am going to mark this as solved.
Now I can see the entire screen and the reading is comfortable.
This time I picked the highest resolution available (which was the default
when I first launched startx). I increased the console font size.
So in my kernel boot option now I have
Since this video mode is the default, I'm wondering if
the video option is necessary. Changing the font size should be enough.
That's going to be my next test.
Quote:
Originally Posted by allend
rather than pass a video= kernel parameter, does it help if you specify the resolution in refind.conf?
No, from what I understand this sets the EFI framebuffer but as soon as
the kernel kicks in it switches to another framebuffer.
Use fbterm. You will get a font as wide as you want.
I used it in the installer of Slint64-14.1 when possible (checked using checkfb from Sébastien Ballet aka phenixia2003, shipped alongside the SlackBuild), computing the font size to be the biggest that provide at least 27 rows and 88 columns so that the whole dialog boxes be displayed.
Use fbterm. You will get a font as wide as you want.
I used it in the installer of Slint64-14.1 when possible (checked using checkfb from Sébastien Ballet aka phenixia2003, shipped alongside the SlackBuild), computing the font size to be the biggest that provide at least 27 rows and 88 columns so that the whole dialog boxes be displayed.
Thanks for the info. I'll check it out.
Right now the font is big enough, I could still increase the size
as my current rc.font shows
I take it, this is the bold version as there are
also these fonts present: ter-v18n.psf.gz ...
Still, it's a bit thin and I wonder how the 'normal' version
would look like.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.