I sent this once before, but something weird happened and it didn't seem to land just right, so here we go again... I'm trying the kgicon driver for riva (on my stb velocity 4400 tnt). I'm using the 03-05 snapshot. First, the 'add monitor' section of 'make config' is a bit weird. Mailing my new configuration didn't work, and there's no 'ok' option to use the new config. And it disappears on 'cancel'... So I selected 'generic' and made my own monitor definiton file for setmon (Attached). I didn't know which values to use for the timings, so I copied three VESA modes from kgicon/kgi/monitor/timelist/monitor.c (BTW how come the timings are not asked for in make config/add monitor, I have a 'separate sync' monitor). Setmon loads the file alright. My question is: How do I make setmon work with fbset? Or is there another way to change the mode. I don't want the 640x480 59Hz mode that is automatically set when I insmod kgicon.o. My fb.modes file is based on my XF86Config as explained in the framebuffer HOWTO. When I do fbset with one of the modes in fb.modes, one of the following things happen: 1) I get: ioctl: FBIOPUT_VSCREENINFO: Invalid argument 2) The screen sets itself to some useless mode, like the leftmost third of the screen black and Alt-Fn not working. Also, on insmod, and from time to time after that, I get this error message: mtrr: base(0xe600000) is not aligned on a size (0xfe0000) boundary I have 'MTRR support' compiled into my kernel. BTW it's a 2.2.14 kernel. The relevant files are attached. It would be very nice to have e.g. a 1024x768x8 console and 1024x768x32 X (XF86_FBDev or XGGI) with 85 Hz for both and no clicking on the mode switch :-)
# Nokia 449XiPlus 15" monitor /dev/fb0: Nokia 449XiPlus GM_ALL FL_MON_POWERSAVE 1024x768 270x202 VGA_COLOR SYNC_SEPARATE 0-90000000 30000-70000 48-120 25175000 640, 640, 680, 776, 784, 800, 0 400, 407, 412, 414, 442, 449, 1 50000000 800, 800, 856, 976, 1040, 1040, 1 600, 600, 637, 643, 666, 666, 1 65000000 1024, 1024, 1048, 1184, 1344, 1344, 0 768, 768, 771, 777, 806, 806, 0
mode "old" # D: 30.720 MHz, H: 36.923 kHz, V: 73.260 Hz geometry 640 480 640 480 8 timings 32552 80 32 16 4 80 4 endmode mode "1024x768x32-75" geometry 1024 768 1024 768 32 timings 11764 208 8 120 36 16 3 endmode mode "800x600x32" geometry 800 600 800 600 32 timings 14357 160 64 64 30 4 6 endmode mode "640x480x32" geometry 640 480 640 480 32 timings 21834 96 32 96 36 8 6 endmode #Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823 #Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -hsync -vsync #Modeline "640x480" 45.80 640 672 768 864 480 488 494 530 -hsync -vsync