[Bug 1833880] Re: KDE freezes randomly

Avamander avamander at gmail.com
Mon Jul 8 22:13:54 UTC 2019


This has happened like 40 times thus far. It's incredibly disruptive,
just tell me please what more info can I provide to get this fixed?


In the most recent case KDE froze, I restarted it and then kwin just eats 92% of my CPU. When I did strace of Xorg (I have the file but it's **big**) I first saw:
```
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot allocate memory)
```

and

```
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(7, [{iov_base="#\224\330\4\0\0\0\0\2\0\0\0-\0 \0\26\0 \0C\1\0\0.\0 \0/\0 \0", iov_len=32}], 1) = 32
writev(7, [{iov_base="#\224\330\4\2\0\0\0\1\0\0\0-\0 \0\26\0 \0C\1\0\0\16\177\262\217\23\0\0\0"..., iov_len=40}], 1) $
epoll_wait(3, [{EPOLLIN, {u32=3285958304, u64=94037299936928}}, {EPOLLIN, {u32=3287010464, u64=94037300989088}}], 256$
recvmsg(45, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\224\1\22\0\26\0\300\1\35\0\300\1\2\0\0\0\0\0\0\0\0\0\$
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_MODE_ADDFB, 0x7fffd7980d20) = 0
ioctl(14, DRM_IOCTL_MODE_PAGE_FLIP, 0x7fffd7980e00) = -1 ENOMEM (Cannot allocate memory)
poll([{fd=14, events=POLLIN}], 1, 0)    = 0 (Timeout)
write(4, "[ 84302.173] ", 13)           = 13
write(4, "(WW) modeset(0): flip queue fail"..., 59) = 59
ioctl(14, DRM_IOCTL_MODE_RMFB, 0x7fffd7980e1c) = 0
write(4, "[ 84302.174] ", 13)           = 13
write(4, "(WW) modeset(0): Page flip faile"..., 58) = 58
write(4, "[ 84302.174] ", 13)           = 13
write(4, "(EE) modeset(0): present flip fa"..., 37) = 37
```

I rose limits with ulimit just to see what happens (because I had ~4GB
actually free RAM), all the "(Cannot allocate memory)" errors
disappeared, however then it started spamming (and I stopped stracing
it):

```
ioctl(18, DRM_IOCTL_RADEON_GEM_BUSY, 0x7fffd7980470) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_BUSY, 0x7fffd7980470) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_BUSY, 0x7fffd7980470) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_BUSY, 0x7fffd7980470) = 0
```

It took like ten minutes of just using the PC and then suddenly it
seemed to stop hogging CPU.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kinit in Ubuntu.
https://bugs.launchpad.net/bugs/1833880

Title:
  KDE freezes randomly

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1833880/+subscriptions




More information about the kubuntu-bugs mailing list