the frame rate of OpenGL and Vulkan games will become low after waking up from sleep, and only restarting can return to normal. It doesn’t feel like the CPU is frequency locked either. This is only true under linux and win is normal. I have been researching it for a long time. The kernels from 6.1 to 6.7 all have the same problem.
For example, when I enter the main interface of the game, the normal frame rate is more than 700 frames. Then after sleeping and waking up, it drops to more than 200 frames.
Doesn’t matter. Might will be the reason, whether your fault or not.
Please provide the information as mentioned by @cscs, as in order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:
To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:
```
pasted text
```
Or three (3) tilde signs, like this:
~~~
pasted text
~~~
This will just cause it to be rendered like this:
Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.
Instead of like this:
Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby improving legibility and making it much easier for those trying to be of assistance.
Additionally
If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:
LC_ALL=C bluetoothctl
This will just cause the terminal output to be in English, making it easier to understand and debug.
OK, this is going to sound weird, I know. But let’s try something. It would seem from this page that there is (an other?) driver for the GPU available:
The Pulse 15 comes with a Ryzen 7 4800H CPU, which includes a Renoir GPU. The laptop works with the open source xf86-video-amdgpu driver.
However, it would seem you already have the in-kernel driver in use:
So perhaps we should just test the other one, which is in the extra repository:
$ pamac search xf86-video-amdgpu
[...]
xf86-video-amdgpu 23.0.0-1 extra
X.org amdgpu video driver
So it can easily be installed using:
pamac install xf86-video-amdgpu
But then we have to blacklist the in-kernel driver to stop it from being used:
echo "blacklist amdgpu" | sudo tee /etc/modprobe.d/disable-amdgpu.conf
And then you can reboot to test it.
If is doesn’t help or work or anything, simply reverse those steps to revert to the previous driver:
Remove the blacklist file:
sudo rm /etc/modprobe.d/disable-amdgpu.conf
And remove the newly-installed driver:
sudo pamac remove xf86-video-amdgpu
Hope it helps!
Note:
I do not have an AMD GPU, so have no idea what this would do, if anything.