Xwindows uses PCI to access the video card in non-FB Mode

Source: Internet
Author: User

Http://www.linuxforum.net/forum/showflat.php? Cat = & board = linuxk & number = 610779
Http://www.linuxforum.net/forum/showflat.php? Cat = & board = kylix & number = 618721

If neither the driver for your card nor the VESA driver work you can still use
The frame buffer device by typing
"LinuxVGA= Mode"
Mode being one of the following:
0x0301: 640x480, 8 bit
0x0310: 640x480, 15 bit
0x0311: 640x480, 16 Bit
0x0312: 640x480, 24 Bit
0x0303: 800x600, 8 bit
0x0313: 800x600, 15 bit
0x0314: 800x600, 16 Bit
Zero X 0315: 800x600, 24 Bit
0x0305: 1024x768, 8 bit
0x0316: 1024x768, 15 bit
0x0317: 1024x768, 16 Bit
0x0318: 1024x768, 24 Bit
15 and 16 bit modes work best with the frame buffer device.
Whenever you choose a valid frame buffer device mode all other ice-video,
Ice-resolution and ICE-COLORDEPTH parameters given on the command line will
Be ignored.
An example: Type
"LinuxVGA= 0x0317"
To load the frame buffer device driver and use a resolution of 1024x768 in
16 bit colors.
By using the frame buffer device you also get a graphical console at bootup.
If you want the graphical console but don't want to use the unaccelerated
Frame Buffer Device Driver later, start the installation using the Frame Buffer
Device and choose another driver in the xfree86 configuration later.
When combined with other parameters"VGA= Mode "must be the last one, F. ex.
"Linux ice-slowdownVGA= 0x0317 ".

 

Since kernel 2.2, Linux has been able to display images in the console, thanks to frame buffer. The so-called frame buffer is an abstraction of computer graphics display hardware (such as graphics cards). It provides a set of general instruction sets so that applications can directly access computer graphics display hardware. Generally, frame buffer can enhance the console capabilities in the following aspects:

  • The console has a higher graphic resolution;

  • The console has a larger color depth and can display more colors;
  • By using frame buffer, some programs can avoid using X servers, such as mplayer. If you set the video output device to frame buffer, that is,-vo fbdev, you can play the video on the console.

How can I use frame buffer in the console?

If you are using a newer kernel, it is very likely that you have enabled the frame buffer option of the kernel. You can use the following command to view it:

grep -i config_fb /boot/config-$(uname -r)

If config_fb = y is found, the frame buffer option is enabled. Otherwise, your kernel does not support frame buffer. You need to re-compile the kernel (this is omitted ).

After you confirm that the frame buffer is enabled, you can add the frame buffer-specific option to the grub and other starters. Modify the/boot/GRUB/menu.1st file and add text similar to the following:

title foo         root (hd0,0)         kernel /vmlinuz ro root=/dev/hda2 vga=0x317

Note thatVGA = 0x317Is the special option of the added frame buffer,VGA = 0x317Indicates that the resolution of the console is 1024x768, and the color depth is 16 bits. For details, see the following table:

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.