I am on an Xfce install. Since my computer is a laptop with an Nvidia GPU with Optimus, I use optimus-manager to use my Nvidia GPU rather than hybrid or Intel graphics. All this information may or may not be related to the problem.
When playing games, things will be working fine until I will hit a wall of stuttering and lag that gets worse until it freezes the system completely in a few seconds. Even if I manage to run xkill in time, the system still freezes. These freezes only happen when the system is under stress, since I can do simple things like web browsing for hours. Just now my system crashed when I ran mprime to test my CPU.
There is a segfault I see in journalctl when it happens. Here is journalctl from my last boot which ended in a crash: https://clbin.com/CfzsU
Could be thermal throttling, did you also check temperature?
Just FYI I had hardware with hybrid graphics and same Nvidia GPU without that problem, also using xfce. But every hardware is different and also I did not partition in Btrfs but don’t think that should be the problem. Did you allow over clocking in bios?
You could also try booting with only dedicated GPU and blacklist intel. Optimus is just crappy. Never had a great experience.
I have had previous installs on this machine running correctly, but if the nvidia stuff is causing the problem, I would think it would be due to me configuring something incorrectly, since there are like so many places nvidia configs can end up. I checked my temperatures and don’t see anything out of the order. I haven’t done any overclocking stuff.
From my own experience, I generally don’t need to do much config beyond installing the Nvidia driver.
Would be good to let us know how you configured Nvidia, did you just install the driver when you booted the iso and installed eos? Or installed the driver afterwards? And/or did you change any additional configs and if so which file (post it’s content)?
Just in case I normally use:
Following this guide and additional arch wiki links if necessary.
I still highly recommend trying the dedicated GPU only (and blacklist intel, you can try and revert afterwards, if interested we can try that). The whole hybrid graphics with Nvidia is a crap show in general. I will never ever commit to this type of hardware in the future. Nvidia is proprietary and make our life hard on Linux…
But I actually used its uninstall script because I wasn’t quite sure if my GPU was being utilized or not. So if its installation and uninstallation left any dirty configs somewhere that could be related. Still not certain if this is Nvidia related or not, as my GPU does seem to be working in games and stuff, but I could try blacklisting Intel if that is the issue.
I maybe wrong but seems you have a lot of additional packages. For example nvidia-prime and nvidia-hook. I will check on my laptop but suggest to make sure to have the same packages that install via nvidia-dkms. In principle these should include this with correct version.
lib32-nvidia-utils xxx version
nvidia-dkms xxx version
nvidia-installer-db xxx version
nvidia-installer-dkms xxx version
nvidia-settings xxx version
nvidia-utils xxx version
Seems that the Nvidia install or configs need to be cleaned up. Especially, don’t use different methods at the same time as they are not compatible…
I would also note this about Optimus manager
Custom Xorg config : optimus-manager works by auto-generating a Xorg configuration file and putting it into /etc/X11/xorg.conf.d/. If you already have custom Xorg configuration files at that location or at /etc/X11/xorg.conf , it is strongly advised that you remove anything GPU-related from them to make sure that they do not interfere with the GPU switching process.
Nvidia-generated Xorg config : Similarly, if you have ever used the nvidia-xconfig utility or the Save to X Configuration File button in the Nvidia control panel, a Xorg config file may have been generated at /etc/X11/xorg.conf . It is highly recommended to delete it before trying to switch GPUs.
nvidia-dkms not installed neither. Need to run the dkms installer… Perhaps a good idea to remove all the nvidia drivers and start again from scratch following the eos wiki I posted above with sudo nvidia-installer-dkms. The reason is that it will work for future kernel updates I believe and if you have lts, that will also work and install the drivers…
Hi, sorry for the late reply but I did reinstall EndeavourOS to clean up whatever config mess I had and also because I wanted to switch to i3 anyway. As I was reinstalling I noticed I only had half the ram I was supposed to, which explains the freezing and why it happened so easily. I just had to pop both sticks out and put them back in haha. I now am using optimus manager on permanent nvidia mode and everything works. Also thanks for the tip with the nvidia settings thing, because I always have to force full composition pipeline to stop screen tearing, but yeah I never knew where that config was supposed to actually go.