Skip to content
Snippets Groups Projects
Commit 72bde3b3 authored by Ray Strode's avatar Ray Strode
Browse files

udev: Try to detect virtual graphics and EFI better

With EFI and simpledrm we may end up booting without a card0 but
with a card1 drm device. This defeats GDM's simplistic hybrid
graphics check.

Also, our detection for virtio graphics wasn't working so well, because
it wrote the results into an environment variable of a non-parent
device.

This commit gets the detection logic working better for virt/efi setups.

Closes: https://gitlab.gnome.org/GNOME/gdm/-/issues/832
parent 9865742e
1 merge request!17Merge 44.0 for Ubuntu
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment