Intel Video: Difference between revisions

From Alpine Linux
(Created page with "The following instructions are for modern Intel GPU chipsets covered by the i915 driver. See #Known working configurations. == Setup Xorg/udev == # Run the Alpine setu...")
 
m (→‎Kernel Modesetting (KMS): Use correct syntax for template workaround)
Line 13: Line 13:
# Add the <code>i915</code> and <code>fbcon</code> modules to {{Path|/etc/modules}}: {{Cmd|$ echo i915 >> /etc/modules<br />$ echo fbcon >> /etc/modules}}
# Add the <code>i915</code> and <code>fbcon</code> modules to {{Path|/etc/modules}}: {{Cmd|$ echo i915 >> /etc/modules<br />$ echo fbcon >> /etc/modules}}
# Install <code>mkinitfs</code>: {{Cmd|apk add mkinitfs}}
# Install <code>mkinitfs</code>: {{Cmd|apk add mkinitfs}}
# Enable the <code>kms</code> feature in the <code>mkinitfs</code> configuration by adding it to the <var>features</var> variable, e.g., {{cat|/etc/mkinitfs/mkinitfs.conf|2=features="keymap cryptsetup kms ata base ide scsi usb virtio ext4"}}
# Enable the <code>kms</code> feature in 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"}}
# Run <code>mkinitfs</code>.
# Run <code>mkinitfs</code>.
# Reboot to test the configuration.
# Reboot to test the configuration.

Revision as of 15:30, 29 May 2015

The following instructions are for modern Intel GPU chipsets covered by the i915 driver. See #Known working configurations.

Setup Xorg/udev

  1. Run the setup-xorg-base script.
  2. Install the Xorg Intel video drivers:

    apk add xf86-video-intel

  3. Enable #Kernel Modesetting (KMS). Specifically, the fbcon module is necessary, or leaving Xorg (via Ctrl+Alt+F1 or quitting) will result in a black screen until the machine is power cycled. If you have already launch Xorg and don't want to experience this effect, you can modprobe fbcon while Xorg is running.

Kernel Modesetting (KMS)

To enable KMS at boot:

  1. Add the i915 and fbcon modules to /etc/modules:

    $ echo i915 >> /etc/modules
    $ echo fbcon >> /etc/modules

  2. Install mkinitfs:

    apk add mkinitfs

  3. Enable the kms feature in 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"
  4. Run mkinitfs.
  5. Reboot to test the configuration.

Known working configurations

Lenovo X1 Carbon (1st gen), sys installation
# lspci -s 02 -v
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 21f9
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915