Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Alexandru Chirvasitu
Got it. I suppose that explains why it was so unreliably reproducible.. In any case, the patch is holding strong still with plenty of activity since, so it's looking good. Thak you for all of this; very instructive. On Sat, Jan 06, 2018 at 08:55:00PM +, Chris Wilson wrote: > Quoting Alexandr

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-06 18:44:29) > Thanks! > > It's also a mystery to me why I never had any crashes on any of the > other systems running on this machine running the same (unpatched) > kernels. > > I'm assuming the window manager might have something to do with it: > all of the

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Alexandru Chirvasitu
Thanks! It's also a mystery to me why I never had any crashes on any of the other systems running on this machine running the same (unpatched) kernels. I'm assuming the window manager might have something to do with it: all of the others are on i3 and the buggy one's openbox, so perhaps tiling vs

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-06 16:38:35) > On Sat, Jan 06, 2018 at 08:24:43AM -0500, Alexandru Chirvasitu wrote: > > Thank you! > > > > I'll apply that more elaborate patch you sent in the longer message to > > my clone of the repo and see if it still freezes. > > > > I'm on it now with

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Alexandru Chirvasitu
On Sat, Jan 06, 2018 at 08:24:43AM -0500, Alexandru Chirvasitu wrote: > Thank you! > > I'll apply that more elaborate patch you sent in the longer message to > my clone of the repo and see if it still freezes. > I'm on it now with no freezes yet, despite trying my best :). I have a question thou

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Alexandru Chirvasitu
Thank you! I'll apply that more elaborate patch you sent in the longer message to my clone of the repo and see if it still freezes. On Sat, Jan 06, 2018 at 10:43:20AM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-05 22:05:18) > > Here we go. > > > > I have > > > > CONFIG_PA

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-06 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-05 22:05:18) > Here we go. > > I have > > CONFIG_PAGE_POISONING not set > CONFIG_SLUB_STATS=y > CONFIG_SLUB_DEBUG not set > CONFIG_KASAN=y > > .config attached along as well for verification, in case I missed > anything. > > Again crashed by an attempt to o

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Alexandru Chirvasitu
Will do. On Fri, Jan 05, 2018 at 08:02:48PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-05 19:58:42) > > OK, I then plan to try with the previous config, plus these > > modifications: > > > > CONFIG_PAGE_POISONING not set > > CONFIG_SLUB_STATS=y > > > > I'm a little puzzl

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-05 19:58:42) > OK, I then plan to try with the previous config, plus these > modifications: > > CONFIG_PAGE_POISONING not set > CONFIG_SLUB_STATS=y > > I'm a little puzzled about this: [snip] > > It would be CONFIG_SLUB_STATS and then you would a > > /sys/k

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Alexandru Chirvasitu
OK, I then plan to try with the previous config, plus these modifications: CONFIG_PAGE_POISONING not set CONFIG_SLUB_STATS=y I'm a little puzzled about this: On Fri, Jan 05, 2018 at 07:51:01PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-05 19:37:24) > > I'll try. I need a

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-05 19:37:24) > I'll try. I need a bit of clarification: > > On Fri, Jan 05, 2018 at 05:52:25PM +, Chris Wilson wrote: > > Quoting Alexandru Chirvasitu (2018-01-03 21:53:15) > > > All right, here's the dmesg from the kernel compiled from drm-tip (in > > > s

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Alexandru Chirvasitu
I'll try. I need a bit of clarification: On Fri, Jan 05, 2018 at 05:52:25PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-03 21:53:15) > > All right, here's the dmesg from the kernel compiled from drm-tip (in > > sync with upstream at the time of the compilation earlier today)

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-05 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-03 21:53:15) > All right, here's the dmesg from the kernel compiled from drm-tip (in > sync with upstream at the time of the compilation earlier today), with > > CONFIG_DRM_I915_DEBUG_GEM=y > > I crashed it by opening 20+ xterm windows. Doesn't always do it t

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
All right, here's the dmesg from the kernel compiled from drm-tip (in sync with upstream at the time of the compilation earlier today), with CONFIG_DRM_I915_DEBUG_GEM=y I crashed it by opening 20+ xterm windows. Doesn't always do it though (tried this before). On Wed, Jan 03, 2018 at 11:31:31AM

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
Thank you for that! I'd been getting used to seeing warnings to that effect, so got complacent and stopped checking for errors.. In any case, it's now compiled and installed, and I will report back with any new logs if / when another hang occurs. On Wed, Jan 03, 2018 at 02:53:45PM +, Chris W

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-03 14:48:26) > Here's the log for the make bzImage and modules without ccache. > > I ran it with j8 still because otherwise it would take very long, but > if I run out of options I'll try plain too.. > > In the meantime I'd like to try some other configs; may

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-03 14:03:40) > > On Wed, Jan 03, 2018 at 01:47:56PM +, Chris Wilson wrote: > > Quoting Alexandru Chirvasitu (2018-01-03 13:46:42) > > > I've cloned your > > > > > > https://anongit.freedesktop.org/git/drm-tip.git > > > > > > and am now trying to build it

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
On Wed, Jan 03, 2018 at 01:47:56PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-03 13:46:42) > > I've cloned your > > > > https://anongit.freedesktop.org/git/drm-tip.git > > > > and am now trying to build it (just the master; I haven't tried > > previous commits). The build

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-03 13:46:42) > I've cloned your > > https://anongit.freedesktop.org/git/drm-tip.git > > and am now trying to build it (just the master; I haven't tried > previous commits). The build fails at the modules stage with > > Makefile:1015: recipe for target 'drive

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
I've cloned your https://anongit.freedesktop.org/git/drm-tip.git and am now trying to build it (just the master; I haven't tried previous commits). The build fails at the modules stage with Makefile:1015: recipe for target 'drivers' failed make: *** [drivers] Error 2 What is the earliest commit

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-03 00:14:38) > For comparison, here's another one produced by the same kernel, on the > same laptop, but a different hard drive. > > The OS was installed on a USB stick that I'd boot the laptop off > of. Recently I started getting lags when copying to / from t

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-02 Thread Alexandru Chirvasitu
For comparison, here's another one produced by the same kernel, on the same laptop, but a different hard drive. The OS was installed on a USB stick that I'd boot the laptop off of. Recently I started getting lags when copying to / from the stick, so I moved the OS to an external SSD. Everything e

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-02 Thread Alexandru Chirvasitu
Attached. Crashed quite a bit faster than before this time. It always seems to have something to do with opening and alt-tabbing between windows. This time what produced the crash was an attempt to open a new terminal. The hanging happened right after issuing the keyboard shortcut, before the foc

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-02 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2018-01-01 21:13:57) > All right, we're in business with the new dmesg: It hung again, with a > 4.15-rc6 kernel with kasan support. > > The new dmesg is attached; the trace is longer now, as you expected. Ok, still the same poison but kasan didn't report a use-after-

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-01 Thread Alexandru Chirvasitu
All right, we're in business with the new dmesg: It hung again, with a 4.15-rc6 kernel with kasan support. The new dmesg is attached; the trace is longer now, as you expected. And thanks! On Sun, Dec 31, 2017 at 04:54:14PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2017-12-31 16:

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-01 Thread Alexandru Chirvasitu
Compiled a couple of kernels with kasan enabled. I don't yet have a crash, but on the system that has been crashing I have the following kasan distress signals on bootup (dmesg attached): [0.027746] == [0.027759] BUG: KASAN:

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2017-12-31 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2017-12-31 16:52:36) > I see lockdep is configured (though I'm not familiar with the feature; > the config came with it, and I made oldconfig), but I'll need to > recompile for kasan. > > I'll do that over the next few days, but once done, what would I get > back to y

Re: [Intel-gfx] PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2017-12-31 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2017-12-30 17:31:32) > Short description: I get freezes of my desktop completely eliminating > mouse / keyboard functionality. > > I’m on an UltraLap 5330, Processor: i7-7500U, Memory: 32 GB DDR4-2133 > Video Card: Intel HD (included). It's running Void linux 64 bit.