Remix.run Logo
dreamlayers 2 days ago

If you want a custom resolution in Linux drm.edid_firmware= works well with the right EDID.

For me, the worst things about the Linux graphical console are lack of scrollback and horrible performance. Linux still has scrollback in VGA text mode, and of course it is super fast because each character is only 2 bytes. In graphics mode you can only fix this by running a program that provides its own graphical terminal, like kmscon or fbterm.

The best thing about the graphical console is ability to use bigger fonts, so your characters can be smooth and not pixelated. I like the Terminus fonts. As long as performance isn't a problem it's better to increase font size than to decrease the resolution.

M95D 2 days ago | parent | next [-]

Alan Mackenzie from Gentoo mailing lists wrote a scrollback patch for the kernel that also supports gpm mouse select/copy from the scrollback buffer.

Unfortunately, the patch is not frequently updated to new kernel versions.

https://public-inbox.gentoo.org/gentoo-user/2316312.ElGaqSPk...

hamandcheese 2 days ago | parent | prev | next [-]

> Linux still has scrollback in VGA text mode

Dumb question: when I boot a modern systemd-based distro installer in terminal mode, am I using "VGA text mode" or "graphics mode"? Do I have to be literally using VGA to use VGA text mode?

EDIT: I read TFA and it seems like the answer is that I probably have never used VGA text mode.

toast0 2 days ago | parent [-]

Depends. A UEFI boot is going to put you in graphics mode; I don't think you can get into VGA text mode from an UEFI boot, without some serious dark arts. UEFI has a text mode console API, but it's part of bootservices and those are exited somewhere on the way to starting the Linux kernel.

If you're doing a BIOS boot, you might be using VGA text mode, if you haven't loaded a framebuffer driver. VGA text mode works over BNC, DVI, HDMI, DP, etc, if that was your question, you don't need a VGA connector. EGA text mode might be similar enough to also work, but that's outside my depth.

I'm not sure that Linux uses it, but VGA has nice things to accelerate scrolling. You can set the top of the screen down into the buffer, and then set a line number where it resets to the top of the buffer. If you set the line stride so that it evenly divides the buffer (typically wider than the line width), it makes scrolling and wrapping around the buffer very simple and elegant.

UEFI GOP doesn't provide any mechanism for a buffer larger than what's displayed, so scrolling requires copying. :(

yetihehe 2 days ago | parent | prev [-]

Sorry, might be dumb question (at work on windows now), but when did shift+pgup stop working?

foresto 2 days ago | parent [-]

About five years ago.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...