Kernel Modesetting: Difference between revisions
WhyNotHugo (talk | contribs) (Add link to relevant wikipedia artile) |
WhyNotHugo (talk | contribs) (Extend / tidy up article) |
||
Line 1: | Line 1: | ||
{{Expand|Needs nVidia driver information}} | {{Expand|Needs nVidia driver information}} | ||
{{TOC right}} | |||
'''KMS''' (Kernel [https://en.wikipedia.org/wiki/Mode%20setting Mode Setting]) allows setting the display resolution in kernel space instead of userspace. | '''KMS''' (Kernel [https://en.wikipedia.org/wiki/Mode%20setting Mode Setting]) allows setting the display resolution in kernel space instead of userspace. This allows setting native screen resolutions early in the system boot process and can reduce flickering, both when booting and when switching ttys. | ||
Enabling KMS requires adding <code>kms</code> to the <code>mkinitfs</code> configuration by adding it to the <var>features</var> variable, e.g: | |||
: | |||
= = | {{cat|/etc/mkinitfs/mkinitfs.conf|features{{=}}"keymap cryptsetup kms ata base ide scsi usb virtio ext4"}} | ||
Additional driver or firmware is required depending on the hardware in use: | |||
=== Intel === | |||
See [[Intel_Video#Kernel_Modesetting_(KMS)]] | |||
=== AMD/Radeon === | |||
See [[Radeon_Video#Kernel_Modesetting_(KMS)]] | |||
=== Nouveau === | |||
See [[Nouveau_Video#Kernel_Modesetting_(KMS)]] | |||
=== nVidia === | |||
{{Todo|Find out how KMS works with nVidia drivers}} | |||
=== See also === | |||
* [https://wiki.archlinux.org/index.php/Kernel_mode_setting Kernel mode setting] archlinux.org | * [https://wiki.archlinux.org/index.php/Kernel_mode_setting Kernel mode setting] archlinux.org | ||
[[Category:Kernel]] | [[Category:Kernel]] |
Revision as of 00:19, 7 January 2023
This material needs expanding ... Needs nVidia driver information |
KMS (Kernel Mode Setting) allows setting the display resolution in kernel space instead of userspace. This allows setting native screen resolutions early in the system boot process and can reduce flickering, both when booting and when switching ttys.
Enabling KMS requires adding kms
to the mkinitfs
configuration by adding it to the features variable, e.g:
Contents of /etc/mkinitfs/mkinitfs.conf
features="keymap cryptsetup kms ata base ide scsi usb virtio ext4"
Additional driver or firmware is required depending on the hardware in use:
Intel
See Intel_Video#Kernel_Modesetting_(KMS)
AMD/Radeon
See Radeon_Video#Kernel_Modesetting_(KMS)
Nouveau
See Nouveau_Video#Kernel_Modesetting_(KMS)
nVidia
Todo: Find out how KMS works with nVidia drivers
See also
- Kernel mode setting archlinux.org