Difference between revisions of "KMS"

From ArchWiki
Jump to: navigation, search
m (Created page with '{{Stub}} {{Article summary start| Summary}} {{Article summary text|Information on Kernel Mode Setting (KMS)}} {{Article summary heading|Languages}} {{i18n_entry|English|KMS}} {{A…')
 
m
Line 8: Line 8:
 
[[Category: Graphics (English)]][[Category: X Server (English)]]
 
[[Category: Graphics (English)]][[Category: X Server (English)]]
  
==Introduction==
+
== Introduction ==
 +
 
 
Kernel Mode Setting (KMS) is a method for setting display resolution and depth in the kernel space rather than user space.
 
Kernel Mode Setting (KMS) is a method for setting display resolution and depth in the kernel space rather than user space.
 +
 +
KMS enables native resolution in the framebuffer and allows for instant console (tty) switching.
 +
 +
== Background ==
  
 
Previously, setting up the video card was the job of the X server. Because of this, it was not easily possible to have fancy graphics in virtual consoles. Also, each time a switch from X to a virtual console was made (Ctrl+Alt+F1), the server had to give control over the video card to the kernel, which was slow and caused flickering. The same "painful" process happened when the control was given back to the X server (Ctrl+Alt+F7).
 
Previously, setting up the video card was the job of the X server. Because of this, it was not easily possible to have fancy graphics in virtual consoles. Also, each time a switch from X to a virtual console was made (Ctrl+Alt+F1), the server had to give control over the video card to the kernel, which was slow and caused flickering. The same "painful" process happened when the control was given back to the X server (Ctrl+Alt+F7).
Line 16: Line 21:
  
 
KMS is a new technology which is still considered experimental at this time due to its incomplete support for all video cards. It is usable and stable for many, but as with all newer software, the possibility of bugs exists.
 
KMS is a new technology which is still considered experimental at this time due to its incomplete support for all video cards. It is usable and stable for many, but as with all newer software, the possibility of bugs exists.
 +
 +
== Enabling KMS ==
  
 
Several methods of enabling KMS exist. Note that for ANY method you use, you should ALWAYS disable any "vga=" and "video=" options in your bootloader.  
 
Several methods of enabling KMS exist. Note that for ANY method you use, you should ALWAYS disable any "vga=" and "video=" options in your bootloader.  
Line 24: Line 31:
 
* [[Intel Graphics]]
 
* [[Intel Graphics]]
 
* [[NVIDIA]]
 
* [[NVIDIA]]
 +
 +
== More resources ==
 +
[http://en.wikipedia.org/wiki/Mode-setting Mode-setting at Wikipedia]

Revision as of 16:57, 4 January 2010

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:KMS#)
Template:Article summary start

Template:Article summary text Template:Article summary heading Template:I18n entry Template:Article summary end

Introduction

Kernel Mode Setting (KMS) is a method for setting display resolution and depth in the kernel space rather than user space.

KMS enables native resolution in the framebuffer and allows for instant console (tty) switching.

Background

Previously, setting up the video card was the job of the X server. Because of this, it was not easily possible to have fancy graphics in virtual consoles. Also, each time a switch from X to a virtual console was made (Ctrl+Alt+F1), the server had to give control over the video card to the kernel, which was slow and caused flickering. The same "painful" process happened when the control was given back to the X server (Ctrl+Alt+F7).

With Kernel Mode Setting (KMS) , the kernel is now able to set the mode of the video card. This makes fancy graphics during bootup, virtual console and X fast switching possible, among other things.

KMS is a new technology which is still considered experimental at this time due to its incomplete support for all video cards. It is usable and stable for many, but as with all newer software, the possibility of bugs exists.

Enabling KMS

Several methods of enabling KMS exist. Note that for ANY method you use, you should ALWAYS disable any "vga=" and "video=" options in your bootloader.

KMS is not yet supported by all graphics chipsets. Consult the article of your particular chipset for specifics:

More resources

Mode-setting at Wikipedia