Bug 83170 - Noticeably lower framerate since 10.2.5
Summary: Noticeably lower framerate since 10.2.5
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 03:36 UTC by Ben Foppa
Modified: 2014-08-29 04:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Foppa 2014-08-28 03:36:46 UTC
Since upgrading the mesa family of packages (including intel-dri) to 10.2.5 or 10.2.6, I have been noticing a distinctly lower framerate in Team Fortress 2.

Downgrading to 10.2.4 fixes this.
Comment 1 Ben Foppa 2014-08-28 03:39:11 UTC
FYI I am perfectly willing to help debug this if someone is willing to coordinate with me. I've been able to build/install my own custom versions of the drivers, but never without some repercussions (e.g. I've never gotten them working enough to play TF2).
Comment 2 Matt Turner 2014-08-28 05:12:55 UTC
(In reply to comment #1)
> FYI I am perfectly willing to help debug this if someone is willing to
> coordinate with me. I've been able to build/install my own custom versions
> of the drivers, but never without some repercussions (e.g. I've never gotten
> them working enough to play TF2).

Sure. I typically do a 32-bit build of the i965 driver with:

CC="gcc -m32" CXX="g++ -m32" CFLAGS="-O2 -march=native -pipe" CXXFLAGS="$CFLAGS" ./autogen.sh --with-dri-drivers=i965 --with-gallium-drivers= --enable-glx-tls --enable-gles{1,2} --host=i686-pc-linux-gnu

After running make, you'll have a bunch of symlinks in a top level 'lib' directory in your Mesa build directory.

You can set LD_LIBRARY_PATH=... and LIBGL_DRIVERS_PATH=... to that directory and then run your application ("LD_LIBRARY_PATH=... LIBGL_DRIVERS_PATH=... glxinfo") to use the newly build driver. No need to install over the system Mesa at all.

Just start steam from the command line, setting the environment variables.

No obvious candidates are jumping out at me by looking at the log between 10.2.4 and 10.2.5. I'd suggest bisecting. There are only 30 commits.
Comment 3 Ben Foppa 2014-08-29 03:19:50 UTC
*sigh*, in both good news and bad news, I'm no longer able to reproduce this issue. After two weeks of cursing and manually downgrading my packages every time I absentmindedly ran an update, it seems the solution was to try and debug it.

Assuming I wasn't insane to begin with, the main thing I can think of is that a whole BUNCH of software got updated between my having this issue and not, including Steam, TF2, and Linux itself.

At any rate, marking this resolved. Thanks for your help, Matt. Although I didn't make it to debugging, I at least have a better handle on building/using custom versions of the drivers. If you need me, I'll be chastising my computer for embarrassing me in front of devs.
Comment 4 Matt Turner 2014-08-29 04:10:01 UTC
Heh. No problem. Best of luck!


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.