gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds
@Mikhail
Submitted by Mikhail Gavrilov Assigned to Default DRI bug account
Link to original bug (#106297)
Description
Created attachment 139198
gnome-shell strace
gnome-shell hangs hellishly because DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM executing more than 11 seconds
=== snip from strace ===
mmap(NULL, 434176, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x205097000) = 0x7fca34100000 <0.000023>
ioctl(13, DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM, 0x7ffcd4c04150) = 0 <11.567183>
ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04160) = 0 <0.000085>
ioctl(13, DRM_IOCTL_AMDGPU_GEM_MMAP, 0x7ffcd4c04610) = 0 <0.000026>
mmap(NULL, 13885440, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0x128ecc000) = 0x7fc9f1abe000 <0.000036>
write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000030>
recvmsg(60, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\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=1884}, {iov_base="", iov_len=2212}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 332 <0.000048>
ioctl(13, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7ffcd4c04170) = 0 <0.000149>
Attachment 139198, "gnome-shell strace":
gnome-shell-strace.txt