New: KMS Kills 3D performance with Linux-2.6.33>rc6
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: [email protected]
ReportedBy: [email protected]
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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #1 from Leo Milano <[email protected]> 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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #2 from Leo Milano <[email protected]> 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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #3 from Leo Milano <[email protected]> 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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #4 from Leo Milano <[email protected]> 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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
Leo Milano <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Leo Milano <[email protected]> 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).
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33281|text/x-log |text/plain
mime type| |
Attachment #33281|0 |1
is patch| |Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33282|text/x-log |text/plain
mime type| |
Attachment #33282|0 |1
is patch| |Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG--- Comment #6 from Alex Deucher <[email protected]> 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.
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #7 from Leo Milano <[email protected]> 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 ?
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #8 from Leo Milano <[email protected]> 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
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26558] KMS Kills 3D performance with Linux-2.6.33>rc6
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26558
--- Comment #9 from Alex Deucher <[email protected]> 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.
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --