RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

[Solved] RWR wont launch Xubuntu
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=5&t=1944
Page 1 of 2

Author:  phimath [ Sun Dec 07, 2014 8:41 pm ]
Post subject:  [Solved] RWR wont launch Xubuntu

I am trying to install RWR on my laptop and it wont launch. It runs fine on my desktop in kubuntu. My laptop is running xubuntu. It has an integrated gpu (intel HD4400) and an i7 4500u.

I am going out of town and would love to be able to play rwr while I am away. Any thoughts??

thank you

This is the error I am getting:

*-*-* OGRE Initialising
*-*-* Version 1.7.2 (Cthugha)
: initializing graphics
: loading plugins
Loading library lib/RenderSystem_GL.so
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Unregistering ResourceManager for type Material
An exception has occurred!
OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library lib/RenderSystem_GL.so. System Error: libXrandr.so.2: cannot open shared object file: No such file or directory in DynLib::load at /build/buildd/ogre-1.7.2/OgreMain/src/OgreDynLib.cpp (line 91)

Author:  pasik [ Wed Dec 10, 2014 8:47 am ]
Post subject:  Re: RWR wont launch Xubuntu

Looks like libXrandr isn't bundled with RWR.

Have you tried installing it manually? If you've got a 64-bit system, you'd install the 32-bit libXrandr with something like
Code:
apt-get install libxrandr2:i386


If it's 32-bit system, just omit :i386.

Author:  phimath [ Thu Dec 11, 2014 1:57 am ]
Post subject:  Re: RWR wont launch Xubuntu

thanks, that got me further (its 64bit).

but now it stops here:

*-*-* OGRE Initialising
*-*-* Version 1.7.2 (Cthugha)
: initializing graphics
: loading plugins
Loading library lib/RenderSystem_GL.so
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
/home/zak/.steam/steam/SteamApps/common/RunningWithRifles/rwr_config: symbol lookup error: /usr/lib/i386-linux-gnu/libxcb-dri3.so.0: undefined symbol: xcb_get_reply_fds

Author:  pasik [ Thu Dec 11, 2014 11:08 am ]
Post subject:  Re: RWR wont launch Xubuntu

I'm really taking a stab in the dark here, but what happens if you rename RunningWithRifles/lib/libxcb.so.1 to something else to make the game not use it and thus use a similar lib found in the system instead?

Author:  phimath [ Fri Dec 19, 2014 1:51 am ]
Post subject:  Re: RWR wont launch Xubuntu

thanks!

thats gotten me into the game. now, it crashes at 5% loaded.

its so close, i really want to play and wont be back at my desktop until after new years.

im getting this on crash now, any idea how to fix it?

I tried installing both 32 and 64bit i965-va-driver but still get the same error.

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Segmentation fault (core dumped)

Author:  pasik [ Fri Dec 19, 2014 8:15 am ]
Post subject:  Re: RWR wont launch Xubuntu

Nice, one more to remove/rename then I believe: RunningWithRifles/lib/libz.so.1

That one has been an issue earlier e.g. here viewtopic.php?f=5&t=1922, I think there was another case as well. I suppose I should just remove that from the lib bundling.

Author:  phimath [ Fri Dec 19, 2014 8:59 pm ]
Post subject:  Re: RWR wont launch Xubuntu

Awesome! I am up and running.

Thanks so much for the help! Really great support.

thank you!

Author:  tobiushirogeri [ Tue Dec 30, 2014 9:42 pm ]
Post subject:  Re: [Solved] RWR wont launch Xubuntu

Just to let you know : I had a similar problem.

I'm using a Alienware 14 laptop wich has dual GPU. One integrated and one Nvidia.

On Windows, I could force to use the Nvidia GPU by switching with the keyboard key. But under Ubuntu, I coudn't switch, even when using the launch uption primusrun %command%. I was able to play, but with really poor framerate even if my i965 driver was loaded. So I dug around and found this thread. Deleted the libz file and now everything is working, even BumbleBee (primusrun).

Thanks for the tip !

Author:  ragib [ Mon Sep 28, 2015 5:40 pm ]
Post subject:  Re: [Solved] RWR wont launch Xubuntu

Hi,

I am posting because I had a similar issue, and the solution here worked for me. I hope this helps someone.

Fedora 23 beta 64-bit
Running ./launch_game gave following errors:
An exception has occurred!
OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library lib/RenderSystem_GL.so. System Error: /lib/libxcb-render.so.0: undefined symbol: xcb_str_sizeof in DynLib::load at /build/buildd/ogre-1.7.2/OgreMain/src/OgreDynLib.cpp (line 91)

so I renamed the files in ~/.steam/steam/steamapps/common/RunningWithRifles/lib
renaming libxcb.so.1 made the problem go away.

I was able to start the game, then I saw some slow frames in the menu.
renaming libz.so.1 actually made the menu faster.

Then, I had no audio.
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:587: Could not open playback device 'default': No such device or address

I actually tried installing some alsa-plugins-*.i686 packages, because I thought some 32-bit libs packages were missing in Fedora 64-bit. Not sure if it helped. In the end, I just launched it from Steam client and the sound was there.

pasik wrote:
Nice, one more to remove/rename then I believe: RunningWithRifles/lib/libz.so.1

That one has been an issue earlier e.g. here http://www.modulaatio.com/runningwithri ... f=5&t=1922, I think there was another case as well. I suppose I should just remove that from the lib bundling.

Maybe you should consider the lib bundling a bit more. Maybe a more detailed wiki page for Linux users concerning missing libs, packages would also help. Maybe I can help.
I hope this helps someone.

Author:  JackMayol [ Tue Sep 29, 2015 7:01 am ]
Post subject:  Re: [Solved] RWR wont launch Xubuntu

Thanks for the feedback ragib!

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/