Bug 101817

Summary: [IGT] Failing test cursor-64x64-onscreen on Intel 945
Product: DRI Reporter: Paul Menzel <pmenzel+bugs.freedesktop.org>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: I945GM i915 features: display/Other
Attachments:
Description Flags
Verbose Linux messages
none
strace none

Description Paul Menzel 2017-07-17 10:30:26 UTC
The test *cursor-64x64-onscreen* fails on a Lenovo X60t.

```
IGT-Version: 1.19-g6e572cfc (i686) (Linux: 4.13.0-rc1+ i686)
Beginning cursor-size-change on pipe B, connector LVDS-1

cursor-size-change on pipe B, connector LVDS-1: PASSED

Subtest cursor-size-change: SUCCESS (3.156s)
Beginning cursor-64x64-onscreen on pipe B, connector LVDS-1
Stack trace:
  #0 [__igt_fail_assert+0x76]
  #1 [do_display_commit+0x9e4]
  #2 [<unknown>+0x9e4]
  #3 [<unknown>+0x9e4]
  #4 [<unknown>+0x9e4]
  #5 [<unknown>+0x9e4]
  #6 [<unknown>+0x9e4]
  #7 [<unknown>+0x9e4]
  #8 [<unknown>+0x9e4]
  #9 [<unknown>+0x9e4]
[…]
```
Comment 1 Paul Menzel 2017-07-19 10:23:05 UTC
Created attachment 132754 [details]
Verbose Linux messages
Comment 2 Paul Menzel 2017-07-19 10:24:37 UTC
Created attachment 132755 [details]
strace

Here is the trace. No idea, how helpful that is.
Comment 3 Paul Menzel 2017-07-19 10:52:28 UTC
The messages below should be the interesting part from the trace.

```
[…]
open("/proc/1027/maps", O_RDONLY)       = 7
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c0a000
read(7, "00404000-0044f000 r-xp 00000000 "..., 4096) = 4014
open("/home/paul/src/intel-gpu-tools/tests/kms_cursor_crc", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0755, st_size=1901252, ...}) = 0
mmap2(NULL, 1901252, PROT_READ, MAP_PRIVATE, 8, 0) = 0xb6a39000
close(8)                                = 0
close(7)                                = 0
munmap(0xb6c0a000, 4096)                = 0
munmap(0xb6a39000, 1901252)             = 0
write(1, "  #0 [__igt_fail_assert+0x76]\n", 30) = 30
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getpid()                                = 1027
open("/proc/1027/maps", O_RDONLY)       = 7
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c0a000
read(7, "00404000-0044f000 r-xp 00000000 "..., 4096) = 4014
open("/home/paul/src/intel-gpu-tools/tests/kms_cursor_crc", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0755, st_size=1901252, ...}) = 0
mmap2(NULL, 1901252, PROT_READ, MAP_PRIVATE, 8, 0) = 0xb6a39000
close(8)                                = 0
close(7)                                = 0
munmap(0xb6c0a000, 4096)                = 0
munmap(0xb6a39000, 1901252)             = 0
write(1, "  #1 [do_display_commit+0x9e4]\n", 31) = 31
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getpid()                                = 1027
open("/proc/1027/maps", O_RDONLY)       = 7
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c0a000
read(7, "00404000-0044f000 r-xp 00000000 "..., 4096) = 4014
read(7, "b6ca3000-b6cb9000 r--s 00000000 "..., 4096) = 4081
read(7, "b77d1000-b77d2000 r--p 00009000 "..., 4096) = 4041
read(7, "b7d8a000-b7d91000 r-xp 00000000 "..., 4096) = 2668
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0xb6c0a000, 4096)                = 0
write(1, "  #2 [<unknown>+0x9e4]\n", 23) = 23
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mincore(0xbf970000, 4096, [1])          = 0
[…]
```
Comment 4 Elizabeth 2017-10-10 21:22:10 UTC
Hello, any update with latest drm-tip and IGT-version? 
On CI this test isn't failing with gen 6 and up: https://intel-gfx-ci.01.org/tree/drm-tip/igt@kms_cursor_crc@cursor-64x64-onscreen.html
Thanks.
Comment 5 Elizabeth 2018-03-05 19:19:27 UTC
Is this still valid with latest tip? Thank you.
Comment 6 Jani Saarinen 2018-03-29 07:10:49 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 7 Jani Saarinen 2018-04-20 14:19:16 UTC
Closing, please re-open if still occurs.
Comment 8 Paul Menzel 2018-04-20 14:24:14 UTC
(In reply to Jani Saarinen from comment #7)
> Closing, please re-open if still occurs.

As you tagged it as WORKSFORME, how did you test?
Comment 9 Jani Saarinen 2018-04-20 19:51:21 UTC
This was just conclusion if no comments, then I guess works. 
I could have been setting any, we need response timely manner, even we also have failed in the past too. Do you agree close or no?

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.