Bug 90791 - Bad performance with primusrun since Mesa 10.5.5
Summary: Bad performance with primusrun since Mesa 10.5.5
Status: RESOLVED DUPLICATE of bug 90839
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.6
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 09:50 UTC by AnAkkk
Modified: 2015-06-05 13:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description AnAkkk 2015-05-31 09:50:53 UTC
Since Mesa 10.5.5 I am getting a quite bad performance with primusrun on my laptop to make use of the Nvidia card.
I've tested on CS GO and CS 1.6.

On CS GO, I used to have around 130 FPS, now I have around 80-90 FPS with drops below 60 which cause some stutters/mouse lag.
On CS 1.6, I have around 80-90 FPS with the nvidia card and 150+ with the intel card, so there is definitely a problem.

Here is the bug report on primus bug tracker:
https://github.com/amonakov/primus/issues/170

Setting PRIMUS_UPLOAD to 1 seem to boost the performance, but not as much as before. Here is what the primus doc says:
"0: autodetect, 1: textures, 2: PBO/glDrawPixels (needs Mesa-10.1+)"

This *may* be related to this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=716b5f7cbe9cb7611d593f170a98facef58e3d0a

I have a Intel Core i7 4702MQ CPU.
Comment 1 AnAkkk 2015-06-02 12:12:01 UTC
Reverting http://cgit.freedesktop.org/mesa/mesa/commit/?id=536003c11e4cb1172c540932ce3cce06f03bf44e on mesa-git fixes the issue.
Comment 2 Alexander Monakov 2015-06-04 08:40:45 UTC

*** This bug has been marked as a duplicate of bug 90839 ***


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.