[Solved] Kernel Console Resolution
Posted: 2023-03-19 17:24
Hi,
sorry for this question which is at least similar to another one on this forum (viewtopic.php?t=146656), but with no clear solution provided.
I just installed Debian 11 on a machine working as a server on which I do not need any Graphic Environment on it.
Thus I installed it in text mode to save some RAM.
When the machine boots the console is shifted too way on the left, and the monitor controls are unable to correct this.
As you see in the figure, despite shifting the screen 100% to the right, there are still nearly 15 characters falling off the left edge, making the arrangement rather unusable.
I tried to fiddle with GRUB2 params such as "gfxmode", "gfxpayload" and the like and I can perfectly control the resolution of the GRUB screen that I can change at will.
However I have no luck with the kernel console. It seems that when the kernel starts there is no way to specify the resolution nor to change it afterwards at run time.
(gfxpayload=1024x768 or gfxpayload=keep do not work as expected).
I tried to pass vga="ask" as I did in the old days and the kernel even recognizes it, but it says that it is no longer supported by now.
After the kernel is booted even issuing "fbset" does not seem to produce any effect besides simply clipping the output on a screen subregion (the resolution is not changed).
Nevertheless if I connect a different monitor with a lower resolution when the kernel boots it properly adjusts its resolution.
So if I then switch to the monitor you see in the image, everything works fine keeping that resolution.
Thus the question is: is there a way to specify a console resolution that works for me to the kernel at boot ?
Many Thanks !!!
sorry for this question which is at least similar to another one on this forum (viewtopic.php?t=146656), but with no clear solution provided.
I just installed Debian 11 on a machine working as a server on which I do not need any Graphic Environment on it.
Thus I installed it in text mode to save some RAM.
When the machine boots the console is shifted too way on the left, and the monitor controls are unable to correct this.
As you see in the figure, despite shifting the screen 100% to the right, there are still nearly 15 characters falling off the left edge, making the arrangement rather unusable.
I tried to fiddle with GRUB2 params such as "gfxmode", "gfxpayload" and the like and I can perfectly control the resolution of the GRUB screen that I can change at will.
However I have no luck with the kernel console. It seems that when the kernel starts there is no way to specify the resolution nor to change it afterwards at run time.
(gfxpayload=1024x768 or gfxpayload=keep do not work as expected).
I tried to pass vga="ask" as I did in the old days and the kernel even recognizes it, but it says that it is no longer supported by now.
After the kernel is booted even issuing "fbset" does not seem to produce any effect besides simply clipping the output on a screen subregion (the resolution is not changed).
Nevertheless if I connect a different monitor with a lower resolution when the kernel boots it properly adjusts its resolution.
So if I then switch to the monitor you see in the image, everything works fine keeping that resolution.
Thus the question is: is there a way to specify a console resolution that works for me to the kernel at boot ?
Many Thanks !!!