Repository navigation
Conversation
The display card picker listed every GL variant as a separate model (e.g. "virtio-gpu-pci" and "virtio-gpu-gl-pci (GPU Supported)") next to a disabled "GPU Acceleration Supported" checkbox that only reflected the choice. This made enabling acceleration non-obvious. Hide the *-gl and *-gl-* variants from the picker and show an interactive "GPU Acceleration" toggle when the selected model has a GL variant. The toggle selects between the GL and non-GL model, so the saved configuration values are unchanged. Selecting a new model that supports GL defaults to the accelerated variant. Assisted-by: Claude:claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The display card picker listed every GL variant as a separate model (e.g.
virtio-gpu-pciandvirtio-gpu-gl-pci (GPU Supported)) next to a disabled "GPU Acceleration Supported" checkbox that only reflected the choice, which made enabling acceleration non-obvious.This hides the
*-gland*-gl-*variants from the picker and shows an interactive "GPU Acceleration" toggle when the selected model has a GL variant. The toggle switches between the GL and non-GL model, so the constants and the values saved in config.plist are unchanged. Selecting a new model that supports GL defaults the toggle to on, and the guest driver footnote is shown while it is on. Works on both macOS and iOS.Testing: Tested by a human on macOS 27.0, MacBook Air (M3) and iOS 27.0, iOS Simulator. The author acknowledges that this change has been tested and/or reviewed by a human in accordance with UTM's AI contribution guidelines.