Random System freezes in fresh installations

I have freshly installed manjaro in my system . i am new to linux . I get random system freezes which require a full hard reset .I have tried reinstalling the os 2 times but the problem remains .
the cpu usage and ram usage is quite low and swap is empty . i tried several solutions but to no avail .

Can you give some hardware and system info ?
inxi -Fza or similar.

2 Likes

System: Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=c96a8dbf-1cbd-4b96-80ad-a7026a6ed5ed rw quiet apparmor=1
security=apparmor resume=UUID=3124ade0-b304-4251-90ec-71f3606829a4 udev.log_priority=3
Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Machine: Type: Laptop System: Acer product: Aspire ES1-531 v: V1.18 serial:
Mobo: Acer model: Aspire ES1-531 v: V1.18 serial: UEFI [Legacy]: Insyde v: 1.18 date: 06/14/2016
Battery: ID-1: BAT0 charge: 20.2 Wh condition: 21.5/36.7 Wh (59%) volts: 12.1/11.4 model: PANASONIC AC14B13J type: Li-ion
serial: status: Discharging
CPU: Topology: Quad Core model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont family: 6 model-id: 4C (76)
stepping: 4 microcode: 411 L2 cache: 1024 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 12805
Speed: 484 MHz min/max: 480/2560 MHz Core speeds (MHz): 1: 827 2: 957 3: 480 4: 480
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass status: Not affected
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics
vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:22b1
Device-2: Realtek Acer 640 × 480 laptop camera type: USB driver: uvcvideo bus ID: 1-3:2 chip ID: 0bda:57b3
serial:
Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: intel unloaded: modesetting alternate: fbdev,vesa
display ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") s-diag: 414mm (16.3")
Monitor-1: eDP1 res: 1366x768 hz: 60 dpi: 102 size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
OpenGL: renderer: Mesa DRI Intel HD Graphics 405 (BSW) v: 4.6 Mesa 20.1.8 compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio
vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:2284
Sound Server: ALSA v: k5.8.11-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169
v: kernel port: 1000 bus ID: 01:00.0 chip ID: 10ec:8168
IF: enp1s0 state: down mac:
Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Lite-On driver: ath9k v: kernel
port: 1000 bus ID: 02:00.0 chip ID: 168c:0036
IF: wlp2s0 state: up mac:
Device-3: Lite-On Atheros AR3012 Bluetooth type: USB driver: btusb bus ID: 1-5.1:7 chip ID: 04ca:300b
Drives: Local Storage: total: 465.76 GiB used: 14.30 GiB (3.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda vendor: Toshiba model: MQ01ABF050 size: 465.76 GiB block size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s rotation: 5400 rpm serial: rev: 1J scheme: MBR
Partition: ID-1: / raw size: 414.98 GiB size: 407.46 GiB (98.19%) used: 14.30 GiB (3.5%) fs: ext4 dev: /dev/sda1
Swap: Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 2.00 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
Sensors: System Temperatures: cpu: 56.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 173 Uptime: 7m Memory: 3.68 GiB used: 994.7 MiB (26.4%) Init: systemd v: 246 Compilers: gcc: N/A
Packages: 1211 pacman: 1199 lib: 344 flatpak: 6 snap: 6 Shell: Bash v: 5.0.18 running in: yakuake inxi: 3.1.05

I dont think it can be hardware related as it functions quite smoothly for quite a long time and i have also tried changing my kernel but it made it only worse.

On my system by default was installed close drivers (video-linux) and i have sudden restarts , and when i close my pc one fan still works.
Now i had disabled and 5 days without restarts.
I hope this solve your issue.

1 Like

Thanks for the suggestion. I will try and see if the problem is solved .
Have a good day.

My Logs before a system freeze :-1:

Oct 19 12:16:00 Legend org_kde_powerdevil[1225]: powerdevil: Releasing inhibition with cookie 99
Oct 19 12:16:00 Legend org_kde_powerdevil[1225]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Oct 19 12:16:01 Legend org_kde_powerdevil[1225]: powerdevil: Enforcing inhibition from “:1.16” “firefox” with cookie 99 and reason “audio-playing”
Oct 19 12:16:01 Legend org_kde_powerdevil[1225]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Oct 19 12:16:23 Legend kwin_x11[1096]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11953, resource id: 4194307, major code: 15 (QueryTree), minor >
Oct 19 12:16:23 Legend kwin_x11[1096]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11958, resource id: 4194307, major code: 18 (ChangeProperty), m>
Oct 19 12:16:23 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:285:5: QML Connections: Implicitly define>
Oct 19 12:16:25 Legend kwin_x11[1096]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12333, resource id: 10486662, major code: 18 (ChangeProperty), >
Oct 19 12:16:27 Legend systemd[932]: app-firefox-636a7b0d74624d2395fd742d6a9317af.scope: Succeeded.
Oct 19 12:16:27 Legend kdeconnectd[1173]: QMetaObject::invokeMethod: No such method KIO::StoredTransferJob::slotDataReqFromDevice()
Oct 19 12:16:27 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo >
Oct 19 12:16:27 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo >
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo pr>
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:60:9: QML QQuickTextEdit: Bi>
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo >
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:28 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:117:15: QML QQuickItem: Binding loop detected for property “height”
Oct 19 12:16:31 Legend kwin_x11[1096]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14087, resource id: 14831627, major code: 3 (GetWindowAttributes), minor code: 0
Oct 19 12:16:31 Legend kwin_x11[1096]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 14088, resource id: 14831627, major code: 14 (GetGeometry), minor code: 0
Oct 19 12:16:31 Legend plasmashell[1147]: qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:511:39: QML StreamListItem: Binding loop detected for property “width”
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:60:9: QML QQuickTextEdit: Binding loop detected for property “width”
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:31 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { …>
Oct 19 12:16:32 Legend plasmashell[1147]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function o>
Oct 19 12:16:32 Legend plasmashell[1147]: qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:482:39: QML StreamListItem: Binding loop detected for property “width”
Oct 19 12:16:32 Legend plasmashell[1147]: qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:482:39: QML StreamListItem: Binding loop detected for property “width”
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 3538-3577/3577 (END)

Next time freezes run the follow command

sudo dmesg -l emerg ,alert, crit, err, warn
and post the terminal output

1 Like

upgrading to kernel 5.9 seems to have fixed the problem . no freezes for 2 days . But i will see it for a few days and if it doesn’t happen again ,I will mark this as solved .

I faced two severe freezes … once i only increased the brightness and the other time i was playing csgo . I have tried putting the system on performance mode … updated the system , updated the kernel … I tried the dmesg but i doesnt show anything . What can i do ?

I think i have found the problem , I believe it is due to " the c-state bug" of my processor .
I found the freeze was not limited to the graphical interface but also affects the OS and hardware . The workaround proposed was adding “intel_idle.max_cstate=1” to the boot parameters . Will this effect my system negatively in anyway ? or is there a better solution to this . I cant say for sure , that’s why i will be running this machine 24 hrs to see if it freezes again.
for now the uptime is longer .

1 Like

no, because what you`re doing there is setting idle core to max speed at all time, you will lose some battery of course but will earn speed

So you mean it can fix my issues for trading my battery consumption .
If it is so I am more than happy . Because i will have a workable system .

Using this parameter will not only have your battery life reduced, but will also have your CPU hotter all the time, because it will not be able to idle anymore (and reduce its clock and power consumption).
There is maybe another parameter that could help your, I wouldn’t run this parameter for the sake of hardware lifespan.

//EDIT: did you try running an OLDER kernel instead of latest? In theory the bug you’re referring to should be fixed (https://bugzilla.kernel.org/show_bug.cgi?id=193011 or https://bugzilla.kernel.org/show_bug.cgi?id=109051 have reference to your CPU in the comments) long time ago, maybe it is present in latest kernel but not the kernel current to when this bug was fixed (4.19 or 5.4 I think)?

Also maybe a less aggressive cstate kernel parameter could be used to have some kind of possible idling?

Maybe the BIOS have some settings that can mitigate the issue?

Thanks for your reply and yes i tried the older kernels and they are far worse where 10 mins without a freeze would be wonders . I heard also “intel_idle.max_cstate=2” does the job too . But i havent tested it yet . currently i am using cstate=1 and have not experienced a single freeze also the os is working a little faster . I will check the given links by you . So should using cstate=2 be better than =1 ??

Note I am using max cstate=2 i will see and furthur report .

Yep you need to test for yourself, there is no answer possible but testing the parameter. Same for the BIOS only someone with the same BIOS could tell you what to look at or modify if possible. The links I gave are just bug reports/fix at kernel.org.

1 Like

Thanks for your help man . Ye i am using cstate=2 and the problem seems just gone .
The bios setting is quite limited and nothing much related to the cpu only the basic settings since it’s a 4-5 year old budget laptop . I will continue testing and mark it as solved if it doesn’t happen again . The unit is currently up for more than 5 hrs in cstate=2 . Also i saw many forums but most of them are pointing this parameter as the only workaround . Cheers !!

i am using cstate=2 as my parameter. And my problem is solved . I cannot anything else as a workaround .

This is still very limiting, probably almost similar to cstate 1 I think. Whatever works for you but as said, without going to some sort of idling it will run hotter, reduce hardware lifespan (especially battery).