I am using KDE Plasma DE but since starting using EndeavourOS it froze several times already. Usually before it happens some desktop elements turn black (ex. panel or one of display’s wallpaper). Trying to restart plasma with kquitapp5 plasmashell && kstart5 plasmashell
does not unfreeze it.
During the freeze audio continues playing, cursor moves and sometimes I still can interact with stuff like stopping a player with mouse. I can switch to TTY2 (which is where I attempt to restart KDE) but nothing I can do helps. I have about 64GB RAM and about 120GB swap partition so memory shouldn’t be a problem.
I have made logs via EOS tool and uploaded them here as it is not possible to attach .txt file: https://paste.linux.chat/?2d78f8b69a28d149#2JUGZiWR3QQprWSY6AUHJccwf1Jxsk9JjuBUci1eoTrs
I see you are using UEFI Bios version 1.72 Beta. There is a newer version 1.74 Beta … just F.Y.I. I see you have a lot of partitions and or drives. Nvidia drivers are installed but you are running an AMD integrated graphics.
Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: ASUSTeK driver: nvidia v: 530.41.03
arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-1, DP-2, HDMI-A-1,
HDMI-A-2, Unknown-1 bus-ID: 01:00.0 chip-ID: 10de:1e84
Device-2: AMD Raphael vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-2 pcie:
speed: 16 GT/s lanes: 16 ports: active: DP-3,HDMI-A-3 empty: DP-4,DP-5 bus-ID: 14:00.0
chip-ID: 1002:164e temp: 47.0 C
Rendering on AMD.
API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon Graphics (raphael_mendocino LLVM 15.0.7
DRM 3.52 6.3.7-arch1-1) direct-render: Yes
You could try using optimus-manager or envy-control to switch to Nvidia graphics since this is a desktop.
Edit:
https://discovery.endeavouros.com/?s=optimus-manager
https://discovery.endeavouros.com/?s=envycontrol
Edit: Not sure what you have installed or changes made to KDE? You have very powerful hardware. I don’t have any issues on Kde and you shouldn’t either unless you have made some significant changes and or installed some package that is causing your issues. It could be global themes or something other.
Edit: have you disabled baloo?
I am specifically running the stuff on iGPU with nvidia in on-demand PRIME offloading mode so I have nvidia available for the other stuff, I don’t think it should be a problem.
Unless envycontrol can allow to unbind nvidia I don’t see benefit in doing that.
Regarding BIOS, I have updated to beta only because of amd powercap issue and newer BIOS is still in beta and according to forum posts got some new problems so I am just waiting for the proper stable version.
When DE freezes I also don’t see anything via sudo dmesg
. Maybe I should check something else or is there a way to restart DE other than the one I mentioned?
It would be weird if indexing was the issue but I have disabled baloo now.
I guess from my point of view i look at it this way. I run on amdgpu but it is a dedicated card which is an AMD RX 590. You are running a desktop and it has integrated AMD graphics and you also have an Nvidia card which would probably be beneficial in games and or some multimedia aspects but i don’t know if it would be significantly better. Because it’s a desktop i just don’t see the point in not running on a the dedicated card. I also wanted to know if you did does the same freezing happen?
Is your system right up to date? Do you have all the optional packages and settings for amd.
https://wiki.archlinux.org/title/AMDGPU#Installation
Edit: As i said prior i don’t know what changes you have made to Kde and or packages that you have installed other than what is included with the online installation. 
The system is up to date aside from firefox, it has some issues with compilation. I think the log lists all the packages I have and I have not made any manual changes.
I am not running on dedicated card as sometimes even a few hundred mb vram matters and I cannot cleanly unload xorg should I use it for DE. I have no idea how to replicate the freeze aside from just having pc on for several weeks and I would like to not do that switching the current setup. Games and software already use dgpu, it is only DE that runs on igpu. Running DE on igpu shouldn’t be a problem as I’ve already had it back on ubuntu and overall it seems to be used somewhat frequently.
As I have access to tty just fine, any idea what logs I can check during the freeze or maybe what else I can try to unfreeze it?
I would check journalctl
You can save it to file and post it or use it this way
journalctl | eos-sendlog
Then post the url
also
journalctl -p err -b
and
journalctl -p 3 -x
Edit: Your motherboard is a newer chipset X670
You could also try processor.max_cstate=1
in the default grub command line and then run the update grub command.
@Tiravian
I’m starting to think maybe it will also be fixed with a UEFI Bios update as you are only on AGESA ComboPI 1.0.0.6 from what i can see. The next beta update brings you to 1.0.0.7a
Weird, I have c-states disabled in bios yet cat /sys/module/intel_idle/parameters/max_cstate
doesn’t report 0. Wonder if it is just left unused or ignores bios. Will try kernel param later on.
I am still waiting for stable bios as betas have issues, hopefully it will come sooner than later and in the meanwhile I will be checking out journalctl and c-states.