[Bug 111091] New: Xorg causes KDE to freeze
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 8 23:20:04 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111091
Bug ID: 111091
Summary: Xorg causes KDE to freeze
Product: xorg
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Driver/Radeon
Assignee: xorg-driver-ati at lists.x.org
Reporter: avamander at gmail.com
QA Contact: xorg-team at lists.x.org
What happens:
* At some point KDE just freezes and Xorg starts spamming the logs with:
```
[596294.070] (WW) modeset(0): flip queue failed: Cannot allocate memory
[596294.070] (WW) modeset(0): Page flip failed: Cannot allocate memory
[596294.070] (EE) modeset(0): present flip failed
```
I also captured a bit of strace output (I have about 450MB of strace output, if
required I can provide a lot more), here's a snippet:
```
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]}) = 0
futex(0x5586c3807094, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
epoll_wait(3, [{EPOLLIN, {u32=3287010464, u64=94037300989088}}], 256, 0) = 1
recvmsg(45, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="+\26\1\0",
iov_len=16384}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 4
writev(45,
[{iov_base="\1\1s\3\0\0\0\0\6\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=32}], 1) = 32
recvmsg(45, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily
unavailable)
epoll_wait(3, [], 256, 0) = 0
recvmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\224\1\22\0\26\0
\0.\0 \0A\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16384}],
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 288
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807090, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(7, [{iov_base="#\224\324\4\0\0\0\0\2\0\0\0-\0 \0\26\0 \0A\1\0\0.\0 \0/\0
\0", iov_len=32}], 1) = 32
writev(7, [{iov_base="#\224\324\4\2\0\0\0\1\0\0\0-\0 \0\26\0
\0A\1\0\0\16\177\262\217\23\0\0\0"..., iov_len=40}], 1) = 40
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807094, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(7, [{iov_base="#\224\325\4\0\0\0\0\2\0\0\0-\0 \0\26\0 \0B\1\0\0000\0
\0001\0 \0", iov_len=32}], 1) = 32
writev(7, [{iov_base="#\224\325\4\2\0\0\0\1\0\0\0-\0 \0\26\0
\0B\1\0\0\16\177\262\217\23\0\0\0"..., iov_len=40}], 1) = 40
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807090, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(7, [{iov_base="#\224\326\4\0\0\0\0\2\0\0\0\"\0 \0\22\0 \0C\1\0\0#\0
\0$\0 \0", iov_len=32}], 1) = 32
writev(7, [{iov_base="#\224\326\4\2\0\0\0\1\0\0\0\"\0 \0\22\0
\0C\1\0\0\264\20\262\217\23\0\0\0"..., iov_len=40}], 1) = 40
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807094, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(7, [{iov_base="#\224\327\4\0\0\0\0\2\0\0\0\"\0 \0\22\0 \0D\1\0\0%\0
\0&\0 \0", iov_len=32}], 1) = 32
writev(7, [{iov_base="#\224\327\4\2\0\0\0\1\0\0\0\"\0 \0\22\0
\0D\1\0\0\264\20\262\217\23\0\0\0"..., iov_len=40}], 1) = 40
recvmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\224\1\22\0\26\0
\0.\0 \0C\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16384}],
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 288
ioctl(14, DRM_IOCTL_CRTC_GET_SEQUENCE, 0x7fffd7980ee0) = 0
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980ea0) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807090, FUTEX_WAKE_PRIVATE, 1) = 1
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]}) = 1
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) = 40
epoll_wait(3, [{EPOLLIN, {u32=3285958304, u64=94037299936928}}, {EPOLLIN,
{u32=3287010464, u64=94037300989088}}], 256, 0) = 2
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\0\0\0\0\0\0\0\0\0\0"...,
iov_len=16384}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 100
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
ioctl(14, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, 0x7fffd7980e30) = -1 ENOMEM (Cannot
allocate memory)
ioctl(18, DRM_IOCTL_RADEON_GEM_CREATE, 0x7fffd7980d20) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980d00) = 0
ioctl(18, DRM_IOCTL_RADEON_GEM_VA, 0x7fffd7980da0) = 0
ioctl(18, DRM_IOCTL_GEM_CLOSE, 0x7fffd7980d98) = 0
futex(0x5586c3807094, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5586c3807040, FUTEX_WAKE_PRIVATE, 1) = 1
writev(45,
[{iov_base="#\224t\3\0\0\0\0\2\0\0\0\30\0\300\1\26\0\300\1\2\0\0\0\35\0\300\1\36\0\300\1",
iov_len=32}], 1) = 32
writev(45,
[{iov_base="#\224t\3\2\0\0\0\1\0\0\0\30\0\300\1\26\0\300\1\2\0\0\0\264\20\262\217\23\0\0\0"...,
iov_len=40}], 1) = 40
writev(53,
[{iov_base="\34\0\231\1*\5\0\0E\1\0\0^Y\6\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=32}], 1) = 32
```
I have opened bugs also on KDE's bug tracker and Ubuntu's to get this resolved:
* https://bugs.kde.org/show_bug.cgi?id=409514
* https://bugs.launchpad.net/xf86-video-amd/+bug/1833880
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20190708/821c88ce/attachment.html>
More information about the xorg-driver-ati
mailing list