site  contact  subhomenews

fbcon resolution

July 17, 2010 — BarryK
I was discussing this problem recently:

With radeon/intel/nouveau kernel and Xorg drivers, Kernel Mode Setting has to be turned on, but this causes a very high-resolution console (when switch to a tty or exit from X) -- and tiny text.

I experimented with a bigger font. The 'terminus' font has up to 16x32 which is big enough but to my eyes looks ugly. But, the native resolution of the console will vary on different PCs, so needing different size fonts.

So, I came back to considering boot parameters. I looked at the 'sysctl' utility, no good. Anyway, after a lot of messing around, I found that the boot parameter:


works fine and I can't see any downside to it. I thought that it might compromise Xorg's automatic probing but it doesn't seem to.

Well, it would seem best to build that into the command line. An inbuilt boot commandline can be compiled into the kernel, so I'll do that next time I compile the kernel.


Console resolution
Username: pemasu
I have used video=640x480 since I got my new laptop with all recent kernel puppies succesfully with my intel and ati dual graphics. Vga_switcheroo would be the next nice addition."17 Jul 2010, 15:57"01726"'Kernel recompiled"BarryK"I have recompiled the kernel with "video=640x480" boot parameter built-in. Here is the PET: Username: 17 Jul 2010, 23:05
"01726"'Kernel config"BarryK"The new .config file is here: Username: 17 Jul 2010, 23:13
"01726"'Built-in command line"stvn"With the built-in kernel command line, can I still boot with video=<something else>? I kind of like the high resolution console on my netbook."18 Jul 2010, 8:00"01726"'Re boot params"BarryK"Whatever you type in gets appended to the built-in parameters. So, I don't know, what does the kernel do, just evaluate left-to-right and use the second "video" parameter value? Username: 18 Jul 2010, 9:18
"01726"'Re Re boot params"stvn"I just tried booting my Slackware install with 'video=640x480 video=1024x600' and it used 1024x600, so I think it should work. Thanks, Barry"19 Jul 2010, 2:39"01726"'

Tags: puppy