General Solution for LinuxX-window graphics card configuration

Source: Internet
Author: User
Article Title: general solution for LinuxX-window graphics card configuration. 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.

Many new graphics cards cannot be supported by XFree86 at the moment, and XWindow configuration is always a problem. However, the frame buffer device of Linux 2.2.x can use the Super VGA feature of the video card through the vesa vbe 2.0 standard, and then use the XFree86 frame buffer Server (XF86_FBDev) you can use high resolution and high/true color for your XWindow. Currently, most new video cards on the market support the VESA 2.0 standard. This is a good solution before your video card is not supported.

The specific implementation involves four aspects:

1. A kernel that supports VESA frame buffer;

2. Create a frame buffer device;

3. Configure the lilo startup option to switch to the specified display mode when the kernel is started;

4. XFree86 frame buffer Server (XF86_FBDev), and configure a Screen for XF86Config.

Required files:

Linux 2.2.x kernel source (original code of 2.2.x kernel, If You Want To compile the kernel yourself );

XFree86 Framebuffer Server: XF86_FBDev (available in Turbo Linux Chinese version, RedHat6.0 CD, ftp.xfree86.org, and other places );

Gcc and other compilation tools.

Compile a kernel that supports VESA frame buffer

Skip this step if there is a ready-made kernel that supports VESA frame buffer. For example, Madrake 6.0 has a kernel that supports frame buffer.

Configure kernel compilation options

In/usr/src/Linux, type make xconfig (under XWindow) or make menuconfig (under the command line ). The options related to frame buffer device are ):

 

Code maturity level opetions
Y Prompt for development and/or incomplete codes/drivers
Console drivers
Y Video mode selection support
...
Y Support for frame buffer devices
...
Y vesa vga graphics console
...
Y Advance low level driver options
...
Y 8 bpp packed pixels support
Y 16 bpp packed pixels support
Y 24 bpp packed pixels support

[1] [2] [3] [4] Next page

Related Article

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.