Bug 87623 - [IVB/HSW/BYT]igt/gem_exec_bad_domains/conflicting-write-domain sporadically fails
Summary: [IVB/HSW/BYT]igt/gem_exec_bad_domains/conflicting-write-domain sporadically f...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-23 03:19 UTC by lu hua
Modified: 2017-07-24 22:49 UTC (History)
2 users (show)

See Also:
i915 platform: BYT, HSW, IVB
i915 features: GEM/Other


Attachments
testlog (23.65 KB, text/plain)
2014-12-23 03:19 UTC, lu hua
no flags Details
dmesg (126.51 KB, text/plain)
2014-12-23 03:19 UTC, lu hua
no flags Details

Description lu hua 2014-12-23 03:19:23 UTC
Created attachment 111199 [details]
testlog

==System Environment==
--------------------------
Regression: not sure

Non-working platforms: IVB

==kernel==
--------------------------
drm-intel-nightly/4fa23142a15526f4a4b5df61f26eacdd558a849a
commit 4fa23142a15526f4a4b5df61f26eacdd558a849a
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Dec 19 15:33:33 2014 +0100

    drm-intel-nightly: 2014y-12m-19d-14h-33m-07s UTC integration manifest

==Bug detailed description==
-----------------------------
Run binary(./gem_exec_bad_domains --run-subtest conflicting-write-domain) 5 times, it always pass. Run following case list, it fails 2 in 3 runs.
Intel_gpu_tools/igt_gem_evict_everything_major-interruptible    NSPT   
Intel_gpu_tools/igt_gem_evict_everything_major-normal    NSPT     
Intel_gpu_tools/igt_gem_evict_everything_minor-interruptible    PASS
Intel_gpu_tools/igt_gem_evict_everything_minor-normal    PASS
Intel_gpu_tools/igt_gem_evict_everything_swapping-interruptible    PASS
Intel_gpu_tools/igt_gem_evict_everything_swapping-normal    PASS
Intel_gpu_tools/igt_gem_exec_bad_domains_conflicting-write-domain    FAIL

output:
IGT-Version: 1.9-geb799b2 (x86_64) (Linux: 3.18.0_drm-intel-nightly_4fa231_20141223+ x86_64)
Test assertion failure function __real_main156, file gem_exec_bad_domains.c:207:
Failed assertion: run_batch() == 0
Last errno: 22, Invalid argument
Subtest conflicting-write-domain: FAIL (0.000s)

==Reproduce steps==
---------------------------- 
1. run above case list
Comment 1 lu hua 2014-12-23 03:19:50 UTC
Created attachment 111200 [details]
dmesg
Comment 2 lu hua 2014-12-30 05:18:58 UTC
It also fails on HSW.
Comment 3 Chris Wilson 2014-12-31 10:47:16 UTC
[  218.098896] gem_exec_bad_domains: starting subtest conflicting-write-domain
[  218.099726] [drm:gen7_render_get_cmd_length_mask] CMD: Abnormal rcs cmd length! 0x527CA000
[  218.099731] [drm:i915_parse_cmds] CMD: Unrecognized command: 0x527CA000

Buggy cmd parser? Buggy coherency?
Comment 4 Elio 2015-10-01 15:22:22 UTC
This bug is reproducible on BDW-U on first run with the following configuration, specially with gem_evict_everything@major-normal.

I'll run it by it self and going to attach logs as soon as possible
Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu
Comment 5 Elio 2015-10-15 22:33:38 UTC
This issue is present on BYT with following configuration
Kernel: http://vanaheimr.fr.intel.com/shared/out/kernels/drm-intel/WW42.1_4.3.0-rc4_c38f2c2/
 xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver 1.6.1
cairo 1.14.2
intel-gpu-tools-1.12

Adding test cases

gem_evict_everything@mlocked-interruptible
gem_evict_everything@mlocked-normal
Comment 6 Humberto Israel Perez Rodriguez 2015-10-28 17:39:07 UTC
the following test keep fail on BYT-M with the next configuration :

Test :<%gem_evict_everything@mlocked-normal%?

xorg-server : 1.17.2
libdrm : 2.4.65
xf86-video-intel : 2.99.917
mesa : 11.0.4
libva : 1.6.1
intel: driver 1.6.1
cairo : 1.14.2
intel-gpu-tools : 1.12 (commit a2c6786)

Kernel: drm-intel-nightly: 2015y-10m-23d-09h-56m-09s
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200
Comment 7 Chris Wilson 2015-10-28 17:43:33 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #6)
> the following test keep fail on BYT-M with the next configuration :
> 
> Test :<%gem_evict_everything@mlocked-normal%?

Which test? This bug is about the gem_exec_bad_domains failing after a successful gem_evict_everything run. If you have gem_evict_everything failure, please open a separate bug.
Comment 8 Chris Wilson 2016-10-22 09:36:45 UTC
Buggy coherency.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.