fix(requirements): check the GPU the game uses, so a laptop's RTX card isn't reported as lacking mesh shaders #44
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/ui
area/updates
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!44
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/requirements-laptop-gpu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On a laptop with an RTX 4070, the Game files step said "Limited hardware … 23.3 GB VRAM · No mesh shaders; using the slower compute fallback". The launcher had checked the processor's integrated graphics, not the card the game uses.
Why
The launcher ranked GPUs by memory. Integrated graphics report a share of system RAM as their memory (23.3 GB of 31 GB here), so they won over the RTX 4070 Laptop GPU's 8188 MiB, and their missing mesh shaders were reported. The game itself (
pick_devicein Longshot'sgpu/vk/vk_main.cpp) takes the discrete GPU, so the warning was wrong.What changed (
Core/SystemRequirements.cs)VkPhysicalDeviceProperties, already in hand.taskShaderandmeshShaderboth, as the game requires; onlymeshShaderwas read.Not changed: on Linux AMD the game uses the compute fallback by default even with mesh shaders (issue 2245); the launcher still says "Mesh shaders available" there, which describes the card.
Testing
python -I tests/test_launcher_core.py: passes, with new checks intests/launcher_core/RequirementsChecks.cs: an integrated GPU (23.3 GB, no mesh) plus an RTX 4070 Laptop (8188 MiB, mesh) is green with "Mesh shaders available" in either order; same-kind GPUs take the newer driver; well under 8 GB still warns.python -I tests/test_release.py: passes.🤖 Generated with Claude Code
WIP: fix(requirements): check the GPU the game uses, so a laptop's RTX card isn't reported as lacking mesh shadersto fix(requirements): check the GPU the game uses, so a laptop's RTX card isn't reported as lacking mesh shaders