SuSE Linux: Version 6.0
This article refers to an older version of SuSE Linux.
Some of the information in this article may be outdated.
Also, some links may not be valid.
Kernel: Version 2.2
To use the framebuffer console, you will need kernel support for the framebuffer device, which means recompiling your kernel. To use the framebuffer X Server (required if your video adapter is not supported otherwise), you must also install a package from the CD.
No installation support is provided for the following steps.
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
and
Console drivers --->
[*] Video mode selection support
[*] Support for frame buffer devices (EXPERIMENTAL)
[*] VESA VGA graphics console
Resoultion in pixel
Color depth | 640x480 800x600 1024x768 1280x1024
-----------------+-------------------------------------
256 (8bit)| 769 771 773 775
32000 (15bit)| 784 787 790 793
65000 (16bit)| 785 788 791 794
16.7 Mill.(24bit)| 786 789 792 795
For example, to achieve a resolution of 1024x768 pixels at a 16-bit color
depth, enter the LILO boot parameter as follows:
vga=791It is possible that your video card does not support all resolutions and color depths.
mv /etc/XF86Config /etc/XF86Config.backupAfter this, create a new /etc/XF86Config with the following contents:
# Start of file /etc/XF86Config
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
EndSection
Section "ServerFlags"
AllowMouseOpenFail
EndSection
Section "Module"
EndSection
# This section is no longer supported
# See a template below
# Section "XInput"
# EndSection
Section "Keyboard"
Protocol "Standard"
XkbRules "xfree86"
XkbModel "pc104"
XkbLayout "us"
XkbVariant "nodeadkeys"
EndSection
Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
SampleRate 60
BaudRate 1200
EndSection
Section "Monitor"
Identifier "Primary-Monitor"
EndSection
Section "Device"
Identifier "fbdev"
VendorName "x"
BoardName "y"
EndSection
Section "Screen"
Driver "fbdev"
Device "fbdev"
Monitor "Primary-Monitor"
SubSection "Display"
Depth 32
Modes "default"
EndSubSection
SubSection "Display"
Depth 24
Modes "default"
EndSubSection
SubSection "Display"
Depth 16
Modes "default"
EndSubSection
SubSection "Display"
Depth 15
Modes "default"
EndSubSection
SubSection "Display"
Depth 8
Modes "default"
EndSubSection
EndSection
# End of file /etc/XF86Config
This configuration file is prepared for use with a standard PC keyboard
with attached PS/2 mouse. If you use a different mouse, change the
appropriate entry in the Section "Pointer" in this file. Refer to
the man page for this configuration file (man XF86Config) for available
mouse types.
for i in 0 1 2 3 4 5 6 7; do z=$(expr $i \* 32) ; mknod /dev/fb${i} c 29 ${z} ; done
XF86_FBDev -bpp 16The option `-bpp 16' selects a color depth of 16 bit. The color depth selected by this option must be the same as the one selected during start-up of Linux via the vga option. Otherwise, the X server will not start and you will get an error message stating an `invalid argument'. After successful start of X, you will swee the typical rastered X background with a `X' in the middle of the screen. Try to move the `X' with the mouse. If everything works now, close the running X Server with ALT+CTRL+BACKSPACE.
ln -s /usr/X11R6/bin/XF86_FBDev /var/X11R6/bin/X
startx -- -bpp 16The parameter `-bpp' selects the desired color depth.
lilo after this
change.