Public bug reported:

[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/pci/devices/0000\:08\:00.0/boot_vga
0

After applying the patch:
$ cat /sys/bus/pci/devices/0000\:08\:00.0/boot_vga
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.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Medium
         Status: Confirmed

** Affects: linux-oem-5.10 (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: Won't Fix

** Affects: linux-oem-5.10 (Ubuntu Focal)
     Importance: Medium
         Status: Confirmed

** Affects: linux (Ubuntu Hirsute)
     Importance: Medium
         Status: Confirmed

** Affects: linux-oem-5.10 (Ubuntu Hirsute)
     Importance: Undecided
         Status: Invalid


** Tags: oem-priority originate-from-1916427 stella

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.10 (Ubuntu)
   Importance: Undecided
       Status: New

** 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

** Changed in: linux-oem-5.10 (Ubuntu Focal)
   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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1929217

Title:
  Select correct boot VGA when BIOS doesn't do it properly

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux source package in Hirsute:
  Confirmed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid

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/pci/devices/0000\:08\:00.0/boot_vga
  0

  After applying the patch:
  $ cat /sys/bus/pci/devices/0000\:08\:00.0/boot_vga
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1929217/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to