[Bug 79053] [BDW userptr] Rendercheck dcoords causes X crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 12 01:36:49 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79053

--- Comment #58 from lu hua <huax.lu at intel.com> ---
Created attachment 106170
  --> https://bugs.freedesktop.org/attachment.cgi?id=106170&action=edit
Xorg.0.log(patch2)

(In reply to comment #57)
> Thanks. One last little debugging technique to try. Please apply
> 
> 
> diff --git a/src/sna/kgem.c b/src/sna/kgem.c
> index 66adae8..6e679b0 100644
> --- a/src/sna/kgem.c
> +++ b/src/sna/kgem.c
> @@ -92,7 +92,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int
> num_pages, unsigned flags);
>  #endif
>  
>  #define SHOW_BATCH_BEFORE 0
> -#define SHOW_BATCH_AFTER 0
> +#define SHOW_BATCH_AFTER 1
>  
>  #if 0
>  #define ASSERT_IDLE(kgem__, handle__) assert(!__kgem_busy(kgem__, handle__))
> 
> and attach the resulting logfile.

output:
rendercheck 1.4
Render extension version 0.11
Window format: r8g8b8
Found server-supported format: a8
Found server-supported format: a8r8g8b8
Found server-supported format: x8r8g8b8
Found server-supported format: b8g8r8a8
Found server-supported format: b8g8r8x8
Found server-supported format: r8g8b8
Found server-supported format: b8g8r8
Found server-supported format: r5g5b5
Found server-supported format: b5g5r5
Found server-supported format: x1r5g5b5
Found server-supported format: x1b5g5r5
Found server-supported format: r5g6b5
Found server-supported format: b5g6r5
Found server-supported format: x8b8g8r8
Found server-supported format: x2r10g10b10
Found server-supported format: x2b10g10r10
Beginning dest coords test
dst coords test error of 255.0000 at (0, 0) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 1) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 2) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (1, 1) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 3) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (2, 1) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (3, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (3, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (3, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 1) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 550 requests (550 known processed) with 0 events remaining.
xinit: connection to X server lost
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X
server ":0"
[1]+  Done                    xinit

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140912/b151163e/attachment.html>


More information about the intel-gfx-bugs mailing list