From: bugzilla-daemon@freedesktop.org Subject: [Bug 104439] intel_do_flush_locked failed: Invalid argument Date: Wed, 14 Feb 2018 20:26:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1342963808==" 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 D410F6E4A1 for ; Wed, 14 Feb 2018 20:26:10 +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 --===============1342963808== Content-Type: multipart/alternative; boundary="15186399702.6dEd.25559" Content-Transfer-Encoding: 7bit --15186399702.6dEd.25559 Date: Wed, 14 Feb 2018 20:26:10 +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=3D104439 --- Comment #6 from Urs Fleisch --- Since Arch Linux switched to kernel 4.14 for linux-lts (and the standard li= nux package is at 4.15), I now have the choice between two kernels which do not work with my Intel graphics Q35, this gives me quite some motivation to help fixing this issue. Note that I do not know a real workaround, UXA is not an option, it crashes regularly, the modesetting driver does not work with my hardware (it needs at least OpenGL 2.1) and switching off the GPU in Chromi= um can mitigate the problem, but it still happens. I made a bisect using the linux-git kernel from AUR and started where the bisect from Francesco Turco stopped (its first bad commit contained only hw= mon stuff, but I really expect some i915 code in the first bad commit). I will attach my bisect log (named git_bisect_log_2.txt). My first bad commit is [170fa29b14fadf2deb361589cefe6a78b21b1b22] drm/i915: Simplify eb_lookup_vma= s() Some remarks about the bisect: To know if a commit is good or bad, I booted= the kernel and started Chromium with maps.google.com. If the graphics was distorted, I marked it bad. Two commits were not so easy to judge: "[79364227e6b4923478e99d8480d62482b588ef84] IB/core: Add might_sleep() annotation to ib_init_ah_from_wc()" did not distort the graphics, but I cou= ld no longer move the mouse pointer (the computer was still controlable via keyboard), so I marked that commit as good. The second problem commit was n= ear the end of the bisect procedure "[170fa29b14fadf2deb361589cefe6a78b21b1b22] drm/i915: Simplify eb_lookup_vmas()" did not show the distortion, but after browsing maps.google.com, the computer was totally locked up, I had to push= the power button to restart it, so I marked this commit as bad. This is the com= mit which is now marked as the first bad, probably the distortion was introduced later, but the commit before "[c7c6e46f913bb3a6ff19e64940ebb54652033677] drm/i915: Convert execbuf to use struct-of-array packing for critical field= s" was good. I will probably have a look at some of the later commits to gain = more information. --=20 You are receiving this mail because: You are the assignee for the bug.= --15186399702.6dEd.25559 Date: Wed, 14 Feb 2018 20:26:10 +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 # 6 on bug 10443= 9 from Urs Fleisch
Since Arch Linux switched to kernel 4.14 for linux-lts (and th=
e standard linux
package is at 4.15), I now have the choice between two kernels which do not
work with my Intel graphics Q35, this gives me quite some motivation to help
fixing this issue. Note that I do not know a real workaround, UXA is not an
option, it crashes regularly, the modesetting driver does not work with my
hardware (it needs at least OpenGL 2.1) and switching off the GPU in Chromi=
um
can mitigate the problem, but it still happens.

I made a bisect using the linux-git kernel from AUR and started where the
bisect from Francesco Turco stopped (its first bad commit contained only hw=
mon
stuff, but I really expect some i915 code in the first bad commit). I will
attach my bisect log (named git_bisect_log_2.txt). My first bad commit is

[170fa29b14fadf2deb361589cefe6a78b21b1b22] drm/i915: Simplify eb_lookup_vma=
s()

Some remarks about the bisect: To know if a commit is good or bad, I booted=
 the
kernel and started Chromium with maps.google.com. If the graphics was
distorted, I marked it bad. Two commits were not so easy to judge:
"[79364227e6b4923478e99d8480d62482b588ef84] IB/core: Add might_sleep()
annotation to ib_init_ah_from_wc()" did not distort the graphics, but =
I could
no longer move the mouse pointer (the computer was still controlable via
keyboard), so I marked that commit as good. The second problem commit was n=
ear
the end of the bisect procedure "[170fa29b14fadf2deb361589cefe6a78b21b=
1b22]
drm/i915: Simplify eb_lookup_vmas()" did not show the distortion, but =
after
browsing maps.google.com, the computer was totally locked up, I had to push=
 the
power button to restart it, so I marked this commit as bad. This is the com=
mit
which is now marked as the first bad, probably the distortion was introduced
later, but the commit before "[c7c6e46f913bb3a6ff19e64940ebb5465203367=
7]
drm/i915: Convert execbuf to use struct-of-array packing for critical field=
s"
was good. I will probably have a look at some of the later commits to gain =
more
information.


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