** Description changed:

+ [Impact]
+ 
+  * Newer GPU hardware of Nvidia (4.15) and Intel (4.16) can be split into 
+    virtual GPUs by their host device driver. It is customers demand to be 
+    able to utilize that sooner than waiting for 20.04 to happen. While the
+    usability prior to very recent libvirt versions (not backporting all of 
+    that as it is not SRUable) isn't perfect it works well enough as-is.
+ 
+  * The fix is enabling a build option and some build depends, the code is 
+    already there.
+ 
+  * This applies to the safe SRU exception of "For Long Term Support 
+    releases we sometimes want to introduce new features. They must not 
+    change the behaviour on existing installations ..." due to the fact 
+    that gl is disabled by default. So users need to opt-in to use it after 
+    the change here.
+ 
+ [Test Case]
+ 
+  * TBD: I need to convert my notes into something someone can follow
+ more easily
+ 
+ [Regression Potential]
+ 
+  * by being default off the regressions to current users should be near 
+    zero. We are not changing actual code, but "only" enable a config.
+    If the config would enable code that runs in cases that are default 
+    enabled (like by an ifdef in C code that makes code outside of gl=on 
+    run the extra code) there could be a regression that we don't see yet.
+ 
+ [Other Info]
+  
+  * This is NOT virgl based vGPUs as in bug 1657409
+ 
+ ----
+ 
+ 
  Hi,
  for quite a while we had thought enabling opengl to go along the MIR for 
virglrenderer (bug 1657409), but missed that it is a prereq for using MDEVs as 
well.
  This now become much more important as newer drivers (recent nvidia drivers, 
as well as kernel >4.16 for intel) made this much more available to users - and 
it would work just fine if qemu had opengl enabled.
  
  Other than for virgl we don't need additional libraries to be promoted to 
MAIN.
  Those we need for "just" opengl are already in MAIN for Ubuntu Desktop 
support.
  So the change is as easy as adding a few build-deps and setting a config 
option.
  
  The code is already in place, qemu 2.11 (Bionic) has all it needs for nvidia 
and 2.12 >=Cosmic has the code for Intel.
  That said flipping this build option (no other change) would allow:
  - >= 18.10 use vfio MDEVs for gpu's of nvidia and intel
  - 18.04 use vfio MDEVs for gpu's of nvidia
  - 18.04 + HWE kernel + later Cloud-Archive with qemu >2.12 use vfio MDEVs for 
intel gpus
  
  I did a bunch of tests and found no related regressions.
  And in terms of SRU terms this falls clearly under "enabling new HW/Feature 
in LTS" exception as the use of vfio-MDEV for gpus just wasn't as clear back 
then but becomes more and more important now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804766

Title:
  Please enable opengl for acceleration and vfio-MDEV support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1804766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to