All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 27069] New: OpenGl is slower on dri2
@ 2010-03-14 14:13 bugzilla-daemon
  2010-03-15 11:12 ` [Bug 27069] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-03-14 14:13 UTC (permalink / raw)
  To: dri-devel

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

           Summary: OpenGl is slower on dri2
           Product: DRI
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: dmbohdan@gmail.com


Hi. I want to report that OpenGl applications is slower when dri2 and kms
enabled. When it was disabled glxgears showed 1100 FPS, but now it show 568
FPS. 
I`ve tested it on real opengl apptication - epsxe (emulator of playstation 1)
and when dri2 enabled it show 33 fps. With dri it show over 60 FPS. 

I don`t know about other videocard, i`ve tested this on my Radeon X1300


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
@ 2010-03-15 11:12 ` bugzilla-daemon
  2010-03-15 16:52 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-03-15 11:12 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #1 from Stefan Dösinger <stefandoesinger@gmx.at>  2010-03-15 04:12:49 PST ---
Just for the record, I can confirm this issue here as well. DRI2 barely runs
etracer on my Radeon 9000 mobility, with the dri1 code it runs at 200+ fps.
Similar results on my r500 card.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
  2010-03-15 11:12 ` [Bug 27069] " bugzilla-daemon
@ 2010-03-15 16:52 ` bugzilla-daemon
  2011-09-01 23:20 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-03-15 16:52 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #2 from Alex Deucher <agd5f@yahoo.com>  2010-03-15 09:52:18 PST ---
this is likely a dup of bug 26599.  The slow down is at least partially caused
by the anti-tearing code used for buffer swaps.


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
  2010-03-15 11:12 ` [Bug 27069] " bugzilla-daemon
  2010-03-15 16:52 ` bugzilla-daemon
@ 2011-09-01 23:20 ` bugzilla-daemon
  2011-09-01 23:21 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-01 23:20 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-01 16:20:12 PDT ---
This problem still exists, UMS(as far as 3D is still working with it) is much
faster than KMS. Unfortunately the only app that's still working with UMS in
Mesa 7.11 is glxgears.

On my r250 GPU glxgeares runs at 2600 fps with UMS, 1070 with KMS(default
Window size). At 1400x1050 the numbers are 370 fps(UMS) and 60 fps(KMS).

I don't think vsync causes the issue, disabling it seems to work fine, at least
for windowed apps.

etracer is still a lot slower with KMS than it used to be. At 1400x1050 and
otherwise default settings it runs at 15-20 fps. With an ancient Mesa version I
tested today(6.4.2) it runs at a pretty okish 60 fps at the same settings.

The problem seems to be on the GPU side. Whenever the problem occurs the CPU is
idle and the GPU working, and increasing the rendering resolution makes the
problem worse. The unfortunate situation this creates is that the 6 years old
Mesa on my old hard drive vastly outperforms Mesa 7.11 in many rendering
situations.

I could not spot any CPU side problems, but the GPU slowness makes it hard to
test. My unscientific guess is that in setups where the KMS GPU slowness
doesn't matter Mesa 7.11 is about 50% faster than Mesa 6.4.2. (etracer with a
tiny resolution, long view range and lots of objects)

I'll test r300 on a Radeon X1600 GPU over the weekend. This GPU/driver combo is
pretty slow as well, but I'm not sure if r300 still supports UMS.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-09-01 23:20 ` bugzilla-daemon
@ 2011-09-01 23:21 ` bugzilla-daemon
  2011-09-02 12:17 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-01 23:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-01 16:21:54 PDT ---
(In reply to comment #3)
> This problem still exists,
I forgot to add the usual software version info:

Kernel: 3.0.4-gentoo
Xorg: X.Org X Server 1.10.2
DDX: xf86-video-ati-6.14.2
Mesa: Mesa 7.11. (Also tried mesa git, revision db3a7c366b5)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-09-01 23:21 ` bugzilla-daemon
@ 2011-09-02 12:17 ` bugzilla-daemon
  2011-09-02 13:11 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-02 12:17 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Thierry Vignaud <thierry.vignaud@gmail.com> 2011-09-02 05:17:51 PDT ---
This is because output is maxed at screen refreshing and won't go over 60fps

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-09-02 12:17 ` bugzilla-daemon
@ 2011-09-02 13:11 ` bugzilla-daemon
  2011-09-02 13:20 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-02 13:11 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Xavier Bestel <xavier.bestel@free.fr> 2011-09-02 06:11:01 PDT ---
That does not explain the 15-20 fps he sees with etracer.

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-09-02 13:11 ` bugzilla-daemon
@ 2011-09-02 13:20 ` bugzilla-daemon
  2011-09-02 13:49 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-02 13:20 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Tom Stellard <tstellar@gmail.com> 2011-09-02 06:20:39 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > This problem still exists,
> I forgot to add the usual software version info:
> 
> Kernel: 3.0.4-gentoo
> Xorg: X.Org X Server 1.10.2
> DDX: xf86-video-ati-6.14.2
> Mesa: Mesa 7.11. (Also tried mesa git, revision db3a7c366b5)

Can you also post the output of dmesg and glxinfo, as well as your Xorg.log.

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-09-02 13:20 ` bugzilla-daemon
@ 2011-09-02 13:49 ` bugzilla-daemon
  2011-09-03 18:45 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-02 13:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Alex Deucher <agd5f@yahoo.com> 2011-09-02 06:49:43 PDT ---
UMS supported Colortiling and hyperZ on r1xx/r2xx asics and a few other
features that haven't been implemented with KMS yet.  The information is
available if someone wants to add support to KMS.  KMS also defaults to vsynced
3D.  r3xx and newer asics should be faster with KMS.

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-09-02 13:49 ` bugzilla-daemon
@ 2011-09-03 18:45 ` bugzilla-daemon
  2011-09-03 18:48 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-03 18:45 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-03 11:45:25 PDT ---
I tested this on r300(g) with a Radeon X1600, and the results were
inconclusive. UMS only ran glxgears resonably, and in fullscreen it always
forced vsync on. r300g outperformed r300 in real apps(e.g. etracer).

However, the X1600 with r300g is a lot slower on the GPU side than it should be
I think. I'll install a few games on Windows XP to verify this, and file a
separate bug(or add infos to an existing bug report if one exists).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2011-09-03 18:45 ` bugzilla-daemon
@ 2011-09-03 18:48 ` bugzilla-daemon
  2011-09-03 18:50 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-03 18:48 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-03 11:48:02 PDT ---
Created an attachment (id=50875)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50875)
dmesg of the r200 machine

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2011-09-03 18:48 ` bugzilla-daemon
@ 2011-09-03 18:50 ` bugzilla-daemon
  2011-09-03 19:09 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-03 18:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-03 11:50:12 PDT ---
Created an attachment (id=50876)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50876)
Xorg.log of the r200 machine

This file contains the following lines:
[    36.568] (II) RADEON(0): KMS Color Tiling: enabled
[    36.568] (II) RADEON(0): KMS Pageflipping: enabled

The man page says color tiling and page flipping are implemented on r200. I had
to enable color tiling manually, but page flipping was on by default. Enabling
color tiling didn't change the performance.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2011-09-03 18:50 ` bugzilla-daemon
@ 2011-09-03 19:09 ` bugzilla-daemon
  2011-09-06  1:57 ` bugzilla-daemon
  2014-01-23 11:50 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-03 19:09 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from Stefan Dösinger <stefandoesinger@gmx.at> 2011-09-03 12:09:05 PDT ---
Created an attachment (id=50877)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50877)
glxinfo from the r200 machine

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2011-09-03 19:09 ` bugzilla-daemon
@ 2011-09-06  1:57 ` bugzilla-daemon
  2014-01-23 11:50 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-09-06  1:57 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #13 from Alex Deucher <agd5f@yahoo.com> 2011-09-05 18:57:31 PDT ---
(In reply to comment #11)
> The man page says color tiling and page flipping are implemented on r200. I had
> to enable color tiling manually, but page flipping was on by default. Enabling
> color tiling didn't change the performance.

Support for colortiling is not implemented for r1xx or r2xx yet for KMS so
enabling it does nothing.  KMS pageflipping is vsynced, so it won't really help
with performance; it just reduces memory bandwidth for buffer swaps by
pageflipping rather than blitting.

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 27069] OpenGl is slower on dri2
  2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2011-09-06  1:57 ` bugzilla-daemon
@ 2014-01-23 11:50 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2014-01-23 11:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 678 bytes --]

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

Marek Olšák <maraeo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Marek Olšák <maraeo@gmail.com> ---
I don't think this is still an issue. DRI2 OpenGL drivers have matured a lot,
especially for the R300-R500 GPUs. It's unlikely that the drivers for older
GPUs will be improved. Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2102 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-01-23 11:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 14:13 [Bug 27069] New: OpenGl is slower on dri2 bugzilla-daemon
2010-03-15 11:12 ` [Bug 27069] " bugzilla-daemon
2010-03-15 16:52 ` bugzilla-daemon
2011-09-01 23:20 ` bugzilla-daemon
2011-09-01 23:21 ` bugzilla-daemon
2011-09-02 12:17 ` bugzilla-daemon
2011-09-02 13:11 ` bugzilla-daemon
2011-09-02 13:20 ` bugzilla-daemon
2011-09-02 13:49 ` bugzilla-daemon
2011-09-03 18:45 ` bugzilla-daemon
2011-09-03 18:48 ` bugzilla-daemon
2011-09-03 18:50 ` bugzilla-daemon
2011-09-03 19:09 ` bugzilla-daemon
2011-09-06  1:57 ` bugzilla-daemon
2014-01-23 11:50 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.