Skip to contentSkip to conversation

New: Rendering bug due to ARB_texture_non_power_of_two

Bug 26525 [email protected] 2 participants 15 messages Feb 11, 2010 – Nov 21, 2012

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26525

Summary: Rendering bug due to ARB_texture_non_power_of_two
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]

While trying to address a D3D rendering bug report in Wine, I've been working on trying to add card recognition support into Wine for the Mesa ATI (R300/R600) drivers. This was in order to resolve a rendering issue when using the Mesa ATI driver. What we've found is that a code workaround to avoid using ARB_texture_non_power_of_two APIs on R300-R500 cards also seems to fix this rendering issue on Mesa DRI R600 (in particular with an HD4800 series card). This would seem to indicate a bug in the ARP texture_non_power_of_two implementation on R600. The Wine bug report is at
http://bugs.winehq.org/show_bug.cgi?id=21515

Comments #45-47 indicate that the rendering problem is "fixed" by activating a "quirk"/workaround that avoids ARB_texture_non_power_of_two. Stefan Dosinger's comment #48 indicates what the "quirk" workaround does, how it should not be required on an R600/R700 series card, and how that indicates a probable driver bug.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#1 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #1 from Alex Deucher <[email protected]> 2010-02-10 22:04:31 PST --- Can you explain the broken behavior or do you have a screen shot? Or even better, do you have a simple test case that shows the broken behavior? The basic npot demos work fine. I suspect the actual bug may lie elsewhere; i.e., there are bugs with certain types of vertex fetches.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#2 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #2 from cxo <[email protected]> 2010-02-12 09:50:42 PST --- Created an attachment (id=33257)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33257)
NP2 Workaround Enabled

Screenshot taken from 3Dmark2001SE running under WINE with the NP2 workaround employed.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#3 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #3 from cxo <[email protected]> 2010-02-12 09:51:41 PST --- Created an attachment (id=33258)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33258)
NP2 Workaround Disabled

Screenshot from 3DMark2001SE running on WINE with the NP2 quirk disabled.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#4 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #4 from cxo <[email protected]> 2010-02-12 09:55:40 PST --- In the screenshots you will see that when the workaround is disabled, the human models are missing. When the workaround is enabled, the models are shown.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#5 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #5 from Alex Deucher <[email protected]> 2010-02-12 09:56:42 PST --- Does it work any better with mesa from git master or 7.7 branch? Specifically this commit might help:
eeb49d3ad82861272e8987515df3cc5da4ed2d09

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#6 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #6 from cxo <[email protected]> 2010-02-12 10:03:27 PST --- @Alex

My entire toolchain is from current git. (wine,linux,drm,mesa,xf86-video-ati)

HD4870, Ubuntu-9.10 x86_64

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#7 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #7 from cxo <[email protected]> 2010-02-12 10:15:24 PST --- 3DMark2001SE is free software and available for download from:
http://www.futuremark.com/download/3dmark2001/

WINE is also free software and available from:
git://source.winehq.org/git/wine.git

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#8 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #8 from Alex Deucher <[email protected]> 2010-02-12 10:19:06 PST --- (In reply to comment #6)

Quoted 6 lines

@Alex

My entire toolchain is from current git. (wine,linux,drm,mesa,xf86-video-ati)

HD4870, Ubuntu-9.10 x86_64

So I take it that you tested with that commit (eeb49d3ad82861272e8987515df3cc5da4ed2d09) and it didn't help?

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#9 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #9 from cxo <[email protected]> 2010-02-12 11:16:34 PST --- The last commit for mesa i have is, 3a916b0e81cdbc695d0af317f7d5d8515af13c02

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#10 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #10 from Alex Deucher <[email protected]> 2010-02-12 11:27:49 PST --- (In reply to comment #9)

Quoted 2 lines

The last commit for mesa i have is, 3a916b0e81cdbc695d0af317f7d5d8515af13c02

Ok, so it's another issue then.

Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#11 lore raw

Re: [Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

This is in the shared code. I see this bug with r200 too. Models have worked before rewrite so this is some regression in rewrite.

Quoted 6 lines

--- Comment #10 from Alex Deucher <[email protected]>  2010-02-12 11:27:49 PST --- (In reply to comment #9)

Quoted 2 lines

The last commit for mesa i have is, 3a916b0e81cdbc695d0af317f7d5d8515af13c02

Ok, so it's another issue then.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--

#12 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26525

--- Comment #11 from Pauli <[email protected]> 2010-02-13 03:27:46 PST --- This is in the shared code. I see this bug with r200 too. Models have worked before rewrite so this is some regression in rewrite.

Quoted 6 lines

--- Comment #10 from Alex Deucher <[email protected]>  2010-02-12 11:27:49 PST --- (In reply to comment #9)

Quoted 2 lines

The last commit for mesa i have is, 3a916b0e81cdbc695d0af317f7d5d8515af13c02

Ok, so it's another issue then.

Signature · 12 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#13 lore raw

[Bug 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

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

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #12 from Andreas Boll <[email protected]> ---
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.

Is this still an issue with a newer driver/kernel?

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 26525] Rendering bug due to ARB_texture_non_power_of_two

In reply to [email protected]

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

Paul-Andre Panon <[email protected]> changed:

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

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Paul-Andre Panon <[email protected]> ---
It seems to be resolved. I just reloaded 3Dmark2001SE and ran it under Ubuntu 12.04 with current gallium drivers and wine and couldn't reproduce 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