-
Notifications
You must be signed in to change notification settings - Fork 40
fix(just): toggle-nvk now supports nvidia-open #356
Conversation
Thanks for this, when the toggle-nvk recipe was made, nvidia-open was like a year away from existing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does mean that it won't rebase back to non-open Nvidia drivers.
possibly add nvidia-legacy-hardware
check from bazzite
in bazzite we have We were going to originally use it to automatically rebase nvidia users with newer gpus to the this is the script #!/usr/bin/bash
# Returns true if legacy nvidia hardware (older than turing) using die names
# GK### (Kepler), GM### (Maxwell), GP### (Pascal), GV### (Volta)
if lspci -nn | grep -P "(VGA compatible|3D) controller .+G(K|M|P|V)\d{3}" > /dev/null; then
exit 0
fi
exit 1 this way we can make the toggle fail on legacy hardware, also unsure if Tesla cards will count as legacy, i could not find any proper info about that when i first made the script |
Head branch was pushed to by a user without write access
Thanks for the snippet. I updated the PR to include it. |
Fixes ublue-os/aurora#157.
Before
aurora-dx-nvidia
aurora-dx
aurora-dx
aurora-dx-nvidia
aurora-dx-nvidia-open
aurora-dx-open
After
aurora-dx-nvidia
aurora-dx
aurora-dx
aurora-dx-nvidia-open
aurora-dx-nvidia-open
aurora-dx