From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] New: Second Life viewer bad rendering with git-ec83535 Date: Tue, 04 Dec 2012 13:04:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0989946147==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 64EB9E6327 for ; Tue, 4 Dec 2012 05:04:00 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0989946147== Content-Type: multipart/alternative; boundary="1354626240.Ed80FC0.7596"; charset="us-ascii" --1354626240.Ed80FC0.7596 Date: Tue, 4 Dec 2012 13:04:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 Priority: medium Bug ID: 57875 Assignee: dri-devel@lists.freedesktop.org Summary: Second Life viewer bad rendering with git-ec83535 Severity: normal Classification: Unclassified OS: All Reporter: andabata12@yahoo.it Hardware: Other Status: NEW Version: unspecified Component: Drivers/Gallium/r300 Product: Mesa With git "HEAD at ec83535 automake/gallium: attempt to fix -lrt", Cool VL Viewer a TPV for Second Life 3D world ( the official Linden Lab viewer is from ages blocked cause of https://bugs.freedesktop.org/show_bug.cgi?id=39251 ) can set only basic shaders otherwise with atmospheric, water and reflections shaders enabled, I have extensive blue triangles during the execution. On the contrary with graphics drivers from git-54ff536 ( HyperZ enabled by default) all was right with smooth rendering, lowered cpu usage and augmented framerate ( 8-10 %). -- You are receiving this mail because: You are the assignee for the bug. --1354626240.Ed80FC0.7596 Date: Tue, 4 Dec 2012 13:04:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 57875
Assignee dri-devel@lists.freedesktop.org
Summary Second Life viewer bad rendering with git-ec83535
Severity normal
Classification Unclassified
OS All
Reporter andabata12@yahoo.it
Hardware Other
Status NEW
Version unspecified
Component Drivers/Gallium/r300
Product Mesa

With git  "HEAD at ec83535 automake/gallium: attempt to fix -lrt", Cool VL
Viewer a TPV for Second Life 3D world  ( the official Linden Lab viewer is from
ages blocked cause of https://bugs.freedesktop.org/show_bug.cgi?id=39251 ) can
set only basic shaders otherwise with atmospheric, water and reflections
shaders enabled, I have extensive blue triangles  during the execution.
On the contrary with graphics drivers from git-54ff536 ( HyperZ enabled by
default) all was right  with smooth rendering, lowered cpu usage and augmented
framerate ( 8-10 %).


You are receiving this mail because:
  • You are the assignee for the bug.
--1354626240.Ed80FC0.7596-- --===============0989946147== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0989946147==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 04 Dec 2012 13:08:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0058860233==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AFE1E6332 for ; Tue, 4 Dec 2012 05:08:29 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0058860233== Content-Type: multipart/alternative; boundary="1354626509.fdb271e0.8335"; charset="us-ascii" --1354626509.fdb271e0.8335 Date: Tue, 4 Dec 2012 13:08:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #1 from Piero Finizio --- Created attachment 70995 --> https://bugs.freedesktop.org/attachment.cgi?id=70995&action=edit The "blue triangles" -- You are receiving this mail because: You are the assignee for the bug. --1354626509.fdb271e0.8335 Date: Tue, 4 Dec 2012 13:08:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 57875 from
Created attachment 70995 [details]
The "blue triangles"


You are receiving this mail because:
  • You are the assignee for the bug.
--1354626509.fdb271e0.8335-- --===============0058860233== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0058860233==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 04 Dec 2012 13:11:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0741209017==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BB030E6344 for ; Tue, 4 Dec 2012 05:11:29 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0741209017== Content-Type: multipart/alternative; boundary="1354626689.Eac2B721.8916"; charset="us-ascii" --1354626689.Eac2B721.8916 Date: Tue, 4 Dec 2012 13:11:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #2 from Marek Ol=C5=A1=C3=A1k --- Does reverting the commit e866bd1adea2c3b4971ad68e69c644752f2ab7b6 help? --=20 You are receiving this mail because: You are the assignee for the bug. --1354626689.Eac2B721.8916 Date: Tue, 4 Dec 2012 13:11:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
Does reverting the commit e866bd1adea2c3b4971ad68e69c644752f2a=
b7b6 help?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354626689.Eac2B721.8916-- --===============0741209017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0741209017==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 04 Dec 2012 13:53:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1748867418==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B971E637D for ; Tue, 4 Dec 2012 05:53:33 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1748867418== Content-Type: multipart/alternative; boundary="1354629213.0FAe7cb0.14541"; charset="us-ascii" --1354629213.0FAe7cb0.14541 Date: Tue, 4 Dec 2012 13:53:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #3 from Piero Finizio --- Yes, reverting commit e866bd1adea2c3b4971ad68e69c644752f2ab7b6 works. -- You are receiving this mail because: You are the assignee for the bug. --1354629213.0FAe7cb0.14541 Date: Tue, 4 Dec 2012 13:53:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 57875 from
Yes, reverting commit e866bd1adea2c3b4971ad68e69c644752f2ab7b6 works.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354629213.0FAe7cb0.14541-- --===============1748867418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1748867418==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 15:55:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0020388268==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EF6E6E67AF for ; Thu, 6 Dec 2012 07:55:55 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0020388268== Content-Type: multipart/alternative; boundary="1354809356.Acdc51.28628"; charset="us-ascii" --1354809356.Acdc51.28628 Date: Thu, 6 Dec 2012 15:55:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #4 from Stefan D=C3=B6singer --- I'll have a look at it once I find a download for this app. --=20 You are receiving this mail because: You are the assignee for the bug. --1354809356.Acdc51.28628 Date: Thu, 6 Dec 2012 15:55:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 57875<= /a> from Stefan D=C3=B6singer
I'll have a look at it once I find a download for this app.
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354809356.Acdc51.28628-- --===============0020388268== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0020388268==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 16:54:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0597385709==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8908EE5C11 for ; Thu, 6 Dec 2012 08:54:41 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0597385709== Content-Type: multipart/alternative; boundary="1354812881.B381bedE0.5400"; charset="us-ascii" --1354812881.B381bedE0.5400 Date: Thu, 6 Dec 2012 16:54:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #5 from Piero Finizio --- http://sldev.free.fr/ The stable branch Linux: CoolVLViewer-1.26.4.XX works with r300, the CoolVLViewer-1.26.5.XX doesn't because it derives from Second Life official viewer series 3 and so suffers from the aforementioned bug 39251. -- You are receiving this mail because: You are the assignee for the bug. --1354812881.B381bedE0.5400 Date: Thu, 6 Dec 2012 16:54:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 57875 from
http://sldev.free.fr/

The stable branch Linux: CoolVLViewer-1.26.4.XX works with r300,
the  CoolVLViewer-1.26.5.XX doesn't  because it derives from Second Life
official viewer series 3 and so suffers from the aforementioned bug 39251.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354812881.B381bedE0.5400-- --===============0597385709== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0597385709==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 17:04:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2020625465==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A138E668F for ; Thu, 6 Dec 2012 09:04:56 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2020625465== Content-Type: multipart/alternative; boundary="1354813496.cA75C1.6643"; charset="us-ascii" --1354813496.cA75C1.6643 Date: Thu, 6 Dec 2012 17:04:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #6 from Stefan D=C3=B6singer --- I can reproduce the bug, and after a quick investigation it seems to be a legitimate problem how depth clamping is handled. The application enables i= t, it enables it only if the extension is available and if I don't set the GPUs CLIP_DISABLE flag but keep the extension the bugs go away(so having the extension doesn't trigger a different codepath that is broken in some other way). Marek, in 09109c11d9efd78c0f87fc55911e03eda5fd980b you mention GB_TILE_CONFIG.Z_EXTENDED. From looking at the code of this application and= the comments therein, I suspect the clamping part of GL_ARB_depth_clamp is requ= ired here. Do you have some code left over from your previous DEPTH_CLAMP experiments? --=20 You are receiving this mail because: You are the assignee for the bug. --1354813496.cA75C1.6643 Date: Thu, 6 Dec 2012 17:04:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 6 on bug 57875<= /a> from Stefan D=C3=B6singer
I can reproduce the bug, and after a quick investigation it se=
ems to be a
legitimate problem how depth clamping is handled. The application enables i=
t,
it enables it only if the extension is available and if I don't set the GPUs
CLIP_DISABLE flag but keep the extension the bugs go away(so having the
extension doesn't trigger a different codepath that is broken in some other
way).

Marek, in 09109c11d9efd78c0f87fc55911e03eda5fd980b you mention
GB_TILE_CONFIG.Z_EXTENDED. From looking at the code of this application and=
 the
comments therein, I suspect the clamping part of GL_ARB_depth_clamp is requ=
ired
here. Do you have some code left over from your previous DEPTH_CLAMP
experiments?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354813496.cA75C1.6643-- --===============2020625465== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2020625465==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 17:09:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2125753627==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AC1BE6616 for ; Thu, 6 Dec 2012 09:09:48 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2125753627== Content-Type: multipart/alternative; boundary="1354813787.e230deE1.7367"; charset="us-ascii" --1354813787.e230deE1.7367 Date: Thu, 6 Dec 2012 17:09:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #7 from Stefan D=C3=B6singer --- Aw, of course thr R3xx_3D_Registers.pdf document doesn't document bit 24 of R300_GB_TILE_CONFIG, which supposedly contains the Z_EXTENDED flag... --=20 You are receiving this mail because: You are the assignee for the bug. --1354813787.e230deE1.7367 Date: Thu, 6 Dec 2012 17:09:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 57875<= /a> from Stefan D=C3=B6singer
Aw, of course thr R3xx_3D_Registers.pdf document doesn't docum=
ent bit 24 of
R300_GB_TILE_CONFIG, which supposedly contains the Z_EXTENDED flag...


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354813787.e230deE1.7367-- --===============2125753627== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2125753627==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 18:20:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1636629497==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F2354E606A for ; Thu, 6 Dec 2012 10:20:08 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1636629497== Content-Type: multipart/alternative; boundary="1354818008.27F6dC8a2.17087"; charset="us-ascii" --1354818008.27F6dC8a2.17087 Date: Thu, 6 Dec 2012 18:20:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #8 from Alex Deucher --- (In reply to comment #7) > Aw, of course thr R3xx_3D_Registers.pdf document doesn't document bit 24 of > R300_GB_TILE_CONFIG, which supposedly contains the Z_EXTENDED flag... That bit only exists on r5xx asics. R3xx and r4xx don't have that bit. -- You are receiving this mail because: You are the assignee for the bug. --1354818008.27F6dC8a2.17087 Date: Thu, 6 Dec 2012 18:20:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 57875 from
(In reply to comment #7)
> Aw, of course thr R3xx_3D_Registers.pdf document doesn't document bit 24 of
> R300_GB_TILE_CONFIG, which supposedly contains the Z_EXTENDED flag...

That bit only exists on r5xx asics.  R3xx and r4xx don't have that bit.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354818008.27F6dC8a2.17087-- --===============1636629497== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1636629497==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 18:34:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1078638958==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 593B9E6106 for ; Thu, 6 Dec 2012 10:34:40 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1078638958== Content-Type: multipart/alternative; boundary="1354818880.de8a6c2.19276"; charset="us-ascii" --1354818880.de8a6c2.19276 Date: Thu, 6 Dec 2012 18:34:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #9 from Marek Ol=C5=A1=C3=A1k --- I don't remember having anything useful besides some quick hacks and I don't have them anymore. I came to the conclusion ARB_depth_clamp is not implementable on r300-r500. I don't think the extended range [-2,2] would h= elp and IIRC, the register is not allowed to be written by userspace anyway, it must be written in the kernel. The way I see it, there are 4 solutions to this issue: 1) Wine shouldn't use ARB_depth_clamp, but instead it should use an extensi= on that exposes CLIP_DISABLE as defined by D3D9 to the user. The problem is su= ch an extension doesn't exist. 2) We could agree on a wine-specific hack for r300g, which would expose ARB_depth_clamp for Wine only. We already blacklist certain apps for Hyper-= Z, this would be no different. 3) We could clamp POS.Z to the range [-POS.W, POS.W] in the vertex shader. = The problem with this approach is the clamping should be per-pixel, not per-ver= tex. 4) Disabling ARB_depth_clamp again. --=20 You are receiving this mail because: You are the assignee for the bug. --1354818880.de8a6c2.19276 Date: Thu, 6 Dec 2012 18:34:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 9 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
I don't remember having anything useful besides some quick hac=
ks and I don't
have them anymore. I came to the conclusion ARB_depth_clamp is not
implementable on r300-r500. I don't think the extended range [-2,2] would h=
elp
and IIRC, the register is not allowed to be written by userspace anyway, it
must be written in the kernel.

The way I see it, there are 4 solutions to this issue:

1) Wine shouldn't use ARB_depth_clamp, but instead it should use an extensi=
on
that exposes CLIP_DISABLE as defined by D3D9 to the user. The problem is su=
ch
an extension doesn't exist.

2) We could agree on a wine-specific hack for r300g, which would expose
ARB_depth_clamp for Wine only. We already blacklist certain apps for Hyper-=
Z,
this would be no different.

3) We could clamp POS.Z to the range [-POS.W, POS.W] in the vertex shader. =
The
problem with this approach is the clamping should be per-pixel, not per-ver=
tex.

4) Disabling ARB_depth_clamp again.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354818880.de8a6c2.19276-- --===============1078638958== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1078638958==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 18:52:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1063618661==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E06DEE6970 for ; Thu, 6 Dec 2012 10:52:58 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1063618661== Content-Type: multipart/alternative; boundary="1354819978.8B2BAE0B1.22486"; charset="us-ascii" --1354819978.8B2BAE0B1.22486 Date: Thu, 6 Dec 2012 18:52:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #10 from Stefan D=C3=B6singer --- (In reply to comment #8) > That bit only exists on r5xx asics. R3xx and r4xx don't have that bit. I'd say it's related to floating point depth buffer support. I don't know a= bout the capabilities of the GPUs though and have to read up the interactions between depth_clamp and depth_buffer_float again, but I'd expect the limited depth buffer range to clamp the values. (In reply to comment #9) > I don't remember having anything useful besides some quick hacks and I do= n't > have them anymore. I've written a kernel hack, now the broken geometry is mostly behind the correct parts. I guess this is where you stopped last time. Before I give up on this I'd like to investigate some more things, particul= arly the interaction with glDepthRange(something similar to 92e7c6a2581b5f612a84587500399bb00318c6f0) and the interactions with and the interaction with the depth buffer format, maybe something like 73856817973caab283427c52152672f524c49a07 is needed. Furthermore I'd like to find out if this application uses a floating point depth buffer. > 1) Wine shouldn't use ARB_depth_clamp, but instead it should use an > extension that exposes CLIP_DISABLE as defined by D3D9 to the user. The > problem is such an extension doesn't exist. You could do something like MESA_depth_clamp_hack which uses the entrypoints and enums of ARB_depth_clamp but only has an effect with GL_DEPTH_TEST off. > 2) We could agree on a wine-specific hack for r300g, which would expose > ARB_depth_clamp for Wine only. We already blacklist certain apps for > Hyper-Z, this would be no different. Sounds ugly. I'd like to invest a few more days before I start thinking abo= ut that route. > 3) We could clamp POS.Z to the range [-POS.W, POS.W] in the vertex shader. > The problem with this approach is the clamping should be per-pixel, not > per-vertex. I've been thinking about doing this in Wine before NV_depth_clamp became ARB_depth_clamp. Claming the Z value in the fragment shader would be easier, but I think won't work as the geometry would be clipped before it reaches t= he fragment stage. --=20 You are receiving this mail because: You are the assignee for the bug. --1354819978.8B2BAE0B1.22486 Date: Thu, 6 Dec 2012 18:52:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 10 on bug 57875<= /a> from Stefan D=C3=B6singer
(In reply to comment #8=
)
> That bit only exists on r5xx asics.  R3xx and r4=
xx don't have that bit.
I'd say it's related to floating point depth buffer support. I don't know a=
bout
the capabilities of the GPUs though and have to read up the interactions
between depth_clamp and depth_buffer_float again, but I'd expect the limited
depth buffer range to clamp the values.

(In reply to comment #9)
> I don't remember having anything useful besides =
some quick hacks and I don't
> have them anymore.
I've written a kernel hack, now the broken geometry is mostly behind the
correct parts. I guess this is where you stopped last time.

Before I give up on this I'd like to investigate some more things, particul=
arly
the interaction with glDepthRange(something similar to
92e7c6a2581b5f612a84587500399bb00318c6f0) and the interactions with and the
interaction with the depth buffer format, maybe something like
73856817973caab283427c52152672f524c49a07 is needed. Furthermore I'd like to
find out if this application uses a floating point depth buffer.

> 1) Wine shouldn't use ARB_depth_clamp, but inste=
ad it should use an
> extension that exposes CLIP_DISABLE as defined by D3D9 to the user. The
> problem is such an extension doesn't exist.
You could do something like MESA_depth_clamp_hack which uses the entrypoints
and enums of ARB_depth_clamp but only has an effect with GL_DEPTH_TEST off.

> 2) We could agree on a wine-specific hack for r3=
00g, which would expose
> ARB_depth_clamp for Wine only. We already blacklist certain apps for
> Hyper-Z, this would be no different.
Sounds ugly. I'd like to invest a few more days before I start thinking abo=
ut
that route.

> 3) We could clamp POS.Z to the range [-POS.W, PO=
S.W] in the vertex shader.
> The problem with this approach is the clamping should be per-pixel, not
> per-vertex.
I've been thinking about doing this in Wine before NV_depth_clamp became
ARB_depth_clamp. Claming the Z value in the fragment shader would be easier,
but I think won't work as the geometry would be clipped before it reaches t=
he
fragment stage.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354819978.8B2BAE0B1.22486-- --===============1063618661== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1063618661==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 18:55:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225022380==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D858EE67D7 for ; Thu, 6 Dec 2012 10:55:36 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0225022380== Content-Type: multipart/alternative; boundary="1354820136.03DA7F81.23166"; charset="us-ascii" --1354820136.03DA7F81.23166 Date: Thu, 6 Dec 2012 18:55:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #11 from Stefan D=C3=B6singer --- I found the r500 register docs, and yeah, the Z_EXTENDED bit sounds less us= eful now... --=20 You are receiving this mail because: You are the assignee for the bug. --1354820136.03DA7F81.23166 Date: Thu, 6 Dec 2012 18:55:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 57875<= /a> from Stefan D=C3=B6singer
I found the r500 register docs, and yeah, the Z_EXTENDED bit s=
ounds less useful
now...


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354820136.03DA7F81.23166-- --===============0225022380== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0225022380==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 20:49:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0474033695==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A217E5D3A for ; Thu, 6 Dec 2012 12:49:31 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0474033695== Content-Type: multipart/alternative; boundary="1354826971.e305CeDd2.6380"; charset="us-ascii" --1354826971.e305CeDd2.6380 Date: Thu, 6 Dec 2012 20:49:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #12 from Henri Verbeet --- (In reply to comment #9) > 1) Wine shouldn't use ARB_depth_clamp, but instead it should use an > extension that exposes CLIP_DISABLE as defined by D3D9 to the user. The > problem is such an extension doesn't exist. > If ARB_depth_clamp can't be made to work on r300g, that would be my preferred solution. There may even be some value in that for a hypothetical D3D or wined3d state tracker, although I still don't see that happening in the short term, for various reasons. -- You are receiving this mail because: You are the assignee for the bug. --1354826971.e305CeDd2.6380 Date: Thu, 6 Dec 2012 20:49:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 57875 from
(In reply to comment #9)
> 1) Wine shouldn't use ARB_depth_clamp, but instead it should use an
> extension that exposes CLIP_DISABLE as defined by D3D9 to the user. The
> problem is such an extension doesn't exist.
> 
If ARB_depth_clamp can't be made to work on r300g, that would be my preferred
solution. There may even be some value in that for a hypothetical D3D or
wined3d state tracker, although I still don't see that happening in the short
term, for various reasons.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354826971.e305CeDd2.6380-- --===============0474033695== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0474033695==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 22:03:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2118250576==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 26E1CE5C00 for ; Thu, 6 Dec 2012 14:03:21 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2118250576== Content-Type: multipart/alternative; boundary="1354831401.5fe8eC01.15772"; charset="us-ascii" --1354831401.5fe8eC01.15772 Date: Thu, 6 Dec 2012 22:03:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #13 from Stefan D=C3=B6singer --- I think a new extension is the way to go. We could probably call it GL_MESA_depth_clip_disable or GL_MESA_depth_clamp_d3d. One could try to combine the CLIP_DISABLE register with clamping gl_FragDep= th inside the fragment shader. I'd expect the cost of this to be way too high, even if it's just enabled when both GL_DEPTH_TEST and GL_DEPTH_CLAMP are enabled. Maybe some considerations similar to GL_ARB_conservative_depth can= be applied, but I guess that'd require hardware support. --=20 You are receiving this mail because: You are the assignee for the bug. --1354831401.5fe8eC01.15772 Date: Thu, 6 Dec 2012 22:03:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 13 on bug 57875<= /a> from Stefan D=C3=B6singer
I think a new extension is the way to go. We could probably ca=
ll it
GL_MESA_depth_clip_disable or GL_MESA_depth_clamp_d3d.

One could try to combine the CLIP_DISABLE register with clamping gl_FragDep=
th
inside the fragment shader. I'd expect the cost of this to be way too high,
even if it's just enabled when both GL_DEPTH_TEST and GL_DEPTH_CLAMP are
enabled. Maybe some considerations similar to GL_ARB_conservative_depth can=
 be
applied, but I guess that'd require hardware support.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354831401.5fe8eC01.15772-- --===============2118250576== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2118250576==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 06 Dec 2012 23:43:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2098081998==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EE78E5CBC for ; Thu, 6 Dec 2012 15:43:23 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2098081998== Content-Type: multipart/alternative; boundary="1354837403.f68A2.27115"; charset="us-ascii" --1354837403.f68A2.27115 Date: Thu, 6 Dec 2012 23:43:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #14 from Marek Ol=C5=A1=C3=A1k --- (In reply to comment #10) > > That bit only exists on r5xx asics. R3xx and r4xx don't have that bit. > I'd say it's related to floating point depth buffer support. I don't know > about the capabilities of the GPUs though and have to read up the > interactions between depth_clamp and depth_buffer_float again, but I'd > expect the limited depth buffer range to clamp the values. There's no floating-point depth buffer support in r500. > > I don't remember having anything useful besides some quick hacks and I = don't > > have them anymore. > I've written a kernel hack, now the broken geometry is mostly behind the > correct parts. I guess this is where you stopped last time. >=20 > Before I give up on this I'd like to investigate some more things, > particularly the interaction with glDepthRange(something similar to > 92e7c6a2581b5f612a84587500399bb00318c6f0) and the interactions with and t= he 92e7c6a258 fixes a piglit test which passes with r300g, so it's most probab= ly unrelated. glDepthRange is packed in the Z component of the vectors in pipe_viewport_state, which is applied after clipping and converts coordinat= es from the clip space to the window space. --=20 You are receiving this mail because: You are the assignee for the bug. --1354837403.f68A2.27115 Date: Thu, 6 Dec 2012 23:43:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 14 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
(In reply to comment #=
10)
> > That bit only exists on r5xx asics.  R3xx a=
nd r4xx don't have that bit.
> I'd say it's related to floating point depth buffer support. I don't k=
now
> about the capabilities of the GPUs though and have to read up the
> interactions between depth_clamp and depth_buffer_float again, but I'd
> expect the limited depth buffer range to clamp the values.

There's no floating-point depth buffer support in r500.


> > I don't remember having anything useful bes=
ides some quick hacks and I don't
> > have them anymore.
> I've written a kernel hack, now the broken geometry is mostly behind t=
he
> correct parts. I guess this is where you stopped last time.
>=20
> Before I give up on this I'd like to investigate some more things,
> particularly the interaction with glDepthRange(something similar to
> 92e7c6a2581b5f612a84587500399bb00318c6f0) and the interactions with an=
d the

92e7c6a258 fixes a piglit test which passes with r300g, so it's most probab=
ly
unrelated.

glDepthRange is packed in the Z component of the vectors in
pipe_viewport_state, which is applied after clipping and converts coordinat=
es
from the clip space to the window space.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1354837403.f68A2.27115-- --===============2098081998== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2098081998==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Sun, 09 Dec 2012 21:59:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0056781297==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C9529E5FB9 for ; Sun, 9 Dec 2012 13:59:53 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0056781297== Content-Type: multipart/alternative; boundary="1355090393.C60e1.31104"; charset="us-ascii" --1355090393.C60e1.31104 Date: Sun, 9 Dec 2012 21:59:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #15 from Stefan D=C3=B6singer --- Created attachment 71244 --> https://bugs.freedesktop.org/attachment.cgi?id=3D71244&action=3Dedit proposed MESA_clip_disable extension I've written an extension proposal for a new mesa extension that exposes the CLIP_DISABLE bit. The proposal is attached, please review and comment. There are some TODOs I'm not quite sure how to deal with, see the list in "Status= ". We can move the extension discussion elsewhere if this bug report isn't the proper place for it. --=20 You are receiving this mail because: You are the assignee for the bug. --1355090393.C60e1.31104 Date: Sun, 9 Dec 2012 21:59:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 15 on bug 57875<= /a> from Stefan D=C3=B6singer
Created attac=
hment 71244 [details]
proposed MESA_clip_disable extension

I've written an extension proposal for a new mesa extension that exposes the
CLIP_DISABLE bit. The proposal is attached, please review and comment. There
are some TODOs I'm not quite sure how to deal with, see the list in "S=
tatus".

We can move the extension discussion elsewhere if this bug report isn't the
proper place for it.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1355090393.C60e1.31104-- --===============0056781297== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0056781297==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 10 Dec 2012 15:20:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1211603481==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DB69E6018 for ; Mon, 10 Dec 2012 07:20:48 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1211603481== Content-Type: multipart/alternative; boundary="1355152848.541cdF2.5766"; charset="us-ascii" --1355152848.541cdF2.5766 Date: Mon, 10 Dec 2012 15:20:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #16 from Henri Verbeet --- (In reply to comment #15) > I've written an extension proposal for a new mesa extension that exposes the > CLIP_DISABLE bit. The proposal is attached, please review and comment. There > are some TODOs I'm not quite sure how to deal with, see the list in "Status". > - It probably makes sense to mention "depth" in the extension name somewhere, we really only care about the near and far clipping planes. E.g. MESA_depth_clip. - Perhaps it makes more sense to write the extension in terms of ARB_depth_clamp. I.e., provide a subset of ARB_depth_clamp, that only disables depth clipping, and generates undefined results in the depth test, except for perhaps GL_ALWAYS / GL_NEVER. (Also, note that you can't really make fragment depth values undefined before / in the fragment shader, because you have interactions with e.g. texture filtering as well.) It would avoid the perhaps somewhat questionable "ARB_depth_clamp must not be supported", and you can just defer to ARB_depth_clamp for most of the issues etc. The interaction between the two extensions just becomes that if ARB_depth_clamp is also supported you get defined depth test results. -- You are receiving this mail because: You are the assignee for the bug. --1355152848.541cdF2.5766 Date: Mon, 10 Dec 2012 15:20:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 16 on bug 57875 from
(In reply to comment #15)
> I've written an extension proposal for a new mesa extension that exposes the
> CLIP_DISABLE bit. The proposal is attached, please review and comment. There
> are some TODOs I'm not quite sure how to deal with, see the list in "Status".
> 
  - It probably makes sense to mention "depth" in the extension name somewhere,
we really only care about the near and far clipping planes. E.g.
MESA_depth_clip.
  - Perhaps it makes more sense to write the extension in terms of
ARB_depth_clamp. I.e., provide a subset of ARB_depth_clamp, that only disables
depth clipping, and generates undefined results in the depth test, except for
perhaps GL_ALWAYS / GL_NEVER. (Also, note that you can't really make fragment
depth values undefined before / in the fragment shader, because you have
interactions with e.g. texture filtering as well.) It would avoid the perhaps
somewhat questionable "ARB_depth_clamp must not be supported", and you can just
defer to ARB_depth_clamp for most of the issues etc. The interaction between
the two extensions just becomes that if ARB_depth_clamp is also supported you
get defined depth test results.


You are receiving this mail because:
  • You are the assignee for the bug.
--1355152848.541cdF2.5766-- --===============1211603481== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1211603481==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Wed, 12 Dec 2012 20:29:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1997846201==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4287EE5E56 for ; Wed, 12 Dec 2012 12:29:29 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1997846201== Content-Type: multipart/alternative; boundary="1355344169.eaD5A701.10537"; charset="us-ascii" --1355344169.eaD5A701.10537 Date: Wed, 12 Dec 2012 20:29:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 Stefan D=C3=B6singer changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71244|0 |1 is obsolete| | --- Comment #17 from Stefan D=C3=B6singer --- Created attachment 71407 --> https://bugs.freedesktop.org/attachment.cgi?id=3D71407&action=3Dedit MESA_depth_clip extension spec, try 2. Thanks for the comments, here is an updated version. --=20 You are receiving this mail because: You are the assignee for the bug. --1355344169.eaD5A701.10537 Date: Wed, 12 Dec 2012 20:29:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Stefan D=C3=B6singer changed bug 57875<= /a>
What Removed Added
Attachment #71244 is obsolete   1

Commen= t # 17 on bug 57875<= /a> from Stefan D=C3=B6singer
Created att=
achment 71407 [details]
MESA_depth_clip extension spec, try 2.

Thanks for the comments, here is an updated version.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1355344169.eaD5A701.10537-- --===============1997846201== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1997846201==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Thu, 27 Dec 2012 10:25:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0585556768==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C4B3E5CB6 for ; Thu, 27 Dec 2012 02:25:05 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0585556768== Content-Type: multipart/alternative; boundary="1356603905.De276451.20576"; charset="us-ascii" --1356603905.De276451.20576 Date: Thu, 27 Dec 2012 10:25:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #18 from Piero Finizio --- If i try to revert the commit e866bd1adea2c3b4971ad68e69c644752f2ab7b6 (ab= ove mentioned workaround) with git "HEAD at 7c35521 mesa: add missing texel fetch code for sRGB DXT formats" the compilation ends with: ... CC r300_screen.o r300_screen.c: In function =E2=80=98r300_get_param=E2=80=99: r300_screen.c:130:14: error: =E2=80=98PIPE_CAP_TIMER_QUERY=E2=80=99 undecla= red (first use in this function) r300_screen.c:130:14: note: each undeclared identifier is reported only once for each function it appears in r300_screen.c:88:5: warning: enumeration value =E2=80=98PIPE_CAP_QUERY_TIME= _ELAPSED=E2=80=99 not handled in switch [-Wswitch] r300_screen.c:88:5: warning: enumeration value =E2=80=98PIPE_CAP_TEXTURE_BUFFER_OBJECTS=E2=80=99 not handled in switch [-W= switch] gmake[4]: *** [r300_screen.o] Error 1 gmake[4]: Leaving directory `/root/mesa/src/gallium/drivers/r300' gmake[3]: *** [all-recursive] Error 1 ... --=20 You are receiving this mail because: You are the assignee for the bug. --1356603905.De276451.20576 Date: Thu, 27 Dec 2012 10:25:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 18 on bug 57875<= /a> from Piero Finizio
If i try to revert the commit e866bd1adea2c3b4971ad68e69c64475=
2f2ab7b6  (above
mentioned workaround) with git
"HEAD at 7c35521 mesa: add missing texel fetch code for sRGB DXT forma=
ts"
the compilation ends with:
 ...
CC     r300_screen.o
r300_screen.c: In function =E2=80=98r300_get_param=E2=80=99:
r300_screen.c:130:14: error: =E2=80=98PIPE_CAP_TIMER_QUERY=E2=80=99 undecla=
red (first use in
this function)
r300_screen.c:130:14: note: each undeclared identifier is reported only once
for each function it appears in
r300_screen.c:88:5: warning: enumeration value =E2=80=98PIPE_CAP_QUERY_TIME=
_ELAPSED=E2=80=99
not handled in switch [-Wswitch]
r300_screen.c:88:5: warning: enumeration value
=E2=80=98PIPE_CAP_TEXTURE_BUFFER_OBJECTS=E2=80=99 not handled in switch [-W=
switch]
gmake[4]: *** [r300_screen.o] Error 1
gmake[4]: Leaving directory `/root/mesa/src/gallium/drivers/r300'
gmake[3]: *** [all-recursive] Error 1

 ...


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1356603905.De276451.20576-- --===============0585556768== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0585556768==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 07 Jan 2013 15:43:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2122666406==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DB95E6279 for ; Mon, 7 Jan 2013 07:43:51 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2122666406== Content-Type: multipart/alternative; boundary="1357573431.37EeEad1.29462"; charset="us-ascii" --1357573431.37EeEad1.29462 Date: Mon, 7 Jan 2013 15:43:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #19 from Stefan D=C3=B6singer --- Are there any comments on the 2nd extension spec? If it looks good to you I= 'll do some tests with the r200 and r500 GPUs I have to see how unclipped Z val= ues behave in fragment processing to make sure the extension doesn't guarantee anything the HW cannot provide. --=20 You are receiving this mail because: You are the assignee for the bug. --1357573431.37EeEad1.29462 Date: Mon, 7 Jan 2013 15:43:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 19 on bug 57875<= /a> from Stefan D=C3=B6singer
Are there any comments on the 2nd extension spec? If it looks =
good to you I'll
do some tests with the r200 and r500 GPUs I have to see how unclipped Z val=
ues
behave in fragment processing to make sure the extension doesn't guarantee
anything the HW cannot provide.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1357573431.37EeEad1.29462-- --===============2122666406== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2122666406==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 07 Jan 2013 16:12:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2016034865==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CFA64E5D2A for ; Mon, 7 Jan 2013 08:12:54 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2016034865== Content-Type: multipart/alternative; boundary="1357575174.5Ba02.1119"; charset="us-ascii" --1357575174.5Ba02.1119 Date: Mon, 7 Jan 2013 16:12:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #20 from Marek Ol=C5=A1=C3=A1k --- FWIW, the extension specification looks good to me. --=20 You are receiving this mail because: You are the assignee for the bug. --1357575174.5Ba02.1119 Date: Mon, 7 Jan 2013 16:12:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 20 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
FWIW, the extension specification looks good to me.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1357575174.5Ba02.1119-- --===============2016034865== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2016034865==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 21 Jan 2013 19:07:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0671387555==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 22D7DE609F for ; Mon, 21 Jan 2013 11:07:11 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0671387555== Content-Type: multipart/alternative; boundary="1358795231.cdedb1.19661"; charset="us-ascii" --1358795231.cdedb1.19661 Date: Mon, 21 Jan 2013 19:07:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 Piero Finizio changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #21 from Piero Finizio --- With last git-6eb0d3d and git-9bdf5be the bug disappeared, so I mark it as Resolved. -- You are receiving this mail because: You are the assignee for the bug. --1358795231.cdedb1.19661 Date: Mon, 21 Jan 2013 19:07:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 57875
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 21 on bug 57875 from
With last git-6eb0d3d and git-9bdf5be the bug disappeared, so I mark it as
Resolved.


You are receiving this mail because:
  • You are the assignee for the bug.
--1358795231.cdedb1.19661-- --===============0671387555== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0671387555==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 21 Jan 2013 22:16:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2024791661==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F767E6667 for ; Mon, 21 Jan 2013 14:16:20 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2024791661== Content-Type: multipart/alternative; boundary="1358806580.DcF1e1.12926"; charset="us-ascii" --1358806580.DcF1e1.12926 Date: Mon, 21 Jan 2013 22:16:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #22 from Stefan D=C3=B6singer --- Are you sure? I see nothing in the r300g git history that I'd expect to have fixed this bug. Unless of course the hw does what ARB_depth_clamp requires = when you set CLIP_DISABLE and the rendering problems had nothing to do with depth_clamp in the first place. If the bug is indeed fixed a bisect for the commit fixing it might be interesting. --=20 You are receiving this mail because: You are the assignee for the bug. --1358806580.DcF1e1.12926 Date: Mon, 21 Jan 2013 22:16:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 22 on bug 57875<= /a> from Stefan D=C3=B6singer
Are you sure? I see nothing in the r300g git history that I'd =
expect to have
fixed this bug. Unless of course the hw does what ARB_depth_clamp requires =
when
you set CLIP_DISABLE and the rendering problems had nothing to do with
depth_clamp in the first place.

If the bug is indeed fixed a bisect for the commit fixing it might be
interesting.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1358806580.DcF1e1.12926-- --===============2024791661== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2024791661==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 22 Jan 2013 10:25:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1252504275==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 438E2E6048 for ; Tue, 22 Jan 2013 02:25:25 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1252504275== Content-Type: multipart/alternative; boundary="1358850325.E3a1f51.16092"; charset="us-ascii" --1358850325.E3a1f51.16092 Date: Tue, 22 Jan 2013 10:25:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #23 from Piero Finizio --- Bisecting is difficult because almost every day I compile from git but i change mesa/drm and xorg/driver/xf86-video-ati in ensemble... Plus I compiled on Fedora 18 with 3.7.x-xx kernel that carries power management improvements and other work for the Radeon driver. To get rid of bug I reverted the commits: r300_screen.c - case PIPE_CAP_DEPTH_CLIP_DISABLE: /* XXX implemented, but breaks Regnum Online */ return 1; ... case PIPE_CAP_INDEP_BLEND_FUNC: + case PIPE_CAP_DEPTH_CLIP_DISABLE: ------------------ r300_state.c - R300_PS_UCP_MODE_CLIP_AS_TRIFAN | - (state->depth_clip ? 0 : R300_CLIP_DISABLE); + R300_PS_UCP_MODE_CLIP_AS_TRIFAN; ----------------- now i dont need anymore this way and the version of Second Life viewer is the same: CoolVLViewer-1.26.4.48-Linux Another path of investigation would be the anti-aliasing performance optimizations By Marek Olsek. Anyway I will try to help within the limits of possibility. -- You are receiving this mail because: You are the assignee for the bug. --1358850325.E3a1f51.16092 Date: Tue, 22 Jan 2013 10:25:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 23 on bug 57875 from
Bisecting is  difficult because almost every day I compile from git but i
change mesa/drm and xorg/driver/xf86-video-ati in ensemble...
Plus  I compiled on Fedora 18 with 3.7.x-xx kernel that carries power
management improvements and other work for the Radeon driver.

To get rid of bug I reverted the commits:

r300_screen.c

- case PIPE_CAP_DEPTH_CLIP_DISABLE: /* XXX implemented, but breaks Regnum
Online */
return 1;
...
case PIPE_CAP_INDEP_BLEND_FUNC:
+ case PIPE_CAP_DEPTH_CLIP_DISABLE:

------------------

r300_state.c

- R300_PS_UCP_MODE_CLIP_AS_TRIFAN |
- (state->depth_clip ? 0 : R300_CLIP_DISABLE);

+ R300_PS_UCP_MODE_CLIP_AS_TRIFAN;

----------------- 

now i dont need anymore this way and the version of Second Life viewer is the
same: CoolVLViewer-1.26.4.48-Linux

Another path of investigation would be the anti-aliasing performance
optimizations By Marek Olsek.
Anyway I will try to help within the limits of possibility.


You are receiving this mail because:
  • You are the assignee for the bug.
--1358850325.E3a1f51.16092-- --===============1252504275== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1252504275==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 22 Jan 2013 10:39:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1325365370==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 54C5DE60D4 for ; Tue, 22 Jan 2013 02:39:15 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1325365370== Content-Type: multipart/alternative; boundary="1358851155.5d0fD11.18337"; charset="us-ascii" --1358851155.5d0fD11.18337 Date: Tue, 22 Jan 2013 10:39:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #24 from Piero Finizio --- P.S. System Software / Hardware Information Hardware: Processor: Intel Core Duo T2350 @ 1.86GHz (2 Cores),Graphics: AMD Mobility Radeon X1700 M66 RV535 256MB Software: OS: Fedora 18 (Spherical Cow), Kernel: 3.7.2-201.fc18.i686 (i686), Desktop: KDE 4.9.5, Display Server: X Server 1.13.1, Display Driver: radeon 7.0.99, OpenGL: 2.1 Mesa 9.1-devel (git-9bdf5be) Gallium 0.4, Compiler: GCC 4.7.2 20121109 + LLVM 3.1, File-System: ext4 -- You are receiving this mail because: You are the assignee for the bug. --1358851155.5d0fD11.18337 Date: Tue, 22 Jan 2013 10:39:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 24 on bug 57875 from
P.S.

System Software / Hardware Information

Hardware:
Processor: Intel Core Duo T2350 @ 1.86GHz (2 Cores),Graphics: AMD Mobility
Radeon X1700 M66 RV535 256MB 

Software:
OS: Fedora 18 (Spherical Cow), Kernel: 3.7.2-201.fc18.i686 (i686), Desktop: KDE
4.9.5, Display Server: X Server 1.13.1, Display Driver: radeon 7.0.99, OpenGL:
2.1 Mesa 9.1-devel (git-9bdf5be) Gallium 0.4, Compiler: GCC 4.7.2 20121109 +
LLVM 3.1, File-System: ext4


You are receiving this mail because:
  • You are the assignee for the bug.
--1358851155.5d0fD11.18337-- --===============1325365370== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1325365370==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Fri, 25 Jan 2013 11:27:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1343777353==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 83446E6235 for ; Fri, 25 Jan 2013 03:27:29 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1343777353== Content-Type: multipart/alternative; boundary="1359113249.D58D2CcF1.23714"; charset="us-ascii" --1359113249.D58D2CcF1.23714 Date: Fri, 25 Jan 2013 11:27:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 Piero Finizio changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #25 from Piero Finizio --- Stefan D=C3=B6singer you are right: the bug didn't disappear; for some rea= sons the change of environment for mesa directory doesn't work on FC18 simply with "/etc/ld.so.conf.d/a-local-xorg.conf (new file) or add to begin of /etc/ld.so.conf if directory doesn't exists: /usr/local/lib and to /etc/environment to add new environment variable that tells libgl w= here to look for dri drivers (example r300_dri.so): LIBGL_DRIVERS_PATH=3D/usr/local/lib/dri/" so I had to link /usr/local/lib/dri/r300_dri.so to /usr/lib/dri/r300_dri.so Sorry for the inconvenience. --=20 You are receiving this mail because: You are the assignee for the bug. --1359113249.D58D2CcF1.23714 Date: Fri, 25 Jan 2013 11:27:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Piero Finizio changed bug 57875<= /a>
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Commen= t # 25 on bug 57875<= /a> from Piero Finizio
 Stefan D=C3=B6singer you are right: the bug didn't disappear;=
 for some reasons the
change of environment for mesa directory doesn't work on FC18 simply with

"/etc/ld.so.conf.d/a-local-xorg.conf (new file) or add to begin of
/etc/ld.so.conf if directory doesn't exists:
/usr/local/lib

and to /etc/environment  to add new environment variable that tells libgl w=
here
to look for dri drivers (example r300_dri.so):
LIBGL_DRIVERS_PATH=3D/usr/local/lib/dri/"

so I had  to link /usr/local/lib/dri/r300_dri.so to /usr/lib/dri/r300_dri.so

Sorry for the  inconvenience.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1359113249.D58D2CcF1.23714-- --===============1343777353== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1343777353==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Wed, 13 Mar 2013 13:30:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0989951291==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E2A3FE68CA for ; Wed, 13 Mar 2013 06:30:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0989951291== Content-Type: multipart/alternative; boundary="1363181445.a05f5c2.17285"; charset="us-ascii" --1363181445.a05f5c2.17285 Date: Wed, 13 Mar 2013 13:30:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #26 from Marek Ol=C5=A1=C3=A1k --- Stefan> We can also go the easy way and only advertise ARB_depth_clamp if t= he user is Wine. It would work in the same way we disable HyperZ for composito= rs. I'm assuming Wine can be detected as easily as reading program_invocation_short_name. --=20 You are receiving this mail because: You are the assignee for the bug. --1363181445.a05f5c2.17285 Date: Wed, 13 Mar 2013 13:30:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 26 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
Stefan> We can also go the easy way and only advertise ARB_=
depth_clamp if the
user is Wine. It would work in the same way we disable HyperZ for composito=
rs.
I'm assuming Wine can be detected as easily as reading
program_invocation_short_name.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1363181445.a05f5c2.17285-- --===============0989951291== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0989951291==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Wed, 13 Mar 2013 21:20:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0772394428==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DB95BE677F for ; Wed, 13 Mar 2013 14:20:53 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0772394428== Content-Type: multipart/alternative; boundary="1363209653.e6AECB2C1.13123"; charset="us-ascii" --1363209653.e6AECB2C1.13123 Date: Wed, 13 Mar 2013 21:20:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #27 from Stefan D=C3=B6singer --- This is a bad idea because Wine can also run OpenGL applications, which mig= ht use depth_clamp in a way that doesn't work on r300g. Feel free to revert the patch for now. Implementing MESA_depth_clip is fair= ly high up on my todo list, but even higher priorities kept interfering. If you have the time and resources to implement my extension proposal yours= elf that'd make me extra-happy of course :-) --=20 You are receiving this mail because: You are the assignee for the bug. --1363209653.e6AECB2C1.13123 Date: Wed, 13 Mar 2013 21:20:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 27 on bug 57875<= /a> from Stefan D=C3=B6singer
This is a bad idea because Wine can also run OpenGL applicatio=
ns, which might
use depth_clamp in a way that doesn't work on r300g.

Feel free to revert the patch for now. Implementing MESA_depth_clip is fair=
ly
high up on my todo list, but even higher priorities kept interfering.

If you have the time and resources to implement my extension proposal yours=
elf
that'd make me extra-happy of course :-)


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1363209653.e6AECB2C1.13123-- --===============0772394428== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0772394428==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Sun, 30 Jun 2013 16:07:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0600574238==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C842E5C5C for ; Sun, 30 Jun 2013 09:07:32 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0600574238== Content-Type: multipart/alternative; boundary="1372608452.ddfa2.2192"; charset="us-ascii" --1372608452.ddfa2.2192 Date: Sun, 30 Jun 2013 16:07:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #28 from Marek Ol=C5=A1=C3=A1k --- Stefan, is the extension for implementing the POSITIONT shader semantic? Wo= uld a gl_Position output modifier also work for you? For example: #extension GL_MESA_xxx : require pretransformed gl_Position; void main() { ... etc. --=20 You are receiving this mail because: You are the assignee for the bug. --1372608452.ddfa2.2192 Date: Sun, 30 Jun 2013 16:07:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 28 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
Stefan, is the extension for implementing the POSITIONT shader=
 semantic? Would
a gl_Position output modifier also work for you?

For example:

#extension GL_MESA_xxx : require

pretransformed gl_Position;

void main()
{
...
etc.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1372608452.ddfa2.2192-- --===============0600574238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0600574238==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Mon, 01 Jul 2013 15:15:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2074514200==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BA2B8E5DD7 for ; Mon, 1 Jul 2013 08:15:58 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2074514200== Content-Type: multipart/alternative; boundary="1372691758.cEbb1.2649"; charset="us-ascii" --1372691758.cEbb1.2649 Date: Mon, 1 Jul 2013 15:15:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #29 from Stefan D=C3=B6singer --- Hmm, this seems like an idea worth thinking about. The D3D behavior the proposed extension addresses is part of the D3DDECLUSAGE_POSITIONT / D3DFVF_XYZRHW vertex input semantics. For now I'm opposed to making this a vertex shader control though. The poin= t of POSITIONT / XYZRHW is to skip vertex processing altogether, so handling POSITIONT semantics in a shader seems a bit off. Furthermore, the clipping behavior of POSITIONT depends on the depth test, so this needs a separate control anyway (or replicating the depth test interaction, which seems some= what ugly to me because its done by a different stage in the rendering pipeline). --=20 You are receiving this mail because: You are the assignee for the bug. --1372691758.cEbb1.2649 Date: Mon, 1 Jul 2013 15:15:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 29 on bug 57875<= /a> from Stefan D=C3=B6singer
Hmm, this seems like an idea worth thinking about. The D3D beh=
avior the
proposed extension addresses is part of the D3DDECLUSAGE_POSITIONT /
D3DFVF_XYZRHW vertex input semantics.

For now I'm opposed to making this a vertex shader control though. The poin=
t of
POSITIONT / XYZRHW is to skip vertex processing altogether, so handling
POSITIONT semantics in a shader seems a bit off. Furthermore, the clipping
behavior of POSITIONT depends on the depth test, so this needs a separate
control anyway (or replicating the depth test interaction, which seems some=
what
ugly to me because its done by a different stage in the rendering pipeline)=
.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1372691758.cEbb1.2649-- --===============2074514200== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2074514200==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 16 Jul 2013 12:43:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0353880408==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 74023E5F6C for ; Tue, 16 Jul 2013 05:43:35 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0353880408== Content-Type: multipart/alternative; boundary="1373978615.5ef22.23973"; charset="us-ascii" --1373978615.5ef22.23973 Date: Tue, 16 Jul 2013 12:43:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #30 from Christoph Bumiller --- How does it depend on the depth test, and why does it seem "off" to make something that is originally a shader property in D3D a shader property in OpenGL as well ? Not using shaders isn't allowed (at least not in gallium), so you have to use a pass-through shader anyway, so this limits state inter-dependency. The qualifier "layout(windowspace)/layout(pretransformed) out vec4 gl_Position" is supposed to disable clipping and the viewport transformation (so glViewport settings will be ignored). The only open question is how depth values should be treated, which can be either clipped or clamped, and there is actually a D3DCAPS9 bit to tell the user what will happen. On r600, you cannot disable xy clipping without disabling z clipping, so it will have to advertise clamping. On NV cards you have more fine-grained control, and I'd actually prefer depth clipping there unless GL_DEPTH_CLAMP is enabled as well. -- You are receiving this mail because: You are the assignee for the bug. --1373978615.5ef22.23973 Date: Tue, 16 Jul 2013 12:43:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 30 on bug 57875 from
How does it depend on the depth test, and why does it seem "off" to make
something that is originally a shader property in D3D a shader property in
OpenGL as well ?
Not using shaders isn't allowed (at least not in gallium), so you have to use a
pass-through shader anyway, so this limits state inter-dependency.

The qualifier "layout(windowspace)/layout(pretransformed) out vec4 gl_Position"
is supposed to disable clipping and the viewport transformation (so glViewport
settings will be ignored).

The only open question is how depth values should be treated, which can be
either clipped or clamped, and there is actually a D3DCAPS9 bit to tell the
user what will happen.
On r600, you cannot disable xy clipping without disabling z clipping, so it
will have to advertise clamping. On NV cards you have more fine-grained
control, and I'd actually prefer depth clipping there unless GL_DEPTH_CLAMP is
enabled as well.


You are receiving this mail because:
  • You are the assignee for the bug.
--1373978615.5ef22.23973-- --===============0353880408== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0353880408==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 16 Jul 2013 13:40:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1849781913==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8BE76E6478 for ; Tue, 16 Jul 2013 06:40:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1849781913== Content-Type: multipart/alternative; boundary="1373982024.fE76D482.32704"; charset="us-ascii" --1373982024.fE76D482.32704 Date: Tue, 16 Jul 2013 13:40:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #31 from Henri Verbeet --- You're mixing things up a bit, the functionality this bug is about is mostly controlled by D3DRS_ZENABLE in d3d9. Considering only pre-transformed (D3DFVF_XYZRHW) vertices, the behaviour is like this: - When D3DRS_ZENABLE is D3DZB_TRUE, Z values are clipped when D3DPMISCCAPS_CLIPTLVERTS is set, clamped when it isn't. Depth testing works pretty much as expected. In practice that means the default GL behaviour is fine as long as we set D3DPMISCCAPS_CLIPTLVERTS. - When D3DRS_ZENABLE is D3DZB_FALSE, depth value processing is technically just completely disabled. We get equivalent behaviour by disabling the depth test, and clamping depth values. This does mean that always clamping Z for pre-transformed vertices through an output modifier could be a valid implementation, as long as we don't set D3DPMISCCAPS_CLIPTLVERTS in wined3d. However, it also means that you can't then require the depth test to be always disabled when that output modifier is used. If I'm still understanding the bug correctly, the whole point was that enabling both depth clamping and the depth test at the same time is problematic on r300. You could of course specify an appropriate interaction with GL_DEPTH_TEST in the extension spec instead of just "always clamp Z / disable clipping and viewport transform". That would probably work for us, but would also probably make for a more complicated extension. It would also make it impossible to ever implement this on things like r200 that can't properly do GLSL, although that may not be enough of a concern to avoid doing it this way. What would be the main advantage from r300g's point of view of making this an output modifier? -- You are receiving this mail because: You are the assignee for the bug. --1373982024.fE76D482.32704 Date: Tue, 16 Jul 2013 13:40:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 31 on bug 57875 from
You're mixing things up a bit, the functionality this bug is about is mostly
controlled by D3DRS_ZENABLE in d3d9. Considering only pre-transformed
(D3DFVF_XYZRHW) vertices, the behaviour is like this:
  - When D3DRS_ZENABLE is D3DZB_TRUE, Z values are clipped when
D3DPMISCCAPS_CLIPTLVERTS is set, clamped when it isn't. Depth testing works
pretty much as expected. In practice that means the default GL behaviour is
fine as long as we set D3DPMISCCAPS_CLIPTLVERTS.
  - When D3DRS_ZENABLE is D3DZB_FALSE, depth value processing is technically
just completely disabled. We get equivalent behaviour by disabling the depth
test, and clamping depth values.

This does mean that always clamping Z for pre-transformed vertices through an
output modifier could be a valid implementation, as long as we don't set
D3DPMISCCAPS_CLIPTLVERTS in wined3d. However, it also means that you can't then
require the depth test to be always disabled when that output modifier is used.
If I'm still understanding the bug correctly, the whole point was that enabling
both depth clamping and the depth test at the same time is problematic on r300.

You could of course specify an appropriate interaction with GL_DEPTH_TEST in
the extension spec instead of just "always clamp Z / disable clipping and
viewport transform". That would probably work for us, but would also probably
make for a more complicated extension. It would also make it impossible to ever
implement this on things like r200 that can't properly do GLSL, although that
may not be enough of a concern to avoid doing it this way. What would be the
main advantage from r300g's point of view of making this an output modifier?


You are receiving this mail because:
  • You are the assignee for the bug.
--1373982024.fE76D482.32704-- --===============1849781913== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1849781913==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 16 Jul 2013 17:09:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2087847175==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 61AE6E6028 for ; Tue, 16 Jul 2013 10:09:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2087847175== Content-Type: multipart/alternative; boundary="1373994580.DFBfB8A2.2196"; charset="us-ascii" --1373994580.DFBfB8A2.2196 Date: Tue, 16 Jul 2013 17:09:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 --- Comment #32 from Marek Ol=C5=A1=C3=A1k --- There would be no advantage for r300g. The problem with r300g is that it cannot do depth clamping without disabling the clipping entirely. There is only one big switch called CLIP_DISABLE, wh= ich "Disables clip code generation and clipping process for TCL" and is enough = to pass the ARB_depth_clamp piglit tests. However it has caused issues like thousands of random/misplaced triangles on the screen. I think the lack of = XY clipping is the problem and the switch was probably only meant to be used w= ith software vertex processing. --=20 You are receiving this mail because: You are the assignee for the bug. --1373994580.DFBfB8A2.2196 Date: Tue, 16 Jul 2013 17:09:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 32 on bug 57875<= /a> from Marek Ol=C5=A1=C3=A1k
There would be no advantage for r300g.

The problem with r300g is that it cannot do depth clamping without disabling
the clipping entirely. There is only one big switch called CLIP_DISABLE, wh=
ich
"Disables clip code generation and clipping process for TCL" and =
is enough to
pass the ARB_depth_clamp piglit tests. However it has caused issues like
thousands of random/misplaced triangles on the screen. I think the lack of =
XY
clipping is the problem and the switch was probably only meant to be used w=
ith
software vertex processing.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1373994580.DFBfB8A2.2196-- --===============2087847175== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2087847175==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 57875] Second Life viewer bad rendering with git-ec83535 Date: Tue, 30 Jul 2013 21:12:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1120672316==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DCBB3E7118 for ; Tue, 30 Jul 2013 14:12:47 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1120672316== Content-Type: multipart/alternative; boundary="1375218767.bEF12dE2.7698"; charset="us-ascii" --1375218767.bEF12dE2.7698 Date: Tue, 30 Jul 2013 21:12:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D57875 Marek Ol=C5=A1=C3=A1k changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #33 from Marek Ol=C5=A1=C3=A1k --- I reverted the problematic commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3D4dfe1a0df56d084b6a29fe42= 3afe0535abec29e9 Closing. --=20 You are receiving this mail because: You are the assignee for the bug. --1375218767.bEF12dE2.7698 Date: Tue, 30 Jul 2013 21:12:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Marek Ol=C5=A1=C3=A1k changed bug 57875<= /a>
What Removed Added
Status REOPENED RESOLVED
Resolution --- FIXED


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1375218767.bEF12dE2.7698-- --===============1120672316== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1120672316==--