mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-09-17 09:39:55 +02:00

This patch adjusts get_gpu_index_id_nv() to skip over non-NVIDIA devices without prematurely failing, correctly mapping the configured DRM device index to the NVML index. Edit: clang-formatted Fixes: #486 Tested on: RTX 5060 ti (driver 575.64.03) on Ubuntu 25.04, cards 0-2 and some other random numbers were tested