A general drive method of graphics card

Source: Internet
Author: User

Because of the limited support of graphics card manufacturers, driving the graphics card under Linux has always been a problem. To solve this problem, the Linux 2.2.x version offers a new solution---Use the frame buffer device, through the VESA VBE 2.0 standard, using the graphics SVGA features, with XFree86 Xf86_fbdev, drive your graphics card. This can do you a favor ...

Because of the limited support of graphics card manufacturers, driving the graphics card under Linux has always been a problem. To solve this problem, the Linux 2.2.x version offers a new solution---Use the frame buffer device, through the VESA VBE 2.0 standard, using the graphics SVGA features, with XFree86 Xf86_fbdev, drive your graphics card. This can do you a favor.

1 Confirm you have Xf86_fbdev file, if not to download from ftp.xfree86.org;

2) The implementation of "Mknod/dev/fb0 C 29 0" to establish a frame buffer equipment;

3) Modify/etc/lilo.conf file and add:

Image =/BOOT/VMLINUZ-2.2.5-FB (newly translated kernel)

Label = LINUXFB (starting label, customizable)

root =/dev/hda2 (reference lilo.conf other parts)

VGA = 0x314 (display mode, refer to the table below)

Attached: Display mode table

640x480 800x600 1024x768 1280x1024

256 color 0x301 0x303 0x305 0x307

32k color 0x310 0x313 0x316 0x319

64k color 0x311 0x314 0x317 0x31a

16M color 0x312 0x315 0x318 0x31b

4 Execute the/sbin/lilo, make the configuration effective, then reboot the system to boot the system with the new kernel. Of course, if your kernel is already supported, there is no need to make this change, just add the vga= line.

5 followed by the configuration of frame buffer server: Refer to the VGA configuration in/etc/x11/xf86config, add a screen section, as follows:

Section "Screen"
Driver "fbdev"
Device "My Video Card"
Monitor "MAG XJ500T"
Subsection "Display"
Depth 16 (色深,须与前面所选显示模式的色深一致)
Modes "default"
ViewPort 0 0
EndSubsection
EndSection

6) point x to Xf6_fbdev:

Cd/etc/x11

MV X X.bat

Ln-snf/usr/x11r6/bin/xf86_fbdev X

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.