All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6
@ 2010-02-13 19:31 bugzilla-daemon
  2010-02-13 19:32 ` [Bug 26558] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:31 UTC (permalink / raw)
  To: dri-devel

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

           Summary: KMS Kills 3D performance with Linux-2.6.33>rc6
           Product: DRI
           Version: unspecified
          Platform: Other
               URL: http://www.phoronix.com/forums/showthread.php?t=21930
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: lmilano@gmx.net


I am testing the Radeon open source stack with the Kubuntu Lucid (10.04)
current packages. Up to 2.6.33rc6, 3D performance has been good (3D games would
be playable). Starting with rc7, 3D performance is gone: 3D games get less than
a frame per second, even scrolling the mouse pointer is painfully slow. 

It appears that KMS was not working up until rc6, and it started working in
rc7. Disabling KMS in rc7 or rc8 solves the performance issue. This could be a
kernel regression, or a problem with KMS in my graphics stack. I'll post more
detailed info below.

Software:

Display Server: X.Org Server 1.7.3.902 (1.7.4 RC 2)
Display Driver: radeon 6.12.99
Kernel: 2.6.33rc7 64bit (from Ubuntu's mainline ppa)

Hardware: 

Radeon HD 3450
AMD Phenom X3


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
@ 2010-02-13 19:32 ` bugzilla-daemon
  2010-02-13 19:33 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:32 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #1 from Leo Milano <lmilano@gmx.net>  2010-02-13 11:32:42 PST ---
Created an attachment (id=33279)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33279)
dmesg, 2.6.33-rc6


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
  2010-02-13 19:32 ` [Bug 26558] " bugzilla-daemon
@ 2010-02-13 19:33 ` bugzilla-daemon
  2010-02-13 19:34 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:33 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #2 from Leo Milano <lmilano@gmx.net>  2010-02-13 11:33:20 PST ---
Created an attachment (id=33280)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33280)
dmesg, 2.6.33-rc7


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
  2010-02-13 19:32 ` [Bug 26558] " bugzilla-daemon
  2010-02-13 19:33 ` bugzilla-daemon
@ 2010-02-13 19:34 ` bugzilla-daemon
  2010-02-13 19:35 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:34 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #3 from Leo Milano <lmilano@gmx.net>  2010-02-13 11:34:26 PST ---
Created an attachment (id=33281)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33281)
xorg log 2.6.33-rc6


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-02-13 19:34 ` bugzilla-daemon
@ 2010-02-13 19:35 ` bugzilla-daemon
  2010-02-13 19:43 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:35 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #4 from Leo Milano <lmilano@gmx.net>  2010-02-13 11:35:22 PST ---
Created an attachment (id=33282)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33282)
xorg log 2.6.33-rc7


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-02-13 19:35 ` bugzilla-daemon
@ 2010-02-13 19:43 ` bugzilla-daemon
  2010-02-13 19:59 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:43 UTC (permalink / raw)
  To: dri-devel

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


Leo Milano <lmilano@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lmilano@gmx.net




--- Comment #5 from Leo Milano <lmilano@gmx.net>  2010-02-13 11:43:04 PST ---
Not the following line in the xorg log when I boot with rc6: 
(II) [KMS] drm report modesetting isn't supported.

In contrast, with rc7 I get this:
(II) [KMS] Kernel modesetting enabled.

As indicated in the bug report summary, if I add nomodeset and radeon.modeset=0
as a command line option, 3D performance with rc7 is the same as with rc6
(quite acceptable). 


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-02-13 19:43 ` bugzilla-daemon
@ 2010-02-13 19:59 ` bugzilla-daemon
  2010-02-13 20:00 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 19:59 UTC (permalink / raw)
  To: dri-devel

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


Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33281|text/x-log                  |text/plain
          mime type|                            |
  Attachment #33281|0                           |1
           is patch|                            |




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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-02-13 19:59 ` bugzilla-daemon
@ 2010-02-13 20:00 ` bugzilla-daemon
  2010-02-13 20:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 20:00 UTC (permalink / raw)
  To: dri-devel

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


Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33282|text/x-log                  |text/plain
          mime type|                            |
  Attachment #33282|0                           |1
           is patch|                            |




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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-02-13 20:00 ` bugzilla-daemon
@ 2010-02-13 20:03 ` bugzilla-daemon
  2010-02-13 20:18 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 20:03 UTC (permalink / raw)
  To: dri-devel

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


Alex Deucher <agd5f@yahoo.com> changed:

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




--- Comment #6 from Alex Deucher <agd5f@yahoo.com>  2010-02-13 12:03:46 PST ---
Performance is slow because acceleration is disabled.  You need to install the
rlc firmware:

[   38.055612] r600_cp: Failed to load firmware "radeon/R600_rlc.bin"
[   38.055661] [drm:r600_startup] *ERROR* Failed to load firmware!

You can get it here:
http://people.freedesktop.org/~agd5f/radeon_ucode/

Put it in /lib/firmware/radeon or where ever your distro stores firmware.


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-02-13 20:03 ` bugzilla-daemon
@ 2010-02-13 20:18 ` bugzilla-daemon
  2010-02-13 21:02 ` bugzilla-daemon
  2010-02-13 22:35 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 20:18 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #7 from Leo Milano <lmilano@gmx.net>  2010-02-13 12:18:58 PST ---
Alex, thank you very much for the pointer. I will test that. Does this mean
that this firmware is only needed when using KMS ?


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-02-13 20:18 ` bugzilla-daemon
@ 2010-02-13 21:02 ` bugzilla-daemon
  2010-02-13 22:35 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 21:02 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #8 from Leo Milano <lmilano@gmx.net>  2010-02-13 13:02:07 PST ---
Thank you again, Alex, and sorry for reporting a non-bug.

For the record, and for the benefit of other people: the location for the
firmware in Ubuntu is: 

/lib/firmware/KERNEL_VERSION/radeon

For example:

leo@grisell:/lib/firmware/2.6.33-020633rc8-generic/radeon$ ls
R100_cp.bin  R300_cp.bin  R520_cp.bin  R600_pfp.bin  R700_rlc.bin  RS690_cp.bin
 RS780_pfp.bin  RV610_pfp.bin  RV620_pfp.bin  RV630_pfp.bin  RV635_pfp.bin 
RV670_pfp.bin  RV710_pfp.bin  RV730_pfp.bin  RV770_pfp.bin
R200_cp.bin  R420_cp.bin  R600_me.bin  R600_rlc.bin  RS600_cp.bin  RS780_me.bin
 RV610_me.bin   RV620_me.bin   RV630_me.bin   RV635_me.bin   RV670_me.bin  
RV710_me.bin   RV730_me.bin   RV770_me.bin

Note that the Rxxxx_rlc.bin seem to be only required when using KMS, and are
not currently provided with the kernel mainline ppa (all the other ones are).
Also: performance seems to be better without KMS these days -- I get about 16
fps in WoP without KMS, and 20 with KMS, please see here:

http://global.phoronix-test-suite.com/index.php?k=profile&u=mendieta-28641-25051-25186


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

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

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

* [Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
  2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2010-02-13 21:02 ` bugzilla-daemon
@ 2010-02-13 22:35 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-02-13 22:35 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #9 from Alex Deucher <agd5f@yahoo.com>  2010-02-13 14:35:13 PST ---
The RLC firmware is required for the interrupt controller which is only used by
KMS, so it's only required for KMS.


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

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

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

end of thread, other threads:[~2010-02-13 22:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-13 19:31 [Bug 26558] New: KMS Kills 3D performance with Linux-2.6.33>rc6 bugzilla-daemon
2010-02-13 19:32 ` [Bug 26558] " bugzilla-daemon
2010-02-13 19:33 ` bugzilla-daemon
2010-02-13 19:34 ` bugzilla-daemon
2010-02-13 19:35 ` bugzilla-daemon
2010-02-13 19:43 ` bugzilla-daemon
2010-02-13 19:59 ` bugzilla-daemon
2010-02-13 20:00 ` bugzilla-daemon
2010-02-13 20:03 ` bugzilla-daemon
2010-02-13 20:18 ` bugzilla-daemon
2010-02-13 21:02 ` bugzilla-daemon
2010-02-13 22:35 ` 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.