Skip to content

Instantly share code, notes, and snippets.

@vchuravy
Created June 17, 2014 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vchuravy/40e2796fc196ed178cc4 to your computer and use it in GitHub Desktop.
Save vchuravy/40e2796fc196ed178cc4 to your computer and use it in GitHub Desktop.
Log of INTEL_DEBUG=aub,batch julia qjulia.jl
INTEL_DEBUG=aub,batch julia qjulia.jl
INFO: loaded GLFW 3.0.4 X11 GLX glXGetProcAddress clock_gettime /dev/js shared from /home/wallnuss/.julia/v0.3/GLFW/deps/usr/lib/libglfw
intel_extensions.c:144: Batchbuffer flush with 132b (pkt) + 0b (state) = 132b (0.4%)
0x15208000: 0x7a000003: PIPE_CONTROL
0x15208004: 0x00100002: no write, cs stall, stall at scoreboard,
0x15208008: 0x00000000: destination address
0x1520800c: 0x00000000: immediate dword low
0x15208010: 0x00000000: immediate dword high
0x15208014: 0x7a000003: PIPE_CONTROL
0x15208018: 0x00004000: qword write,
0x1520801c: 0x15207004: destination address
0x15208020: 0x00000000: immediate dword low
0x15208024: 0x00000000: immediate dword high
0x15208028: 0x69040000: 3DSTATE_PIPELINE_SELECT
0x1520802c: 0x61020000: STATE_SIP
0x15208030: 0x00000000: dword 1
0x15208034: 0x680b0000: 3DSTATE_VF_STATISTICS
0x15208038: 0x11000001: MI_LOAD_REGISTER_IMM
0x1520803c: 0x00002360: dword 1
0x15208040: 0x31337000: dword 2
0x15208044: 0x7a000003: PIPE_CONTROL
0x15208048: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x1520804c: 0x00000000: destination address
0x15208050: 0x00000000: immediate dword low
0x15208054: 0x00000000: immediate dword high
0x15208058: 0x12000001: MI_STORE_REGISTER_MEM
0x1520805c: 0x00002360: dword 1
0x15208060: 0x152071b8: dword 2
0x15208064: 0x7a000003: PIPE_CONTROL
0x15208068: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x1520806c: 0x00000000: destination address
0x15208070: 0x00000000: immediate dword low
0x15208074: 0x00000000: immediate dword high
0x15208078: 0x11000001: MI_LOAD_REGISTER_IMM
0x1520807c: 0x00002360: dword 1
0x15208080: 0x00000000: dword 2
0x15208084: 0x05000000: MI_BATCH_BUFFER_END
intel_screen.c:186: Batchbuffer flush with 1440b (pkt) + 928b (state) = 2368b (7.2%)
0x16613000: 0x7a000003: PIPE_CONTROL
0x16613004: 0x00100002: no write, cs stall, stall at scoreboard,
0x16613008: 0x00000000: destination address
0x1661300c: 0x00000000: immediate dword low
0x16613010: 0x00000000: immediate dword high
0x16613014: 0x7a000003: PIPE_CONTROL
0x16613018: 0x00004000: qword write,
0x1661301c: 0x15207004: destination address
0x16613020: 0x00000000: immediate dword low
0x16613024: 0x00000000: immediate dword high
0x16613028: 0x7a000003: PIPE_CONTROL
0x1661302c: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x16613030: 0x00000000: destination address
0x16613034: 0x00000000: immediate dword low
0x16613038: 0x00000000: immediate dword high
0x1661303c: 0x7a000003: PIPE_CONTROL
0x16613040: 0x00100002: no write, cs stall, stall at scoreboard,
0x16613044: 0x00000000: destination address
0x16613048: 0x00000000: immediate dword low
0x1661304c: 0x00000000: immediate dword high
0x16613050: 0x7a000003: PIPE_CONTROL
0x16613054: 0x00004000: qword write,
0x16613058: 0x15207004: destination address
0x1661305c: 0x00000000: immediate dword low
0x16613060: 0x00000000: immediate dword high
0x16613064: 0x790d0001: 3DSTATE_MULTISAMPLE
0x16613068: 0x00000004: dword 1
0x1661306c: 0xae2ae662: dword 2
0x16613070: 0x78180000: 3DSTATE_SAMPLE_MASK
0x16613074: 0x0000000f: dword 1
0x16613078: 0x61010008: STATE_BASE_ADDRESS
0x1661307c: 0x00000001: general state base address 0x00000000
0x16613080: 0x16613001: surface state base address 0x16613000
0x16613084: 0x16613001: dynamic state base address 0x16613000
0x16613088: 0x00000001: indirect state base address 0x00000000
0x1661308c: 0x15212001: instruction state base address 0x15212000
0x16613090: 0x00000001: general state upper bound disabled
0x16613094: 0xfffff001: dynamic state upper bound 0xfffff000
0x16613098: 0x00000001: indirect state upper bound disabled
0x1661309c: 0x00000001: instruction state upper bound disabled
0x166130a0: 0x78080003: 3DSTATE_VERTEX_BUFFERS
0x166130a4: 0x00000020: buffer 0: sequential, pitch 32b
0x166130a8: 0x1661afa0: buffer address
0x166130ac: 0x1661afff: max index
0x166130b0: 0x00000000: mbz
0x166130b4: 0x78090003: 3DSTATE_VERTEX_ELEMENTS
0x166130b8: 0x02000000: buffer 0: valid, type 0x0000, src offset 0x0000 bytes
0x166130bc: 0x11110000: (X, Y, Z, W), dst offset 0x00 bytes
0x166130c0: 0x02000010: buffer 0: valid, type 0x0000, src offset 0x0010 bytes
0x166130c4: 0x11110000: (X, Y, Z, W), dst offset 0x00 bytes
0x166130c8: 0x78050001: 3DSTATE_URB
0x166130cc: 0x00000100: VS entries 256, alloc size 1 (1024bit row)
0x166130d0: 0x00000000: GS entries 0, alloc size 1 (1024bit row)
0x166130d4: 0x780e0002: 3DSTATE_CC_STATE_POINTERS
0x166130d8: 0x00007f81: blend change 1
0x166130dc: 0x00007f01: depth stencil change 1
0x166130e0: 0x00007f41: cc change 1
0x166130e4: 0x78021302: 3DSTATE_SAMPLER_STATE_POINTERS: VS mod 1, GS mod 1, PS mod 1
0x166130e8: 0x00000000: VS sampler state
0x166130ec: 0x00000000: GS sampler state
0x166130f0: 0x00007e60: WM sampler state
0x166130f4: 0x78150003: 3DSTATE_CONSTANT_VS_STATE
0x166130f8: 0x00000000: dword 1
0x166130fc: 0x00000000: dword 2
0x16613100: 0x00000000: dword 3
0x16613104: 0x00000000: dword 4
0x16613108: 0x78100004: 3DSTATE_VS
0x1661310c: 0x00000000: kernel pointer
0x16613110: 0x00000000: SPF=0, VME=0, Sampler Count 0, Binding table count 0
0x16613114: 0x00000000: scratch offset
0x16613118: 0x00000000: Dispatch GRF start 0, VUE read length 0, VUE read offset 0
0x1661311c: 0x00000000: Max Threads 1, Vertex Cache enable, VS func disable
0x16613120: 0x78160003: 3DSTATE_CONSTANT_GS_STATE
0x16613124: 0x00000000: dword 1
0x16613128: 0x00000000: dword 2
0x1661312c: 0x00000000: dword 3
0x16613130: 0x00000000: dword 4
0x16613134: 0x78110005: 3DSTATE_GS
0x16613138: 0x00000000: kernel pointer
0x1661313c: 0x00000000: SPF=0, VME=0, Sampler Count 0, Binding table count 0
0x16613140: 0x00000000: scratch offset
0x16613144: 0x00000000: Dispatch GRF start 0, VUE read length 0, VUE read offset 0
0x16613148: 0x00000000: Max Threads 1, Rendering disable
0x1661314c: 0x00000000: Reorder disable, Discard Adjaceny disable, GS disable
0x16613150: 0x78120002: 3DSTATE_CLIP
0x16613154: 0x00000000: UserClip distance cull test mask 0x0
0x16613158: 0x00000200: Clip disable, API mode OGL, Viewport XY test disable, Viewport Z test disable, Guardband test disable, Clip mode 0, Perspective Divide disable, Non-Perspective Barycentric disable, Tri Provoking 0, Line Provoking 0, Trifan Provoking 0
0x1661315c: 0x00000000: Min PointWidth 0, Max PointWidth 0, Force Zero RTAIndex disable, Max VPIndex 0
0x16613160: 0x78130012: 3DSTATE_SF
0x16613164: 0x00000800: Attrib Out 0, Attrib Swizzle disable, VUE read length 1, VUE read offset 0
0x16613168: 0x00000000: Legacy Global DepthBias disable, FrontFace fill 0, BF fill 0, VP transform disable, FrontWinding_CW
0x1661316c: 0x00000300: AA disable, CullMode 0, Scissor disable, Multisample m ode 3
0x16613170: 0x00000000: Last Pixel disable, SubPixel Precision 8, Use PixelWidth 0
0x16613174: 0x00000000: Global Depth Offset Constant 0.000000
0x16613178: 0x00000000: Global Depth Offset Scale 0.000000
0x1661317c: 0x00000000: Global Depth Offset Clamp 0.000000
0x16613180: 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 0 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613184: 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 2 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613188: 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 4 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x1661318c: 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 6 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613190: 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 8 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613194: 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 10 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613198: 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 12 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x1661319c: 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 14 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x166131a0: 0x00000000: Point Sprite TexCoord Enable
0x166131a4: 0x00000000: Const Interp Enable
0x166131a8: 0x00000000: Attrib 7-0 WrapShortest Enable
0x166131ac: 0x00000000: Attrib 15-8 WrapShortest Enable
0x166131b0: 0x78171003: 3DSTATE_CONSTANT_PS_STATE
0x166131b4: 0x00007ec1: dword 1
0x166131b8: 0x00000000: dword 2
0x166131bc: 0x00000000: dword 3
0x166131c0: 0x00000000: dword 4
0x166131c4: 0x78140007: 3DSTATE_WM
0x166131c8: 0x00000080: kernel start pointer 0
0x166131cc: 0x08000000: SPF=0, VME=0, Sampler Count 1, Binding table count 0
0x166131d0: 0x00000000: scratch offset
0x166131d4: 0x00020000: Depth Clear 0, Depth Resolve 0, HiZ Resolve 0, Dispatch GRF start[0] 2, start[1] 0, start[2] 0
0x166131d8: 0x9e484002: MaxThreads 80, PS KillPixel 1, PS computed Z 0, PS use sourceZ 0, Thread Dispatch 1, PS use sourceW 0, Dispatch32 0, Dispatch16 1, Dispatch8 0
0x166131dc: 0x00000007: Num SF output 0, Pos XY offset 0, ZW interp mode 0 , Barycentric interp mode 0x0, Point raster rule 0, Multisample mode 3, Multisample Dispatch mode 1
0x166131e0: 0x00000000: kernel start pointer 1
0x166131e4: 0x00000000: kernel start pointer 2
0x166131e8: 0x78011002: 3DSTATE_BINDING_TABLE_POINTERS: VS mod 0, GS mod 0, PS mod 1
0x166131ec: 0x00000000: VS binding table
0x166131f0: 0x00000000: GS binding table
0x166131f4: 0x00007e80: WM binding table
0x166131f8: 0x780d1002: 3DSTATE_VIEWPORT_STATE_POINTERS
0x166131fc: 0x00000000: clip
0x16613200: 0x00000000: sf
0x16613204: 0x00007e40: cc
0x16613208: 0x7a000003: PIPE_CONTROL
0x1661320c: 0x00002000: no write, depth stall,
0x16613210: 0x00000000: destination address
0x16613214: 0x00000000: immediate dword low
0x16613218: 0x00000000: immediate dword high
0x1661321c: 0x7a000003: PIPE_CONTROL
0x16613220: 0x00000001: no write, depth cache flush,
0x16613224: 0x00000000: destination address
0x16613228: 0x00000000: immediate dword low
0x1661322c: 0x00000000: immediate dword high
0x16613230: 0x7a000003: PIPE_CONTROL
0x16613234: 0x00002000: no write, depth stall,
0x16613238: 0x00000000: destination address
0x1661323c: 0x00000000: immediate dword low
0x16613240: 0x00000000: immediate dword high
0x16613244: 0x79050005: 3DSTATE_DEPTH_BUFFER
0x16613248: 0xe0040000: NULL, z32float, pitch = 1 bytes, not tiled, HiZ 0, Seperate Stencil 0
0x1661324c: 0x00000000: depth offset
0x16613250: 0x00000000: 1x1
0x16613254: 0x00000000: volume depth
0x16613258: 0x00000000:
0x1661325c: 0x00000000:
0x16613260: 0x790f0001: 3DSTATE_HIER_DEPTH_BUFFER
0x16613264: 0x00000000: dword 1
0x16613268: 0x00000000: dword 2
0x1661326c: 0x790e0001: 3D UNKNOWN: 3d_965 opcode = 0x790e
0x16613270: 0x00000000: MI_NOOP
0x16613274: 0x00000000: MI_NOOP
0x16613278: 0x79108000: 3DSTATE_CLEAR_PARAMS
0x1661327c: 0x00000000: dword 1
0x16613280: 0x79000002: 3DSTATE_DRAWING_RECTANGLE
0x16613284: 0x00000000: top left: 0,0
0x16613288: 0x03ff03ff: bottom right: 1023,1023
0x1661328c: 0x00000000: origin: 0,0
0x16613290: 0x7b003c04: 3DPRIMITIVE: rect list sequential
0x16613294: 0x00000003: vertex count
0x16613298: 0x00000000: start vertex
0x1661329c: 0x00000001: instance count
0x166132a0: 0x00000000: start instance
0x166132a4: 0x00000000: index bias
0x166132a8: 0x7a000003: PIPE_CONTROL
0x166132ac: 0x00100002: no write, cs stall, stall at scoreboard,
0x166132b0: 0x00000000: destination address
0x166132b4: 0x00000000: immediate dword low
0x166132b8: 0x00000000: immediate dword high
0x166132bc: 0x7a000003: PIPE_CONTROL
0x166132c0: 0x00004000: qword write,
0x166132c4: 0x15207004: destination address
0x166132c8: 0x00000000: immediate dword low
0x166132cc: 0x00000000: immediate dword high
0x166132d0: 0x7a000003: PIPE_CONTROL
0x166132d4: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x166132d8: 0x00000000: destination address
0x166132dc: 0x00000000: immediate dword low
0x166132e0: 0x00000000: immediate dword high
0x166132e4: 0x7a000003: PIPE_CONTROL
0x166132e8: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x166132ec: 0x00000000: destination address
0x166132f0: 0x00000000: immediate dword low
0x166132f4: 0x00000000: immediate dword high
0x166132f8: 0x7a000003: PIPE_CONTROL
0x166132fc: 0x00100002: no write, cs stall, stall at scoreboard,
0x16613300: 0x00000000: destination address
0x16613304: 0x00000000: immediate dword low
0x16613308: 0x00000000: immediate dword high
0x1661330c: 0x7a000003: PIPE_CONTROL
0x16613310: 0x00004000: qword write,
0x16613314: 0x15207004: destination address
0x16613318: 0x00000000: immediate dword low
0x1661331c: 0x00000000: immediate dword high
0x16613320: 0x790d0001: 3DSTATE_MULTISAMPLE
0x16613324: 0x00000000: dword 1
0x16613328: 0x00000000: dword 2
0x1661332c: 0x78180000: 3DSTATE_SAMPLE_MASK
0x16613330: 0x00000001: dword 1
0x16613334: 0x61010008: STATE_BASE_ADDRESS
0x16613338: 0x00000001: general state base address 0x00000000
0x1661333c: 0x16613001: surface state base address 0x16613000
0x16613340: 0x16613001: dynamic state base address 0x16613000
0x16613344: 0x00000001: indirect state base address 0x00000000
0x16613348: 0x15212001: instruction state base address 0x15212000
0x1661334c: 0x00000001: general state upper bound disabled
0x16613350: 0xfffff001: dynamic state upper bound 0xfffff000
0x16613354: 0x00000001: indirect state upper bound disabled
0x16613358: 0x00000001: instruction state upper bound disabled
0x1661335c: 0x78080003: 3DSTATE_VERTEX_BUFFERS
0x16613360: 0x00000020: buffer 0: sequential, pitch 32b
0x16613364: 0x1661ade0: buffer address
0x16613368: 0x1661ae3f: max index
0x1661336c: 0x00000000: mbz
0x16613370: 0x78090003: 3DSTATE_VERTEX_ELEMENTS
0x16613374: 0x02000000: buffer 0: valid, type 0x0000, src offset 0x0000 bytes
0x16613378: 0x11110000: (X, Y, Z, W), dst offset 0x00 bytes
0x1661337c: 0x02000010: buffer 0: valid, type 0x0000, src offset 0x0010 bytes
0x16613380: 0x11110000: (X, Y, Z, W), dst offset 0x00 bytes
0x16613384: 0x78050001: 3DSTATE_URB
0x16613388: 0x00000100: VS entries 256, alloc size 1 (1024bit row)
0x1661338c: 0x00000000: GS entries 0, alloc size 1 (1024bit row)
0x16613390: 0x780e0002: 3DSTATE_CC_STATE_POINTERS
0x16613394: 0x00007dc1: blend change 1
0x16613398: 0x00007d41: depth stencil change 1
0x1661339c: 0x00007d81: cc change 1
0x166133a0: 0x78021302: 3DSTATE_SAMPLER_STATE_POINTERS: VS mod 1, GS mod 1, PS mod 1
0x166133a4: 0x00000000: VS sampler state
0x166133a8: 0x00000000: GS sampler state
0x166133ac: 0x00007c80: WM sampler state
0x166133b0: 0x78150003: 3DSTATE_CONSTANT_VS_STATE
0x166133b4: 0x00000000: dword 1
0x166133b8: 0x00000000: dword 2
0x166133bc: 0x00000000: dword 3
0x166133c0: 0x00000000: dword 4
0x166133c4: 0x78100004: 3DSTATE_VS
0x166133c8: 0x00000000: kernel pointer
0x166133cc: 0x00000000: SPF=0, VME=0, Sampler Count 0, Binding table count 0
0x166133d0: 0x00000000: scratch offset
0x166133d4: 0x00000000: Dispatch GRF start 0, VUE read length 0, VUE read offset 0
0x166133d8: 0x00000000: Max Threads 1, Vertex Cache enable, VS func disable
0x166133dc: 0x78160003: 3DSTATE_CONSTANT_GS_STATE
0x166133e0: 0x00000000: dword 1
0x166133e4: 0x00000000: dword 2
0x166133e8: 0x00000000: dword 3
0x166133ec: 0x00000000: dword 4
0x166133f0: 0x78110005: 3DSTATE_GS
0x166133f4: 0x00000000: kernel pointer
0x166133f8: 0x00000000: SPF=0, VME=0, Sampler Count 0, Binding table count 0
0x166133fc: 0x00000000: scratch offset
0x16613400: 0x00000000: Dispatch GRF start 0, VUE read length 0, VUE read offset 0
0x16613404: 0x00000000: Max Threads 1, Rendering disable
0x16613408: 0x00000000: Reorder disable, Discard Adjaceny disable, GS disable
0x1661340c: 0x78120002: 3DSTATE_CLIP
0x16613410: 0x00000000: UserClip distance cull test mask 0x0
0x16613414: 0x00000200: Clip disable, API mode OGL, Viewport XY test disable, Viewport Z test disable, Guardband test disable, Clip mode 0, Perspective Divide disable, Non-Perspective Barycentric disable, Tri Provoking 0, Line Provoking 0, Trifan Provoking 0
0x16613418: 0x00000000: Min PointWidth 0, Max PointWidth 0, Force Zero RTAIndex disable, Max VPIndex 0
0x1661341c: 0x78130012: 3DSTATE_SF
0x16613420: 0x00000800: Attrib Out 0, Attrib Swizzle disable, VUE read length 1, VUE read offset 0
0x16613424: 0x00000000: Legacy Global DepthBias disable, FrontFace fill 0, BF fill 0, VP transform disable, FrontWinding_CW
0x16613428: 0x00000000: AA disable, CullMode 0, Scissor disable, Multisample m ode 0
0x1661342c: 0x00000000: Last Pixel disable, SubPixel Precision 8, Use PixelWidth 0
0x16613430: 0x00000000: Global Depth Offset Constant 0.000000
0x16613434: 0x00000000: Global Depth Offset Scale 0.000000
0x16613438: 0x00000000: Global Depth Offset Clamp 0.000000
0x1661343c: 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 0 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613440: 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 2 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613444: 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 4 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613448: 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 6 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x1661344c: 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 8 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613450: 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 10 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613454: 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 12 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x16613458: 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 14 (Override , Const Source 0, Swizzle Select 0, Source 0)
0x1661345c: 0x00000000: Point Sprite TexCoord Enable
0x16613460: 0x00000000: Const Interp Enable
0x16613464: 0x00000000: Attrib 7-0 WrapShortest Enable
0x16613468: 0x00000000: Attrib 15-8 WrapShortest Enable
0x1661346c: 0x78171003: 3DSTATE_CONSTANT_PS_STATE
0x16613470: 0x00007d01: dword 1
0x16613474: 0x00000000: dword 2
0x16613478: 0x00000000: dword 3
0x1661347c: 0x00000000: dword 4
0x16613480: 0x78140007: 3DSTATE_WM
0x16613484: 0x000000c0: kernel start pointer 0
0x16613488: 0x08000000: SPF=0, VME=0, Sampler Count 1, Binding table count 0
0x1661348c: 0x00000000: scratch offset
0x16613490: 0x00020000: Depth Clear 0, Depth Resolve 0, HiZ Resolve 0, Dispatch GRF start[0] 2, start[1] 0, start[2] 0
0x16613494: 0x9e484002: MaxThreads 80, PS KillPixel 1, PS computed Z 0, PS use sourceZ 0, Thread Dispatch 1, PS use sourceW 0, Dispatch32 0, Dispatch16 1, Dispatch8 0
0x16613498: 0x00000000: Num SF output 0, Pos XY offset 0, ZW interp mode 0 , Barycentric interp mode 0x0, Point raster rule 0, Multisample mode 0, Multisample Dispatch mode 0
0x1661349c: 0x00000000: kernel start pointer 1
0x166134a0: 0x00000000: kernel start pointer 2
0x166134a4: 0x78011002: 3DSTATE_BINDING_TABLE_POINTERS: VS mod 0, GS mod 0, PS mod 1
0x166134a8: 0x00000000: VS binding table
0x166134ac: 0x00000000: GS binding table
0x166134b0: 0x00007ca0: WM binding table
0x166134b4: 0x780d1002: 3DSTATE_VIEWPORT_STATE_POINTERS
0x166134b8: 0x00000000: clip
0x166134bc: 0x00000000: sf
0x166134c0: 0x00007c60: cc
0x166134c4: 0x7a000003: PIPE_CONTROL
0x166134c8: 0x00002000: no write, depth stall,
0x166134cc: 0x00000000: destination address
0x166134d0: 0x00000000: immediate dword low
0x166134d4: 0x00000000: immediate dword high
0x166134d8: 0x7a000003: PIPE_CONTROL
0x166134dc: 0x00000001: no write, depth cache flush,
0x166134e0: 0x00000000: destination address
0x166134e4: 0x00000000: immediate dword low
0x166134e8: 0x00000000: immediate dword high
0x166134ec: 0x7a000003: PIPE_CONTROL
0x166134f0: 0x00002000: no write, depth stall,
0x166134f4: 0x00000000: destination address
0x166134f8: 0x00000000: immediate dword low
0x166134fc: 0x00000000: immediate dword high
0x16613500: 0x79050005: 3DSTATE_DEPTH_BUFFER
0x16613504: 0xe0040000: NULL, z32float, pitch = 1 bytes, not tiled, HiZ 0, Seperate Stencil 0
0x16613508: 0x00000000: depth offset
0x1661350c: 0x00000000: 1x1
0x16613510: 0x00000000: volume depth
0x16613514: 0x00000000:
0x16613518: 0x00000000:
0x1661351c: 0x790f0001: 3DSTATE_HIER_DEPTH_BUFFER
0x16613520: 0x00000000: dword 1
0x16613524: 0x00000000: dword 2
0x16613528: 0x790e0001: 3D UNKNOWN: 3d_965 opcode = 0x790e
0x1661352c: 0x00000000: MI_NOOP
0x16613530: 0x00000000: MI_NOOP
0x16613534: 0x79108000: 3DSTATE_CLEAR_PARAMS
0x16613538: 0x00000000: dword 1
0x1661353c: 0x79000002: 3DSTATE_DRAWING_RECTANGLE
0x16613540: 0x00000000: top left: 0,0
0x16613544: 0x03ff03ff: bottom right: 1023,1023
0x16613548: 0x00000000: origin: 0,0
0x1661354c: 0x7b003c04: 3DPRIMITIVE: rect list sequential
0x16613550: 0x00000003: vertex count
0x16613554: 0x00000000: start vertex
0x16613558: 0x00000001: instance count
0x1661355c: 0x00000000: start instance
0x16613560: 0x00000000: index bias
0x16613564: 0x7a000003: PIPE_CONTROL
0x16613568: 0x00100002: no write, cs stall, stall at scoreboard,
0x1661356c: 0x00000000: destination address
0x16613570: 0x00000000: immediate dword low
0x16613574: 0x00000000: immediate dword high
0x16613578: 0x7a000003: PIPE_CONTROL
0x1661357c: 0x00004000: qword write,
0x16613580: 0x15207004: destination address
0x16613584: 0x00000000: immediate dword low
0x16613588: 0x00000000: immediate dword high
0x1661358c: 0x7a000003: PIPE_CONTROL
0x16613590: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x16613594: 0x00000000: destination address
0x16613598: 0x00000000: immediate dword low
0x1661359c: 0x00000000: immediate dword high
0x166135a0: 0x05000000: MI_BATCH_BUFFER_END
0x166135a4: 0x00000000:
0x00007f80: 0x00000000: BLEND:
0x00007f84: 0x0000000b: BLEND:
0x00007f40: 0x00000000: CC: alpha test format UNORM8, round disable 0, stencil ref 0, bf stencil ref 0
0x00007f44: 0x00000000: CC:
0x00007f48: 0x00000000: CC: constant red 0.000000
0x00007f4c: 0x00000000: CC: constant green 0.000000
0x00007f50: 0x00000000: CC: constant blue 0.000000
0x00007f54: 0x00000000: CC: constant alpha 0.000000
0x00007f00: 0x00000000: D_S: stencil disable, func 0, write disable
0x00007f04: 0x00000000: D_S: stencil test mask 0x0, write mask 0x0
0x00007f08: 0x04000000: D_S: depth test disable, func 0, write enable
0x00007ec0: 0x00000000: WM_CONST: 0: ( 0.000000 0.000000 0.000000 0.000000) (0x00000000 0x00000000 0x00000000 0x00000000)
0x00007ed0: 0x3a7bbd44: WM_CONST: 1: ( 0.000960 0.000000 0.000000 0.000000) (0x3a7bbd44 0x00000000 0x00000000 0x0a601198)
0x00007ee0: 0x00000000: WM_CONST: 2: ( 0.000000 0.000000 0.000000 0.000000) (0x00000000 0x066e85a0 0x00000000 0x066e84e0)
0x00007ef0: 0x00000000: WM_CONST: 3: ( 0.000000 0.000000 0.000000 0.000000) (0x00000000 0x066e7fd0 0x00000000 0x066e8cf0)
0x00007ea0: 0x2300003f: SURF: 2D unknown
0x00007ea4: 0x15213000: SURF: offset
0x00007ea8: 0x1ff8ffc0: SURF: 1024x1024 size, 0 mips
0x00007eac: 0x0000fffb: SURF: pitch 8192, Y tiled
0x00007eb0: 0x00000020: SURF: mip base 0
0x00007eb4: 0x01000000: SURF: x,y offset: 0,0
0x00007e84: 0x00007ea0: BIND1: surface state address
0x00007e60: 0x18024000: WM SAMP0: filtering
0x00007e64: 0x00000092: WM SAMP0: wrapping, lod
0x00007e68: 0x00000000: WM SAMP0: default color pointer
0x00007e6c: 0x0007e001: WM SAMP0: chroma key, aniso
0x00007e40: 0x00000000: CC VP: min_depth = 0.000000
0x00007e44: 0x3f800000: CC VP: max_depth = 1.000000
0x00007dc0: 0x00000000: BLEND:
0x00007dc4: 0x0000000b: BLEND:
0x00007d80: 0x00000000: CC: alpha test format UNORM8, round disable 0, stencil ref 0, bf stencil ref 0
0x00007d84: 0x00000000: CC:
0x00007d88: 0x00000000: CC: constant red 0.000000
0x00007d8c: 0x00000000: CC: constant green 0.000000
0x00007d90: 0x00000000: CC: constant blue 0.000000
0x00007d94: 0x00000000: CC: constant alpha 0.000000
0x00007d40: 0x00000000: D_S: stencil disable, func 0, write disable
0x00007d44: 0x00000000: D_S: stencil test mask 0x0, write mask 0x0
0x00007d48: 0x04000000: D_S: depth test disable, func 0, write enable
0x00007d00: 0x00000000: WM_CONST: 0: ( 0.000000 0.000000 0.000000 0.000000) (0x00000000 0x00000400 0x00000000 0x00000400)
0x00007d10: 0x44ffe000: WM_CONST: 1: ( 2047.000000 2047.000000 1.000000 0.500000) (0x44ffe000 0x44ffe000 0x3f800000 0x3f000000)
0x00007d20: 0x3f800000: WM_CONST: 2: ( 1.000000 0.500000 0.000000 0.000000) (0x3f800000 0x3f000000 0x00000000 0x319cf938)
0x00007d30: 0x00007fff: WM_CONST: 3: ( 0.000000 0.000000 0.000000 -2298724929265146527744.000000) (0x00007fff 0x00000000 0x00000000 0xe2f93a6f)
0x00007ce0: 0x2304003f: SURF: 2D b8g8r8a8_unorm
0x00007ce4: 0x16213000: SURF: offset
0x00007ce8: 0x1ff8ffc0: SURF: 1024x1024 size, 0 mips
0x00007cec: 0x00007ffa: SURF: pitch 4096, X tiled
0x00007cf0: 0x00000000: SURF: mip base 0
0x00007cf4: 0x00000000: SURF: x,y offset: 0,0
0x00007cc0: 0x2304003f: SURF: 2D b8g8r8a8_unorm
0x00007cc4: 0x15213000: SURF: offset
0x00007cc8: 0x1ff8ffc0: SURF: 1024x1024 size, 0 mips
0x00007ccc: 0x0000fffb: SURF: pitch 8192, Y tiled
0x00007cd0: 0x00000020: SURF: mip base 0
0x00007cd4: 0x01000000: SURF: x,y offset: 0,0
0x00007ca0: 0x00007cc0: BIND0: surface state address
0x00007ca4: 0x00007ce0: BIND1: surface state address
0x00007c80: 0x18024000: WM SAMP0: filtering
0x00007c84: 0x00000092: WM SAMP0: wrapping, lod
0x00007c88: 0x00000000: WM SAMP0: default color pointer
0x00007c8c: 0x0007e001: WM SAMP0: chroma key, aniso
0x00007c60: 0x00000000: CC VP: min_depth = 0.000000
0x00007c64: 0x3f800000: CC VP: max_depth = 1.000000
Using OpenGL 3.0 Mesa 10.2.1 on Mesa DRI Intel(R) Sandybridge Mobile provided by Intel Open Source Technology Center
Using OpenCL 1.2.0 on Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz driven by platform AMD Accelerated Parallel Processing
intel_extensions.c:144: Batchbuffer flush with 132b (pkt) + 0b (state) = 132b (0.4%)
0x16910000: 0x7a000003: PIPE_CONTROL
0x16910004: 0x00100002: no write, cs stall, stall at scoreboard,
0x16910008: 0x00000000: destination address
0x1691000c: 0x00000000: immediate dword low
0x16910010: 0x00000000: immediate dword high
0x16910014: 0x7a000003: PIPE_CONTROL
0x16910018: 0x00004000: qword write,
0x1691001c: 0x1690f004: destination address
0x16910020: 0x00000000: immediate dword low
0x16910024: 0x00000000: immediate dword high
0x16910028: 0x69040000: 3DSTATE_PIPELINE_SELECT
0x1691002c: 0x61020000: STATE_SIP
0x16910030: 0x00000000: dword 1
0x16910034: 0x680b0000: 3DSTATE_VF_STATISTICS
0x16910038: 0x11000001: MI_LOAD_REGISTER_IMM
0x1691003c: 0x00002360: dword 1
0x16910040: 0x31337000: dword 2
0x16910044: 0x7a000003: PIPE_CONTROL
0x16910048: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x1691004c: 0x00000000: destination address
0x16910050: 0x00000000: immediate dword low
0x16910054: 0x00000000: immediate dword high
0x16910058: 0x12000001: MI_STORE_REGISTER_MEM
0x1691005c: 0x00002360: dword 1
0x16910060: 0x1690f1b8: dword 2
0x16910064: 0x7a000003: PIPE_CONTROL
0x16910068: 0x00101c11: no write, cs stall, render target cache flush, instruction cache invalidate, texture cache invalidate, vf fetch invalidate, depth cache flush,
0x1691006c: 0x00000000: destination address
0x16910070: 0x00000000: immediate dword low
0x16910074: 0x00000000: immediate dword high
0x16910078: 0x11000001: MI_LOAD_REGISTER_IMM
0x1691007c: 0x00002360: dword 1
0x16910080: 0x00000000: dword 2
0x16910084: 0x05000000: MI_BATCH_BUFFER_END
cl texture created from opengl texture successfully
intel_mipmap_tree.c:1701: Batchbuffer flush with 104b (pkt) + 0b (state) = 104b (0.3%)
0x00000000: HEAD 0x13000002: MI_FLUSH_DW post_sync_op='no write'
0x00000004: 0x00000000: address
0x00000008: 0x00000000: dword
0x0000000c: 0x00000000: upper dword
0x00000010: 0x11000001: MI_LOAD_REGISTER_IMM
0x00000014: 0x00022200: dword 1
0x00000018: 0x00030001: dword 2
0x0000001c: 0x54f08006: XY_SRC_COPY_BLT (rgb enabled, alpha enabled, src tile 1, dst tile 0)
0x00000020: 0x03cc1000: format 8888, pitch 4096, rop 0xcc, clipping disabled,
0x00000024: 0x00000000: dst (0,0)
0x00000028: 0x04000400: dst (1024,1024)
0x0000002c: 0x16922000: dst offset 0x16922000
0x00000030: 0x00000000: src (0,0)
0x00000034: 0x00000400: src pitch 1024
0x00000038: 0x00000000: src offset 0x00000000
0x0000003c: 0x13000002: MI_FLUSH_DW post_sync_op='no write'
0x00000040: 0x00000000: address
0x00000044: 0x00000000: dword
0x00000048: 0x00000000: upper dword
0x0000004c: 0x11000001: MI_LOAD_REGISTER_IMM
0x00000050: 0x00022200: dword 1
0x00000054: 0x00030000: dword 2
0x00000058: 0x13000002: MI_FLUSH_DW post_sync_op='no write'
0x0000005c: 0x00000000: address
0x00000060: 0x00000000: dword
0x00000064: 0x00000000: upper dword
0x00000068: 0x05000000: MI_BATCH_BUFFER_END
0x0000006c: 0x00000000:
intel_do_flush_locked failed: No such file or directory
@zcwang
Copy link

zcwang commented Nov 30, 2016

May I know it's only need to put INTEL_DEBUG=aub,batch julia qjulia.jl before opengl app execution for output log? like LIBGL_DEBUG=1..

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment