You are not logged in.

#1 2013-06-06 05:08:32

Vardian
Member
Registered: 2013-06-05
Posts: 10

[SOLVED] Steam game performance very bad

Not sure what but some combination of updating yesterday and trying to get my hibernate on lid close has borked my steam.  All games are getting around 5-10 FPS with max up utilization.  I alt tabing out of what I would consider a light game (Bastion) I saw that my cpu utilization was sitting at 96% while sitting idle at the main menu.

My system is a i7-3610QM CPU @ 2.30GHz with a nvidia 630m

For a frame of reference same game running on a old core two duo arch box I have sits around 50% cpu utilization.

Some of the packages that were installed to try to get hibernate working was

cpupower       (I checked and I have the on-demand govern enabled and all 8 cores are hitting 2.3 ghz as expected.  Also tried booting with this disabled made no difference.)
Laptop-mode (booted with laptop-mode disabled and saw no performance change)
acpid              (didn't see a point in disabling this)
bumblebeed  (disabled this service with reboot still no change.)

I'm out of idea on what to try next.  any help would be greatly appreciated.

Last edited by Vardian (2013-06-08 05:17:16)

Offline

#2 2013-06-06 09:31:09

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] Steam game performance very bad

Vardian wrote:

Not sure what but some combination of updating yesterday and trying to get my hibernate on lid close has borked my steam.  All games are getting around 5-10 FPS with max up utilization.  I alt tabing out of what I would consider a light game (Bastion) I saw that my cpu utilization was sitting at 96% while sitting idle at the main menu.

My system is a i7-3610QM CPU @ 2.30GHz with a nvidia 630m

For a frame of reference same game running on a old core two duo arch box I have sits around 50% cpu utilization.

Some of the packages that were installed to try to get hibernate working was

cpupower       (I checked and I have the on-demand govern enabled and all 8 cores are hitting 2.3 ghz as expected.  Also tried booting with this disabled made no difference.)
Laptop-mode (booted with laptop-mode disabled and saw no performance change)
acpid              (didn't see a point in disabling this)
bumblebeed  (disabled this service with reboot still no change.)

I'm out of idea on what to try next.  any help would be greatly appreciated.

Are you running Arch Linux 64 bit? If so do you have the relevent 32 bit video driver installed for your machine?

Offline

#3 2013-06-06 14:03:55

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

At work right now, will have to confirm when I get home but I think I do.

Strange thing is I played some Left 4 Dead 2 a few days ago with no issue at all.

Offline

#4 2013-06-06 22:37:38

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

I tried installing the 32bit nvidia drivers which removed mesa due to dependencies.

Packages (3): lib32-mesa-libgl-9.1.3-2 [removal]  lib32-nvidia-utils-319.23-1
              lib32-nvidia-libgl-319.23-1

and now steam is giving me this on load

OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_art … -EYZB-7457.

lots of post were wanting output of glxinfo so I installed mesa-demo and ran it for both of my video cards. 

[user@laptop ~]$ sudo pacman -S mesa-demos
resolving dependencies...
looking for inter-conflicts...

Packages (2): glew-1.9.0-2  mesa-demos-8.1.0-1

Total Download Size:    1.32 MiB
Total Installed Size:   5.01 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
glew-1.9.0-2-x86_64      339.2 KiB   590K/s 00:01 [######################] 100%
mesa-demos-8.1.0-1-...  1014.3 KiB   962K/s 00:01 [######################] 100%
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
(1/2) installing glew                              [######################] 100%
(2/2) installing mesa-demos                        [######################] 100%
[user@laptop ~]$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.1.3
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
[user@laptop ~]$ primusrun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
[user@laptop ~]$ primusrun glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 630M/PCIe/SSE2
OpenGL version string: 4.3.0 NVIDIA 319.23
OpenGL shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

Offline

#5 2013-06-07 02:32:17

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Steam game performance very bad

You didn't read the bumblebee article. I even put a note in there telling you NOT to install lib32-nvidia-libgl yet people still ignore that.

Offline

#6 2013-06-07 03:51:04

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

Your right I missed that so I removed that package leaving the utils in there and get the same performance. (after a reboot) After that I tried installing the lib32-primus, but with that I couldn't get any steam games to load with primusrun only glxspheres.  Here is some terminal output.

Trying with lib32-primus installed

[user@laptop ~]$ primusrun steam steam://rungameid/107100
Running Steam on arch  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
unlinked 0 orphaned pipes

(steam:2762): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:2762): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
[0606/224342:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Generating new string page texture 5: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 6: 48x256, total string texture memory is 180.22 KB
Generating new string page texture 7: 256x256, total string texture memory is 442.37 KB
Generating new string page texture 8: 64x256, total string texture memory is 507.90 KB
steam: /build/lib32-llvm-amdgpu-snapshot/src/llvm-ce7bbb8b46abd1aef80dff50bd73315719e1f8bb/include/llvm/ADT/APInt.h:888: bool llvm::APInt::operator==(const llvm::APInt&) const: Assertion `BitWidth == RHS.BitWidth && "Comparison requires equal bit widths"' failed.
steam: /build/lib32-llvm-amdgpu-snapshot/src/llvm-ce7bbb8b46abd1aef80dff50bd73315719e1f8bb/include/llvm/ADT/DenseMap.h:271: void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::moveFromOldBuckets(llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::BucketT*, llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::BucketT*) [with DerivedT = llvm::DenseMap<llvm::DenseMapAPIntKeyInfo::KeyTy, llvm::ConstantInt*, llvm::DenseMapAPIntKeyInfo>; KeyT = llvm::DenseMapAPIntKeyInfo::KeyTy; ValueT = llvm::ConstantInt*; KeyInfoT = llvm::DenseMapAPIntKeyInfo; llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::BucketT = std::pair<llvm::DenseMapAPIntKeyInfo::KeyTy, llvm::ConstantInt*>]: Assertion `!FoundVal && "Key already in new map?"' failed.
[2013-06-06 22:43:41] Startup - updater built Jun  6 2013 13:48:29
[2013-06-06 22:43:42] Verifying installation...
[2013-06-06 22:43:42] Verification complete
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20130606224343_1.dmp
Finished uploading minidump (out-of-process): success = no
error: HTTP response code said error
/home/vardian/.local/share/Steam/steam.sh: line 704:  2762 Aborted                 (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

uninstalling lib32-primus

[user@laptop ~]$ sudo pacman -Rs lib32-primus
[sudo] password for vardian: 
checking dependencies...
:: bumblebee optionally requires lib32-primus: faster back-end for optirun

Packages (1): lib32-primus-20130425-1

Total Removed Size:   0.28 MiB

:: Do you want to remove these packages? [Y/n] y
(1/1) removing lib32-primus                        [######################] 100%

running without lib32-primus

[user@laptop ~]$ primusrun steam steam://rungameid/107100
Running Steam on arch  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
unlinked 0 orphaned pipes
removing stale semaphore last operated on by process 2762 with name 0eBlobRegistryMutex_B12D9A1655F0468609CCA179AF95D5BC
removing stale semaphore last operated on by process 2762 with name 0eBlobRegistrySignal_B12D9A1655F0468609CCA179AF95D5BC
removing stale semaphore last operated on by process 2762 with name 0emSteamEngineInstance
removing stale semaphore last operated on by process 2762 with name 0eSteamEngineLock

(steam:2926): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:2926): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
[0606/224411:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
Generating new string page texture 7: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 8: 48x256, total string texture memory is 180.22 KB
Generating new string page texture 9: 256x256, total string texture memory is 442.37 KB
Generating new string page texture 10: 64x256, total string texture memory is 507.90 KB

(steam:2926): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!

(steam:2926): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!

(steam:2926): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!
unlinked 2 orphaned pipes
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 152 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 1 multi object alertable sleeps
Installing breakpad exception handler for appid(steam)/version(1370553818_client)
[2013-06-06 22:44:10] Startup - updater built Jun  6 2013 13:48:29
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2013-06-06 22:44:10] Checking for update on startup
[2013-06-06 22:44:10] Checking for available updates...
[2013-06-06 22:44:10] Download skipped: /client/steam_client_ubuntu12 version 1370553818, installed version 1370553818
[2013-06-06 22:44:10] Error: Failed to verify package manifest.
[2013-06-06 22:44:10] Verifying installation...
[2013-06-06 22:44:10] Verification complete
Shutting down. . .
[2013-06-06 22:44:16] Shutdown

don't really want to but I'm tempted to just boot and nuke this install and see if I can get it working from a clean install...

Last edited by Vardian (2013-06-07 04:21:27)

Offline

#7 2013-06-07 03:58:40

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Steam game performance very bad

You need to use code tags for those kinds of things instead of quote tags.  It makes things much easier to handle as it makes a scrollable box.

Offline

#8 2013-06-07 04:21:55

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

Fixed, sorry bout that.

Offline

#9 2013-06-07 09:08:29

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Steam game performance very bad

Your 32bit chain is completely broken. Give us a list of installed lib32 packages and relevant non-lib32 packages.

Offline

#10 2013-06-07 12:18:37

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

I cleared out everything that wasn't installed to make it easier to sort through.

Here is the output of [user@laptop ~]$ sudo pacman -Ss lib32

multilib/lib32-dbus-core 1.6.10-1 [installed]
    Freedesktop.org message bus system (32-bit)

multilib/lib32-expat 2.1.0-1 [installed]
    An XML Parser library written in C (32 bit)

multilib/lib32-gcc-libs 4.8.1-1 [installed]
    Runtime libraries shipped by GCC (32-bit)

multilib/lib32-glib2 2.36.2-1 [installed]
    Common C routines used by GTK+ 2.4 and other libs (32-bit)

multilib/lib32-glibc 2.17-5 [installed]
    GNU C Library for multilib

multilib/lib32-libdrm 2.4.45-1 [installed]
    Userspace interface to kernel DRM services (32-bit)

multilib/lib32-libffi 3.0.13-1 [installed]
    A portable, high level programming interface to various calling conventions
    (32-bit)

multilib/lib32-libgcrypt 1.5.2-1 [installed]
    a general purpose crypto library based on the code used (32-bit)

multilib/lib32-libgpg-error 1.11-1 [installed]
    Support library for libgcrypt (32-bit)

multilib/lib32-libpciaccess 0.13.1-1 [installed]
    X11 PCI access library (32-bit)

multilib/lib32-libtxc_dxtn 1.0.1-4 [installed]
    S3 Texture Compression (S3TC) library for Mesa (32-bit)

multilib/lib32-libx11 1.6.0-1 [installed]
    X11 client-side library (32-bit)

multilib/lib32-libxau 1.0.8-1 [installed]
    X11 authorisation library (32-bit)

multilib/lib32-libxcb 1.9.1-1 [installed]
    X11 client-side library (32-bit)

multilib/lib32-libxdamage 1.1.4-1 [installed]
    X11 damaged region extension library (32-bit)

multilib/lib32-libxdmcp 1.1.1-1 [installed]
    X11 Display Manager Control Protocol library (32-bit)

multilib/lib32-libxext 1.3.2-1 [installed]
    X11 miscellaneous extensions library (32-bit)

multilib/lib32-libxfixes 5.0.1-1 [installed]
    X11 miscellaneous 'fixes' extension library (32-bit)

multilib/lib32-libxxf86vm 1.1.3-1 [installed]
    X11 XFree86 video mode extension library (32-bit)

multilib/lib32-llvm-amdgpu-lib-snapshot 20130403-2 [installed]
    Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm
    support (32-bits)

multilib/lib32-mesa 9.1.3-2 [installed]
    an open-source implementation of the OpenGL specification (32-bit)

multilib/lib32-mesa-libgl 9.1.3-2 [installed]
    Mesa 3-D graphics library (32-bit)

multilib/lib32-nvidia-utils 319.23-1 [installed]
    NVIDIA drivers utilities (32-bit)

multilib/lib32-pcre 8.32-1 [installed]
    A library that implements Perl 5-style regular expressions (32-bit)

multilib/lib32-systemd 204-1 [installed]
    system and service manager (32-bit)

multilib/lib32-xz 5.0.4-1 [installed]
    Library and command line tools for XZ and LZMA compressed files (32-bit)

multilib/lib32-zlib 1.2.8-1 [installed]
    Compression library implementing the deflate compression method found in
    gzip and PKZIP (32-bit)

output for [user@laptop ~]$ pacman -Ss nvidia

extra/libvdpau 0.6-1 [installed]
    Nvidia VDPAU library

extra/nvidia 319.23-1 [installed]
    NVIDIA drivers for linux

extra/nvidia-utils 319.23-1 [installed]
    NVIDIA drivers utilities

community/bumblebee 3.2.1-3 [installed]
    NVIDIA Optimus support for Linux through VirtualGL

multilib/lib32-nvidia-utils 319.23-1 [installed]
    NVIDIA drivers utilities (32-bit)

output for [user@laptop ~]$ pacman -Ss bumbl

community/bumblebee 3.2.1-3 [installed]
    NVIDIA Optimus support for Linux through VirtualGL

community/primus 20130425-1 [installed]
    Faster OpenGL offloading for Bumblebee

Let me know if I need to provide anything else.

Offline

#11 2013-06-08 05:16:55

Vardian
Member
Registered: 2013-06-05
Posts: 10

Re: [SOLVED] Steam game performance very bad

Issue had something to do with lib32-libtxc_dxtn after doing a fresh install I installed this package and got the same bad frame rate issue.  When I removed that and installed 32bit nvidia utils and primus everything worked perfectly.

Thanks for all your help guys!

Offline

#12 2013-06-10 10:59:37

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Steam game performance very bad

Just to note, you can do pacman -Qs packagename to show only locally installed packages.

Offline

Board footer

Powered by FluxBB