These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Bumblebee won't start Client

Author
Natzuki Akiga
Just Wing It Good
#1 - 2016-05-26 22:02:40 UTC  |  Edited by: Natzuki Akiga
Hello,
Today after trying out CCP Snorlax' new linux launcher, I found out that my client hasn't been using bumblebee, even though I thought it was. Here is the ingame display adapter setting.

I modified the start up script like this using "primusrun":
#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`

dirname=`dirname $0`
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
#$dirname/$appname "$@"
LIBGL_DEBUG=verbose primusrun $dirname/$appname "$@"


The launcher starts with the following errors:
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
libGL: Can't open configuration file /home/neutronst4r/.drirc: No such file or directory.
libGL: Using DRI2 for screen 0
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources.pak
Some features may not be available.
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources_100p.pak
Some features may not be available.
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources_200p.pak
Some features may not be available.
[0526/193728:WARNING:resource_bundle.cc(304)] locale_file_path.empty()
Installed Qt WebEngine locales directory not found at location /home/neutronst4r/EVE/evelauncher/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/neutronst4r/EVE/evelauncher/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources.pak
Some features may not be available.
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources_100p.pak
Some features may not be available.
[0526/193728:ERROR:resource_bundle.cc(691)] Failed to load /home/neutronst4r/EVE/evelauncher/qtwebengine_resources_200p.pak
Some features may not be available.
[0526/193728:WARNING:resource_bundle.cc(304)] locale_file_path.empty()
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
ATTENTION: default value of option force_s3tc_enable overridden by environment.
libGL: Can't open configuration file /home/neutronst4r/.drirc: No such file or directory.
libGL: Using DRI2 for screen 0
libGL: Can't open configuration file /home/neutronst4r/.drirc: No such file or directory.


Googling the OpenGL warnings seem to be normal and/or unimportant. About the QtWebEngine error I posted in this thread and it is not related to Bumblebee, I think.

I am using Arch and I followed the guide from the wiki. glxgears works with optirun.
Torgeir Hekard
I MYSELF AND ME
#2 - 2016-05-27 04:06:48 UTC
It tries to load the wrong driver?

Check if you have libstdc++.so.6 in the evelauncher directory (though that's unlikely, it would fail to load the inted dri module).

Also check if you have lib32-nvidia-libgl installed.

Glxgears is all good and fine, but it's 64bit (unless your installation is i686). Wine is 32bit.
Natzuki Akiga
Just Wing It Good
#3 - 2016-05-29 13:51:40 UTC  |  Edited by: Natzuki Akiga
I got it working. I reinstalled my whole setup and started from scratch using the Arch Wiki. I don't know if that did it, or the fact that I still had the nouveau driver being loaded in my "mkinitcpio.conf". I replaced that with nvidia and recompiled the kernal images with "mkinitcpio -p linux".

/etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="i915 nvidia"

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
[...]


Bumblebee now works with my own wine installation and CCP Snorlax' linux launcher.
Torgeir Hekard
I MYSELF AND ME
#4 - 2016-05-30 03:39:01 UTC
TBH you don't really need to load nouveau/nvidia on boot.
If you want to use nvidia, you just have to be sure that nouveau is not always loaded.
Bumblebee loads and unloads driver modules dynamically, so you just want neither driver loaded (and your nvidia card sitting driverless) until you primusrun.