All app gets automatically closed

I think there’s a lot of helpful information but it’s scattered. So, I’m trying to bring everything into one post.

  1. First, try installing the LTS kernel.
    You can use akm it’s provided by the EndeavourOS team and it should be already installed. Once installed it should make the LTS version the default kernel to boot from. If it doesn’t do the below steps. Edit your /boot/grub/grub.cfg you can open this file in a terminal text editor like this
    sudo nano /etc/default/grub. Then change the line GRUB_DEFAUT to GRUB_DEFAUT=1>2 then you need to run sudo dracut-rebuild to generate the grub file. If your system is using systemd-boot then follow this WiKi page to change your kernel.

  2. Enlarge your swap file @joekamprad gave you the perfect steps here

  3. Check the NVIDIA drm modsettings as @joekamprad says using cat /etc/kernel/cmdline, Look for nvidia_drm.modeset=1.

  4. Change the default display server from wayland to Xorg X11. As described by @joekamprad here.

Once all these are done REBOOT the system and try to see if the same problem pops up.

3 Likes