From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107229] Metro 2033 Redux hangs Date: Sun, 15 Jul 2018 16:52:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1243252091==" 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 36CB96E358 for ; Sun, 15 Jul 2018 16:52:08 +0000 (UTC) In-Reply-To: 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 --===============1243252091== Content-Type: multipart/alternative; boundary="15316735280.1d0E1.31264" Content-Transfer-Encoding: 7bit --15316735280.1d0E1.31264 Date: Sun, 15 Jul 2018 16:52:08 +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=3D107229 --- Comment #2 from Alexander Tsoy --- (In reply to Alexander Tsoy from comment #0) > With 4.14 kernels the game process is unkillable so it hangs somewhere=20 > in the kernel space. With 4.17 kernels it can be killed but this > takes some time. The process actually can be killed in a while loop. Perf report: $ sudo perf report | grep metro | head 33.33% metro metro [.] cbackend_OGL::delayed_upload 31.56% metro [kernel.vmlinux] [k] rb_prev 2.07% metro [kernel.vmlinux] [k] alloc_iova 0.20% metro [kernel.vmlinux] [k] __switch_to 0.18% metro [kernel.vmlinux] [k] native_load_gs_index 0.13% metro [kernel.vmlinux] [k] __x86_indirect_thunk_rax 0.12% metro [kernel.vmlinux] [k] entry_SYSCALL_64 0.08% metro [kernel.vmlinux] [k] __schedule 0.08% metro [kernel.vmlinux] [k] read_tsc 0.07% metro libc-2.26.so [.] __nanosleep --=20 You are receiving this mail because: You are the assignee for the bug.= --15316735280.1d0E1.31264 Date: Sun, 15 Jul 2018 16:52:08 +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

Commen= t # 2 on bug 10722= 9 from Alexander Tsoy
(In reply to Alexander Tsoy from comment #0)
> With 4.14 kernels the game process is unkillable=
 so it hangs somewhere=20
> in the kernel space. With 4.17 kernels it can be killed but this
> takes some time.
The process actually can be killed in a while loop.

Perf report:

$ sudo perf report | grep metro | head
    33.33%  metro            metro                          [.]
cbackend_OGL::delayed_upload
    31.56%  metro            [kernel.vmlinux]               [k] rb_prev
     2.07%  metro            [kernel.vmlinux]               [k] alloc_iova
     0.20%  metro            [kernel.vmlinux]               [k] __switch_to
     0.18%  metro            [kernel.vmlinux]               [k]
native_load_gs_index
     0.13%  metro            [kernel.vmlinux]               [k]
__x86_indirect_thunk_rax
     0.12%  metro            [kernel.vmlinux]               [k]
entry_SYSCALL_64
     0.08%  metro            [kernel.vmlinux]               [k] __schedule
     0.08%  metro            [kernel.vmlinux]               [k] read_tsc
     0.07%  metro            libc-2.26.so                   [.] __nanosleep=


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