A common video card driver method in linux

Source: Internet
Author: User
Article Title: a common video card driver method in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Due to limited support from video card manufacturers, it is always difficult to drive the video card in Linux. To solve this problem, Linux 2.2.x and later versions provide a new solution-using the frame buffer device, using the vesa vbe 2.0 standard, using the graphics card SVGA feature, with XFree86's XF86_FBDev, drive your video card. This can indeed help you.
  
1) check that you have the XF86_FBDev file. If not, download it from ftp.xfree86.org;
  
2) Run "mknod/dev/fb0 c 29 0" to create the frame buffer device;
  
3) modify the/etc/lilo. conf file and add:
  
Image =/boot/vmlinuz-2.2.5-fb (New Compiled kernel)
Label = linuxfb (start label, which can be customized)
Root =/dev/hda2 (refer to other sections of lilo. conf)
Vga = 0x314 (display mode, refer to the following table)
Appendix: Display Mode table
640x480 800x600 1024x768x1280
256 colors 0x301 0x303 0x305 0x307
32 K color: 0x310 0x313 0x316 0x319
64 K color 0x311 0x314 0x317 0x31A
16 M color 0x312 0x315 0x318 0x31B
  
4) execute/sbin/lilo to make the configuration take effect, restart the system, and start the system with a new kernel. Of course, if your kernel has been supported, you don't need to make this modification. Simply add the line vga =.
  
5) configure the frame buffer Server: Add a screen section to the vga configuration in/etc/X11/XF86Config, as shown below:
  
Section "Screen"
Driver "fbdev"
Device "My Video Card"
Monitor "MAG XJ500T"
Subsection "Display"
Depth 16 (color Depth, must be consistent with the color Depth of the selected Display Mode)
Modes "default"
ViewPort 0 0
EndSubsection
EndSection
  
6) point X to XF6_FBDev:
  
Cd/etc/X11
Mv 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.