PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Auflösung an der Konsole



spray
27.10.04, 23:13
Hallo Leute,
benutze FC2 auf einem Laptop und ihr wißt es bestimmt und nur ich weiß es wieder nicht.
Wie kann ich die Auflösung der nicht X Umgebung ändern. (Strg-Alt-F2 z.b)
Hab da irgendwie nur ein kleines Fenster und jede Menge Platz drumherum.
d+g Uwe

delmonico
27.10.04, 23:17
Die Auflösung bestimmst du mit dem vga=XXX Parameter den du per Bootloader an den Kernel übergibst.

MfG, del

carnil
27.10.04, 23:18
Hi

Könnte das was du suchst die vga-modes sein?


The video mode number of the Linux kernel is the VESA mode number plus 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

From /usr/src/linux/Documentation/svga.txt:

The video mode to be used is selected by a kernel parameter which can be specified in the kernel Makefile (the SVGA_MODE=... line) or by the "vga=..." option of LILO (or some other boot loader you use) or by the "vidmode" utility (present in standard Linux utility packages).

Quelle: http://www.antlinux.com/staticwiki/VgaModes.html
http://www.google.com/linux?hl=en&lr=&q=vga+modes&btnG=Google+Search

MfG carnil

EDIT: grrr, eh delmonico ;)

shb
27.10.04, 23:22
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

To enable one of those modes you have to specify "vga=ask" in the
lilo.conf file and rerun LILO. Then you can type in the desired
mode at the "vga=ask" prompt. For example if you like to use
1024x768x256 colors you have to say "305" at this prompt.

If this does not work, this might be because your BIOS does not support
linear framebuffers or because it does not support this mode at all.
Even if your board does, it might be the BIOS which does not. VESA BIOS
Extensions v2.0 are required, 1.2 is NOT sufficient. You will get a
"bad mode number" message if something goes wrong.

1. Note: LILO cannot handle hex, for booting directly with
"vga=mode-number" you have to transform the numbers to decimal.
2. Note: Some newer versions of LILO appear to work with those hex values,
if you set the 0x in front of the numbers.

auzug aus der /usr/src/linux/Documentation/fb/vesafb.txt
damit du weißt, welche zahl welche auflösung ist

zu langsam ;(
cu SHB

fr00d
31.03.05, 12:49
Hi Leutz!

Ich hab gerade auch das Problem, dass mich die globige Konsolenschrift annervt. Ich hab mal hier und da ne Weile rumprobiert und auch schon Google gefragt, aber ich komm nicht drauf wie ich die Hexcodes verändern muss, damit ich meinem Notebook was Anzeigbares bieten kann. Es ist ein Asus W1N mit einem 16:9 Bildschirm, der eine Standardauflösung von 1280x800 hat. Ich hab schon versucht vga=ask meinem Grub mit zu geben, aber die Modes die ich da bekomm sind entweder zu groß oder werden erst garnicht angezeigt.

Hat jemand ein Tool, oder gibt es eine große Liste von diesen Hexcodes?

Gruß Andi

MiGo
31.03.05, 21:08
Das, wonach du suchen willst, heisst framebuffer-konsole. Ist ein wenig frickelig (imho) aber dafür wird Bootsplash (fast) mitgeliefert :)

MiGo