You are not logged in.

#1 2013-09-14 18:51:43

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

KDE Freezes Linux

About a month or so ago my PC started to freeze all the time and I would have to do ctrl+alt+print screen +RISUB to reboot. I haven't really had any time to mess with it until recently (just lost my job yesterday) and I figured now would be the time to fix it finally. At first I thought it was the alpha builds of XBMC 13 because it would always freeze when XBMC was open, but then I updated XBMC and with would still freeze, even outside of XBMC. I installed LXDE and left it open for a while and no freezes happened. Even with XBMC open for hours. I also created a new user to see if it was something in my ~/.kde folder that was causing the freezes but they still happened.

Also my monitor settings don't seem to stick and almost every time I login I'm greeted with a blank desktop and a scroll bar on the right side. If I change the desktop layout (folder view to plasma desktop then back to folder view pointing at ~/.Desktop) everything is back like it should be.

Has anyone else been experiencing freezing or odd issues with KDE lately?

Last edited by brando56894 (2013-09-14 18:54:59)

Offline

#2 2013-09-14 18:52:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: KDE Freezes Linux

Was there anything interesting in the logs?

Offline

#3 2013-09-14 20:10:14

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: KDE Freezes Linux

In addition to karol's question:

Did you configure the new user you tried at all or just let it sit with the vanilla configuration?

Have you tried switching to a tty or killing X (with the ctrl + alt + backspace combo enabled in KDE's settings)?

Is your system entirely up to date?

Are you using any non-official repos and/or relevant AUR packages?

Last edited by cfr (2013-09-14 20:10:50)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-09-14 20:26:33

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: KDE Freezes Linux

Do you use the Catalyst driver, if so, which version?

Explanation: Catalyst 13.8 (beta) causes memory leaks with Valve's Source games and XBMC. KDE uses more memory than LXDE, so having XBMC on and having your RAM completely filled up will happen earlier in KDE than in LXDE. Especially with background indexers like strigi.

If you don't use Catalyst 13.8 (or the named 13.7, even if it isn't 13.7), than I don't know what it causes.

Offline

#5 2013-09-15 04:58:51

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: KDE Freezes Linux

I am having freezing problems and I use KDE. I can't say if KDE is responsible. Initially I thought it was mei module problem but it turn out it is not. Recently, my KDE system won't suspend automatically but it suspends fine with systemctl suspend. I think it is a 3.10 kernel problem.

Offline

#6 2013-09-15 05:41:19

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

karol wrote:

Was there anything interesting in the logs?

Haven't seen anything interesting in either the X logs or KDE logs.

cfr wrote:

In addition to karol's question:

Did you configure the new user you tried at all or just let it sit with the vanilla configuration?

Have you tried switching to a tty or killing X (with the ctrl + alt + backspace combo enabled in KDE's settings)?

Is your system entirely up to date?

Are you using any non-official repos and/or relevant AUR packages?

I just used the vanilla config and ran XBMC for a night. KDE freezes the system so badly that switching to a TTY or killing X does nothing, only the SysRq keys (or whatever they're called) work. My system is maybe a week or two out of date, I haven't had much time to attend to it lately, until now. I'm not using any unofficial repos but I am using a few AUR packages that aren't related to KDE though.

ChemBro wrote:

Do you use the Catalyst driver, if so, which version?

Explanation: Catalyst 13.8 (beta) causes memory leaks with Valve's Source games and XBMC. KDE uses more memory than LXDE, so having XBMC on and having your RAM completely filled up will happen earlier in KDE than in LXDE. Especially with background indexers like strigi.

If you don't use Catalyst 13.8 (or the named 13.7, even if it isn't 13.7), than I don't know what it causes.

Nope, I have an Nvidia GeForce 650 Ti using the official nvidia module from the community repo.

Offline

#7 2013-09-15 07:20:23

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: KDE Freezes Linux

If it freezes, i'd check the kernel logs (dmesg) too if you haven't done it yet.
Try to read them via ssh while your machine is freezed if you can.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2013-09-15 14:26:04

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: KDE Freezes Linux

Maybe nepomuk/virtuoso rampages through your system? I had to disable nepomuk, because it slowed my system down.

Offline

#9 2013-09-15 15:12:50

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: KDE Freezes Linux

donniezazen wrote:

I am having freezing problems and I use KDE. I can't say if KDE is responsible. Initially I thought it was mei module problem but it turn out it is not. Recently, my KDE system won't suspend automatically but it suspends fine with systemctl suspend. I think it is a 3.10 kernel problem.

The suspend thing with mei_mei is fixed in 3.11


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#10 2013-09-16 00:56:19

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: KDE Freezes Linux

Does it freeze if you don't use xbmc e.g. if you leave it on overnight without that?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#11 2013-09-16 04:37:47

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

ChemBro wrote:

Maybe nepomuk/virtuoso rampages through your system? I had to disable nepomuk, because it slowed my system down.

I think Nepomuk/Strigi may have been the culprit. Months ago I increased the cache size to like 2 GB since I have 8 GB of RAM and this may have caused it to go haywire. I upgraded yesterday and just rebooted now after disabling Nepomuk and KDE is lightning fast again (was kind of sluggish before which pissed me off because I have a Core i7 950, 8 GB RAM and a Crucial M4 SSD). No freezes so far. I'll post back if I experience any.

Thanks for the help.

Offline

#12 2013-09-16 08:44:09

piotroxp
Member
Registered: 2008-08-04
Posts: 66

Re: KDE Freezes Linux

this may sound noobish, but I've noticed that if you remove your /.kde4 folder after every update, kde works like charm.


I invented EM Field Patterns and fixed Feynmann's Diagrams so they are physical.

Offline

#13 2013-09-16 10:18:45

Odaer
Member
Registered: 2010-08-14
Posts: 87

Re: KDE Freezes Linux

My problem with the nepomuk update I got with the kde the 4.11 update of kde disapered when I updated nepomuk-core to the git version. At least I think everything works now. The mail search is most importan for me, but it looks like the file spindling to the desktop search also works. At least it found my added test files again.

Last edited by Odaer (2013-09-16 10:22:59)

Offline

#14 2013-09-16 11:58:40

abc
Member
Registered: 2013-08-01
Posts: 5

Re: KDE Freezes Linux

I'm experiencing freezes with XFCE... don't know, if that's the right thread for that... but when I disable zramswap the problem has not occured for me anymore until now - but time will show.

Offline

#15 2013-09-16 11:59:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: KDE Freezes Linux

abc wrote:

I'm experiencing freezes with XFCE... don't know, if that's the right thread for that... but when I disable zramswap the problem has not occured for me anymore until now - but time will show.

This has nothing to do with any DE then, it's https://bugs.archlinux.org/task/36574
Try https://bbs.archlinux.org/viewtopic.php?id=169585

Last edited by karol (2013-09-16 12:00:22)

Offline

#16 2013-09-16 22:45:14

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

Linux just crashed earlier when I was watching a movie via XBMC. Streaming it down to my Living Room PC was choppy and needed to buffer over a wired connection. SO I came up to my PC which was really laggy and then began to freeze. I used Alt+SysRq+R to release the keyboard from X and it brought me to a TTY which had kernel messages flowing and it was going so fast I could barely read it. Something was crashing, I could make that out. After rebooting and looking at dmesg I found this, which is similar to what I remember seeing.

Sep 15 23:04:20 ra kernel: CPU: Physical Processor ID: 0
Sep 15 23:04:20 ra kernel: CPU: Processor Core ID: 0
Sep 15 23:04:20 ra kernel: mce: CPU supports 9 MCE banks
Sep 15 23:04:20 ra kernel: CPU0: Thermal monitoring enabled (TM1)
Sep 15 23:04:20 ra kernel: [117B blob data]
Sep 15 23:04:20 ra kernel: Freeing SMP alternatives: 16k freed
Sep 15 23:04:20 ra kernel: ACPI: Core revision 20130328
Sep 15 23:04:20 ra kernel: ACPI: All ACPI Tables successfully acquired
Sep 15 23:04:20 ra kernel: ftrace: allocating 19360 entries in 76 pages
Sep 15 23:04:20 ra kernel: dmar: Host address width 39
Sep 15 23:04:20 ra kernel: dmar: DRHD base: 0x000000fbfff000 flags: 0x0
Sep 15 23:04:20 ra kernel: dmar: IOMMU 0: reg_base_addr fbfff000 ver 1:0 cap c9008010e60262 ecap f020f2
Sep 15 23:04:20 ra kernel: dmar: DRHD base: 0x000000fbffe000 flags: 0x1
Sep 15 23:04:20 ra kernel: dmar: IOMMU 1: reg_base_addr fbffe000 ver 1:0 cap c9078010ef0462 ecap f020f6
Sep 15 23:04:20 ra kernel: dmar: RMRR base: 0x000000000ec000 end: 0x000000000effff
Sep 15 23:04:20 ra kernel: dmar: RMRR base: 0x000000bf7ec000 end: 0x000000bf7fffff
Sep 15 23:04:20 ra kernel: dmar: ATSR flags: 0x0
Sep 15 23:04:20 ra kernel: ------------[ cut here ]------------
Sep 15 23:04:20 ra kernel: WARNING: at drivers/iommu/intel_irq_remapping.c:533 intel_irq_remapping_supported+0x35/0x78()
Sep 15 23:04:20 ra kernel: [232B blob data]
Sep 15 23:04:20 ra kernel: Modules linked in:
Sep 15 23:04:20 ra kernel: CPU: 0 PID: 1 Comm: BFS/0 Not tainted 3.10.11-1-ck #1
Sep 15 23:04:20 ra kernel: Hardware name: MSI MS-7666/Big Bang-XPower (MS-7666), BIOS V1.5 02/14/2011
Sep 15 23:04:20 ra kernel:  000000000000000b ffff880234499dc8 ffffffff814a15ba ffff880234499e00
Sep 15 23:04:20 ra kernel:  ffffffff810542f1 0000000000000000 0000000000000246 00000000ffffffff
Sep 15 23:04:20 ra kernel:  000000000000b010 0000000000000000 ffff880234499e60 ffffffff810543a4
Sep 15 23:04:20 ra kernel: Call Trace:
Sep 15 23:04:20 ra kernel:  [<ffffffff814a15ba>] dump_stack+0x19/0x1b
Sep 15 23:04:20 ra kernel:  [<ffffffff810542f1>] warn_slowpath_common+0x61/0x80
Sep 15 23:04:20 ra kernel:  [<ffffffff810543a4>] warn_slowpath_fmt_taint+0x44/0x50
Sep 15 23:04:20 ra kernel:  [<ffffffff81038e60>] ? ioapic_read_entry+0x40/0x50
Sep 15 23:04:20 ra kernel:  [<ffffffff8190b5ea>] intel_irq_remapping_supported+0x35/0x78
Sep 15 23:04:20 ra kernel:  [<ffffffff8138f7eb>] irq_remapping_supported+0x2b/0x30
Sep 15 23:04:20 ra kernel:  [<ffffffff818da0d9>] enable_IR+0xa/0x60
Sep 15 23:04:20 ra kernel:  [<ffffffff818da366>] enable_IR_x2apic+0x8d/0x13f
Sep 15 23:04:20 ra kernel:  [<ffffffff818dc13f>] default_setup_apic_routing+0x11/0x69
Sep 15 23:04:20 ra kernel:  [<ffffffff818d81b7>] native_smp_prepare_cpus+0x2c9/0x42a
Sep 15 23:04:20 ra kernel:  [<ffffffff818c7f8e>] kernel_init_freeable+0x9d/0x1db
Sep 15 23:04:20 ra kernel:  [<ffffffff814891e0>] ? rest_init+0x90/0x90
Sep 15 23:04:20 ra kernel:  [<ffffffff814891e0>] ? rest_init+0x90/0x90
Sep 15 23:04:20 ra kernel:  [<ffffffff814891ee>] kernel_init+0xe/0x190
Sep 15 23:04:20 ra kernel:  [<ffffffff814aeeec>] ret_from_fork+0x7c/0xb0
Sep 15 23:04:20 ra kernel:  [<ffffffff814891e0>] ? rest_init+0x90/0x90
Sep 15 23:04:20 ra kernel: ---[ end trace afb1453f78311e1f ]---

I also had zramswap installed and enabled for some reason, which is useless to me since I have 8 GB RAM, so I disabled, stopped and removed it. Let's see if that fixes it.

piotroxp wrote:

this may sound noobish, but I've noticed that if you remove your /.kde4 folder after every update, kde works like charm.

This happened with a new user also (empty .kde4 folder), so that didn't fix anything.

Edit: Just found out what kept scrolling across the screen during/after the crash

Sep 16 15:40:06 ra kernel: ata7.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0x6 frozen
Sep 16 15:40:07 ra kernel: ata7.00: failed command: READ FPDMA QUEUED
Sep 16 15:40:07 ra kernel: [135B blob data]
Sep 16 15:40:07 ra kernel: ata7.00: status: { DRDY }
Sep 16 15:40:07 ra kernel: ata7: hard resetting link
Sep 16 15:40:08 ra kernel: ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Sep 16 15:40:08 ra kernel: ata7.00: configured for UDMA/100
Sep 16 15:40:08 ra kernel: ata7.00: device reported invalid CHS sector 0
Sep 16 15:40:08 ra kernel: ata7: EH complete
Sep 16 15:42:18 ra kernel: BUG: scheduling while atomic: xbmc.bin/24933/0x00000003
Sep 16 15:42:18 ra kernel: Modules linked in: rfcomm bluetooth rfkill vboxnetflt(O) vboxnetadp(O) vboxdrv(O) jfs iptable_filter ip_tables x_tables 
Sep 16 15:42:18 ra kernel: CPU: 3 PID: 24933 Comm: xbmc.bin Tainted: P        WCIO 3.10.11-1-ck #1
Sep 16 15:42:18 ra kernel: Hardware name: MSI MS-7666/Big Bang-XPower (MS-7666), BIOS V1.5 02/14/2011
Sep 16 15:42:18 ra kernel:  0000000000000003 ffff880095b0bb00 ffffffff814a15ba ffff880095b0bb10
Sep 16 15:42:18 ra kernel:  ffffffff8149ef7c ffff880095b0bc28 ffffffff814a6045 ffff8801e7fbec00
Sep 16 15:42:18 ra kernel:  ffff880095b0bfd8 ffff880095b0bfd8 ffff880095b0bfd8 ffff880095b0bfd8
Sep 16 15:42:18 ra kernel: Call Trace:
Sep 16 15:42:18 ra kernel:  [<ffffffff814a15ba>] dump_stack+0x19/0x1b
Sep 16 15:42:18 ra kernel:  [<ffffffff8149ef7c>] __schedule_bug+0x4d/0x5b
Sep 16 15:42:18 ra kernel:  [<ffffffff814a6045>] schedule+0xe95/0x1020
Sep 16 15:42:18 ra kernel:  [<ffffffff81144ac4>] ? end_swap_bio_read+0x34/0x70
Sep 16 15:42:18 ra kernel:  [<ffffffff8119f6bd>] ? bio_endio+0x1d/0x30
Sep 16 15:42:18 ra kernel:  [<ffffffffa1877ac5>] ? zram_make_request+0x1d5/0x270 [zram]
Sep 16 15:42:18 ra kernel:  [<ffffffff814a6f05>] rwsem_down_write_failed+0xf5/0x1c3
Sep 16 15:42:18 ra kernel:  [<ffffffff81381192>] ? fix_fullness_group+0x32/0x190
Sep 16 15:42:18 ra kernel:  [<ffffffff813818fd>] ? zs_free+0x12d/0x1b0
Sep 16 15:42:18 ra kernel:  [<ffffffff8125f683>] call_rwsem_down_write_failed+0x13/0x20
Sep 16 15:42:18 ra kernel:  [<ffffffff814a4ad4>] ? down_write+0x24/0x26
Sep 16 15:42:18 ra kernel:  [<ffffffffa187711b>] zram_slot_free_notify+0x2b/0x70 [zram]
Sep 16 15:42:18 ra kernel:  [<ffffffff811463e5>] swap_entry_free+0x105/0x180
Sep 16 15:42:18 ra kernel:  [<ffffffff8114660c>] swap_free+0x2c/0x40
Sep 16 15:42:18 ra kernel:  [<ffffffff811332ff>] handle_pte_fault+0x59f/0xa70
Sep 16 15:42:18 ra kernel:  [<ffffffff81134ed1>] handle_mm_fault+0x251/0x350
Sep 16 15:42:18 ra kernel:  [<ffffffff814aacf0>] __do_page_fault+0x1d0/0x5c0
Sep 16 15:42:18 ra kernel:  [<ffffffff8113ac65>] ? do_mmap_pgoff+0x305/0x3c0
Sep 16 15:42:18 ra kernel:  [<ffffffff81126a79>] ? vm_mmap_pgoff+0x99/0xc0
Sep 16 15:42:18 ra kernel:  [<ffffffff814ab0ee>] do_page_fault+0xe/0x10
Sep 16 15:42:18 ra kernel:  [<ffffffff814a7d88>] page_fault+0x28/0x30

Last edited by brando56894 (2013-09-16 23:35:05)

Offline

#17 2013-09-17 16:15:14

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: KDE Freezes Linux

i'd investigate this instead:

WARNING: at drivers/iommu/intel_irq_remapping.c:533 intel_irq_remapping_supported+0x35/0x78()

...and this:

Sep 16 15:40:06 ra kernel: ata7.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0x6 frozen
Sep 16 15:40:07 ra kernel: ata7.00: failed command: READ FPDMA QUEUED
Sep 16 15:40:07 ra kernel: [135B blob data]
Sep 16 15:40:07 ra kernel: ata7.00: status: { DRDY }
Sep 16 15:40:07 ra kernel: ata7: hard resetting link

Seems your disk and/or controller encountered an error. why just in kde? you may ask... maybe is nepomuk stressing the disk and showing an underlying bug due to (or leading to) irq problem or disk/controller malfunction.

Last edited by kokoko3k (2013-09-17 16:16:56)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#18 2013-09-17 16:24:51

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: KDE Freezes Linux

kokoko3k wrote:

i'd investigate this instead:

WARNING: at drivers/iommu/intel_irq_remapping.c:533 intel_irq_remapping_supported+0x35/0x78()

...and this:

Sep 16 15:40:06 ra kernel: ata7.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0x6 frozen
Sep 16 15:40:07 ra kernel: ata7.00: failed command: READ FPDMA QUEUED
Sep 16 15:40:07 ra kernel: [135B blob data]
Sep 16 15:40:07 ra kernel: ata7.00: status: { DRDY }
Sep 16 15:40:07 ra kernel: ata7: hard resetting link

Seems your disk and/or controller encountered an error. why just in kde? you may ask... maybe is nepomuk stressing the disk and showing an underlying bug due to (or leading to) irq problem or disk/controller malfunction.

-EDIT
Check here, seems a bug in the kernel: (?)
https://bugzilla.redhat.com/show_bug.cgi?id=982153

Anyway, the things may not be related each other.
Read: Your bios may give you irq problem AND your (s)Ata controller and/or disk may have problems.

Last edited by kokoko3k (2013-09-17 16:27:08)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#19 2013-09-17 19:13:09

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

Thanks for the info. I'll try a BIOS update and I have to update the firmware on my Crucial M4 also. My system just froze again but I was able to SSH in and there were a bunch of messages in DMESG about "hid-generic Can't reset device input0 (and input1), status -71" which is interspersed with the names of my logitech performance mx mouse and g110 keyboard.

Offline

#20 2013-09-25 02:23:20

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: KDE Freezes Linux

Thaodan wrote:

The suspend thing with mei_mei is fixed in 3.11

I just did a new installation of Arch which is running 3.11 but automatic suspend is not working in KDE 4.11.

Offline

#21 2013-11-27 17:07:42

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: KDE Freezes Linux

My KDE have begun to freeze after I followed the wiki suggestion of creating a ~/.compose-cache/ folder. Maybe you did that too. I can't confirm if this is the cause, it is only a suspicion.

PS.: I deleted ~/.kde4 (creating a backup, actually) and this cache folder too then my KDE stopped freezing.

Last edited by thiagowfx (2013-11-27 17:09:05)

Offline

#22 2013-11-27 17:57:36

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

Cool thanks for the info, I did create the .compose-cache folder which was suggested in the wiki and I just SSH'd into my box to delete it, but won't be able to test it out until later tonight. I was actually on the verge of reinstallting Arch because stuff would freeze and/or lag a lot for no reason at all. I'm currently in the process of making my own Arch respin but looks like I may not need to reinstall Arch after all!

Offline

#23 2013-11-28 03:01:08

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: KDE Freezes Linux

I don't remember creating that directory, but I do have it. Yet KDE has not (yet?) been freezing for me...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#24 2013-11-28 04:14:56

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: KDE Freezes Linux

I removed the directory and moved my .kde4 directory and it seemed to still lag at first so I just kept reapplying my customizations, thinking to myself "I guess I will have to reinstall" and then almost magically it got faster. The K menu used to lag about a second after I clicked it and when it "magically got faster" it was back to being instant. I don't know what I did to "fix" it but it's odd that the issue wasn't resolved immediately after rebooting/logging back in.

Offline

Board footer

Powered by FluxBB