Skip to contentSkip to conversation

New: [r300g] Unigine Heaven 3.0: all objects are black

Bug 60503 [email protected] 1 participant 15 messages Feb 8, 2013 – Apr 12, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 60503
Assignee: [email protected]
Summary: [r300g] Unigine Heaven 3.0: all objects are black
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
URL: http://unigine.com/products/heaven/download/
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r300
Product: Mesa

All object in the 3.0 Heaven version are completely black... this seems to be the cause:
r300 FP: Compiler Error:
Rewrite of inst 4 failed Can't allocate source for Inst 36 src_type=1 new_index=1 new_mask=4
Using a dummy shader instead.

Full RADEON_DEBUG=fp log attached.

This may be a hardware limitation, however Heaven 2.1 version works fine, so maybe just a bug in the shader compiler.

GPU: RV530
Mesa: b681ed6ac970e061e9dbe7309bb69b3a947ae62d
Kernel: 3.6.11-1.fc17.i686

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

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

--- Comment #1 from Pavel Ondračka <[email protected]> --- Created attachment 74476
--> https://bugs.freedesktop.org/attachment.cgi?id=74476&action=edit
RADEON_DEBUG=fp log

I actually forgot to attach the log.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #2 from Tom Stellard <[email protected]> --- Created attachment 74515
--> https://bugs.freedesktop.org/attachment.cgi?id=74515&action=edit
Possible fix

Does this patch fix the issue?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #3 from Pavel Ondračka <[email protected]> --- BTW this works fine with RADEON_DEBUG=noopt.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #4 from Pavel Ondračka <[email protected]> --- (In reply to comment #2)

Quoted 4 lines

Created attachment 74515 [details] [review]
Possible fix

Does this patch fix the issue?

No it doesn't.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #5 from Tom Stellard <[email protected]> --- (In reply to comment #4)

Quoted 7 lines

(In reply to comment #2)

Quoted 4 lines

Created attachment 74515 [details] [review] [review] Possible fix

Does this patch fix the issue?

No it doesn't.

Can you post the RADEON_DEBUG=fp dump with the patch applied?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #6 from Pavel Ondračka <[email protected]> --- Created attachment 74516
--> https://bugs.freedesktop.org/attachment.cgi?id=74516&action=edit
RADEON_DEBUG=fp log with patch applied

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #74515|0                           |1

is obsolete| |

--- Comment #7 from Tom Stellard <[email protected]> --- Created attachment 74520
--> https://bugs.freedesktop.org/attachment.cgi?id=74520&action=edit
Fix v2

This should fix the problem, can you verify?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #8 from Pavel Ondračka <[email protected]> --- Created attachment 74525
--> https://bugs.freedesktop.org/attachment.cgi?id=74525&action=edit
RADEON_DEBUG=fp log with patch v2 applied

(In reply to comment #7)

Quoted 4 lines

Created attachment 74520 [details]
Fix v2

This should fix the problem, can you verify?

Sorry, it still isn't fixed. New log attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #9 from Tom Stellard <[email protected]> --- (In reply to comment #8)

Quoted 10 lines

Created attachment 74525 [details]
RADEON_DEBUG=fp log with patch v2 applied

(In reply to comment #7)

Quoted 4 lines

Created attachment 74520 [details]
Fix v2

This should fix the problem, can you verify?

Sorry, it still isn't fixed. New log attached.

Ok, maybe I made a mistake posting the patch: Can you apply all six patches from:http://lists.freedesktop.org/archives/mesa-dev/2013-February/034357.html

After you apply the patches, run make check from src/gallium/drivers/r300 and make sure it passes and then re-test Heaven.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #10 from Pavel Ondračka <[email protected]> --- (In reply to comment #9)

Quoted 10 lines

(In reply to comment #8)

Quoted 9 lines

Created attachment 74525 [details]
RADEON_DEBUG=fp log with patch v2 applied

(In reply to comment #7)

Quoted 4 lines

Created attachment 74520 [details]
Fix v2

This should fix the problem, can you verify?

Quoted 7 lines
Quoted 1 line

Sorry, it still isn't fixed. New log attached.

Ok, maybe I made a mistake posting the patch: Can you apply all six patches from:http://lists.freedesktop.org/archives/mesa-dev/2013-February/034357.html

After you apply the patches, run make check from src/gallium/drivers/r300 and make sure it passes and then re-test Heaven.

OK, with whole patch series applied the tests passes, however Heaven is still black.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #74520|0                           |1

is obsolete| |

--- Comment #11 from Tom Stellard <[email protected]> --- Created attachment 76797
--> https://bugs.freedesktop.org/attachment.cgi?id=76797&action=edit
Possible fix v3

Does this patch help?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #12 from Pavel Ondračka <[email protected]> --- (In reply to comment #11)

Quoted 4 lines

Created attachment 76797 [details] [review]
Possible fix v3

Does this patch help?

Yes, this one fixes it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

--- Comment #13 from Pavel Ondračka <[email protected]> --- BTW i did a quick tests piglit run with your patch on my RV530 with no regressions (no fixes either except 2 tests in EXT_framebuffer_multisample group, however those seems to be fairly random... )

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 60503] [r300g] Unigine Heaven 3.0: all objects are black

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Tom Stellard <[email protected]> --- Fixed in commit c6a86fb5639977f37a1403012669cdee86bbd89f

Thanks for your help with testing!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel