-
Notifications
You must be signed in to change notification settings - Fork 12
Xanmod-5.15-tt kernel freezes some time after booting. #3
Comments
Hi @skulldealer Does this issue happen with xanmod-5.15 (non TT) too? Could you test please. Could you please attach the Thank you |
Please check the latest logs first, I uploaded the log after hard reboot from freeze.
@hamadmarri Yes I have tested other kernels. I am facing this issue since yesterday, immediately after updating to the 5.15 tt kernel and rebooting. I was using cacule kernel 5.14 before. Everything was fine then. |
Just to make sure, is it freezing with I am checking the syslog.txt |
I can't see any bug report in the syslog but here is some observations: Does the below error shown in previous working kernel?
I noticed that Also if you can try without |
Ok, I will do some more testing. 5.15 is landed for cacule and edge version only. I will also try mainstream kernel. It may take few weeks to land as stable lts build. I will check if it's there in the experimental nightly builds. Give me some time, I will get back with some more details. |
Yes, please try Thank you |
I have not checked the non-TT version of Xanmod, but with the TT-version a little freeze happens (1 or 2 secs) when booting, not present in 5.14.16-xanmod1-cacule; then everything from the login runs fine. I'm using amd-pstate as scaling governor, because I have a Zen2 processor (Ryzen 5 3600 to be specific). I should test without it too. Maybe that can be the problem. Anyway, when playing games, the schedules is as responsive as CacULE as you've said from my perspective. Congratulations! I suggest this problem should also be mentioned to xanmod developers, just in case they want to test too. |
I made an interesting observation today, I left my computer idle for an hour and then ran stress-ng for another 1 hour. I did not touch my computer then. It was running the xanmod tt kernel. After this I closed all the programs and I was scrolling web as usual and typing a lot of stuff, it suddenly freezes. So it's not a performance issue. But probably misinterpretation of some Xorg input service. It might be possible that this problem of freezing doesn't occur in Wayland. I have no means of testing this, but would be great if somebody could do this. If you are experiencing the same problem, please try not using the computer after boot for an hour, turn off auto sleep and auto suspend. They just scroll the web or do something basic. Let me know if the computer freezes. For me I am using auto-cpufreq with schedutil governor. Turbo boost set to auto. I am not sure but it seems installing the suggested packages also with the xanmod kernel is making a difference. For additional performance gains I use here is my /etc/sysctl.conf the modifications in sysctl.conf are inspired by ptr1337 from https://forum.garudalinux.org/t/linux-cacule-feedback-testing/7672 i am gathering more data and observations that might help. let me know if you want me to try something specific. right now i have installed xanmod-edge, will let you know after testing it out. Also somebody please ask xanmod guys to investigate the problem. |
Please, confirm this issue with CFS version, edge branch: 5.15.1-xanmod1 |
Hey. For some work related purpose, I used manjaro gnome live usb with their latest iso for 3 hours at a stretch, no freeze occurred. So this is not my hardware issue. I did not face this problem with the 5.14 cacule kernel. I have been using the cacule kernel for 4 to 5 months. So something either went wrong specifically with the 5.15tt xanmod kernel or 5.15 xanmod kernel itself. So I tested out the edge 5.15 xanmod. I can confirm that this issue is specific to xanmod-5.15tt and the xanmod 5.15 edge edition shows no freezing. So I believe the issue is specific to tt-xanmod kernel only. I didn't observe this problem under load like mprime and stress-ng. I am still testing the edge kernel. I still recommend someone else experiencing the same issue to try using edge kernel |
It's a problem with 5.15.1 version, can't really say if it is specific to cacule/tt version. Need more time to test. These are fairly new kernels. |
Hi @MoisesMH,
It appears to fix the problem for me. I am still testing. Let me know how this works for you. |
Final Update: I have observed random system freezes in both xanmod 5.15 edge and cacule/tt kernels several times now. Should I take my issue to xanmod's GitHub page or continue here? |
Ok fine. Please provide me the instructions. I use elementary os 6. I don't have prior experience of testing kernels. Have you figured out the problem? |
@skulldealer @MoisesMH
|
@xanmod i am using elementary os 6 based on ubuntu 20.04 lts.
|
You don't need the ppa for the provided packages here (#3 (comment)) Download them and cd to the folder containing them and then run
|
i did the same thing above. please see the error i am getting |
Sorry, also install: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15.1/amd64/linux-modules-5.15.1-051501-generic_5.15.1-051501.202111061036_amd64.deb Disregard the headers packages. |
@xanmod which header file should I download. There are two. Should I get both? |
You don't need to install both, they are only needed for dkms proprietary modules, just install image and modules for us to test.
and when rebooting, make sure you are booting the correct kernel. Sorry hamad for using your issues channel for this. |
No need to be sorry, actually I am happy that you are taking care of this issue because I am not sure about the xanmod deb build details. Thank you so much @xanmod |
Done. I am finally running your kernel build. @xanmod What should I do now? Do you need any logs to understand the problem? Or should I let you know if the freezing issue is fixed or not with the generic kernel? Edit: I was using the kernel you provided and it randomly froze up again. How can I help you with the logs? |
Hi @MoisesMH Please let me know if the amd-pstate is reporting correctly since I have stripped out many tasks accounting and stats. Glad to here that TT is working well in your machine. Thank you |
Stopped freezing with the generic? |
Froze 2 times with the new kernel. Here is the log. |
Well, this issue is not directly related to xanmod, I found conflicts with elementaryos dbus:
|
Obviously elementary doesn't support unofficial kernels from the distribution, but you can report this issue to element. dev team |
Thanks a lot. I guess it is a conflict with the mainline generic 5.15 kernel itself and has nothing to do with xanmod. It should probably get fixed. |
@xanmod , https://github.com/xanmod/linux/issues/212 For further discussion on the issue. |
https://github.com/xanmod/linux/issues/212#issuecomment-967129837 Is it solved by disabling ananicy-cpp? |
Hey @hamadmarri & @xanmod , I have upgraded to the newer version of xanmod tt kernel.
Also, Currently I have disabled all my performance tweaks like preload, auto-cpufreq, ananicy, memavalid, prelockd, irqbalance, nohangand moved 99-sysctl-cacule.conf temporarily to my home folder. Everything seems stable now and I am not encountering any freezes. I am trying to figure out which one of my tweaks cause such random freezes when enabled. Will let you know. So far not sure if ananicy is the one causing problems. |
I am asking about ananicy because TT doesn't support some groups features in which ananicy does manipulate tasks grouping. I suggest you debug with disabling ananicy first. |
I disabled ananicy, and some other tweaks. My system still freezes. I am trying my best to look for the cause . But I guess @hamadmarri and @xanmod have to inspect my system logs. Please let me know if you need it. Also could you check my /etc/sysctl.conf ? Things seem to have improved with the new release of xanmod-tt. Freezes are happening less frequently. I have also noticed random restarts happening twice today. |
Hi @skulldealer @MoisesMH Could you please try this fix It fixes the tasks accounting and stats, in case the issue is related to cpu frequ somehow. |
i use intel_cpufreq and schedutil governer. i am not using pstate. |
Hi @skulldealer, The patch at #5 (comment) fixed the frequency scaling issue on my laptop with
If you are using any out-of-tree kernel modules e.g. |
Can I first try powersave and performance governors with acpi-cpufreq driver? Technically this should solve my freezing problem right? |
I think so, or try ondemand too |
Everything is stable with powersave governor and acpi-cpufreq but performance is bad due to cpu running at lower frequency |
Hi @skulldealer , I think you mean powersave is the one has low frequency. Yes this is normal. If performance runs without freezes, then it is highly related to the last patch fix |
I was having freezes in performance, everything is fine with ondemand and powersave. Maybe max clock speeds are unstable. I guess you can merge the patch so that next xanmod release includes it. |
Hi.
I use xanmod cacule tt 5.15 kernel.
I use it for the performance benifits.
Everything was fine with 5.14. but with 5.15 tt kernel, my system freezes after a minute of booting. What information do I need to share?
I can share journalctl log, my sysctl conf, or the list of packages installed.
I don't have nvidia card.
I am running elementary os.
I also use https://github.com/gautamramk/FQ-PIE-for-Linux-Kernel as shown on xanmod homepage.
Also I use schedutil cpu governor and auto-cpufreq
I will share any log you ask for, it will help you.
The text was updated successfully, but these errors were encountered: