Hi Matthew,

Good questions here.

Regarding the Gazelle tests: I must have made a mistake when doing (or
copying the results of) the Jammy container on Noble host tests
initially. When I ran that just now (in a new container, and on my
original container), these were the results:

Old version:
Jammy container on Noble host (Test case failed): 
https://pastebin.ubuntu.com/p/6MTzWJv6Jr/

New version:
Jammy container on Noble host (Test case passed): 
https://pastebin.ubuntu.com/p/Cf3yv7TW29/


As for the recommendation for -open, for any packages which specify 
"Prefer-Variant: Open", as well as all Nvidia drivers after -560, the -open 
variant is intended to be the default as long as the hardware is supported by 
the driver itself [0], which is why I said "no concerning changes". (I'll be 
more explicit about the intent behind that wording next time). For added 
confidence that this doesn't change anything problematic on hardware that 
*does* require the non-open drivers, I also just tested this on the DGX-2 and 
confirmed that the new version still installs the non-open drivers [1].

The only other Jammy test I listed which recommended the non-open in the old 
version, then the open in the new version, was this one's "Jammy container on 
noble host":
Lenovo sr670v2 with Nvidia L40:
Regression tests:
Old version:
Jammy container on Noble host (Resolution is valid, but incorrectly recommends 
non-open driver (open should be prioritized)): 
https://pastebin.ubuntu.com/p/5jdY4djnWZ/
Jammy host (Test case passed): https://pastebin.ubuntu.com/p/YWxd4SyBWb/

and in this case, the test of the old version on the "Jammy host" also 
installed the -open drivers, since they are supported and preferred by the 
underlying GPU - so it is correct/expected that the new version test recommends 
-open in the container:
New version:
Jammy container on Noble host (Test case passed, **correctly recommends open 
driver**): https://pastebin.ubuntu.com/p/zfBJCZfC8H/
Jammy host (Test case passed, no concerning dependency changes): 
https://pastebin.ubuntu.com/p/gh72nVNCjk/

As a sanity check, I just went back and re-tested the "Jammy container on noble 
host" test with this machine as well, and I think I may have also made a 
similar mistake to my Gazelle test (only on the old version), since I'm now 
seeing the old version give me a broken resolution (but the new one still 
correctly installs the open drivers):
Jammy container on Noble host (Test case failed): 
https://pastebin.ubuntu.com/p/bWFwMhsbsB/
Jammy container on Noble host (Test case passed): 
https://pastebin.ubuntu.com/p/DFBFThZK2h/
And I also verified that nvidia-smi works when the GPU is passed through to 
this container: https://pastebin.ubuntu.com/p/TRvP3vfhFC/

The -server drivers are only used when `--gpgpu` is passed to `ubuntu-
drivers install`. (and the same sorting applies regarding the open
variant, where -server-open will be preferred by default on most
platforms).

So, I think this all still looks good, but let me know if you would like
any additional clarifications.

Thanks!

[0] 
https://github.com/canonical/ubuntu-drivers-common/blob/master/UbuntuDrivers/detect.py#L561
[1] https://pastebin.ubuntu.com/p/4ZCXx9dZ66/

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

Title:
  ubuntu-drivers recommends conflicting nvidia packages in some
  circumstances

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2125156/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to