I bought a new laptop, which has 32gb RAM, intel i9-13005H CPU, integrated GPU and a dedicated Nvidia RTX 4060 GPU. Last time I had similar problems with a weaker Lenovo system, which had dual GPUs too. I am using Nvidia drivers and Gnome with Xorg.
Here is what I tried so far:
Created 16GB swap partition
tried LTS kernels
Installed optimus manager
reinstalled the OS
It is really wierd, as the laptop was working fine for 30 minutes and then suddenly started lagging. After a fresh reinstalation the lag was still present. I am using systemd-boot for dual booting Linux and Windows.
UPDATE: After I booted into Windows then back to EndeavourOS the lag was no longer present, I clearly do not know what is happening
Hi @nandor23
This is really strange.
As you mentioned you are using NVIDIA, maybe you can try changing the NVIDIA drivers to the open source drivers. (what I have read)
May be you try an update the system after that and see.
Please let us know how it goes.
I think I may be having a similar issue with my computer. Occasionally, when I boot into EnOs, I notice that all my devices experience a brief lag for a few milliseconds simultaneously. For instance, my monitor (GPU), mouse, keyboard, and so on, all lag repeatedly at the same time for a brief period.
Unfortunately, I haven’t discovered a solution for this problem yet, except for rebooting. Usually, the lag disappears after one reboot, although sometimes I have to reboot twice in a row.
Therefore, if you’re encountering the same type of lag, I recommend trying a reboot as it should resolve the issue.
Good news!
Generally as I have read here, it is preferable to use the open source drivers.
Another thing that just came to my mind it is preferable to install and use the LTS Kernel as it is more stable and more tested.
Your system is rendering on Intel graphics. You do have nouveau open source drivers installed but the laptop is hybrid and has to have a way to switch graphics. I do beleive that the nouveau drivers could be the cause of the lagging. You have an RTX 4060 Nvidia. It doesn’t make sense to use nouveau open source having this new of a card. I would install the latest nvidia drivers and at least try it with them installed still running on the Intel graphics. See if it makes any difference. Then you would also need optimus-manager or envy-control or use prime render to switch graphics to nvidia.
Thanks! Do you know what is the difference between Hybrid and Auto mode and if they work well? On Windows it switches between the cards for performance and battery saving purposes.
I think with hybrid mode you can switch between intel and nvidia. Nvidia will be dedicated so always running on Nvidia which will use more battery. Auto I’m not entirely sure? So you have to see if optimus-manager works, optimus-switch or you could try envy-control or you could use prime. What ever works best for you.