#1005783 xorg-server: "no screens found" when run under: kvm -vga virtio

#1005783#5
Date:
2022-02-14 20:36:46 UTC
From:
To:
Dear Maintainer,

[I'm reporting this against the source because I'm not sure which binary is at
fault, but this presuambly related to the bits of xorg that gets put into a udeb
and it has been seen while testing on amd64.]

Daily Debian-Installer images made after Feb 9 are failing to start X, as seen here:

https://openqa.debian.net/tests/42033#step/_boot_to_debianinstaller/4

which conicides with 2:21.1.3-2 hitting unstable, which suggests that is what is
responsible for the change.

Here is that same test, using the version of D-I built at 2022-02-09 22:16:

https://openqa.debian.net/tests/41989#step/_boot_to_debianinstaller/3

which, as you can see, gets to run X.

If I set things such that it uses `-vga std` instead of `-vga virtio`, and do a
BIOS boot, it is again able to start X:

https://openqa.debian.net/tests/42370#step/_boot_to_debianinstaller/3

However, a UEFI boot still fails (with `-vga std`):

https://openqa.debian.net/tests/42416#step/_boot_to_debianinstaller/4

BTW One can reproduce this behaviour by running kvm thus:

  kvm -cdrom debian-testing-amd64-netinst.iso -m 1G
  (which works, because it's defaulting to: -vga std )

and:

  kvm -cdrom debian-testing-amd64-netinst.iso -m 1G -vga virtio
  (which fails for recent versions, and works for versions produced up until Feb 9)

If you need an earlier copy of a daily image, for comparision purposes, I have
copies at present, and can put them somewhere you can get them.

Cheers, Phil.

#1005783#10
Date:
2022-02-16 10:54:09 UTC
From:
To:
Philip Hands <phil@hands.com> writes:

Having tested a Feb 9 with UEFI boot, it seems that the reason that I
had set `-vga virtio` in the first place was that UEFI boots were already
failing with `-vga std`.

I just tried `-vga vmware` and `-vga qxl` and they both seem to work, so
it's just `virtio` that's broken recently, and if anyone else has been
bitten by this they can probably use `qxl` instead.

Cheers, Phil.