fbcon resolution

I was discussing this problem recently:
http://bkhome.org/blog/?viewDetailed=01706

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:

video=640x480

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.


Posted on 17 Jul 2010, 12:49


Comments:

Posted on 17 Jul 2010, 15:57 by pemasu
Console resolution
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.


Posted on 17 Jul 2010, 23:05 by BarryK
Kernel recompiled
I have recompiled the 2.6.34.1 kernel with "video=640x480" boot parameter built-in. Here is the PET:

http://distro.ibiblio.org/pub/linux/distributions/quirky/pet_packages-quirky/linux_kernel-2.6.34.1-smp-1-s131.pet



Posted on 17 Jul 2010, 23:13 by BarryK
Kernel config
The new .config file is here:

http://bkhome.org/sources/kernel-2.6.34.1/UPDATE-17JULY2010/



Posted on 18 Jul 2010, 8:00 by stvn
Built-in command line
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.


Posted on 18 Jul 2010, 9:18 by BarryK
Re boot params
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?



Posted on 19 Jul 2010, 2:39 by stvn
Re Re boot params
I just tried booting my Slackware install with 'video=640x480 video=1024x600' and it used 1024x600, so I think it should work.

Thanks, Barry