Created attachment 94400 [details] dmesg System Environment: -------------------------- Platform: Broadwell Kernel(drm-intel-nightly)1be8f2b4dd6d3db00af24d4891c82d2650bd282d Bug detailed description: ------------------------- New case gem_pwrite_pread fails on Broadwell with -nightly kernel. Following cases fail: igt/gem_pwrite_pread/display-copy-correctness igt/gem_pwrite_pread/display-pwrite-blt-gtt_mmap-correctness igt/gem_pwrite_pread/snooped-copy-correctness igt/gem_pwrite_pread/snooped-pwrite-blt-cpu_mmap-correctness igt/gem_pwrite_pread/uncached-copy-correctness igt/gem_pwrite_pread/uncached-pwrite-blt-gtt_mmap-correctness run ./gem_pwrite_pread --run-subtest display-copy-correctness output: IGT-Version: 1.5-g9597836 (x86_64) (Linux: 3.13.0_drm-intel-nightly_1be8f2_20140220+ x86_64) Test assertion failure function test_copy, file gem_pwrite_pread.c:239: Last errno: 2, No such file or directory Failed assertion: buf[i] == i Subtest display-copy-correctness: FAIL Reproduce steps: ------------------------- 1. ./gem_pwrite_pread --run-subtest display-copy-correctness
We encounter this issue as well. bumping the importance to high. Please advice if this is not appropriate. thanks -YK
I'm not sure if the severity should be critical. any comments?
This is one of the fundamental tests as to whether anything we render will be displayed correctly. Timo Aaltonen (Canonical) reported seeing display corruption in the form of dirty cache lines that may have been this bug which went away with a BIOS update. Basically if this test fails, I would not expect any render correctness tests to pass either.
Just a broken test. commit 072d358bf03d0c39dc83bce0b93801d030d2324f Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Feb 28 21:44:22 2014 +0000 igt/gem_pwrite_pread: Fix XY_SRC_COPY command length for gen8+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
It still fails. output: IGT-Version: 1.5-g072d358 (x86_64) (Linux: 3.14.0-rc4_drm-intel-nightly_0dfe3c_20140303+ x86_64) Test assertion failure function test_copy, file gem_pwrite_pread.c:240: Last errno: 2, No such file or directory Failed assertion: buf[i] == i Subtest display-copy-correctness: FAIL
Created attachment 94999 [details] dmesg(072d358)
Ah, the relocation entries were also wrong. Try: commit a3b80912a993b4b6952917afea41906f88dda01e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Mar 5 11:09:46 2014 +0000 igt/gem_pwrite_pread: Fix relocation offsets for gen8+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Test on latest -nightly kernel and latest igt, this issue still occurs. IGT-Version: 1.5-gcdf74b6 (x86_64) (Linux: 3.14.0-rc5_drm-intel-nightly_2e7638_20140307+ x86_64) Test assertion failure function test_copy, file gem_pwrite_pread.c:240: Last errno: 2, No such file or directory Failed assertion: buf[i] == i Subtest display-copy-correctness: FAIL
Third time lucky. commit 856afd588ef31d02c0dd8fd827a0af2725edc464 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Mar 5 11:09:46 2014 +0000 igt/gem_pwrite_pread: Fix relocation offsets for gen8+ Oops, I didn't check to see if there was more than one call site where we built and execbuffer. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Verified.Fixed.
Closing old verified.
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.