Skip to contentSkip to conversation

NV50 compute support questions

DISCUSSION Hans de Goede 4 participants 25 messages Nov 20, 2015 – Dec 7, 2015 18 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Samual, et al,

In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd
you write: "This compute support has been tested by
Pierre Moreau and myself with some compute kernels."

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

As you know I'm working on a llvm tgsi backend, it actually produces some output now, if you want to take a peek it lives here:
http://cgit.freedesktop.org/~jwrdegoede/llvm

Before working further on this I want to take a bottom up approach, so I want to first make sure we've working TGSI -> compute-kernel and compute-kernel -> hardware steps. So the next question is, do you know if we can go from (manually written) TGSI to a compute-kernel using say nouveau-compiler ?

And if not, do you know what is missing to do this?

Thanks & Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw
In reply to a message not in the archive

Hello Hans,

IIRC, Samuel wrote the kernel directly in assembly by hand.

As for me, I manually wrote the SPIR-V binary for the kernel, hacked clover to use it as if it had been produced by the regular LLVM path, and then fed it into the WIP SPIR-V to NV50 IR translator. I can send the instructions on how to get it working later today.

(Some more comments below)

Quoted 21 lines · Hans de Goede

Hi Samual, et al,

In http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd
you write: "This compute support has been tested by
Pierre Moreau and myself with some compute kernels."

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

As you know I'm working on a llvm tgsi backend, it actually produces some output now, if you want to take a peek it lives here:
http://cgit.freedesktop.org/~jwrdegoede/llvm

Quoted 7 lines

Before working further on this I want to take a bottom up approach, so I want to first make sure we've working TGSI -> compute-kernel and compute-kernel -> hardware steps. So the next question is, do you know if we can go from (manually written) TGSI to a compute-kernel using say nouveau-compiler ?

IIRC, it should be possible… but I'll have a look at it this evening.

Regards,
Pierre

Quoted 7 lines

And if not, do you know what is missing to do this?

Thanks & Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw
In reply to a message not in the archive
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 7 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

An other way to achieve what you need is to copy/paste your TGSI kernel in src/gallium/tests/trivial/compute.c, set up the global buffers and other stuff (maybe samplers, textures and so on) yourself. This is a bit painful but should work as expected.

Quoted 5 lines

As you know I'm working on a llvm tgsi backend, it actually produces some output now, if you want to take a peek it lives here:
http://cgit.freedesktop.org/~jwrdegoede/llvm

I'm currently building your TGSI branch. :-)

Quoted 8 lines

Before working further on this I want to take a bottom up approach, so I want to first make sure we've working TGSI -> compute-kernel and compute-kernel -> hardware steps. So the next question is, do you know if we can go from (manually written) TGSI to a compute-kernel using say nouveau-compiler ?

Sure, you can use nouveau-compiler to convert TGSI to NV50 IR, but as I said, you can't directly execute your compute kernel without setting a ton of stuff before... That's a bunch of fun! :-)

Btw, do you still need compute support on your GK208? or did you have an other card for testing ?

Quoted 7 lines

And if not, do you know what is missing to do this?

Thanks & Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw
In reply to a message not in the archive

Hi,

Quoted 18 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 11 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

Quoted 7 lines
Quoted 3 lines

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover.

Ah, right. Ok I'll take a look at those.

Quoted 1 line

Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

I know I'm fine with manually copying TGSI output by llc for my first tests. I've the feeling I need to understand how inputs to / outputs from the TGSI code are handled better before I can do further work on the llvm TGSI backend.

Quoted 9 lines

An other way to achieve what you need is to copy/paste your TGSI kernel in src/gallium/tests/trivial/compute.c, set up the global buffers and other stuff (maybe samplers, textures and so on) yourself. This is a bit painful but should work as expected.

Quoted 5 lines

As you know I'm working on a llvm tgsi backend, it actually produces some output now, if you want to take a peek it lives here:
http://cgit.freedesktop.org/~jwrdegoede/llvm

I'm currently building your TGSI branch. :-)

Cool, note this is very very preliminary. This really is just curro's work ported to the latest llvm trunk without me having added anything (yet).

Quoted 11 lines
Quoted 7 lines

Before working further on this I want to take a bottom up approach, so I want to first make sure we've working TGSI -> compute-kernel and compute-kernel -> hardware steps. So the next question is, do you know if we can go from (manually written) TGSI to a compute-kernel using say nouveau-compiler ?

Sure, you can use nouveau-compiler to convert TGSI to NV50 IR, but as I said, you can't directly execute your compute kernel without setting a ton of stuff before... That's a bunch of fun! :-)

Btw, do you still need compute support on your GK208? or did you have an other card for testing ?

No I've a GT 610 / GF119 card now (still need to plug it in).

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw
In reply to a message not in the archive
Quoted 67 lines · Hans de Goede

Hi,

Quoted 23 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 8 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Quoted 5 lines

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover.

Ah, right. Ok I'll take a look at those.

Quoted 2 lines

Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

I know I'm fine with manually copying TGSI output by llc for my first tests. I've the feeling I need to understand how inputs to / outputs from the TGSI code are handled better before I can do further work on the llvm TGSI backend.

Quoted 6 lines

An other way to achieve what you need is to copy/paste your TGSI kernel in src/gallium/tests/trivial/compute.c, set up the global buffers and other stuff (maybe samplers, textures and so on) yourself. This is a bit painful but should work as expected.

Quoted 1 line
Quoted 6 lines
Quoted 4 lines

As you know I'm working on a llvm tgsi backend, it actually produces some output now, if you want to take a peek it lives here:
http://cgit.freedesktop.org/~jwrdegoede/llvm

I'm currently building your TGSI branch. :-)

Cool, note this is very very preliminary. This really is just curro's work ported to the latest llvm trunk without me having added anything (yet).

Quoted 8 lines
Quoted 7 lines

Before working further on this I want to take a bottom up approach, so I want to first make sure we've working TGSI -> compute-kernel and compute-kernel -> hardware steps. So the next question is, do you know if we can go from (manually written) TGSI to a compute-kernel using say nouveau-compiler ?

Quoted 8 lines
Quoted 6 lines

Sure, you can use nouveau-compiler to convert TGSI to NV50 IR, but as I said, you can't directly execute your compute kernel without setting a ton of stuff before... That's a bunch of fun! :-)

Btw, do you still need compute support on your GK208? or did you have an other card for testing ?

No I've a GT 610 / GF119 card now (still need to plug it in).

Cool, note that compute support is available on tesla, fermi and kepler since I merged the nv50 compute ~one week ago.

Some bits are missing for tesla and fermi, but I can have look if you need them. Those bits are mostly related to textures, surfaces and samplers, but you can already launch "simple" kernels.

Quoted 4 lines

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#24 lore raw
In reply to a message not in the archive

Hi,

Quoted 18 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 11 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

Quoted 7 lines
Quoted 3 lines

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

Ok, so I've been trying to get Francisco's nbody.c to run, but that does not work. It runs but the planet bodies all stay in the same place, I still need to debug this further any hints for how to debug this are appreciated.

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

(gdb) bt

#0  0x00007ffff6cbca98 in raise () from /lib64/libc.so.6
#1  0x00007ffff6cbe69a in abort () from /lib64/libc.so.6
#2  0x00007ffff6cb5227 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6cb52d2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007ffff4e5b24c in nvc0_surface_create (pipe=<optimized out>,
    pres=<optimized out>, templ=<optimized out>) at nvc0/nvc0_resource.c:41
#5  0x0000000000404341 in init_compute_resources (ctx=ctx@entry=0x691010,
    slots=slots@entry=0x7fffffffd980) at compute.c:347

#6 0x0000000000402cec in test_system_values (ctx=0x691010) at compute.c:494 #7 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1584

Which comes from the assert here:

static struct pipe_surface * nvc0_surface_create(struct pipe_context *pipe,
struct pipe_resource *pres,
const struct pipe_surface *templ)
{
/* surfaces are assumed to be miptrees all over the place. */ assert(pres->target != PIPE_BUFFER);
if (unlikely(pres->target == PIPE_BUFFER))

      return nv50_surface_from_buffer(pipe, pres, templ);

return nvc0_miptree_surface_new(pipe, pres, templ);
}

Just dropping that assert helps somewhat, it leads to:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 3 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 1024 1024 64 }
- test_system_values
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19200, 1): FAIL (19200)
- test_resource_access
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x41000000/8.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40e00000/7.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40c00000/6.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40a00000/5.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40800000/4.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40400000/3.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40000000/2.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf800000/-1.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0000000/-2.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0400000/-3.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0800000/-4.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0a00000/-5.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0c00000/-6.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0e00000/-7.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1000000/-8.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1100000/-9.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1200000/-10.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1300000/-11.000000 (60, 12): FAIL (720)
- test_function_calls
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x0/0.000000, expected 0x2/0.000000
(1, 0)[0]: got 0x1/0.000000, expected 0x2/0.000000
(3, 0)[0]: got 0x3/0.000000, expected 0x2/0.000000
(4, 0)[0]: got 0x4/0.000000, expected 0x1/0.000000
(5, 0)[0]: got 0x5/0.000000, expected 0x1/0.000000
(6, 0)[0]: got 0x6/0.000000, expected 0x1/0.000000
(7, 0)[0]: got 0x7/0.000000, expected 0x1/0.000000
(8, 0)[0]: got 0x8/0.000000, expected 0x1/0.000000
(9, 0)[0]: got 0x9/0.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xa/0.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xb/0.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xc/0.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xd/0.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xe/0.000000, expected 0x1/0.000000
(0, 1)[0]: got 0xf/0.000000, expected 0x1/0.000000
(1, 1)[0]: got 0x10/0.000000, expected 0x1/0.000000
(2, 1)[0]: got 0x11/0.000000, expected 0x1/0.000000
(3, 1)[0]: got 0x12/0.000000, expected 0x1/0.000000
(4, 1)[0]: got 0x13/0.000000, expected 0x1/0.000000
(5, 1)[0]: got 0x14/0.000000, expected 0x1/0.000000
(15, 12): FAIL (179)
- test_input_global
(8, 1): OK
(8, 1): OK
(8, 1): OK
(8, 1): OK
- test_private
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x6/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x9/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xa/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xd/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xe/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x11/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x12/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000 (8192, 1): FAIL (8192)
- test_local
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (1024, 1): FAIL (1024)
- test_sample
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(1, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(2, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(4, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(5, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(6, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(8, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(9, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(10, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(12, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(13, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(14, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(16, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(17, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(18, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(20, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(21, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(22, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(24, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(25, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(512, 32): FAIL (12287)
- test_many_kern
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000 (4, 1): FAIL (4)
- test_constant
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x41000000/8.000000 (1, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40e00000/7.000000 (2, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40c00000/6.000000 (3, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40a00000/5.000000 (4, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40800000/4.000000 (5, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40400000/3.000000 (6, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40000000/2.000000 (7, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x0/0.000000
(9, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xbf800000/-1.000000 (10, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0000000/-2.000000 (11, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0400000/-3.000000 (12, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0800000/-4.000000 (13, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0a00000/-5.000000 (14, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0c00000/-6.000000 (15, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0e00000/-7.000000 (16, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1000000/-8.000000 (17, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1100000/-9.000000 (18, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1200000/-10.000000 (19, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1300000/-11.000000 (64, 1): FAIL (64)
- test_resource_indirect
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x14/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x17/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x18/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1b/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1c/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1f/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x20/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x23/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x24/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x27/0.000000 (64, 1): FAIL (64)
- test_surface_ld
- PIPE_FORMAT_B8G8R8A8_UNORM
(unsupported)
- PIPE_FORMAT_B8G8R8X8_UNORM
(unsupported)
- PIPE_FORMAT_A8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_L8_UNORM
(unsupported)
- PIPE_FORMAT_A8_UNORM
(unsupported)
- PIPE_FORMAT_I8_UNORM
(unsupported)
- PIPE_FORMAT_L8A8_UNORM
(unsupported)
- PIPE_FORMAT_R32_FLOAT
ERROR: unknow op
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_UNORM
(unsupported)
- PIPE_FORMAT_R32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_SNORM
(unsupported)
- PIPE_FORMAT_R8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000 (19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000 (512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000 (12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan (13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000 (14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000 (15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, exp

#0 nv50_ir::RegAlloc::InsertConstraintsPass::textureMask (

    this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
    at codegen/nv50_ir_ra.cpp:1875
#1  0x00007ffff4dec7b5 in nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNVC0 (this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
    at codegen/nv50_ir_ra.cpp:2087
#2  0x00007ffff4decde3 in nv50_ir::RegAlloc::InsertConstraintsPass::visit (
    this=<optimized out>, bb=<optimized out>) at codegen/nv50_ir_ra.cpp:2159
#3  0x00007ffff4da3b48 in nv50_ir::Pass::doRun (
    this=this@entry=0x7fffffffd460, func=func@entry=0x702310,
    ordered=ordered@entry=true, skipPhi=skipPhi@entry=true)
    at codegen/nv50_ir_bb.cpp:495

#4 0x00007ffff4da3cca in nv50_ir::Pass::run (this=this@entry=0x7fffffffd460,
func=func@entry=0x702310, ordered=ordered@entry=true, skipPhi=skipPhi@entry=true) at codegen/nv50_ir_bb.cpp:477
#5 0x00007ffff4dedeb8 in nv50_ir::RegAlloc::InsertConstraintsPass::exec (

    this=this@entry=0x7fffffffd460, ir=0x702310) at codegen/nv50_ir_ra.cpp:1858
#6  0x00007ffff4def598 in nv50_ir::RegAlloc::execFunc (
    this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1759
#7  0x00007ffff4def905 in nv50_ir::RegAlloc::exec (
    this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1731
#8  0x00007ffff4def9cb in nv50_ir::Program::registerAllocation (
    this=this@entry=0x708720) at codegen/nv50_ir_ra.cpp:1850
#9  0x00007ffff4d98cf5 in nv50_ir_generate_code (info=info@entry=0x6f09f0)
    at codegen/nv50_ir.cpp:1210
#10 0x00007ffff4e56f51 in nvc0_program_translate (prog=prog@entry=0x6e4570,
    chipset=<optimized out>, debug=debug@entry=0x6dd788)
    at nvc0/nvc0_program.c:568
#11 0x00007ffff4e53e71 in nvc0_compute_validate_program (nvc0=0x6dd470)
    at nvc0/nvc0_compute.c:122
#12 0x00007ffff4e53f11 in nvc0_compute_state_validate (nvc0=0x6dd470)
    at nvc0/nvc0_compute.c:144
#13 nvc0_launch_grid (pipe=0x6dd470, block_layout=0x7fffffffdbf0,
    grid_layout=0x7fffffffdc00, label=0, input=0x0) at nvc0/nvc0_compute.c:197
#14 0x000000000040392b in launch_grid (ctx=0x691010, input=0x0, pc=0,
    grid_layout=0x7fffffffdc00, block_layout=0x7fffffffdbf0) at compute.c:428

#15 test_surface_st (ctx=0x691010) at compute.c:1200
#16 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1606

So things still do not work as expected, and still ultimately end with a segfault. This is with a NVD9 (GF119) card.

So next I've tried with a NVA8 card, running ./compute there results in:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 2 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 }
PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 512 512 64 }
- test_system_values
compute: codegen/nv50_ir_ra.cpp:2120: void nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNV50(nv50_ir::TexInstruction*): Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

And "nbody" behaves the same as on the NVD9 card.

This is all with current mesa master.

Samual do you've a branch somewhere were the trivial/compute example actually works ? And on what card[s] should it work ?

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#26 lore raw
In reply to a message not in the archive
Quoted 34 lines · Hans de Goede

Hi,

Quoted 23 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 8 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Quoted 7 lines

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

Quoted 4 lines

Ok, so I've been trying to get Francisco's nbody.c to run, but that does not work. It runs but the planet bodies all stay in the same place, I still need to debug this further any hints for how to debug this are appreciated.

I also tried today on Kepler (GK106) and it seems like I got the same result as you. There is white planet in the middle of the screen but nothing happens. And I also don't get any errors.

I'm currently looking at it on my Tesla (GT218), the result is the same but I have a ton of dmesg fails, I'll have a look at how to fix them.

Quoted 8 lines

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

Unfortunately, that's expected. :-)

IIRC, only test_input_global (ie. ./compute 8) works on Tesla/Fermi, but some other tests work on Kepler (< GK110).

Quoted 1,058 lines

(gdb) bt

#0  0x00007ffff6cbca98 in raise () from /lib64/libc.so.6
#1  0x00007ffff6cbe69a in abort () from /lib64/libc.so.6
#2  0x00007ffff6cb5227 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6cb52d2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007ffff4e5b24c in nvc0_surface_create (pipe=<optimized out>,
     pres=<optimized out>, templ=<optimized out>) at
nvc0/nvc0_resource.c:41
#5  0x0000000000404341 in init_compute_resources (ctx=ctx@entry=0x691010,
     slots=slots@entry=0x7fffffffd980) at compute.c:347

#6 0x0000000000402cec in test_system_values (ctx=0x691010) at compute.c:494
#7 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1584

Which comes from the assert here:

static struct pipe_surface * nvc0_surface_create(struct pipe_context *pipe,
struct pipe_resource *pres, const struct pipe_surface *templ)

{
    /* surfaces are assumed to be miptrees all over the place. */
    assert(pres->target != PIPE_BUFFER);
    if (unlikely(pres->target == PIPE_BUFFER))
       return nv50_surface_from_buffer(pipe, pres, templ);
    return nvc0_miptree_surface_new(pipe, pres, templ);
}

Just dropping that assert helps somewhat, it leads to:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 3 } PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 1024 1024 64 }
- test_system_values
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19200, 1): FAIL (19200)
- test_resource_access
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x41000000/8.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40e00000/7.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40c00000/6.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40a00000/5.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40800000/4.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40400000/3.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40000000/2.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf800000/-1.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0000000/-2.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0400000/-3.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0800000/-4.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0a00000/-5.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0c00000/-6.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0e00000/-7.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1000000/-8.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1100000/-9.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1300000/-11.000000
(60, 12): FAIL (720)
- test_function_calls
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x0/0.000000, expected 0x2/0.000000
(1, 0)[0]: got 0x1/0.000000, expected 0x2/0.000000
(3, 0)[0]: got 0x3/0.000000, expected 0x2/0.000000
(4, 0)[0]: got 0x4/0.000000, expected 0x1/0.000000
(5, 0)[0]: got 0x5/0.000000, expected 0x1/0.000000
(6, 0)[0]: got 0x6/0.000000, expected 0x1/0.000000
(7, 0)[0]: got 0x7/0.000000, expected 0x1/0.000000
(8, 0)[0]: got 0x8/0.000000, expected 0x1/0.000000
(9, 0)[0]: got 0x9/0.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xa/0.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xb/0.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xc/0.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xd/0.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xe/0.000000, expected 0x1/0.000000
(0, 1)[0]: got 0xf/0.000000, expected 0x1/0.000000
(1, 1)[0]: got 0x10/0.000000, expected 0x1/0.000000
(2, 1)[0]: got 0x11/0.000000, expected 0x1/0.000000
(3, 1)[0]: got 0x12/0.000000, expected 0x1/0.000000
(4, 1)[0]: got 0x13/0.000000, expected 0x1/0.000000
(5, 1)[0]: got 0x14/0.000000, expected 0x1/0.000000
(15, 12): FAIL (179)
- test_input_global
(8, 1): OK
(8, 1): OK
(8, 1): OK
(8, 1): OK
- test_private
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x6/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x9/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xa/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xd/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xe/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x11/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x12/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(8192, 1): FAIL (8192)
- test_local
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1024, 1): FAIL (1024)
- test_sample
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(1, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(2, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(4, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(5, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(6, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(8, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(9, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(10, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(12, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(13, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(14, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(16, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(17, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(18, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(20, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(21, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(22, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(24, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(25, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (512, 32): FAIL (12287)
- test_many_kern
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 1): FAIL (4)
- test_constant
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x41000000/8.000000 (1, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40e00000/7.000000 (2, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40c00000/6.000000 (3, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40a00000/5.000000 (4, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40800000/4.000000 (5, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40400000/3.000000 (6, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40000000/2.000000 (7, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x0/0.000000 (9, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xbf800000/-1.000000 (10, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0000000/-2.000000 (11, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0400000/-3.000000 (12, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0800000/-4.000000 (13, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0a00000/-5.000000 (14, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0c00000/-6.000000 (15, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0e00000/-7.000000 (16, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1000000/-8.000000 (17, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1100000/-9.000000 (18, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1300000/-11.000000
(64, 1): FAIL (64)
- test_resource_indirect
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x14/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x17/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x18/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1b/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1c/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1f/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x20/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x23/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x24/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x27/0.000000
(64, 1): FAIL (64)
- test_surface_ld
- PIPE_FORMAT_B8G8R8A8_UNORM
(unsupported)
- PIPE_FORMAT_B8G8R8X8_UNORM
(unsupported)
- PIPE_FORMAT_A8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_L8_UNORM
(unsupported)
- PIPE_FORMAT_A8_UNORM
(unsupported)
- PIPE_FORMAT_I8_UNORM
(unsupported)
- PIPE_FORMAT_L8A8_UNORM
(unsupported)
- PIPE_FORMAT_R32_FLOAT
ERROR: unknow op
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_UNORM
(unsupported)
- PIPE_FORMAT_R32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_SNORM
(unsupported)
- PIPE_FORMAT_R8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, exp

#0 nv50_ir::RegAlloc::InsertConstraintsPass::textureMask (

     this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:1875
#1  0x00007ffff4dec7b5 in
nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNVC0
(this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:2087

#2 0x00007ffff4decde3 in nv50_ir::RegAlloc::InsertConstraintsPass::visit (
this=<optimized out>, bb=<optimized out>) at
codegen/nv50_ir_ra.cpp:2159
#3 0x00007ffff4da3b48 in nv50_ir::Pass::doRun (

     this=this@entry=0x7fffffffd460, func=func@entry=0x702310,
     ordered=ordered@entry=true, skipPhi=skipPhi@entry=true)
     at codegen/nv50_ir_bb.cpp:495

#4 0x00007ffff4da3cca in nv50_ir::Pass::run (this=this@entry=0x7fffffffd460,
func=func@entry=0x702310, ordered=ordered@entry=true, skipPhi=skipPhi@entry=true) at codegen/nv50_ir_bb.cpp:477
#5 0x00007ffff4dedeb8 in nv50_ir::RegAlloc::InsertConstraintsPass::exec (

     this=this@entry=0x7fffffffd460, ir=0x702310) at
codegen/nv50_ir_ra.cpp:1858
#6  0x00007ffff4def598 in nv50_ir::RegAlloc::execFunc (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1759
#7  0x00007ffff4def905 in nv50_ir::RegAlloc::exec (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1731
#8  0x00007ffff4def9cb in nv50_ir::Program::registerAllocation (
     this=this@entry=0x708720) at codegen/nv50_ir_ra.cpp:1850
#9  0x00007ffff4d98cf5 in nv50_ir_generate_code (info=info@entry=0x6f09f0)
     at codegen/nv50_ir.cpp:1210
#10 0x00007ffff4e56f51 in nvc0_program_translate (prog=prog@entry=0x6e4570,
     chipset=<optimized out>, debug=debug@entry=0x6dd788)
     at nvc0/nvc0_program.c:568
#11 0x00007ffff4e53e71 in nvc0_compute_validate_program (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:122
#12 0x00007ffff4e53f11 in nvc0_compute_state_validate (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:144
#13 nvc0_launch_grid (pipe=0x6dd470, block_layout=0x7fffffffdbf0,
     grid_layout=0x7fffffffdc00, label=0, input=0x0) at
nvc0/nvc0_compute.c:197
#14 0x000000000040392b in launch_grid (ctx=0x691010, input=0x0, pc=0,
     grid_layout=0x7fffffffdc00, block_layout=0x7fffffffdbf0) at

compute.c:428
#15 test_surface_st (ctx=0x691010) at compute.c:1200
#16 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1606

So things still do not work as expected, and still ultimately end with a segfault. This is with a NVD9 (GF119) card.

So next I've tried with a NVA8 card, running ./compute there results in:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 2 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 512 512 64 }
- test_system_values
compute: codegen/nv50_ir_ra.cpp:2120: void nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNV50(nv50_ir::TexInstruction*):
Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

Quoted 6 lines

And "nbody" behaves the same as on the NVD9 card.

This is all with current mesa master.

Samual do you've a branch somewhere were the trivial/compute example actually works ? And on what card[s] should it work ?

No I don't have but I'll definitely work on this because we need to figure out all of those compute fails.

Compute support on Kepler (< GK110) seems to work quite fine, and it's quite complete. But you will also get those assertions...

I recommend you to test on Kepler (< GK110), and in the meantime I'll have a look at those issues on Tesla and Fermi.

As a starting point, I think it would be good to test with "simple" compute kernels which only use the global memory, like a vector add, a matrix mul, and so on.

Feel free to ask questions.

Thanks.

Quoted 4 lines

Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#28 lore raw
In reply to a message not in the archive
Quoted 10 lines · Samuel Pitoiset
Quoted 7 lines

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

Unfortunately, that's expected. :-)

I threw that assertion in without thinking too hard. Probably OK to remove for the compute case. As you've discovered, all the surface stuff (which generally speaking is images) is only implemented for GK10x. I suspect a lot of it will have to change anyways as support for all this stuff is added for GL, so whatever's there now, I wouldn't rely too much on.

-ilia
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#29 lore raw
In reply to a message not in the archive

Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones. I'm working on the fermi case btw.

Quoted 1,114 lines · Hans de Goede

Hi,

Quoted 23 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 8 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Quoted 7 lines

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

Ok, so I've been trying to get Francisco's nbody.c to run, but that does not work. It runs but the planet bodies all stay in the same place, I still need to debug this further any hints for how to debug this are appreciated.

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

(gdb) bt

#0  0x00007ffff6cbca98 in raise () from /lib64/libc.so.6
#1  0x00007ffff6cbe69a in abort () from /lib64/libc.so.6
#2  0x00007ffff6cb5227 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6cb52d2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007ffff4e5b24c in nvc0_surface_create (pipe=<optimized out>,
     pres=<optimized out>, templ=<optimized out>) at
nvc0/nvc0_resource.c:41
#5  0x0000000000404341 in init_compute_resources (ctx=ctx@entry=0x691010,
     slots=slots@entry=0x7fffffffd980) at compute.c:347

#6 0x0000000000402cec in test_system_values (ctx=0x691010) at compute.c:494
#7 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1584

Which comes from the assert here:

static struct pipe_surface * nvc0_surface_create(struct pipe_context *pipe,
struct pipe_resource *pres, const struct pipe_surface *templ)

{
    /* surfaces are assumed to be miptrees all over the place. */
    assert(pres->target != PIPE_BUFFER);
    if (unlikely(pres->target == PIPE_BUFFER))
       return nv50_surface_from_buffer(pipe, pres, templ);
    return nvc0_miptree_surface_new(pipe, pres, templ);
}

Just dropping that assert helps somewhat, it leads to:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 3 } PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 1024 1024 64 }
- test_system_values
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19200, 1): FAIL (19200)
- test_resource_access
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x41000000/8.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40e00000/7.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40c00000/6.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40a00000/5.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40800000/4.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40400000/3.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40000000/2.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf800000/-1.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0000000/-2.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0400000/-3.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0800000/-4.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0a00000/-5.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0c00000/-6.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0e00000/-7.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1000000/-8.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1100000/-9.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1300000/-11.000000
(60, 12): FAIL (720)
- test_function_calls
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x0/0.000000, expected 0x2/0.000000
(1, 0)[0]: got 0x1/0.000000, expected 0x2/0.000000
(3, 0)[0]: got 0x3/0.000000, expected 0x2/0.000000
(4, 0)[0]: got 0x4/0.000000, expected 0x1/0.000000
(5, 0)[0]: got 0x5/0.000000, expected 0x1/0.000000
(6, 0)[0]: got 0x6/0.000000, expected 0x1/0.000000
(7, 0)[0]: got 0x7/0.000000, expected 0x1/0.000000
(8, 0)[0]: got 0x8/0.000000, expected 0x1/0.000000
(9, 0)[0]: got 0x9/0.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xa/0.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xb/0.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xc/0.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xd/0.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xe/0.000000, expected 0x1/0.000000
(0, 1)[0]: got 0xf/0.000000, expected 0x1/0.000000
(1, 1)[0]: got 0x10/0.000000, expected 0x1/0.000000
(2, 1)[0]: got 0x11/0.000000, expected 0x1/0.000000
(3, 1)[0]: got 0x12/0.000000, expected 0x1/0.000000
(4, 1)[0]: got 0x13/0.000000, expected 0x1/0.000000
(5, 1)[0]: got 0x14/0.000000, expected 0x1/0.000000
(15, 12): FAIL (179)
- test_input_global
(8, 1): OK
(8, 1): OK
(8, 1): OK
(8, 1): OK
- test_private
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x6/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x9/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xa/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xd/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xe/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x11/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x12/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(8192, 1): FAIL (8192)
- test_local
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1024, 1): FAIL (1024)
- test_sample
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(1, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(2, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(4, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(5, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(6, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(8, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(9, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(10, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(12, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(13, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(14, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(16, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(17, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(18, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(20, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(21, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(22, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(24, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(25, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (512, 32): FAIL (12287)
- test_many_kern
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 1): FAIL (4)
- test_constant
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x41000000/8.000000 (1, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40e00000/7.000000 (2, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40c00000/6.000000 (3, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40a00000/5.000000 (4, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40800000/4.000000 (5, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40400000/3.000000 (6, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40000000/2.000000 (7, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x0/0.000000 (9, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xbf800000/-1.000000 (10, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0000000/-2.000000 (11, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0400000/-3.000000 (12, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0800000/-4.000000 (13, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0a00000/-5.000000 (14, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0c00000/-6.000000 (15, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0e00000/-7.000000 (16, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1000000/-8.000000 (17, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1100000/-9.000000 (18, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1300000/-11.000000
(64, 1): FAIL (64)
- test_resource_indirect
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x14/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x17/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x18/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1b/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1c/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1f/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x20/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x23/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x24/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x27/0.000000
(64, 1): FAIL (64)
- test_surface_ld
- PIPE_FORMAT_B8G8R8A8_UNORM
(unsupported)
- PIPE_FORMAT_B8G8R8X8_UNORM
(unsupported)
- PIPE_FORMAT_A8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_L8_UNORM
(unsupported)
- PIPE_FORMAT_A8_UNORM
(unsupported)
- PIPE_FORMAT_I8_UNORM
(unsupported)
- PIPE_FORMAT_L8A8_UNORM
(unsupported)
- PIPE_FORMAT_R32_FLOAT
ERROR: unknow op
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_UNORM
(unsupported)
- PIPE_FORMAT_R32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_SNORM
(unsupported)
- PIPE_FORMAT_R8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, exp

#0 nv50_ir::RegAlloc::InsertConstraintsPass::textureMask (

     this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:1875
#1  0x00007ffff4dec7b5 in
nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNVC0
(this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:2087

#2 0x00007ffff4decde3 in nv50_ir::RegAlloc::InsertConstraintsPass::visit (
this=<optimized out>, bb=<optimized out>) at
codegen/nv50_ir_ra.cpp:2159
#3 0x00007ffff4da3b48 in nv50_ir::Pass::doRun (

     this=this@entry=0x7fffffffd460, func=func@entry=0x702310,
     ordered=ordered@entry=true, skipPhi=skipPhi@entry=true)
     at codegen/nv50_ir_bb.cpp:495

#4 0x00007ffff4da3cca in nv50_ir::Pass::run (this=this@entry=0x7fffffffd460,
func=func@entry=0x702310, ordered=ordered@entry=true, skipPhi=skipPhi@entry=true) at codegen/nv50_ir_bb.cpp:477
#5 0x00007ffff4dedeb8 in nv50_ir::RegAlloc::InsertConstraintsPass::exec (

     this=this@entry=0x7fffffffd460, ir=0x702310) at
codegen/nv50_ir_ra.cpp:1858
#6  0x00007ffff4def598 in nv50_ir::RegAlloc::execFunc (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1759
#7  0x00007ffff4def905 in nv50_ir::RegAlloc::exec (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1731
#8  0x00007ffff4def9cb in nv50_ir::Program::registerAllocation (
     this=this@entry=0x708720) at codegen/nv50_ir_ra.cpp:1850
#9  0x00007ffff4d98cf5 in nv50_ir_generate_code (info=info@entry=0x6f09f0)
     at codegen/nv50_ir.cpp:1210
#10 0x00007ffff4e56f51 in nvc0_program_translate (prog=prog@entry=0x6e4570,
     chipset=<optimized out>, debug=debug@entry=0x6dd788)
     at nvc0/nvc0_program.c:568
#11 0x00007ffff4e53e71 in nvc0_compute_validate_program (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:122
#12 0x00007ffff4e53f11 in nvc0_compute_state_validate (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:144
#13 nvc0_launch_grid (pipe=0x6dd470, block_layout=0x7fffffffdbf0,
     grid_layout=0x7fffffffdc00, label=0, input=0x0) at
nvc0/nvc0_compute.c:197
#14 0x000000000040392b in launch_grid (ctx=0x691010, input=0x0, pc=0,
     grid_layout=0x7fffffffdc00, block_layout=0x7fffffffdbf0) at

compute.c:428
#15 test_surface_st (ctx=0x691010) at compute.c:1200
#16 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1606

So things still do not work as expected, and still ultimately end with a segfault. This is with a NVD9 (GF119) card.

So next I've tried with a NVA8 card, running ./compute there results in:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 2 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 512 512 64 }
- test_system_values
compute: codegen/nv50_ir_ra.cpp:2120: void nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNV50(nv50_ir::TexInstruction*):
Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

And "nbody" behaves the same as on the NVD9 card.

This is all with current mesa master.

Samual do you've a branch somewhere were the trivial/compute example actually works ? And on what card[s] should it work ?

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#31 lore raw
In reply to a message not in the archive

Hi,

Quoted 1 line · Samuel Pitoiset

Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones.

Do you mean the:

	Assertion `pres->target != PIPE_BUFFER' failed.

or the:

	Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

assert? Or is the first one not present for Keppler?

I do not have a GK106, I've a GK208, and IIRC that one is known to not work, I guess I can give it a try.

Quoted 1 line

I'm working on the fermi case btw.

Great, thanks.

Regards,

Hans

Quoted 1,107 lines · Hans de Goede
Quoted 1,106 lines

Hi,

Quoted 23 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 8 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Quoted 7 lines

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

Ok, so I've been trying to get Francisco's nbody.c to run, but that does not work. It runs but the planet bodies all stay in the same place, I still need to debug this further any hints for how to debug this are appreciated.

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

(gdb) bt

#0  0x00007ffff6cbca98 in raise () from /lib64/libc.so.6
#1  0x00007ffff6cbe69a in abort () from /lib64/libc.so.6
#2  0x00007ffff6cb5227 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6cb52d2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007ffff4e5b24c in nvc0_surface_create (pipe=<optimized out>,
     pres=<optimized out>, templ=<optimized out>) at
nvc0/nvc0_resource.c:41
#5  0x0000000000404341 in init_compute_resources (ctx=ctx@entry=0x691010,
     slots=slots@entry=0x7fffffffd980) at compute.c:347

#6 0x0000000000402cec in test_system_values (ctx=0x691010) at compute.c:494
#7 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1584

Which comes from the assert here:

static struct pipe_surface * nvc0_surface_create(struct pipe_context *pipe,
struct pipe_resource *pres, const struct pipe_surface *templ)

{
    /* surfaces are assumed to be miptrees all over the place. */
    assert(pres->target != PIPE_BUFFER);
    if (unlikely(pres->target == PIPE_BUFFER))
       return nv50_surface_from_buffer(pipe, pres, templ);
    return nvc0_miptree_surface_new(pipe, pres, templ);
}

Just dropping that assert helps somewhat, it leads to:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 3 } PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 1024 1024 64 }
- test_system_values
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19200, 1): FAIL (19200)
- test_resource_access
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x41000000/8.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40e00000/7.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40c00000/6.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40a00000/5.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40800000/4.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40400000/3.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40000000/2.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf800000/-1.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0000000/-2.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0400000/-3.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0800000/-4.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0a00000/-5.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0c00000/-6.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0e00000/-7.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1000000/-8.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1100000/-9.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1300000/-11.000000
(60, 12): FAIL (720)
- test_function_calls
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x0/0.000000, expected 0x2/0.000000
(1, 0)[0]: got 0x1/0.000000, expected 0x2/0.000000
(3, 0)[0]: got 0x3/0.000000, expected 0x2/0.000000
(4, 0)[0]: got 0x4/0.000000, expected 0x1/0.000000
(5, 0)[0]: got 0x5/0.000000, expected 0x1/0.000000
(6, 0)[0]: got 0x6/0.000000, expected 0x1/0.000000
(7, 0)[0]: got 0x7/0.000000, expected 0x1/0.000000
(8, 0)[0]: got 0x8/0.000000, expected 0x1/0.000000
(9, 0)[0]: got 0x9/0.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xa/0.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xb/0.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xc/0.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xd/0.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xe/0.000000, expected 0x1/0.000000
(0, 1)[0]: got 0xf/0.000000, expected 0x1/0.000000
(1, 1)[0]: got 0x10/0.000000, expected 0x1/0.000000
(2, 1)[0]: got 0x11/0.000000, expected 0x1/0.000000
(3, 1)[0]: got 0x12/0.000000, expected 0x1/0.000000
(4, 1)[0]: got 0x13/0.000000, expected 0x1/0.000000
(5, 1)[0]: got 0x14/0.000000, expected 0x1/0.000000
(15, 12): FAIL (179)
- test_input_global
(8, 1): OK
(8, 1): OK
(8, 1): OK
(8, 1): OK
- test_private
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x6/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x9/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xa/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xd/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xe/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x11/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x12/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(8192, 1): FAIL (8192)
- test_local
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1024, 1): FAIL (1024)
- test_sample
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(1, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(2, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(4, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(5, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(6, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(8, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(9, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(10, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(12, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(13, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(14, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(16, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(17, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(18, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(20, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(21, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(22, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(24, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000
(25, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (512, 32): FAIL (12287)
- test_many_kern
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 1): FAIL (4)
- test_constant
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x41000000/8.000000 (1, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40e00000/7.000000 (2, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40c00000/6.000000 (3, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40a00000/5.000000 (4, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40800000/4.000000 (5, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40400000/3.000000 (6, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40000000/2.000000 (7, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x3f800000/1.000000 (8, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x0/0.000000 (9, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xbf800000/-1.000000 (10, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0000000/-2.000000 (11, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0400000/-3.000000 (12, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0800000/-4.000000 (13, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0a00000/-5.000000 (14, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0c00000/-6.000000 (15, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0e00000/-7.000000 (16, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1000000/-8.000000 (17, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1100000/-9.000000 (18, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1300000/-11.000000
(64, 1): FAIL (64)
- test_resource_indirect
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x14/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x17/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x18/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1b/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1c/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1f/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x20/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x23/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x24/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x27/0.000000
(64, 1): FAIL (64)
- test_surface_ld
- PIPE_FORMAT_B8G8R8A8_UNORM
(unsupported)
- PIPE_FORMAT_B8G8R8X8_UNORM
(unsupported)
- PIPE_FORMAT_A8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_L8_UNORM
(unsupported)
- PIPE_FORMAT_A8_UNORM
(unsupported)
- PIPE_FORMAT_I8_UNORM
(unsupported)
- PIPE_FORMAT_L8A8_UNORM
(unsupported)
- PIPE_FORMAT_R32_FLOAT
ERROR: unknow op
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_UNORM
(unsupported)
- PIPE_FORMAT_R32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_SNORM
(unsupported)
- PIPE_FORMAT_R8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, exp

#0 nv50_ir::RegAlloc::InsertConstraintsPass::textureMask (

     this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:1875
#1  0x00007ffff4dec7b5 in
nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNVC0
(this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:2087

#2 0x00007ffff4decde3 in nv50_ir::RegAlloc::InsertConstraintsPass::visit (
this=<optimized out>, bb=<optimized out>) at
codegen/nv50_ir_ra.cpp:2159
#3 0x00007ffff4da3b48 in nv50_ir::Pass::doRun (

     this=this@entry=0x7fffffffd460, func=func@entry=0x702310,
     ordered=ordered@entry=true, skipPhi=skipPhi@entry=true)
     at codegen/nv50_ir_bb.cpp:495

#4 0x00007ffff4da3cca in nv50_ir::Pass::run (this=this@entry=0x7fffffffd460,
func=func@entry=0x702310, ordered=ordered@entry=true, skipPhi=skipPhi@entry=true) at codegen/nv50_ir_bb.cpp:477
#5 0x00007ffff4dedeb8 in nv50_ir::RegAlloc::InsertConstraintsPass::exec (

     this=this@entry=0x7fffffffd460, ir=0x702310) at
codegen/nv50_ir_ra.cpp:1858
#6  0x00007ffff4def598 in nv50_ir::RegAlloc::execFunc (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1759
#7  0x00007ffff4def905 in nv50_ir::RegAlloc::exec (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1731
#8  0x00007ffff4def9cb in nv50_ir::Program::registerAllocation (
     this=this@entry=0x708720) at codegen/nv50_ir_ra.cpp:1850
#9  0x00007ffff4d98cf5 in nv50_ir_generate_code (info=info@entry=0x6f09f0)
     at codegen/nv50_ir.cpp:1210
#10 0x00007ffff4e56f51 in nvc0_program_translate (prog=prog@entry=0x6e4570,
     chipset=<optimized out>, debug=debug@entry=0x6dd788)
     at nvc0/nvc0_program.c:568
#11 0x00007ffff4e53e71 in nvc0_compute_validate_program (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:122
#12 0x00007ffff4e53f11 in nvc0_compute_state_validate (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:144
#13 nvc0_launch_grid (pipe=0x6dd470, block_layout=0x7fffffffdbf0,
     grid_layout=0x7fffffffdc00, label=0, input=0x0) at
nvc0/nvc0_compute.c:197
#14 0x000000000040392b in launch_grid (ctx=0x691010, input=0x0, pc=0,
     grid_layout=0x7fffffffdc00, block_layout=0x7fffffffdbf0) at

compute.c:428
#15 test_surface_st (ctx=0x691010) at compute.c:1200
#16 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1606

So things still do not work as expected, and still ultimately end with a segfault. This is with a NVD9 (GF119) card.

So next I've tried with a NVA8 card, running ./compute there results in:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 2 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 512 512 64 }
- test_system_values
compute: codegen/nv50_ir_ra.cpp:2120: void nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNV50(nv50_ir::TexInstruction*):
Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

And "nbody" behaves the same as on the NVD9 card.

Quoted 9 lines
Quoted 8 lines

This is all with current mesa master.

Samual do you've a branch somewhere were the trivial/compute example actually works ? And on what card[s] should it work ?

Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#33 lore raw
In reply to a message not in the archive
Quoted 9 lines · Hans de Goede

Hi,

Quoted 3 lines · Samuel Pitoiset

Well, if you remove that assert locally, all compute tests in src/gallium/tests/trivial/compute.c pass on GK106, except the atomic ones.

Do you mean the:

Quoted 7 lines
     Assertion `pres->target != PIPE_BUFFER' failed.

or the:

     Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

assert? Or is the first one not present for Keppler?

The first one. The second one doesn't happen on Kepler.

Quoted 4 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Compute support is not supported on GK110+, yeah...

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Quoted 1,151 lines
Quoted 2 lines

I'm working on the fermi case btw.

Great, thanks.

Regards,

Hans

Quoted 1,140 lines · Hans de Goede
Quoted 1,138 lines

Hi,

Quoted 24 lines · Samuel Pitoiset
Quoted 1 line · Hans de Goede

Hi Samual, et al,

Hi Hans,

Quoted 9 lines

In
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau?id=ff72440b40211326eda118232fabd53965410afd

you write: "This compute support has been tested by Pierre Moreau and myself with some compute kernels."

Quoted 7 lines

Can you provide testing instructions (and the necessary files) so that I can try to reproduce your tests ?

And once I've reproduced your tests, the next question is where / how did you get the compute kernels for testing. I guess you manually wrote them ?

Quoted 7 lines

Yeah, I wrote those compute kernels directly in assembly by hand.

I already said few days ago, you have some examples in src/gallium/tests/trivial/compute.c which show how to use that compute support stuff with TGSI kernels and without clover. Because clover is not currently able to do OpenCL -> TGSI using Clang/LLVM, you can't really use your backend directly.

Ok, so I've been trying to get Francisco's nbody.c to run, but that does not work. It runs but the planet bodies all stay in the same place, I still need to debug this further any hints for how to debug this are appreciated.

So I tried to run src/gallium/tests/trivial/compute.c, with a recent mesa master, but that does not work either.

I get the following when I try to run this:

compute: nvc0/nvc0_resource.c:41: nvc0_surface_create: Assertion `pres->target != PIPE_BUFFER' failed.

(gdb) bt

#0  0x00007ffff6cbca98 in raise () from /lib64/libc.so.6
#1  0x00007ffff6cbe69a in abort () from /lib64/libc.so.6
#2  0x00007ffff6cb5227 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6cb52d2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007ffff4e5b24c in nvc0_surface_create (pipe=<optimized out>,

pres=<optimized out>, templ=<optimized out>) at
nvc0/nvc0_resource.c:41
#5 0x0000000000404341 in init_compute_resources (ctx=ctx@entry=0x691010,

     slots=slots@entry=0x7fffffffd980) at compute.c:347

#6 0x0000000000402cec in test_system_values (ctx=0x691010) at compute.c:494
#7 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1584

Which comes from the assert here:

static struct pipe_surface * nvc0_surface_create(struct pipe_context *pipe,
struct pipe_resource *pres, const struct pipe_surface *templ)

{
    /* surfaces are assumed to be miptrees all over the place. */
    assert(pres->target != PIPE_BUFFER);
    if (unlikely(pres->target == PIPE_BUFFER))
       return nv50_surface_from_buffer(pipe, pres, templ);
    return nvc0_miptree_surface_new(pipe, pres, templ);
}

Just dropping that assert helps somewhat, it leads to:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 3 } PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 1024 1024 64 }
- test_system_values
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19200, 1): FAIL (19200)
- test_resource_access
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x41000000/8.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40e00000/7.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40c00000/6.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40a00000/5.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40800000/4.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40400000/3.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x40000000/2.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf800000/-1.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0000000/-2.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0400000/-3.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0800000/-4.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0a00000/-5.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0c00000/-6.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc0e00000/-7.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1000000/-8.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1100000/-9.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc1300000/-11.000000
(60, 12): FAIL (720)
- test_function_calls
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x0/0.000000, expected 0x2/0.000000
(1, 0)[0]: got 0x1/0.000000, expected 0x2/0.000000
(3, 0)[0]: got 0x3/0.000000, expected 0x2/0.000000
(4, 0)[0]: got 0x4/0.000000, expected 0x1/0.000000
(5, 0)[0]: got 0x5/0.000000, expected 0x1/0.000000
(6, 0)[0]: got 0x6/0.000000, expected 0x1/0.000000
(7, 0)[0]: got 0x7/0.000000, expected 0x1/0.000000
(8, 0)[0]: got 0x8/0.000000, expected 0x1/0.000000
(9, 0)[0]: got 0x9/0.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xa/0.000000, expected 0x1/0.000000 (11, 0)[0]: got 0xb/0.000000, expected 0x1/0.000000 (12, 0)[0]: got 0xc/0.000000, expected 0x1/0.000000 (13, 0)[0]: got 0xd/0.000000, expected 0x1/0.000000 (14, 0)[0]: got 0xe/0.000000, expected 0x1/0.000000
(0, 1)[0]: got 0xf/0.000000, expected 0x1/0.000000
(1, 1)[0]: got 0x10/0.000000, expected 0x1/0.000000
(2, 1)[0]: got 0x11/0.000000, expected 0x1/0.000000
(3, 1)[0]: got 0x12/0.000000, expected 0x1/0.000000
(4, 1)[0]: got 0x13/0.000000, expected 0x1/0.000000
(5, 1)[0]: got 0x14/0.000000, expected 0x1/0.000000 (15, 12): FAIL (179)
- test_input_global
(8, 1): OK
(8, 1): OK
(8, 1): OK
(8, 1): OK
- test_private
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x5/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x6/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x9/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xa/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xd/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xe/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x11/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x12/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(8192, 1): FAIL (8192)
- test_local
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(1024, 1): FAIL (1024)
- test_sample
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (1, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (2, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (4, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (5, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (6, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (8, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (9, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (10, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (12, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (13, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (14, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (16, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (17, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (18, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (20, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (21, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (22, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (24, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (25, 0)[0]: got 0x3f800000/1.000000, expected 0x0/0.000000 (512, 32): FAIL (12287)
- test_many_kern
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x2/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(4, 1): FAIL (4)
- test_constant
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x41000000/8.000000
(1, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40e00000/7.000000
(2, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40c00000/6.000000
(3, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40a00000/5.000000
(4, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40800000/4.000000
(5, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40400000/3.000000
(6, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x40000000/2.000000
(7, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0x0/0.000000 (9, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xbf800000/-1.000000
(10, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0000000/-2.000000
(11, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0400000/-3.000000
(12, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0800000/-4.000000
(13, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0a00000/-5.000000
(14, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0c00000/-6.000000
(15, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc0e00000/-7.000000
(16, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1000000/-8.000000
(17, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1100000/-9.000000
(18, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1200000/-10.000000
(19, 0)[0]: got 0x4f5eadbf/3735928576.000000, expected 0xc1300000/-11.000000
(64, 1): FAIL (64)
- test_resource_indirect
ERROR: SULDB not yet supported on < nve4
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x4/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x8/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xb/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xc/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x10/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x13/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x14/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x17/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x18/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1b/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1c/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1f/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x20/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x23/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x24/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x27/0.000000
(64, 1): FAIL (64)
- test_surface_ld
- PIPE_FORMAT_B8G8R8A8_UNORM
(unsupported)
- PIPE_FORMAT_B8G8R8X8_UNORM
(unsupported)
- PIPE_FORMAT_A8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_X8R8G8B8_UNORM
(unsupported)
- PIPE_FORMAT_L8_UNORM
(unsupported)
- PIPE_FORMAT_A8_UNORM
(unsupported)
- PIPE_FORMAT_I8_UNORM
(unsupported)
- PIPE_FORMAT_L8A8_UNORM
(unsupported)
- PIPE_FORMAT_R32_FLOAT
ERROR: unknow op
ERROR: SUSTx not yet supported on < nve4
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_FLOAT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f800000/1.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbf400000/-0.750000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x3f000000/0.500000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xbe800000/-0.250000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32_UNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_UNORM
(unsupported)
- PIPE_FORMAT_R32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32_SNORM
(unsupported)
- PIPE_FORMAT_R32G32B32A32_SNORM
(unsupported)
- PIPE_FORMAT_R8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R8G8B8A8_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x7f/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_UINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(16, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(17, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(18, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x0/0.000000
(19, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0x1/0.000000
(512, 32): FAIL (16384)
- PIPE_FORMAT_R32G32B32A32_SINT
(0, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(1, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(2, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(3, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(4, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(5, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(6, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(7, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(8, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(9, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(10, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(11, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xf/0.000000
(12, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffffffff/-nan
(13, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xffff/0.000000
(14, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, expected 0xff/0.000000
(15, 0)[0]: got 0xdeadbeef/-6259853398707798016.000000, exp

#0 nv50_ir::RegAlloc::InsertConstraintsPass::textureMask (

     this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:1875
#1  0x00007ffff4dec7b5 in
nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNVC0
(this=this@entry=0x7fffffffd460, tex=tex@entry=0x6f8218)
     at codegen/nv50_ir_ra.cpp:2087

#2 0x00007ffff4decde3 in nv50_ir::RegAlloc::InsertConstraintsPass::visit (
this=<optimized out>, bb=<optimized out>) at
codegen/nv50_ir_ra.cpp:2159
#3 0x00007ffff4da3b48 in nv50_ir::Pass::doRun (

     this=this@entry=0x7fffffffd460, func=func@entry=0x702310,
     ordered=ordered@entry=true, skipPhi=skipPhi@entry=true)
     at codegen/nv50_ir_bb.cpp:495

#4 0x00007ffff4da3cca in nv50_ir::Pass::run (this=this@entry=0x7fffffffd460,
func=func@entry=0x702310, ordered=ordered@entry=true, skipPhi=skipPhi@entry=true) at codegen/nv50_ir_bb.cpp:477
#5 0x00007ffff4dedeb8 in nv50_ir::RegAlloc::InsertConstraintsPass::exec (

     this=this@entry=0x7fffffffd460, ir=0x702310) at
codegen/nv50_ir_ra.cpp:1858
#6  0x00007ffff4def598 in nv50_ir::RegAlloc::execFunc (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1759
#7  0x00007ffff4def905 in nv50_ir::RegAlloc::exec (
     this=this@entry=0x7fffffffd810) at codegen/nv50_ir_ra.cpp:1731
#8  0x00007ffff4def9cb in nv50_ir::Program::registerAllocation (
     this=this@entry=0x708720) at codegen/nv50_ir_ra.cpp:1850
#9  0x00007ffff4d98cf5 in nv50_ir_generate_code
(info=info@entry=0x6f09f0)
     at codegen/nv50_ir.cpp:1210
#10 0x00007ffff4e56f51 in nvc0_program_translate
(prog=prog@entry=0x6e4570,
     chipset=<optimized out>, debug=debug@entry=0x6dd788)
     at nvc0/nvc0_program.c:568
#11 0x00007ffff4e53e71 in nvc0_compute_validate_program (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:122
#12 0x00007ffff4e53f11 in nvc0_compute_state_validate (nvc0=0x6dd470)
     at nvc0/nvc0_compute.c:144
#13 nvc0_launch_grid (pipe=0x6dd470, block_layout=0x7fffffffdbf0,
     grid_layout=0x7fffffffdc00, label=0, input=0x0) at
nvc0/nvc0_compute.c:197
#14 0x000000000040392b in launch_grid (ctx=0x691010, input=0x0, pc=0,
     grid_layout=0x7fffffffdc00, block_layout=0x7fffffffdbf0) at

compute.c:428
#15 test_surface_st (ctx=0x691010) at compute.c:1200
#16 main (argc=<optimized out>, argv=<optimized out>) at compute.c:1606

So things still do not work as expected, and still ultimately end with a segfault. This is with a NVD9 (GF119) card.

So next I've tried with a NVA8 card, running ./compute there results in:

PIPE_COMPUTE_CAP_GRID_DIMENSION: { 2 }
PIPE_COMPUTE_CAP_MAX_GRID_SIZE: { 65535 65535 } PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE: { 512 512 64 }
- test_system_values
compute: codegen/nv50_ir_ra.cpp:2120: void nv50_ir::RegAlloc::InsertConstraintsPass::texConstraintNV50(nv50_ir::TexInstruction*):

Assertion `tex->defExists(0) && tex->srcExists(0)' failed.

And "nbody" behaves the same as on the NVD9 card.

This is all with current mesa master.

Samual do you've a branch somewhere were the trivial/compute example actually works ? And on what card[s] should it work ?

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#35 lore raw
In reply to a message not in the archive

Hi,

On 26-11-15 13:52, Samuel Pitoiset wrote:

<snip>

Quoted 7 lines
Quoted 3 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Compute support is not supported on GK110+, yeah...

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#37 lore raw
In reply to a message not in the archive
Quoted 10 lines · Hans de Goede

Hi,

On 26-11-15 13:52, Samuel Pitoiset wrote:

<snip>

Quoted 4 lines
Quoted 3 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Quoted 8 lines
Quoted 4 lines

Compute support is not supported on GK110+, yeah...

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Thanks a lot.

Quoted 4 lines

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#40 lore raw
In reply to a message not in the archive
Quoted 13 lines · Hans de Goede

Hi,

On 26-11-15 13:52, Samuel Pitoiset wrote:

<snip>

Quoted 7 lines
Quoted 3 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Compute support is not supported on GK110+, yeah...

Quoted 7 lines
Quoted 2 lines

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

You don't have permission to access /~jwrdegoede/vectorAdd.log.gz on this server.

Unfortunately valgrind creates files with og-rwx, and the various tools like gzip and scp maintain those permissions. So you have to manually fix it.

-ilia
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#42 lore raw
In reply to a message not in the archive

Hi,

Quoted 20 lines · Ilia Mirkin
Quoted 19 lines · Hans de Goede

Hi,

On 26-11-15 13:52, Samuel Pitoiset wrote:

<snip>

Quoted 9 lines
Quoted 3 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Compute support is not supported on GK110+, yeah...

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Ok, here is a MMT trace of vectorAdd:

Quoted 7 lines
Quoted 1 line

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

You don't have permission to access /~jwrdegoede/vectorAdd.log.gz on this server.

Unfortunately valgrind creates files with og-rwx, and the various tools like gzip and scp maintain those permissions.

Ugh, I did not know that, I'll try to remember that for the next time.

Quoted 1 line

So you have to manually fix it.

Fixed.

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#39 lore raw
In reply to a message not in the archive
Quoted 18 lines · Samuel Pitoiset
Quoted 15 lines · Hans de Goede

Hi,

On 26-11-15 13:52, Samuel Pitoiset wrote:

<snip>

Quoted 8 lines
Quoted 3 lines

I do not have a GK106, I've a GK208, and IIRC that one is known to not work,
I guess I can give it a try.

Compute support is not supported on GK110+, yeah...

If you provide me a MMT trace of, for example, vectorAdd from the CUDA samples I could have a look.

Quoted 7 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works without any changes. :-)

I'm sorry, I was sure the compute support didn't work on this chipset.

Feel free to test on your GK208 and report back if you have problems.

Thanks.

Quoted 6 lines
Quoted 5 lines

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#9 lore raw
In reply to a message not in the archive
Quoted 6 lines · Samuel Pitoiset
Quoted 6 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Quoted 7 lines
Quoted 1 line

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works without any changes. :-)

I'm sorry, I was sure the compute support didn't work on this chipset.

No need to be sorry because, ...

Quoted 1 line

Feel free to test on your GK208 and report back if you have problems.

I've done that, and for me it does not work, if I try to enable compute support like this:

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +2 -5
index 461fcaa..ab4ea85 100644
@@ -187,7 +187,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
       return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
    case PIPE_CAP_COMPUTE:
-      return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
+      return 1;
    case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
       return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? 1 : 0;
 
@@ -246,8 +246,6 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
          return 0;
       break;
    case PIPE_SHADER_COMPUTE:
-      if (class_3d > NVE4_3D_CLASS)
-         return 0;
       break;
    default:
       return 0;
@@ -574,11 +572,10 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
    case 0xd0:
       return nvc0_screen_compute_setup(screen, screen->base.pushbuf);
    case 0xe0:
-      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
    case 0xf0:
    case 0x100:
    case 0x110:
-      return 0;
+      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
    default:
       return -1;
    }

Then as soon as I do startx (which starts gnome-shell) the machine freezes. This is with mesa-master with the above changes on top.

X / gnome-shell will happily work of I do not call nve4_screen_compute_setup() but then test/trivial/compute fails with a null-ptr exception.

Do you perhaps have some extra patches in your tree, or am I just unlucky ?

I've tested this on both a 4.2 and a 4.4-rc3 kernel.

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw
In reply to a message not in the archive
Quoted 66 lines · Hans de Goede
Quoted 6 lines · Samuel Pitoiset
Quoted 6 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Quoted 7 lines
Quoted 1 line

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works without any changes. :-)

I'm sorry, I was sure the compute support didn't work on this chipset.

No need to be sorry because, ...

Quoted 1 line

Feel free to test on your GK208 and report back if you have problems.

I've done that, and for me it does not work, if I try to enable compute support like this:

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -1
index 461fcaa..ab4ea85 100644
@@ -187,7 +187,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen,
 enum pipe_cap param)
     case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
     case PIPE_CAP_COMPUTE:
-      return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
+      return 1;
     case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
        return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ?

1 : 0;

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0 -2
@@ -246,8 +246,6 @@ nvc0_screen_get_shader_param(struct pipe_screen
 *pscreen, unsigned shader,
           return 0;
        break;
     case PIPE_SHADER_COMPUTE:
-      if (class_3d > NVE4_3D_CLASS)
-         return 0;
        break;
     default:
        return 0;
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -2
@@ -574,11 +572,10 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
     case 0xd0:
        return nvc0_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xe0:
-      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xf0:
     case 0x100:
     case 0x110:
-      return 0;
+      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     default:
        return -1;
     }

Then as soon as I do startx (which starts gnome-shell) the machine freezes. This is with mesa-master with the above changes on top.

Quoted 7 lines

X / gnome-shell will happily work of I do not call nve4_screen_compute_setup()
but then test/trivial/compute fails with a null-ptr exception.

Do you perhaps have some extra patches in your tree, or am I just unlucky ?

I've tested this on both a 4.2 and a 4.4-rc3 kernel.

Hi,

My bad... I used the wrong card on reator (which is the REing machine of Martin). The primary card is a GK106 and the second one is the GK208. That doesn't explain why I did something wrong but heh? :-)

You are right. With those bits added locally, the compute support totally hangs the GPU on my GK208 (NV108), and a reboot is needed.

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

Btw, according to the trace you sent me, you have a GK208b (NV106).

Thanks!

Quoted 4 lines

Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw
In reply to a message not in the archive
Quoted 89 lines · Samuel Pitoiset
Quoted 67 lines · Hans de Goede
Quoted 6 lines · Samuel Pitoiset
Quoted 6 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Quoted 7 lines
Quoted 1 line

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works without any changes. :-)

I'm sorry, I was sure the compute support didn't work on this chipset.

No need to be sorry because, ...

Quoted 1 line

Feel free to test on your GK208 and report back if you have problems.

I've done that, and for me it does not work, if I try to enable compute support like this:

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -1
index 461fcaa..ab4ea85 100644
@@ -187,7 +187,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen,
 enum pipe_cap param)
     case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
     case PIPE_CAP_COMPUTE:
-      return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
+      return 1;
     case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
        return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ?

1 : 0;

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0 -2
@@ -246,8 +246,6 @@ nvc0_screen_get_shader_param(struct pipe_screen
 *pscreen, unsigned shader,
           return 0;
        break;
     case PIPE_SHADER_COMPUTE:
-      if (class_3d > NVE4_3D_CLASS)
-         return 0;
        break;
     default:
        return 0;
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -2
@@ -574,11 +572,10 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
     case 0xd0:
        return nvc0_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xe0:
-      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xf0:
     case 0x100:
     case 0x110:
-      return 0;
+      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     default:
        return -1;
     }

Then as soon as I do startx (which starts gnome-shell) the machine freezes. This is with mesa-master with the above changes on top.

Quoted 8 lines

X / gnome-shell will happily work of I do not call nve4_screen_compute_setup()
but then test/trivial/compute fails with a null-ptr exception.

Do you perhaps have some extra patches in your tree, or am I just unlucky ?

I've tested this on both a 4.2 and a 4.4-rc3 kernel.

Hi,

My bad... I used the wrong card on reator (which is the REing machine of Martin). The primary card is a GK106 and the second one is the GK208. That doesn't explain why I did something wrong but heh? :-)

You are right. With those bits added locally, the compute support totally hangs the GPU on my GK208 (NV108), and a reboot is needed.

Quoted 6 lines

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

The firmware methods are implemented by the ctxsw fw, in the fuc. You should try to see what the blob firmware used that one for and see if we need to implement the same thing or not. I've generally ignored them. There is another firmware method for the equivalent of a context-aware nv_mask()... I think you write the reg/mask/new into the SCRATCH methods, and then invoke the firmware command. Or something. I looked into when I thought it was related to atomic fail.

-ilia
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw
In reply to a message not in the archive

Hi,

Quoted 81 lines · Samuel Pitoiset
Quoted 66 lines · Hans de Goede
Quoted 6 lines · Samuel Pitoiset
Quoted 6 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Quoted 7 lines
Quoted 1 line

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works without any changes. :-)

I'm sorry, I was sure the compute support didn't work on this chipset.

No need to be sorry because, ...

Quoted 1 line

Feel free to test on your GK208 and report back if you have problems.

I've done that, and for me it does not work, if I try to enable compute support like this:

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -1
index 461fcaa..ab4ea85 100644
@@ -187,7 +187,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen,
 enum pipe_cap param)
     case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
     case PIPE_CAP_COMPUTE:
-      return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
+      return 1;
     case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
        return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ?

1 : 0;

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0 -2
@@ -246,8 +246,6 @@ nvc0_screen_get_shader_param(struct pipe_screen
 *pscreen, unsigned shader,
           return 0;
        break;
     case PIPE_SHADER_COMPUTE:
-      if (class_3d > NVE4_3D_CLASS)
-         return 0;
        break;
     default:
        return 0;
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -2
@@ -574,11 +572,10 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
     case 0xd0:
        return nvc0_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xe0:
-      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xf0:
     case 0x100:
     case 0x110:
-      return 0;
+      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     default:
        return -1;
     }

Then as soon as I do startx (which starts gnome-shell) the machine freezes. This is with mesa-master with the above changes on top.

Quoted 7 lines

X / gnome-shell will happily work of I do not call nve4_screen_compute_setup()
but then test/trivial/compute fails with a null-ptr exception.

Do you perhaps have some extra patches in your tree, or am I just unlucky ?

I've tested this on both a 4.2 and a 4.4-rc3 kernel.

Hi,

My bad... I used the wrong card on reator (which is the REing machine of Martin). The primary card is a GK106 and the second one is the GK208. That doesn't explain why I did something wrong but heh? :-)

Quoted 8 lines

You are right. With those bits added locally, the compute support totally hangs the GPU on my GK208 (NV108), and a reboot is needed.

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

This branch indeed works somewhat better, but things still hang on the

test_system_values compute test for me (this is the first test executed I did not try the others). So this seems to need more work.

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

Quoted 1 line

Btw, according to the trace you sent me, you have a GK208b (NV106).

Right, sorry I thought the differences between GK208 and GK208b would not matter.

Thanks for all the input / help!

Regards,

Hans

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#16 lore raw
In reply to a message not in the archive
Quoted 96 lines · Hans de Goede

Hi,

Quoted 93 lines · Samuel Pitoiset
Quoted 69 lines · Hans de Goede
Quoted 10 lines · Samuel Pitoiset
Quoted 7 lines
Quoted 3 lines

Ok, here is a MMT trace of vectorAdd:

https://fedorapeople.org/~jwrdegoede/vectorAdd.log.gz

Hi Hans,

Thanks a lot.

Well, I didn't know but Martin has a GK208...
I just tested the compute support on his card and ... it works

without

Quoted 3 lines

any changes. :-)

I'm sorry, I was sure the compute support didn't work on this

chipset.

No need to be sorry because, ...

Quoted 1 line

Feel free to test on your GK208 and report back if you have problems.

I've done that, and for me it does not work, if I try to enable compute support like this:

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -1
index 461fcaa..ab4ea85 100644
@@ -187,7 +187,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen,
 enum pipe_cap param)
     case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
     case PIPE_CAP_COMPUTE:
-      return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
+      return 1;
     case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
        return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ?

1 : 0;

src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0 -2
@@ -246,8 +246,6 @@ nvc0_screen_get_shader_param(struct pipe_screen
 *pscreen, unsigned shader,
           return 0;
        break;
     case PIPE_SHADER_COMPUTE:
-      if (class_3d > NVE4_3D_CLASS)
-         return 0;
        break;
     default:
        return 0;
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +1 -2
@@ -574,11 +572,10 @@ nvc0_screen_init_compute(struct nvc0_screen
 *screen)
     case 0xd0:
        return nvc0_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xe0:
-      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     case 0xf0:
     case 0x100:
     case 0x110:
-      return 0;
+      return nve4_screen_compute_setup(screen, screen->base.pushbuf);
     default:
        return -1;
     }

Then as soon as I do startx (which starts gnome-shell) the machine freezes. This is with mesa-master with the above changes on top.

Quoted 8 lines

X / gnome-shell will happily work of I do not call nve4_screen_compute_setup()
but then test/trivial/compute fails with a null-ptr exception.

Do you perhaps have some extra patches in your tree, or am I just unlucky ?

I've tested this on both a 4.2 and a 4.4-rc3 kernel.

Hi,

My bad... I used the wrong card on reator (which is the REing machine of Martin). The primary card is a GK106 and the second one is the GK208. That doesn't explain why I did something wrong but heh? :-)

You are right. With those bits added locally, the compute support totally hangs the GPU on my GK208 (NV108), and a reboot is needed.

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

Quoted 8 lines
Quoted 3 lines

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

This branch indeed works somewhat better, but things still hang on the

test_system_values compute test for me (this is the first test executed I did not try the others). So this seems to need more work.

What about test_input_global? test_system_values doesn't work on my side but it doesn't hang the GPU. Could you please provide dmesg log?

Quoted 4 lines

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

Yeah, GK107 will do the job. :-)

Quoted 5 lines
Quoted 2 lines

Btw, according to the trace you sent me, you have a GK208b (NV106).

Right, sorry I thought the differences between GK208 and GK208b would not matter.

I don't know exactly the differences between these two chipsets but since test_system_values hangs your GPU and not mine, I think they are some.

Quoted 8 lines

Thanks for all the input / help!

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#18 lore raw
In reply to a message not in the archive

Hi,

Quoted 3 lines · Samuel Pitoiset

On 12/04/2015 09:45 AM, Hans de Goede wrote:

<snip>

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

Quoted 6 lines
Quoted 4 lines

This branch indeed works somewhat better, but things still hang on the

test_system_values compute test for me (this is the first test executed I did not try the others). So this seems to need more work.

What about test_input_global? test_system_values doesn't work on my side but it doesn't hang the GPU.

Yes that one works.

Quoted 1 line

Could you please provide dmesg log?

[    2.786631] nouveau 0000:01:00.0: NVIDIA GK208B (b06070b1)
[    2.914291] nouveau 0000:01:00.0: bios: version 80.28.79.00.0b
[    2.937909] nouveau 0000:01:00.0: priv: HUB0: 086014 ffffffff (1f70820c)
[    2.937953] nouveau 0000:01:00.0: fb: 1024 MiB DDR3
[    3.623202] [TTM] Zone  kernel: Available graphics memory: 2010556 kiB
[    3.623205] [TTM] Initializing pool allocator
[    3.623241] [TTM] Initializing DMA pool allocator
[    3.623440] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
[    3.623442] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    3.623447] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[    3.623449] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    3.623451] nouveau 0000:01:00.0: DRM: DCB outp 00: 01000f02 00020030
[    3.623454] nouveau 0000:01:00.0: DRM: DCB outp 01: 02011f62 00020010
[    3.623456] nouveau 0000:01:00.0: DRM: DCB outp 02: 02022f10 00000000
[    3.623458] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001031
[    3.623460] nouveau 0000:01:00.0: DRM: DCB conn 01: 00002161
[    3.623462] nouveau 0000:01:00.0: DRM: DCB conn 02: 00000200
[    3.627283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.627285] [drm] Driver supports precise vblank timestamp query.
[    3.671871] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    3.889940] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0x60000, bo ffff880119050000
[    3.890952] fbcon: nouveaufb (fb0) is primary device
[    4.132343] Console: switching to colour frame buffer device 240x67
[    4.134930] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    4.141094] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0

<snip>

[ 1713.421460] nouveau 0000:01:00.0: gr: TRAP ch 6 [003fa32000 compute[21117]]
[ 1713.421471] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global 00000000 [] warp 3000e [MEM_OUT_OF_BOUNDS]
[ 1713.441248] nouveau 0000:01:00.0: gr: TRAP ch 6 [003fa32000 compute[21117]]
[ 1713.441260] nouveau 0000:01:00.0: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 20005 [MISALIGNED_PC]
[ 1713.441265] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 20005 [MISALIGNED_PC]
[ 1717.773839] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1717.773848] nouveau 0000:01:00.0: fifo: sw engine fault on channel 2, recovering...
[ 1719.776529] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
[ 1722.068923] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1726.363660] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1730.658395] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1734.951720] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1739.241861] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1743.532005] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1747.826728] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1752.121462] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1756.416200] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1760.710930] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1765.005663] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1769.300396] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1773.595135] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1777.889863] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1782.184598] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1786.479328] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1789.730020] nouveau 0000:01:00.0: compute[21117]: failed to idle channel 6 [compute[21117]]
[ 1790.774060] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1791.729963] nouveau 0000:01:00.0: timeout at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c:47/gk104_fifo_gpfifo_kick()!
[ 1791.729966] nouveau 0000:01:00.0: fifo: channel 6 [compute[21117]] kick timeout
[ 1791.729973] nouveau: compute[21117]:00000000:0000a06f: detach gr failed, -16
[ 1791.731401] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
[ 1793.731275] nouveau 0000:01:00.0: timeout at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c:47/gk104_fifo_gpfifo_kick()!
[ 1793.731279] nouveau 0000:01:00.0: fifo: channel 6 [compute[21117]] kick timeout
[ 1793.731281] nouveau: compute[21117]:00000000:0000a06f: detach sw failed, -16
[ 1796.026118] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1800.320809] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1804.615446] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1808.731016] nouveau 0000:01:00.0: compute[21117]: failed to idle channel 6 [compute[21117]]
[ 1808.738716] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
[ 1810.738093] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
[ 1810.738106] nouveau 0000:01:00.0: fifo: BIND_ERROR 03 [UNBIND_WHILE_RUNNING]
[ 1815.032747] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1819.327395] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1823.622036] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]

<last line keeps repeating at aprox 4 sec interval>

Quoted 5 lines
Quoted 3 lines

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

Yeah, GK107 will do the job. :-)

Good a said it should arrive soon.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Btw, according to the trace you sent me, you have a GK208b (NV106).

Right, sorry I thought the differences between GK208 and GK208b would not matter.

I don't know exactly the differences between these two chipsets but since test_system_values hangs your GPU and not mine, I think they are some.

Ok.

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#20 lore raw
In reply to a message not in the archive
Quoted 119 lines · Hans de Goede

Hi,

Quoted 3 lines · Samuel Pitoiset

On 12/04/2015 09:45 AM, Hans de Goede wrote:

<snip>

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

Please give a shot at this branch :
http://cgit.freedesktop.org/~hakzsam/mesa/log/?h=nvf0_compute

It fixes the initialization of the compute state and allows me to launch 'test_input_global' (ie. ./compute 8) on my GK208 without any dmesg fails. That's a good start but more patches are coming. :-)

Quoted 7 lines
Quoted 4 lines

This branch indeed works somewhat better, but things still hang on the

test_system_values compute test for me (this is the first test executed I did not try the others). So this seems to need more work.

What about test_input_global? test_system_values doesn't work on my side but it doesn't hang the GPU.

Yes that one works.

Quoted 1 line

Could you please provide dmesg log?

[    2.786631] nouveau 0000:01:00.0: NVIDIA GK208B (b06070b1)
[    2.914291] nouveau 0000:01:00.0: bios: version 80.28.79.00.0b
[    2.937909] nouveau 0000:01:00.0: priv: HUB0: 086014 ffffffff (1f70820c)
[    2.937953] nouveau 0000:01:00.0: fb: 1024 MiB DDR3
[    3.623202] [TTM] Zone  kernel: Available graphics memory: 2010556 kiB
[    3.623205] [TTM] Initializing pool allocator
[    3.623241] [TTM] Initializing DMA pool allocator
[    3.623440] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
[    3.623442] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    3.623447] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[    3.623449] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    3.623451] nouveau 0000:01:00.0: DRM: DCB outp 00: 01000f02 00020030
[    3.623454] nouveau 0000:01:00.0: DRM: DCB outp 01: 02011f62 00020010
[    3.623456] nouveau 0000:01:00.0: DRM: DCB outp 02: 02022f10 00000000
[    3.623458] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001031
[    3.623460] nouveau 0000:01:00.0: DRM: DCB conn 01: 00002161
[    3.623462] nouveau 0000:01:00.0: DRM: DCB conn 02: 00000200
[    3.627283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.627285] [drm] Driver supports precise vblank timestamp query.
[    3.671871] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    3.889940] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb:
0x60000, bo ffff880119050000
[    3.890952] fbcon: nouveaufb (fb0) is primary device
[    4.132343] Console: switching to colour frame buffer device 240x67
[    4.134930] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    4.141094] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0

on minor 0

<snip>

[ 1713.421460] nouveau 0000:01:00.0: gr: TRAP ch 6 [003fa32000
compute[21117]]
[ 1713.421471] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global
00000000 [] warp 3000e [MEM_OUT_OF_BOUNDS]
[ 1713.441248] nouveau 0000:01:00.0: gr: TRAP ch 6 [003fa32000
compute[21117]]
[ 1713.441260] nouveau 0000:01:00.0: gr: GPC0/TPC0/MP trap: global
00000004 [MULTIPLE_WARP_ERRORS] warp 20005 [MISALIGNED_PC]
[ 1713.441265] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global
00000004 [MULTIPLE_WARP_ERRORS] warp 20005 [MISALIGNED_PC]
[ 1717.773839] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1717.773848] nouveau 0000:01:00.0: fifo: sw engine fault on channel 2,
recovering...
[ 1719.776529] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
[ 1722.068923] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1726.363660] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1730.658395] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1734.951720] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1739.241861] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1743.532005] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1747.826728] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1752.121462] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1756.416200] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1760.710930] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1765.005663] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1769.300396] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1773.595135] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1777.889863] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1782.184598] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1786.479328] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1789.730020] nouveau 0000:01:00.0: compute[21117]: failed to idle
channel 6 [compute[21117]]
[ 1790.774060] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1791.729963] nouveau 0000:01:00.0: timeout at

drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c:47/gk104_fifo_gpfifo_kick()!

[ 1791.729966] nouveau 0000:01:00.0: fifo: channel 6 [compute[21117]]
kick timeout
[ 1791.729973] nouveau: compute[21117]:00000000:0000a06f: detach gr
failed, -16
[ 1791.731401] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
[ 1793.731275] nouveau 0000:01:00.0: timeout at

drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c:47/gk104_fifo_gpfifo_kick()!

[ 1793.731279] nouveau 0000:01:00.0: fifo: channel 6 [compute[21117]]
kick timeout
[ 1793.731281] nouveau: compute[21117]:00000000:0000a06f: detach sw
failed, -16
[ 1796.026118] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1800.320809] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1804.615446] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1808.731016] nouveau 0000:01:00.0: compute[21117]: failed to idle
channel 6 [compute[21117]]
[ 1808.738716] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
[ 1810.738093] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
[ 1810.738106] nouveau 0000:01:00.0: fifo: BIND_ERROR 03
[UNBIND_WHILE_RUNNING]
[ 1815.032747] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1819.327395] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 1823.622036] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Quoted 1 line

<last line keeps repeating at aprox 4 sec interval>

Thanks, I'll have a look and try to provide a fix for your GK208b.

Quoted 23 lines
Quoted 6 lines
Quoted 4 lines

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

Yeah, GK107 will do the job. :-)

Good a said it should arrive soon.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Btw, according to the trace you sent me, you have a GK208b (NV106).

Right, sorry I thought the differences between GK208 and GK208b would not matter.

I don't know exactly the differences between these two chipsets but since test_system_values hangs your GPU and not mine, I think they are some.

Ok.

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#21 lore raw
In reply to a message not in the archive

Hi

Quoted 3 lines · Hans de Goede

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

So the card arrived today and I've plugged it in tests/trivial/compute looks much better with this. But there does seem to be one issue (other then the atomic bits not working) :

- test_resource_indirect
(1, 0)[0]: got 0x2/0.000000, expected 0x3/0.000000 (3, 0)[0]: got 0x6/0.000000, expected 0x7/0.000000 (5, 0)[0]: got 0xa/0.000000, expected 0xb/0.000000 (7, 0)[0]: got 0xe/0.000000, expected 0xf/0.000000 (9, 0)[0]: got 0x12/0.000000, expected 0x13/0.000000 (11, 0)[0]: got 0x16/0.000000, expected 0x17/0.000000 (13, 0)[0]: got 0x1a/0.000000, expected 0x1b/0.000000 (15, 0)[0]: got 0x1e/0.000000, expected 0x1f/0.000000 (17, 0)[0]: got 0x22/0.000000, expected 0x23/0.000000 (19, 0)[0]: got 0x26/0.000000, expected 0x27/0.000000 (21, 0)[0]: got 0x2a/0.000000, expected 0x2b/0.000000 (23, 0)[0]: got 0x2e/0.000000, expected 0x2f/0.000000 (25, 0)[0]: got 0x32/0.000000, expected 0x33/0.000000 (27, 0)[0]: got 0x36/0.000000, expected 0x37/0.000000 (29, 0)[0]: got 0x3a/0.000000, expected 0x3b/0.000000 (31, 0)[0]: got 0x3e/0.000000, expected 0x3f/0.000000 (33, 0)[0]: got 0x42/0.000000, expected 0x43/0.000000 (35, 0)[0]: got 0x46/0.000000, expected 0x47/0.000000 (37, 0)[0]: got 0x4a/0.000000, expected 0x4b/0.000000 (39, 0)[0]: got 0x4e/0.000000, expected 0x4f/0.000000 (64, 1): FAIL (32)

Regards,

Hans
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#23 lore raw
In reply to a message not in the archive
Quoted 2 lines · Hans de Goede

Hi

Hi,

Quoted 11 lines · Hans de Goede
Quoted 4 lines

I've ordered a GTX740 (GK107) card, which should arrive soon, and I'll be using that so I can (hopefully) focus on the llvm tgsi bits again.

So the card arrived today and I've plugged it in tests/trivial/compute looks much better with this. But there does seem to be one issue (other then the atomic bits not working) :

- test_resource_indirect

Exactly, two or three test don't work on Kepler < GK110. It's on my todolist, but with a low priority. :-)

Thanks for reporting this anyway.

Quoted 25 lines

(1, 0)[0]: got 0x2/0.000000, expected 0x3/0.000000 (3, 0)[0]: got 0x6/0.000000, expected 0x7/0.000000 (5, 0)[0]: got 0xa/0.000000, expected 0xb/0.000000 (7, 0)[0]: got 0xe/0.000000, expected 0xf/0.000000 (9, 0)[0]: got 0x12/0.000000, expected 0x13/0.000000 (11, 0)[0]: got 0x16/0.000000, expected 0x17/0.000000 (13, 0)[0]: got 0x1a/0.000000, expected 0x1b/0.000000 (15, 0)[0]: got 0x1e/0.000000, expected 0x1f/0.000000 (17, 0)[0]: got 0x22/0.000000, expected 0x23/0.000000 (19, 0)[0]: got 0x26/0.000000, expected 0x27/0.000000 (21, 0)[0]: got 0x2a/0.000000, expected 0x2b/0.000000 (23, 0)[0]: got 0x2e/0.000000, expected 0x2f/0.000000 (25, 0)[0]: got 0x32/0.000000, expected 0x33/0.000000 (27, 0)[0]: got 0x36/0.000000, expected 0x37/0.000000 (29, 0)[0]: got 0x3a/0.000000, expected 0x3b/0.000000 (31, 0)[0]: got 0x3e/0.000000, expected 0x3f/0.000000 (33, 0)[0]: got 0x42/0.000000, expected 0x43/0.000000 (35, 0)[0]: got 0x46/0.000000, expected 0x47/0.000000 (37, 0)[0]: got 0x4a/0.000000, expected 0x4b/0.000000 (39, 0)[0]: got 0x4e/0.000000, expected 0x4f/0.000000 (64, 1): FAIL (32)

Regards,

Hans

Signature · 5 lines
-Samuel
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau