From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106297] gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds Date: Sat, 28 Apr 2018 15:47:18 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0964205976==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D8996E12E for ; Sat, 28 Apr 2018 15:47:19 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0964205976== Content-Type: multipart/alternative; boundary="15249304390.dcCdA83.22658" Content-Transfer-Encoding: 7bit --15249304390.dcCdA83.22658 Date: Sat, 28 Apr 2018 15:47:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106297 Bug ID: 106297 Summary: gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: mikhail.v.gavrilov@gmail.com Created attachment 139198 --> https://bugs.freedesktop.org/attachment.cgi?id=3D139198&action=3Dedit gnome-shell strace gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds =3D=3D=3D snip from strace =3D=3D=3D mmap(NULL, 434176, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x205097000) =3D 0x7fca34100000 <0.000023> ioctl(13, DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM, 0x7ffcd4c04150) =3D 0 <11.567183> ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04160) =3D= 0 <0.000085> ioctl(13, DRM_IOCTL_AMDGPU_GEM_MMAP, 0x7ffcd4c04610) =3D 0 <0.000026> mmap(NULL, 13885440, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x128ecc000) =3D 0x7fc9f1abe000 <0.000036> write(4, "\1\0\0\0\0\0\0\0", 8) =3D 8 <0.000030> recvmsg(60, {msg_name=3DNULL, msg_namelen=3D0, msg_iov=3D[{iov_base=3D"\33\0\0\0\1\0\24\0 \0\0\0\0\0\0\0\0\0\0\0\33\0\0\0\10\0\f\0\2\0\0\0"..., iov_len=3D1884}, {iov_base=3D"", iov_len=3D2212}], msg_iovlen=3D2, msg_controllen=3D0, msg_flags=3DMSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) =3D 332 <0.00= 0048> ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04170) =3D= 0 <0.000149> --=20 You are receiving this mail because: You are the assignee for the bug.= --15249304390.dcCdA83.22658 Date: Sat, 28 Apr 2018 15:47:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 106297
Summary gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREA= TE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter mikhail.v.gavrilov@gmail.com

Created attachment 139198=
 [details]
gnome-shell strace

gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or
DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds


=3D=3D=3D snip from strace =3D=3D=3D
mmap(NULL, 434176, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x205097000) =3D
0x7fca34100000 <0.000023>
ioctl(13, DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM,
0x7ffcd4c04150) =3D 0 <11.567183>
ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04160) =3D=
 0
<0.000085>
ioctl(13, DRM_IOCTL_AMDGPU_GEM_MMAP, 0x7ffcd4c04610) =3D 0 <0.000026>
mmap(NULL, 13885440, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x128ecc000) =3D
0x7fc9f1abe000 <0.000036>
write(4, "\1\0\0\0\0\0\0\0", 8)         =3D 8 <0.000030>
recvmsg(60, {msg_name=3DNULL, msg_namelen=3D0,
msg_iov=3D[{iov_base=3D"\33\0\0\0\1\0\24\0
\0\0\0\0\0\0\0\0\0\0\0\33\0\0\0\10\0\f\0\2\0\0\0"..., iov_len=3D1884},
{iov_base=3D"", iov_len=3D2212}], msg_iovlen=3D2, msg_controllen=
=3D0,
msg_flags=3DMSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) =3D 332 <0=
.000048>
ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04170) =3D=
 0
<0.000149>


You are receiving this mail because:
  • You are the assignee for the bug.
= --15249304390.dcCdA83.22658-- --===============0964205976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0964205976==--