This bug was fixed in the package nvidia-prime - 0.8.17.2
---------------
nvidia-prime (0.8.17.2) mantic; urgency=medium
[ Gary Wang ]
* prime-select:
- Fix usage of an undefined variable. Affects at least Ampere arm64
server workstation + NVIDIA RTX A4500 GPU (LP: #1948362).
-- Dan Bungert <[email protected]> Tue, 13 Jun 2023
09:45:03 -0600
** Changed in: nvidia-prime (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1948362
Title:
UnboundLocalError: local variable 't' referenced before assignment
Status in nvidia-prime package in Ubuntu:
Fix Released
Bug description:
```
Traceback (most recent call last):
File "/usr/bin/prime-select", line 458, in <module>
switcher.enable_profile(arg)
File "/usr/bin/prime-select", line 223, in enable_profile
if not self._has_integrated_gpu():
File "/usr/bin/prime-select", line 198, in _has_integrated_gpu
if t.find('8086') != -1 or t.lower().find('1002') != -1:
UnboundLocalError: local variable 't' referenced before assignment
```
at file `prime-select`, line 198
https://git.launchpad.net/ubuntu/+source/nvidia-prime/tree/prime-
select#n198
that `t` should be `vendor` I think. :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1948362/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp