Salvatrice Nov 22, 2012 @ 12:30pm
Optirun/Optimus success
I just now managed to start Serious Sam 3 with bumblebee optirun and thought to share.

Running the Steam client on Ubuntu 12.04 64-bit on a laptop with nvidia optimus.

Here's what I did:

First, I start the Steam client. For some reason, mine crashes if I don't start it with optirun, so:

optirun steam

Then, while the steam client is running, I open a new terminal and type

LD_LIBRARY_PATH=~/Steam/ubuntu12_32/ optirun ~/Steam/SteamApps/common/Serious\ Sam\ 3/Bin/Sam3

The game is not running fast ( about 10-14 fps ) which I am going to look at next. But from the terminal output, I conclude that the game uses the Nvidia card, rather than the Intel:

WRN: Memory block injectors occupy additional 4 bytes per memory block.
INF: GameEnv API: Steam
Setting breakpad minidump AppID = 41070
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197993537210 [API loaded no]
INF: Encoded user ID = 0699315a:416b0f16
WRN: Cannot load PCI library; GPU vendor and device ID are unknow!
INF:
INF: Gfx API: OpenGL
INF: Resolution: 1024 x 768
INF: Vendor: unknown (0x0000)
INF: Driver: NVIDIA Corporation (0x0000)
INF: Renderer: GeForce GT 650M/PCIe/SSE2
INF: Version: 4.2.0 NVIDIA 304.64
INF: Video memory size: 2048 MB
INF: Available for textures: 2048 MB
INF: Active GPU(s): 1
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
INF:
INF: Sfx API: OpenAL
INF: Device: PulseAudio Default
INF: Mixer frequency: 44100 Hz
INF: Mixer voices: 64
INF: Max sound sources: 30
INF: Max total volume: 3
INF: Speaker config: (unknown)
INF: Environment FX: not supported
INF:
INF: AutoDetect: Hardware values unchanged, nothing to do.
[VGL] NOTICE: Pixel format of 2D X server does not match pixel format of
[VGL] Pbuffer. Disabling PBO readback.
ERR: OpenGL: API error! (CreateTexture)
ERR: OpenGL: API error! (CreateTexture)
ERR: OpenGL: API error! (CreateTexture)
INF: Started simulation on 'Content/SeriousSam3/Levels/Menu/Intro.wld' in 0.54 seconds.
INF: Started simulation on 'Content/SeriousSam3/Levels/Menu/MenuLevel.wld' in 0.04 seconds.


Showing 1-5 of 5 comments
< >
[LINUX] Iperpido Nov 22, 2012 @ 5:57pm 
THANKS!!!!! i was just looking for something like this ^^

BTW This works well on Serious Sam, but seems that cannob be used on TF2
zexdrak Nov 27, 2012 @ 2:27pm 
>The game is not running fast ( about 10-14 fps )
Try —>http://www.webupd8.org/2012/11/primus-better-performance-and-less.html
DaVince Nov 30, 2012 @ 5:28am 
Primus is amazing. Thanks for the heads up.
Trim Dec 10, 2012 @ 4:36am 
Thanks ! It works for me with optimus and Cogs (I'll try primus later).
Showing 1-5 of 5 comments
< >
Per page: 15 30 50
Date Posted: Nov 22, 2012 @ 12:30pm
Posts: 5