Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only install --recommended drivers #320

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

jlnr
Copy link
Contributor

@jlnr jlnr commented Aug 29, 2023

Coming from here elementary/os#686 (comment)

ubuntu-drivers list returns a list of 9 Nvidia drivers in Ubuntu 22.04 and elementary OS 7. However, we only want to install one of them. With --recommended, only the most recent driver will be listed.

Committed from the GitHub web UI, I don't have a development environment for this right now.

@jlnr
Copy link
Contributor Author

jlnr commented Aug 29, 2023

@davidmhewitt If I remember correctly, you have non-Nvidia drivers that you install using ubuntu-drivers, does my patch affect this?

@leviport leviport requested review from a team August 29, 2023 15:05
@davidmhewitt
Copy link
Contributor

Can confirm that the --recommended flag still suggests the same/correct drivers for non-Nvidia hardware. Have tested with Broadcom wireless NICs and virtualbox guest modules. So it's a +1 from me.

@jlnr
Copy link
Contributor Author

jlnr commented Sep 4, 2023

One more review would be very appreciated 🙏 The current code will try to install all the Nvidia drivers at once, resulting in a non-working system (at least for me) that cannot be fixed by simply installing the right driver version later.

@jacobgkau jacobgkau self-assigned this Sep 5, 2023
Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not used in Pop!_OS, found no regressions testing without and with the option. My prior testing had been in a VM, but the change for NVIDIA support makes sense.

@jacobgkau jacobgkau merged commit 3ccc2f6 into pop-os:master Sep 5, 2023
@jlnr jlnr deleted the only-recommended-drivers branch September 6, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants