Bug 28550 - [UMS vs KMS]: Openarena performance drops by half with KMS enabled
Summary: [UMS vs KMS]: Openarena performance drops by half with KMS enabled
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) other
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 05:39 UTC by samit vats
Modified: 2012-09-12 15:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (28.48 KB, application/octet-stream)
2010-06-15 05:39 UTC, samit vats
Details
xorg.conf (1.34 KB, application/octet-stream)
2010-06-15 05:39 UTC, samit vats
Details
glxinfo (16.28 KB, text/plain)
2010-06-15 05:40 UTC, samit vats
Details

Description samit vats 2010-06-15 05:39:16 UTC
Created attachment 36284 [details]
Xorg.log

KMS Driver Stack details :
=========================

1)    Kernel-2.6.32-21-generic-pae   
2)    Libdrm-2.4.19                               
3)    Mesa-7.8-rc2                                
4)    Xorg-server-1.7.4                      
5)    ddx: xf86-video-ati-6.13.0 


System Environment :
===================

O.S. - Ubuntu-10.04(32bit)
Asic - RV790XT
CPU  - Intel(R) Core(TM)@ 1.86GHz


Steps to Reproduce:
===================

1) Install Phoronix-test-suite from 
http://www.phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_2.6.1_all.deb



2) Install openarena game
   phoronix-test-suite install openarena
   

3) Run the game with 1920x1080 
   phoronix-test-suite run openarena

   

Observation :
=============

1) FPS observed is 60.2 
2) Disable KMS and run the test again with the same resolution 
   With UMS FPS is 118.4 
3) Bloom option is disabled before running both the tests.
Comment 1 samit vats 2010-06-15 05:39:54 UTC
Created attachment 36285 [details]
xorg.conf
Comment 2 samit vats 2010-06-15 05:40:16 UTC
Created attachment 36286 [details]
glxinfo
Comment 3 Andy Furniss 2010-06-15 07:36:39 UTC
> 1) FPS observed is 60.2 

It's because KMS is limiting rendering to the refresh rate of your monitor to avoid tearing.

> 2) Disable KMS and run the test again with the same resolution 
>    With UMS FPS is 118.4 

I always thought the pts demo was not as good as the anholt one for openarena - too long and mostly not enough going on so that the average fps gets pulled up by easy scenes that are 100-200fps.
Comment 4 Andreas Boll 2012-09-12 15:44:29 UTC
(In reply to comment #3)
> > 1) FPS observed is 60.2 
> 
> It's because KMS is limiting rendering to the refresh rate of your monitor to
> avoid tearing.
> 

Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.