Bug 77475

Summary: [PNV/IVB/HSW regression]igt//kms_pipe_crc_basic/read-crc-pipe-A is slow
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Antti Koskipaa <antti.koskipaa>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: highest CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
igt/kms_pipe_crc_basic/read-crc-pipe-A dmesg
none
dmesg
none
dmesg none

Description Guo Jinxian 2014-04-15 09:25:06 UTC
Created attachment 97384 [details]
igt/kms_pipe_crc_basic/read-crc-pipe-A dmesg

system Environment:
--------------------------
Platform: PNV IVB HSW
Kernel:(drm-intel-nightly)cf8c74f4e33678bc5151df4b68cb7f8c2b51bf6e

Bug detailed description:
-----------------------------
igt/kms_pipe_crc_basic/read-crc-pipe-A unable to finish testing within 10 minutes on -nightly kernel.


output:
IGT-Version: 1.6-g43c2ed7 (x86_64) (Linux: 3.14.0_drm-intel-nightly_cf8c74_20140414+ x86_64)
read-crc-pipe-A: Testing connector VGA-1 using pipe A


Reproduce steps:
----------------------------
1. ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A
Comment 1 Guo Jinxian 2014-04-21 06:27:26 UTC
It seems that this case unable to finish. I run it more than 1 hour on PNV on latest -nightly(1e771b84e47085ef9b6efea1321e7cb5a8b2c065), the test still didn't finish.
Comment 2 Daniel Vetter 2014-05-06 12:52:41 UTC
Is this a regression?
Comment 3 Guo Jinxian 2014-05-07 07:00:00 UTC
It's not a regression issue, and this issue only can be reproduced on PNV now.
Comment 4 Daniel Vetter 2014-05-15 21:43:50 UTC
Actually it is a regression since I know ;-)

This is either pipe CRC stalling or the infamous igt_kms regression.
Comment 5 Guo Jinxian 2014-05-22 03:48:11 UTC
Created attachment 99552 [details]
dmesg

This bug still able to reproduce on latest -fixes(4ba4801d73d14690ed15774424e8b1d4c18323a5) on IVB

Case lest:
igt/kms_pipe_crc_basic/read-crc-pipe-A
igt/kms_pipe_crc_basic/read-crc-pipe-A-frame-sequence
igt/kms_pipe_crc_basic/read-crc-pipe-B
igt/kms_pipe_crc_basic/read-crc-pipe-B-frame-sequence
igt/kms_pipe_crc_basic/read-crc-pipe-C
igt/kms_pipe_crc_basic/read-crc-pipe-C-frame-sequence


output:
./kms_pipe_crc_basic --run-subtest read-crc-pipe-C-frame-sequence
IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-fixes_4ba480_20140521_debug+ x86_64)
read-crc-pipe-C-frame-sequence: Testing connector HDMI-A-1 using pipe C
Subtest read-crc-pipe-C-frame-sequence: TIMEOUT
Comment 6 Daniel Vetter 2014-05-27 07:59:32 UTC
At least on ivb/hsw this should work now. Please retest on latest -nightly.
Comment 7 Guo Jinxian 2014-05-28 08:38:24 UTC
Created attachment 100015 [details]
dmesg

(In reply to comment #6)
> At least on ivb/hsw this should work now. Please retest on latest -nightly.
The test is able to finish in 1 minute now, but the latest result on -nightly(9f53d4f6f55aa0c037f299dbe2986eec9151be9b) was skip.

Output:
 ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence
IGT-Version: 1.6-gff3c122 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_9f53d4_20140528_debug+ x86_64)
Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:176:
Last errno: 0, Success
Test requirement: (!(valid_connectors))
No connector found for pipe 0
Subtest read-crc-pipe-A-frame-sequence: SKIP

Should I close this bug and report another bug to track this problem?
Comment 8 Daniel Vetter 2014-05-28 12:53:58 UTC
(In reply to comment #7)
> Created attachment 100015 [details]
> dmesg
> 
> (In reply to comment #6)
> > At least on ivb/hsw this should work now. Please retest on latest -nightly.
> The test is able to finish in 1 minute now, but the latest result on
> -nightly(9f53d4f6f55aa0c037f299dbe2986eec9151be9b) was skip.
> 
> Output:
>  ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence
> IGT-Version: 1.6-gff3c122 (x86_64) (Linux:
> 3.15.0-rc7_drm-intel-nightly_9f53d4_20140528_debug+ x86_64)
> Test requirement not met in function test_read_crc, file
> kms_pipe_crc_basic.c:176:
> Last errno: 0, Success
> Test requirement: (!(valid_connectors))
> No connector found for pipe 0
> Subtest read-crc-pipe-A-frame-sequence: SKIP
> 
> Should I close this bug and report another bug to track this problem?

I've never seen this. On what machine is this? Note that I only asked for re-testing on ivb/hsw, not pnv ...
Comment 9 Guo Jinxian 2014-05-29 01:06:06 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Created attachment 100015 [details]
> > dmesg
> > 
> > (In reply to comment #6)
> > > At least on ivb/hsw this should work now. Please retest on latest -nightly.
> > The test is able to finish in 1 minute now, but the latest result on
> > -nightly(9f53d4f6f55aa0c037f299dbe2986eec9151be9b) was skip.
> > 
> > Output:
> >  ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence
> > IGT-Version: 1.6-gff3c122 (x86_64) (Linux:
> > 3.15.0-rc7_drm-intel-nightly_9f53d4_20140528_debug+ x86_64)
> > Test requirement not met in function test_read_crc, file
> > kms_pipe_crc_basic.c:176:
> > Last errno: 0, Success
> > Test requirement: (!(valid_connectors))
> > No connector found for pipe 0
> > Subtest read-crc-pipe-A-frame-sequence: SKIP
> > 
> > Should I close this bug and report another bug to track this problem?
> 
> I've never seen this. On what machine is this? Note that I only asked for
> re-testing on ivb/hsw, not pnv ...

I indeed retest it on ivb and hsw. please check the output below.

[root@x-hsw24 tests]# ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence
IGT-Version: 1.6-ge4ba3b7 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_9f53d4_20140528+ x86_64)
Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:176:
Last errno: 0, Success
Test requirement: (!(valid_connectors))
No connector found for pipe 0
Subtest read-crc-pipe-A-frame-sequence: SKIP

[root@x-ivb9 tests]# ./kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence
IGT-Version: 1.6-ge4ba3b7 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_9f53d4_20140528_debug+ x86_64)
Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:176:
Last errno: 0, Success
Test requirement: (!(valid_connectors))
No connector found for pipe 0
Subtest read-crc-pipe-A-frame-sequence: SKIP
Comment 10 Rodrigo Vivi 2014-06-05 17:03:27 UTC

*** This bug has been marked as a duplicate of bug 75079 ***
Comment 11 Jari Tahvanainen 2016-10-12 10:45:45 UTC
Closing as duplicate of closed+fixed.

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.