Select correct boot VGA when BIOS doesn't do it properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
OEM Priority Project |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
Unassigned | ||
linux-oem-5.10 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On HP EliteDesk 805 G7 desktop, when a add-in discrete GFX card is
present but the display is connected to integrated GPU, BIOS cannot find
the correct boot VGA. Hence, wrong OpenGL/Vulkan library is used, makes
the desktop environment very laggy.
[Fix]
The current heuristic picks the fallback VGA device with lowest PCI
device number. Based on the current heuristic, also check for ACPI video
device which should be the integrated VGA device.
[Test]
Check if the integrated GPU is the boot VGA:
$ cat /sys/bus/
0
After applying the patch:
$ cat /sys/bus/
1
[Where problems could occur]
When there are multiple GPUs that are ACPI video devices, and BIOS
failed to find a VGA to POST, the new heuristic introduces new behavior.
Since multiple ACPI video devices are on laptops, the EFI base should
already be correct otherwise there's no POST. If that really happens the
laptop is completely broken at first place.
Changed in linux-oem-5.10 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.10 (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu Hirsute): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: oem-priority originate-from-1916427 stella |
Changed in linux (Ubuntu Hirsute): | |
status: | Confirmed → Fix Committed |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done-hirsute removed: verification-needed-hirsute |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: | added: originate-from-1923120 |
Changed in oem-priority: | |
status: | New → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- hirsute' to 'verification- done-hirsute' . If the problem still exists, change the tag 'verification- needed- hirsute' to 'verification- failed- hirsute' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!