Skip to contentSkip to conversation

New: Black line in Lightsmark with Z compression enabled (RV530)

Bug 33648 [email protected] 1 participant 10 messages Jan 28, 2011 – Dec 2, 2012

lore
Share & tools
lore
#0 lore raw

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

           Summary: Black line in Lightsmark with Z compression enabled
                    (RV530)
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://dee.cz/lightsmark/Lightsmark2008.2.0.tar.bz2
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

After recent zbuffer compression rework Lightsmark is the only remaining app I've tested which is still not working properly here on RV530. There is a thick black line across the screen in some scenes, particularly: "no radiosity","soft shadows", "penumbra shadows" and the last scene. Maybe this is a known issue and there are many open bugs about HyperZ, however according to db299a9f8244d53d9041fcdbd396a77ebe1f9e3e comment RV530 should just work. So I'm reporting it isn't. Also this is not a regression, it was much worse before and this is the only remaining issue here.

To be sure this isn't HiZ issue I've changed line 367 in r300_chipset.c to "caps->hiz_ram = 0;" and it haven't changed anything.
r300: AA compression: NO, Z compression: YES, HiZ: NO

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 33648] Black line in Lightsmark with Z compression enabled (RV530)

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

--- Comment #1 from Pavel Ondračka <[email protected]> 2011-01-28 05:54:33 PST --- Created an attachment (id=42642)
--> (https://bugs.freedesktop.org/attachment.cgi?id=42642)
screenshot

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Marek Olšák <[email protected]> 2011-03-07 14:14:43 PST --- *** Bug 35095 has been marked as a duplicate of this bug. ***

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #3 from Marek Olšák <[email protected]> 2011-03-07 14:15:31 PST --- Chris Rankin said it doesn't show up on RV350, so I guess it's RV530-specific.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #4 from Marek Olšák <[email protected]> 2011-03-07 14:17:46 PST --- Nope, the black line shows up on R580 too (4 pipes).

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #5 from Sven Arvidsson <[email protected]> 2011-03-11 08:50:41 PST --- Created an attachment (id=44363)
--> (https://bugs.freedesktop.org/attachment.cgi?id=44363)
Lightsmark with upper part of the screen corrupt

RV570 here, and Lightsmark seems to be the last app with hyper z.

The upper part of the screen is corrupt when hz is enabled.

When RADEON_DEBUG=nozmask is used, the problem almost goes away, there's still some corruption in the upper right corner though.

With RADEON_DEBUG=nohiz I'm only getting the black line you guys described.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #6 from Alan Swanson <[email protected]> 2011-03-22 06:34:29 PDT --- Created an attachment (id=44712)
--> (https://bugs.freedesktop.org/attachment.cgi?id=44712)
ut2004-zmask-corruption.jpg

Similarly on RV530 I'm seeing frequent (but relatively minor) corruption in UT2004 with a number of maps which appears to be triangular blocks of old scenes (not textures AFAICT). However these were not from previously rendered frames at same location.

Running "RADEON_DEBUG=nozmask" removes the corruption. Example screenshot has;
- Under green DM_Junkyard label is thin line of another texture.
- Under green ONS_ArticStronghold labels there is sky textures, which when standing on base platform appear in front or behind of alpha transparent textures.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #7 from almos <[email protected]> 2011-05-27 07:10:29 PDT --- (In reply to comment #6)

Quoted 4 lines

Similarly on RV530 I'm seeing frequent (but relatively minor) corruption in UT2004 with a number of maps which appears to be triangular blocks of old scenes (not textures AFAICT). However these were not from previously rendered frames at same location.

The skybox is rendered into those tiles (perhaps Z order is wrong?). It's very apparent on CTF-FaceClassic for example.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

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

--- Comment #8 from Marek Olšák <[email protected]> --- Lightsmark was fixed by the commit 0222b2bd4107b9e5cabfbc. Closing.

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 33648] Black line in Lightsmark with Z compression enabled (RV530)

In reply to [email protected]

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

--- Comment #9 from Alan Swanson <[email protected]> ---
To confirm, this also fixes the UT2004 zmask issues reported here too. Thanks.

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