FS#45173 - [mesa] [primus] Bad performance with primusrun since 10.5.5

Attached to Project: Arch Linux
Opened by AnAkkk (AnAkkk) - Tuesday, 02 June 2015, 12:19 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 17 June 2015, 06:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Sven-Hendrik Haase (Svenstaro)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Since the update to mesa 10.5.5, the performance with primusrun is very bad. 10.5.4 works fine. I've tested it in CS 1.6 and CS GO. I even get better FPS with the Intel card (150+) in CS 1.6 than the Nvidia one (80-90 or less).

Bug report here:
https://github.com/amonakov/primus/issues/170
and
https://bugs.freedesktop.org/show_bug.cgi?id=90791

The culprit is the following commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?h=10.5&id=536003c11e4cb1172c540932ce3cce06f03bf44e

Reverting it fixes the issue.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 17 June 2015, 06:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 10.6.0
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 15:30 GMT
Reverting may fix your issue, but it breaks weston for all Intel users.
Comment by AnAkkk (AnAkkk) - Tuesday, 02 June 2015, 15:36 GMT
Weston works fine for me with the patch reverted. Maybe it's no longer needed as a workaround was added to weston?
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 15:59 GMT
There hasn't been an update to weston recently, were you testing the drm backend?

Either way, that commit is a fix for a valid bug. I'm guessing the issue is in primus, let's wait until the author responds to your last post there.
Comment by Doug Newgard (Scimmia) - Thursday, 04 June 2015, 14:55 GMT
Still not clear which software is the problem, so pulling in everyone
Comment by AnAkkk (AnAkkk) - Tuesday, 09 June 2015, 21:08 GMT Comment by AnAkkk (AnAkkk) - Thursday, 11 June 2015, 18:01 GMT

Loading...