I had to do a lot of hacking on the Makefile and patches, but I did get this working. I can now set the KMS-framebuffer console resolution
after boot, even if there was an initial GRUB framebuffer module. This is really useful with VMWare and being able to step down from full screen. I can even adjust the virtual frame buffer size. But, some of the functions keel over, timings mainly. That wouldn't effect VMWare, but would affect a laptop.
Code:
root [ ~ ]# fbset -xres 800 -yres 600 -match
root [ ~ ]# fbset
mode "800x600"
geometry 800 600 2048 600 32
timings 0 0 0 0 0 0 0
rgba 8/16,8/8,8/0,0/0
endmode
root [ ~ ]# fbset -xres 1024 -yres 768 -match
root [ ~ ]# fbset
mode "1024x768"
geometry 1024 768 2048 768 32
timings 0 0 0 0 0 0 0
rgba 8/16,8/8,8/0,0/0
endmode
root [ ~ ]# fbset -xres 1920 -yres 1080 -match
root [ ~ ]# fbset
mode "1920x1080"
geometry 1920 1080 2048 1080 32
timings 0 0 0 0 0 0 0
rgba 8/16,8/8,8/0,0/0
endmode
root [ ~ ]# fbset -xres 1152 -yres 864 -match
root [ ~ ]# fbset
mode "1152x864"
geometry 1152 864 2048 864 32
timings 0 0 0 0 0 0 0
rgba 8/16,8/8,8/0,0/0
endmode
root [ ~ ]#
The ultimate goal here is to setup two FBCons on the same framebuffer and have a split screen with two shells, not using a GUI. Tmux and Byobu will probably help out there. But, I'm just extatic that I don't have to reboot to change the screen now.
EDIT: Scratch that, the purpose to to be able to switch in VMWare from a 1024x768 window with 1 console to full screen 1080P with two consoles.