Am Montag, 7. Februar 2005 15:31 schrieb Heiner Gewiehs:
Was passiert, wenn ich die "vga=0x31a" auf "vga=791" setze? Was heisst "vga=791"?
0x31a ist die hexadezimale Schreibweise von 3x256+1x16+10 (a=10) und ist in Dezimal 794. Auszug aus /usr/src/linux/Documentation/fb/vesafb.txt: How to use it? ============== Switching modes is done using the vga=... boot parameter. Read Documentation/svga.txt for details. You should compile in both vgacon (for text mode) and vesafb (for graphics mode). Which of them takes over the console depends on whenever the specified mode is text or graphics. The graphic modes are NOT in the list which you get if you boot with vga=ask and hit return. The mode you wish to use is derived from the VESA mode number. Here are those VESA mode numbers: | 640x480 800x600 1024x768 1280x1024 ----+------------------------------------- 256 | 0x101 0x103 0x105 0x107 32k | 0x110 0x113 0x116 0x119 64k | 0x111 0x114 0x117 0x11A 16M | 0x112 0x115 0x118 0x11B The video mode number of the Linux kernel is the VESA mode number plus 0x200. Linux_kernel_mode_number = VESA_mode_number + 0x200 So the table for the Kernel mode numbers are: | 640x480 800x600 1024x768 1280x1024 ----+------------------------------------- 256 | 0x301 0x303 0x305 0x307 32k | 0x310 0x313 0x316 0x319 64k | 0x311 0x314 0x317 0x31A 16M | 0x312 0x315 0x318 0x31B Gruß Udo