From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Sun, 15 Apr 2018 10:08:20 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0958578827=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 3AC956E255
for ; Sun, 15 Apr 2018 10:08:21 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0958578827==
Content-Type: multipart/alternative; boundary="15237869012.CA91A451.2854"
Content-Transfer-Encoding: 7bit
--15237869012.CA91A451.2854
Date: Sun, 15 Apr 2018 10:08:21 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
Bug ID: 106053
Summary: Drawing at screen boundary is very slow.
Product: Mesa
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
Assignee: dri-devel@lists.freedesktop.org
Reporter: cosiekvfj@o2.pl
QA Contact: dri-devel@lists.freedesktop.org
CC: alexdeucher@gmail.com, emil.l.velikov@gmail.com,
Hi-Angel@yandex.ru, lemody@gmail.com,
madbiologist2016@outlook.com, maraeo@gmail.com,
mark.a.janes@intel.com, michel@daenzer.net,
nhaehnle@gmail.com, notasas@gmail.com
Created attachment 138844
--> https://bugs.freedesktop.org/attachment.cgi?id=3D138844&action=3Dedit
bitmap for testing
When a partially visible sprites are drawn to the screen, fps drops really
badly.
code tested:
https://gist.github.com/vfjpl/bd442e34036547e4ccb05200762fa274
fully visible =3D 73.8 fps
fully invisible =3D 394 fps
partially visible =3D 5.75 fps
The same situation is happening on Allegro library. I don't know enough Ope=
nGL
to test it directly.
I can provide more test results. Just ask me to do it.
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org R300 Project (0x1002)
Device: ATI RC410 (0x5a62)
Version: 17.3.7
Accelerated: yes
Video memory: 128MB
Unified memory: no
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
And small question. Why Max core profile shows 0.0? Should I open another
bug-report?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15237869012.CA91A451.2854
Date: Sun, 15 Apr 2018 10:08:21 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
106053
|
| Summary |
Drawing at screen boundary is very slow.
|
| Product |
Mesa
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
All
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
Drivers/Gallium/r300
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
cosiekvfj@o2.pl
|
| QA Contact |
dri-devel@lists.freedesktop.org
|
| CC |
alexdeucher@gmail.com, emil.l.velikov@gmail.com, Hi-A=
ngel@yandex.ru, lemody@gmail.com, madbiologist2016@outlook.com,=
maraeo@gmail.com, mark.a.janes@intel.com, michel@daenzer.net, =
nhaehnle@gmail.com, notasas@gmail.com
|
Created attachment 138844=
[details]
bitmap for testing
When a partially visible sprites are drawn to the screen, fps drops really
badly.
code tested:
=
https://gist.github.com/vfjpl/bd442e34036547e4ccb05200762fa274
fully visible =3D 73.8 fps
fully invisible =3D 394 fps
partially visible =3D 5.75 fps
The same situation is happening on Allegro library. I don't know enough Ope=
nGL
to test it directly.
I can provide more test results. Just ask me to do it.
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org R300 Project (0x1002)
Device: ATI RC410 (0x5a62)
Version: 17.3.7
Accelerated: yes
Video memory: 128MB
Unified memory: no
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
And small question. Why Max core profile shows 0.0? Should I open another
bug-report?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15237869012.CA91A451.2854--
--===============0958578827==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0958578827==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Sun, 15 Apr 2018 10:16:02 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0749317914=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id BF9B86E255
for ; Sun, 15 Apr 2018 10:16:02 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0749317914==
Content-Type: multipart/alternative; boundary="15237873626.4CA9.7529"
Content-Transfer-Encoding: 7bit
--15237873626.4CA9.7529
Date: Sun, 15 Apr 2018 10:16:02 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
--- Comment #1 from Hi-Angel ---
Can't comment on the rest, but
> And small question. Why Max core profile shows 0.0? Should I open another=
bug-report?
This is because the OpenGL version r300g supports didn't have the separatio=
n to
core/compat profile. See also this comment
https://bugs.freedesktop.org/show_bug.cgi?id=3D103506#c8
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15237873626.4CA9.7529
Date: Sun, 15 Apr 2018 10:16:02 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
You are receiving this mail because:
- You are the assignee for the bug.
=
--15237873626.4CA9.7529--
--===============0749317914==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0749317914==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Sun, 15 Apr 2018 15:40:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1113542547=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 168586E27F
for ; Sun, 15 Apr 2018 15:40:52 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1113542547==
Content-Type: multipart/alternative; boundary="15238068520.6F628.19454"
Content-Transfer-Encoding: 7bit
--15238068520.6F628.19454
Date: Sun, 15 Apr 2018 15:40:52 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
Marek Ol=C5=A1=C3=A1k changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|NEW |RESOLVED
--- Comment #2 from Marek Ol=C5=A1=C3=A1k ---
r300-r500 hardware capabilities don't meet the requirements of OpenGL core
profile.
r300g on RC410 uses software emulation for vertex shaders and clipping (the
same code as llvmpipe), because the hardware doesn't have any vertex proces=
sor
and clipper.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15238068520.6F628.19454
Date: Sun, 15 Apr 2018 15:40:52 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
=
Marek Ol=C5=A1=C3=A1k
changed
bug 10605=
3
| What |
Removed |
Added |
| Resolution |
---
|
NOTABUG
|
| Status |
NEW
|
RESOLVED
|
Commen=
t # 2
on bug 10605=
3
from Marek Ol=C5=A1=C3=A1k
r300-r500 hardware capabilities don't meet the requirements of=
OpenGL core
profile.
r300g on RC410 uses software emulation for vertex shaders and clipping (the
same code as llvmpipe), because the hardware doesn't have any vertex proces=
sor
and clipper.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15238068520.6F628.19454--
--===============1113542547==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1113542547==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Mon, 16 Apr 2018 21:55:47 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1562653777=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id A3C9F6E0C5
for ; Mon, 16 Apr 2018 21:55:47 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1562653777==
Content-Type: multipart/alternative; boundary="15239157471.C02169a.726"
Content-Transfer-Encoding: 7bit
--15239157471.C02169a.726
Date: Mon, 16 Apr 2018 21:55:47 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
--- Comment #3 from Roland Scheidegger ---
(In reply to Marek Ol=C5=A1=C3=A1k from comment #2)
> r300g on RC410 uses software emulation for vertex shaders and clipping (t=
he
> same code as llvmpipe), because the hardware doesn't have any vertex
> processor and clipper.
Can't the chip do guardband clipping? I thought all radeon chips (starting =
from
r100) could do this, regardless if they support hw tnl.
I could be wrong though (and I wouldn't know how large the guardband would =
be,
and certainly draw's handling of guardband if you enable it is a bit lackin=
g,
since hw has fixed limits whereas draw will use a guardband twice the size =
of
the viewport).
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15239157471.C02169a.726
Date: Mon, 16 Apr 2018 21:55:47 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 3
on bug 10605=
3
from Roland Scheidegger
(In reply to Marek Ol=C5=A1=C3=A1k from comment #2)
> r300g on RC410 uses software emulation for verte=
x shaders and clipping (the
> same code as llvmpipe), because the hardware doesn't have any vertex
> processor and clipper.
Can't the chip do guardband clipping? I thought all radeon chips (starting =
from
r100) could do this, regardless if they support hw tnl.
I could be wrong though (and I wouldn't know how large the guardband would =
be,
and certainly draw's handling of guardband if you enable it is a bit lackin=
g,
since hw has fixed limits whereas draw will use a guardband twice the size =
of
the viewport).
You are receiving this mail because:
- You are the assignee for the bug.
=
--15239157471.C02169a.726--
--===============1562653777==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1562653777==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Mon, 16 Apr 2018 22:05:06 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0073276663=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 73BD96E0CF
for ; Mon, 16 Apr 2018 22:05:06 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0073276663==
Content-Type: multipart/alternative; boundary="15239163061.A93cBdD.2224"
Content-Transfer-Encoding: 7bit
--15239163061.A93cBdD.2224
Date: Mon, 16 Apr 2018 22:05:06 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
--- Comment #4 from Marek Ol=C5=A1=C3=A1k ---
I think the hw doesn't have a clipper, though it shouldn't be hard to verif=
y if
it's true. Yeah, draw could use some optimizations for the clipper, e.g. the
guardband, but simply doing culling (not clipping) should be enough for poi=
nt
sprites.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15239163061.A93cBdD.2224
Date: Mon, 16 Apr 2018 22:05:06 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 4
on bug 10605=
3
from Marek Ol=C5=A1=C3=A1k
I think the hw doesn't have a clipper, though it shouldn't be =
hard to verify if
it's true. Yeah, draw could use some optimizations for the clipper, e.g. the
guardband, but simply doing culling (not clipping) should be enough for poi=
nt
sprites.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15239163061.A93cBdD.2224--
--===============0073276663==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0073276663==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106053] Drawing at screen boundary is very slow.
Date: Tue, 17 Apr 2018 01:22:27 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0640530840=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id AC8986E40D
for ; Tue, 17 Apr 2018 01:22:27 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0640530840==
Content-Type: multipart/alternative; boundary="152392814710.E7ABdE.22124"
Content-Transfer-Encoding: 7bit
--152392814710.E7ABdE.22124
Date: Tue, 17 Apr 2018 01:22:27 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106053
--- Comment #5 from Roland Scheidegger ---
(In reply to Marek Ol=C5=A1=C3=A1k from comment #4)
> I think the hw doesn't have a clipper, though it shouldn't be hard to ver=
ify
> if it's true. Yeah, draw could use some optimizations for the clipper, e.=
g.
> the guardband, but simply doing culling (not clipping) should be enough f=
or
> point sprites.
That's what I meant with guardband clipping: there's no actual clipping, but
the hw will still cull pixels outside the viewport. Hence it probably would=
be
better if draw wouldn't clip if a primitive doesn't fit into the viewport, =
but
fits into the (hw) guardband. (And you are right that point sprites are a b=
it
of a special case.)
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--152392814710.E7ABdE.22124
Date: Tue, 17 Apr 2018 01:22:27 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 5
on bug 10605=
3
from Roland Scheidegger
(In reply to Marek Ol=C5=A1=C3=A1k from comment #4)
> I think the hw doesn't have a clipper, though it=
shouldn't be hard to verify
> if it's true. Yeah, draw could use some optimizations for the clipper,=
e.g.
> the guardband, but simply doing culling (not clipping) should be enoug=
h for
> point sprites.
That's what I meant with guardband clipping: there's no actual clipping, but
the hw will still cull pixels outside the viewport. Hence it probably would=
be
better if draw wouldn't clip if a primitive doesn't fit into the viewport, =
but
fits into the (hw) guardband. (And you are right that point sprites are a b=
it
of a special case.)
You are receiving this mail because:
- You are the assignee for the bug.
=
--152392814710.E7ABdE.22124--
--===============0640530840==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0640530840==--