[Pkg-opencl-devel] Bug#781875: beignet: [regression] broken on Haswell

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Sat Apr 18 08:27:53 UTC 2015


On Fri, Apr 17, 2015 at 11:16 PM, Rebecca N. Palmer
<rebecca_palmer at zoho.com> wrote:
>> now every kernel invocation, regardless of arguments
>> counts and array sizes, fails
>
> i.e. including ones that worked in 1.0.2-1?

Yes.

> Do they use the 'local' memory
> space (which triggers a third known bug on Haswell)?

No, even the most trivial inits that simply writes to gmem fails the same way.

>> drm_intel_gem_bo_context_exec() failed: Invalid argument
>
> That's the error check added by this patch, but not the same error code as I
> get for a too-large array on Ivy Bridge (that's
> "drm_intel_gem_bo_context_exec() failed: No space left on device"), so may
> be it catching a different bug.
>
> I will report this upstream.

Quite possible.

>> sudo cat /sys/module/i915/parameters/enable_cmd_parser
>> returns 1
>
> That means you don't have the #767148 workaround enabled.  Does it ( sudo
> echo 0 > /sys/module/i915/parameters/enable_cmd_parser ) help?

Absolutely yes. I can e.g. manipulate arrays with up to 128Mi
elements, and if I go too high I get the "No space left on device"
error instead. So it looks like I _do_ need that workaround.

> What are your other i915 parameters ( sudo head
> /sys/module/i915/parameters/* )?

With the enable_cmd_parser set to 0 as above, this is the whole dump:

==> /sys/module/i915/parameters/disable_display <==
N

==> /sys/module/i915/parameters/disable_power_well <==
1

==> /sys/module/i915/parameters/disable_vtd_wa <==
N

==> /sys/module/i915/parameters/enable_cmd_parser <==
0

==> /sys/module/i915/parameters/enable_fbc <==
-1

==> /sys/module/i915/parameters/enable_hangcheck <==
Y

==> /sys/module/i915/parameters/enable_ips <==
1

==> /sys/module/i915/parameters/enable_ppgtt <==
1

==> /sys/module/i915/parameters/enable_psr <==
0

==> /sys/module/i915/parameters/enable_rc6 <==
1

==> /sys/module/i915/parameters/fastboot <==
N

==> /sys/module/i915/parameters/invert_brightness <==
0

==> /sys/module/i915/parameters/lvds_channel_mode <==
0

==> /sys/module/i915/parameters/lvds_downclock <==
0

==> /sys/module/i915/parameters/lvds_use_ssc <==
-1

==> /sys/module/i915/parameters/modeset <==
-1

==> /sys/module/i915/parameters/panel_ignore_lid <==
1

==> /sys/module/i915/parameters/powersave <==
1

==> /sys/module/i915/parameters/prefault_disable <==
N

==> /sys/module/i915/parameters/preliminary_hw_support <==
0

==> /sys/module/i915/parameters/reset <==
Y

==> /sys/module/i915/parameters/semaphores <==
-1

==> /sys/module/i915/parameters/vbt_sdvo_panel_type <==
-1



-- 
Giuseppe "Oblomov" Bilotta



More information about the Pkg-opencl-devel mailing list