FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.81k stars 186 forks source link

No targets match target specification #492

Closed ParadoxLeon closed 2 months ago

ParadoxLeon commented 2 months ago

Describe the bug Error resolving target specification 'gpu:0' (No targets match target specification), specified in query '[gpu:0]/GPUPerfModes'.

System Info (please complete the following information):

Additional context I've set gpu_device=0 according to nvidia-settings -q gpus -t and nvidia-xconfig --cool-bits=24

1 GPU on wayland-0

    [0] [gpu:0] (NVIDIA GeForce RTX 2070)

      Has the following names:
        GPU-0
        GPU-3b4aa9e8-b3c1-c91d-68f7-b8a2fda35dcc
: Loading config
Loading config file [/etc/gamemode.ini]
: Running tests

:: Basic client tests
:: Passed

:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
...Waiting for child to quit...
:: Passed

:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
:: Passed

:: Supervisor tests
:: Passed

:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations

ERROR: Error resolving target specification 'gpu:0' (No targets match target specification), specified in query '[gpu:0]/GPUPerfModes'.

ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to get [gpu:0]/GPUPerfModes!

ERROR: Error resolving target specification 'gpu:0' (No targets match target specification), specified in query
       '[gpu:0]/GPUGraphicsClockOffset[-1]'.

ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to get [gpu:0]/GPUGraphicsClockOffset[-1]!
ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to call gpuclockctl, could not get values!

ERROR: Error resolving target specification 'gpu:0' (No targets match target specification), specified in query '[gpu:0]/GPUPerfModes'.

ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to get [gpu:0]/GPUPerfModes!

ERROR: Error resolving target specification 'gpu:0' (No targets match target specification), specified in query
       '[gpu:0]/GPUGraphicsClockOffset[-1]'.

ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to get [gpu:0]/GPUGraphicsClockOffset[-1]!
ERROR: External process failed with exit code 1
ERROR: Output was: 
ERROR: Failed to call gpuclockctl, could not get values!
ERROR: Could not get current GPU info, see above!
::: Failed!
::: Verifying renice
::: Passed (no renice configured)
::: Verifying ioprio
::: Passed
ERROR: :: Failed!
: Tests Failed!
wxnderer commented 2 months ago

I'm facing the same issue, its related to wayland because nvidia xconfig simply write in X11 conf (/etc/X11/xorg.conf), i tested the same setup using X11/Plasma and it worked like a charm

i have no clues on how to work around tho, as wayland and x11 are fundamentaly differents.. If someone know how to enable the coolbit under Wayland maybe it would fix the issue

ParadoxLeon commented 2 months ago

you're right I totally forgot its X11... :D