[Bug 2044973] Re: ubuntu-drivers install the wrong version of Nvidia driver on some machines

2024-03-13 Thread Shane Williams
Finally had a chance to update today, and ubuntu-drivers-common
1:0.9.0~0.20.04.8 does appear to fix the issue for us.

01:00.0 VGA compatible controller: NVIDIA Corporation TU117GL [T1000
8GB] (rev a1) (prog-if 00 [VGA controller])

shanew@prius:~$ ubuntu-drivers devices
== /sys/devices/pci:00/:00:01.0/:01:00.0 ==
modalias : pci:v10DEd1FF0sv1028sd1612bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free
driver   : nvidia-driver-535 - distro non-free recommended
driver   : nvidia-driver-525-server - distro non-free
driver   : nvidia-driver-525-open - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-525 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

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

Title:
  ubuntu-drivers install the wrong version of Nvidia driver on some
  machines

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


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

[Bug 2044973] Re: ubuntu-drivers install the wrong version of Nvidia driver on some machines

2024-02-27 Thread Francis Ginther
@Kevin,

Thank you for testing again. This latest output indicates something may
not be correct in your test environment. This line:

WARNING:root:_pkg_get_support nvidia-driver-525: package has invalid
Support PBheader, cannot determine support level

is indicating that the driver packages are providing a "PB" in the
support field, but ubuntu-drivers doesn't know how to handle this.
Support for PB drivers was added in version 1:0.9.0~0.20.04.7, which is
the latest version in focal-updates (see lp:1964747 for details). This
indicates this particular test was run with an even older version, but
that doesn't make sense if you've also updated to 1:0.9.0~0.20.04.8. I
really can only speculate what is going on here.

I did run an experiment on a device attached to testflinger,
202007-28059. This is an HP ZBook Studio G7 with a TU117GLM [Quadro
T2000 Mobile / Max-Q]. This appears to match the devices used in the
original bug description. I first verified that the problem exists with
the version of the package in focal-updates:

ubuntu@hp-zbook-studio-g7-c28059:~$ dpkg -l|grep ubuntu-drivers
ii  ubuntu-drivers-common 1:0.9.0~0.20.04.7 
amd64Detect and install additional Ubuntu driver packages
ubuntu@hp-zbook-studio-g7-c28059:~$ sudo ubuntu-drivers devices
ERROR:root:could not open aplay -l
Traceback (most recent call last):
  File "/usr/share/ubuntu-drivers-common/detect/sl-modem.py", line 35, in detect
aplay = subprocess.Popen(
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'aplay'
== /sys/devices/pci:00/:00:1f.4 ==
modalias : pci:v8086d06A3sv103Csd8736bc0Csc05i00
vendor   : Intel Corporation
driver   : oem-stella.cmit-meowth-meta - distro free

== /sys/devices/pci:00/:00:01.0/:01:00.0 ==
modalias : pci:v10DEd1FB8sv103Csd8736bc03sc00i00
vendor   : NVIDIA Corporation
model: TU117GLM [Quadro T2000 Mobile / Max-Q]
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free recommended
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-525-open - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-525 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-525-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

Then updated to the package from proposed:

ubuntu@hp-zbook-studio-g7-c28059:~$ dpkg -l|grep ubuntu-drivers
ii  ubuntu-drivers-common 1:0.9.0~0.20.04.8 
amd64Detect and install additional Ubuntu driver packages
ubuntu@hp-zbook-studio-g7-c28059:~$ sudo ubuntu-drivers devices
ERROR:root:could not open aplay -l
Traceback (most recent call last):
  File "/usr/share/ubuntu-drivers-common/detect/sl-modem.py", line 35, in detect
aplay = subprocess.Popen(
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'aplay'
== /sys/devices/pci:00/:00:1f.4 ==
modalias : pci:v8086d06A3sv103Csd8736bc0Csc05i00
vendor   : Intel Corporation
driver   : oem-stella.cmit-meowth-meta - distro free

== /sys/devices/pci:00/:00:01.0/:01:00.0 ==
modalias : pci:v10DEd1FB8sv103Csd8736bc03sc00i00
vendor   : NVIDIA Corporation
model: TU117GLM [Quadro T2000 Mobile / Max-Q]
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-525-open - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free
driver   : nvidia-driver-535 - distro non-free recommended
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-525-server - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-525 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin


Based on this, it is now choosing the expected `nvidia-driver-535` driver.

I can look further, but I'm going to need to triage the problem on your
test device or somewhere you can reproduced this.

-- 
You received this bug notification because you are a member of 

[Bug 2044973] Re: ubuntu-drivers install the wrong version of Nvidia driver on some machines

2024-02-26 Thread Kevin Yeh
@Francis

I've confirmed that the DUT has already used the latest ubuntu-drivers from 
proposed.
Setting up ubuntu-drivers-common (1:0.9.0~0.20.04.8) ...

But it doesn't seem to solve the issue. Please check following messages.

+ _run sudo ubuntu-drivers devices
+ ssh -t -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null 
ubuntu@10.102.153.239 sudo ubuntu-drivers devices
WARNING:root:_pkg_get_support nvidia-driver-525: package has invalid Support 
PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-535: package has invalid Support 
PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-535-open: package has invalid 
Support PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-525-server: package has invalid 
Support PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-535-server-open: package has 
invalid Support PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-525-open: package has invalid 
Support PBheader, cannot determine support level
WARNING:root:_pkg_get_support nvidia-driver-535-server: package has invalid 
Support PBheader, cannot determine support level
== /sys/devices/pci:00/:00:01.0/:01:00.0 ==
modalias : pci:v10DEd2191sv1028sd0949bc03sc00i00
vendor   : NVIDIA Corporation
model: TU116M [GeForce GTX 1660 Ti Mobile]
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-525 - distro non-free
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-525-server - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free recommended
driver   : nvidia-driver-525-open - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-modules-nvidia-535-server-open-generic : Depends: 
linux-modules-nvidia-535-server-open-5.4.0-173-generic (= 5.4.0-173.191) but it 
is not going to be installed
E: Unable to correct problems, you have held broken packages.

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

Title:
  ubuntu-drivers install the wrong version of Nvidia driver on some
  machines

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


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

[Bug 2044973] Re: ubuntu-drivers install the wrong version of Nvidia driver on some machines

2024-02-26 Thread Francis Ginther
@kevinyew, @shanew, It looks like you are hitting this on focal. Can you
please confirm?

If so, can you please retest with the latest ubuntu-drivers from focal-
proposed? This should be version 1:0.9.0~0.20.04.8. This appears to fix
a bug (discussed in https://bugs.launchpad.net/ubuntu/+source/nvidia-
graphics-drivers-515/+bug/1988836) which caused the -open drivers to be
preferred.

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

Title:
  ubuntu-drivers install the wrong version of Nvidia driver on some
  machines

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


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