I’m having trouble playing ‘Marvel’s Spider-Man: Miles Morales’ on my laptop which has an RTX 2050 and runs Arch Linux with Hyprland. The game keeps recognizing a GTX 470 instead of using my NVIDIA GPU, likely due to running it through wine. Any insights into resolving this issue?
4 Answers
Sometimes referring to community resources like ProtonDB can be quite informative. People often share solutions they’ve found to similar issues there.
Try launching the game with `primerun` or use the following command as your launch option: `__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only %command%`. This might force the game to utilize your NVIDIA GPU.
Have you clicked the dropdown that pops up when the warning occurs? Sometimes the game isn’t recognizing the right device without this step.
Your laptop might be defaulting to using the integrated graphics instead of the dedicated NVIDIA GPU. Check your system settings and make sure your system is set to use the dedicated graphics card to prevent it being falsely detected as a GTX 470.