Debian – Linux kernel option to force video card to stay on

debianheadlessintelkernelkvm-virtualization

I just installed Debian Wheezy 7.1.0 on an Intel vPro System (Intel Core i5-2520M, SuperMicro MBD-X9SCV-Q-O). Intel AMT's KVM works perfectly until Debian has completed booting and shows the login prompt. At this point, the screen in RealVNC goes blank and after a minute, it dies with the following error message:

Error 0x80862000: Unsupported or inactive display adapter

Before it dies, while the screen is already blank, I can type my login info, and if I then type reboot, the server restarts. So, Debian is actually running as expected, just the display isn't working.

The system does not have any additional video cards installed, only the CPU-integrated one.

Here is what I think is going on: Debian detects that there is no monitor connected to the video card and then decides to switch the video card off to save energy (maybe some sort of headless mode). This in turn makes it impossible for Intel AMT to provide the frame buffer.

Assuming my assessment is right (otherwise please correct me), I am trying to figure out the following:

Is there a way (preferably a boot-time kernel option) to tell Debian to keep the video card enabled even if there is no monitor connected?

Best Answer

I found the following way to fix the issue:

  1. When grub shows the kernel boot choices, press e to edit the current boot entry.
  2. Find the line that looks something like this:

    linux /boot/vmlinux-... root=... ro quiet
    
  3. Add nomodeset to the end of this line, so it looks something like this:

    linux /boot/vmlinux-... root=... ro quiet nomodeset
    
  4. Press F10 to boot this configuration and everything should work fine for this boot
  5. To make this permanent, use your favorite text editor as root to open /etc/default/grub
  6. Find the line that looks something like this:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    
  7. Add nomodeset to this line, so it looks something like this:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
    
  8. Save the file

  9. Run update-grub as root (Note: This will regenerate grub.cfg and probably overwrite any changes that may have existed there! Use with caution and maybe update grub.cfg manually instead of following steps 5 through 9.)

So the answer is: The nomodeset kernel option.