Preserve an Ubuntu/NVIDIA Affinity v3 launch path and expose it in the GUI - #210
Open
hnoerenberg wants to merge 1 commit into
Open
Preserve an Ubuntu/NVIDIA Affinity v3 launch path and expose it in the GUI#210hnoerenberg wants to merge 1 commit into
hnoerenberg wants to merge 1 commit into
Conversation
- Add AffinityScripts/AffinityUbuntuLauncher.sh - Add GUI action to launch Affinity v3 through Ubuntu snapshot path - Add GUI action to install desktop launchers pointing at snapshot script - Update unified Affinity.desktop creation to prefer snapshot launcher - Reuse Vulkan environment for desktop launchers and direct GUI launch - Disable VK_KHR_present_id / VK_KHR_present_wait on Wayland - Document the launcher snapshot in docs/LEGACY-SCRIPTS.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
This change adds a small preserved launcher path for Ubuntu-family + KDE/Wayland + NVIDIA setups
and wires it into the Python GUI so the same runtime path can be reused from the menu, desktop
launcher, and an explicit launch action.
What changed
AffinityScripts/AffinityUbuntuLauncher.shAffinity.desktopcreation path to prefer the snapshot launcher when presentAffinity directly from the GUI
VK_KHR_present_idandVK_KHR_present_waiton Wayland (viaVKD3D_DISABLE_EXTENSIONS)VKD3D_CONFIG=swapchain_legacyon Wayland + NVIDIAdocs/LEGACY-SCRIPTS.mdWhy
On Ubuntu-family / KDE Plasma (Wayland) / NVIDIA setups Affinity v3 was only stable once the
launch path consistently:
wine startHKEY_CURRENT_USER\Software\Wine\Drivers→x11)__NV_PRIME_RENDER_OFFLOAD,MESA_VK_DEVICE_SELECT)VK_KHR_present_idandVK_KHR_present_waiton WaylandBefore this change, the GUI launch path and the generated desktop entry could diverge, which made
it easy to lose a working configuration after an update.
Tested on
ID_LIKE="ubuntu debian")Validation
python3 -m py_compile AffinityScripts/AffinityLinuxInstaller.py— no errorsbash -n AffinityScripts/AffinityUbuntuLauncher.sh— no errorsbash AffinityScripts/AffinityUbuntuLauncher.sh status— correct Wine/GPU/Wayland detectionbash AffinityScripts/AffinityUbuntuLauncher.sh launch— Affinity v3 starts successfullybuttons visible and functional
Notes
changes from the author's working tree.
mainas of9b3e84b("Fix weird font issues", 18 Aug 2026).