protonscr

Steam does not start (BadAlloc) - nvidia/optimus/bumblebee

steamclosed reviewedbumblebee
ValveSoftware/steam-for-linux#1246 · opened 2013-02-04 by TShadwell · updated 2013-02-07 · 6 comments · github
1 matching comments, n / p to jump
TTShadwell 2013-02-04 github

I thought I'd try steam for Linux on my laptop, which uses the bumblebee Nvidia optimus drivers:

┌[thomas@qrt1]─[~]
└[$]> optirun steam
chr 
Running Steam on arch 
STEAM_RUNTIME is enabled automatically on arch
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Xlib:  extension "NV-GLX" missing on display ":0".
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadAlloc (insufficient resources for operation)

No windows are shown.

Ffrankc-valve maintainer 2013-02-04 github

Have you tried using Primus (and the primusrun commnd)? There is more information here and here.

Ddavidw-valve maintainer 2013-02-04 github

Most likely you are on a 64 bit OS and you don't have Bumblebee set up to run 32 bit programs. You need to configure Bumblebee to run 32 bit applications. Also, we recommend using Primus instead of optirun. Please see the links Frank posted.

Also, are you able to run Steam using the Intel GPU (by just running 'steam' without any prefix)?

TTShadwell 2013-02-05 github

I couldn't start steam before because I hadn't installed my intel video drivers.

After installing those drivers, I could start steam with just the steam command, but could not start TF2. These logs are of starting steam, then attempting to open TF2, then closing steam.

Running Steam on arch 
STEAM_RUNTIME is enabled automatically on arch
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
unlinked 0 orphaned pipes
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
[0205/095327:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0205/095327:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)

(steam:1441): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmist.so: wrong ELF class: ELFCLASS64

(steam:1441): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmist.so: wrong ELF class: ELFCLASS64
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Adding license for package 0
Adding license for package 37
Adding license for package 218
Adding license for package 469
Adding license for package 609
Adding license for package 938
Adding license for package 991
Adding license for package 1295
Adding license for package 1678
Adding license for package 1774
Adding license for package 2321
Adding license for package 2481
Adding license for package 4559
Adding license for package 6073
Adding license for package 6749
Adding license for package 6896
Adding license for package 7254
Adding license for package 7255
Adding license for package 7751
Adding license for package 7759
Adding license for package 7760
Adding license for package 7761
Adding license for package 7763
Adding license for package 7764
Adding license for package 7766
Adding license for package 7767
Adding license for package 7768
Adding license for package 7770
Adding license for package 7852
Adding license for package 8866
Adding license for package 11055
Adding license for package 11691
Adding license for package 11733
Adding license for package 11802
Adding license for package 12079
Adding license for package 12248
Adding license for package 13437
Adding license for package 14603
Adding license for package 14604
Adding license for package 14695
Adding license for package 14870
Adding license for package 14871
Adding license for package 14977
Adding license for package 15147
Adding license for package 15398
Adding license for package 15838
Adding license for package 15953
Adding license for package 16549
Adding license for package 17079
Adding license for package 17250
Adding license for package 18029
Adding license for package 18773
Adding license for package 19132
Adding license for package 19216
Adding license for package 19234
roaming config store loaded successfully - 6489 bytes.
migrating temporary roaming config store
ExecCommandLine: "/home/thomas/Steam/ubuntu12_32/steam"
Generating new string page texture 81: 1024x256, total string texture memory is 1.36 MB
Generating new string page texture 82: 128x256, total string texture memory is 1.49 MB
Generating new string page texture 83: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 84: 64x256, total string texture memory is 1.56 MB
Generating new string page texture 85: 32x256, total string texture memory is 1.59 MB

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
Generating new string page texture 90: 128x256, total string texture memory is 1.72 MB
Generating new string page texture 91: 384x256, total string texture memory is 2.11 MB
Generating new string page texture 93: 128x256, total string texture memory is 2.24 MB
Generating new string page texture 94: 512x256, total string texture memory is 2.77 MB
Generating new string page texture 98: 256x256, total string texture memory is 3.03 MB
Generating new string page texture 104: 16x256, total string texture memory is 3.05 MB
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
System startup time: 9.26 seconds
Running Steam on arch 
STEAM_RUNTIME is enabled automatically on arch
ExecCommandLine: "/home/thomas/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

(steam:1441): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Unrecognised image file format
Game update: AppID 440 "Team Fortress 2", ProcID 1542, IP 0.0.0.0:0
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
/home/thomas/Steam/SteamApps/dramb13/Team Fortress 2/hl2_linux: error while loading shared libraries: /usr/lib32/primus/libGL.so.1: file too short

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
Game removed: AppID 440 "Team Fortress 2", ProcID 1542 

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:1441): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Generating new string page texture 372: 24x256, total string texture memory is 3.07 MB
Shutting down. . .
unlinked 2 orphaned pipes
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 172519 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 25 single object alertable sleeps, 1 multi object alertable sleeps
/home/thomas/Steam/steam.sh: line 443:  1441 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

Running optirun steam causes a dialog with "Fatal Error: Failed to load steamui.so" to show.

Ddavidw-valve maintainer 2013-02-05 github

Have you tried installing Primus and running using that?

TTShadwell 2013-02-05 github

Oh, sorry, yes, I read those articles and am attempting with primus.

TTShadwell 2013-02-07 github

Problem solved, primus had somehow been incorrectly installed, reinstalling lib32-primus-git, overwriting the broken files fixed the problem.

Nothing extracted yet.