• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Linux support has been added!

Erich Hoover

Linux Wizard
WFTO Founder
Mar 11, 2013
80
35
260
As requested
...
Unfortunately, that all looks good - based on some of the other info in your report that means this is likely the same issue as a Planetary Annihilation bug: http://pa.lennardf1989.com/Tracker/index.php?do=details&task_id=2343 . In case you don't have access to their forums, it sounds like this is a problem with some AMD drivers. Their suggestion is to update to the driver Catalyst 13.11 beta1 or newer (they tested beta1 and beta6) and edit the CoherentUI launcher to add the "--software-ui" flag, that's the file:
Code:
"${HOME}/.steam/steam/SteamApps/common/War For The Overworld/WFTO_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host"
you edit the last line to say:
Code:
exec -a "$0" "$HOST_DIR/CoherentUI_Host.bin" "--software-ui" "[email protected]"
 
Jan 3, 2015
4
3
25
35
Poland
Hey, I've got Ubuntu 13.10 with bumblebee setup and I tried to setup WftO with it, with no success. I've manage to setup Planetary Annihilation on steam by setting launch options in steam to:
Code:
vblank_mode=0 primusrun %command% --software-ui
I've metion PA, becouse it also uses Coherent UI. The only way I can play WftO is to not use primusrun or optirun at all, and use Intel buildin renderer. I've tried all options metioned in this thread.
Code:
$ md5sum ~/.steam/steam/SteamApps/common/War\ For\ The\ Overworld/WFTOGame.x86_64 
ce560e3564e63b3c9e16d66a70da68c8  /home/ksuszynski/.steam/steam/SteamApps/common/War For The Overworld/WFTOGame.x86_64
$ ldd ~/.steam/steam/SteamApps/common/War\ For\ The\ Overworld/WFTOGame.x86_64 
    linux-vdso.so.1 =>  (0x00007fff7e9fe000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd366a2a000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd36680d000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd366604000)
    libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fd366385000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fd366127000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd365df1000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fd365bdf000)
    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fd3659d5000)
    libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fd3657ca000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd3654c6000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd3652b0000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd364ee7000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fd366c56000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd364be3000)
    libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fd3649bd000)
    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fd3647b9000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fd3645b3000)
    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fd3643b1000)
    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fd364199000)
    libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fd363f94000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd363d76000)
    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fd363b6f000)
    libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fd363963000)
    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fd363758000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd363554000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd36334e000)
 
Last edited:
Jan 3, 2015
4
3
25
35
Poland
1. I've got my steam launch command as:
Code:
vblank_mode=0 primusrun %command% -logfile /tmp/wfto-debug.log
2. I've added
Code:
set -x
on top of CoherentUI_Host script

Then I've edited CoherentUI_Host script last line in couple of permutations:

I. Primus with WebGL working (primusrun chromium-browser --ignore-gpu-blacklist --disable-gpu-sandbox works)
Code:
vblank_mode=0 exec -a "$0" primusrun "$HOST_DIR/CoherentUI_Host.bin" "--ignore-gpu-blacklist" "--disable-gpu-sandbox" "--enable-webgl" "[email protected]"
What is interesting, that cmd options do not pass to actual spawn processes:
Code:
$ ps aux | grep CoherentUI | grep -v grep | grep -v gedit
1000     20779  0.9  0.2 594808 41676 ?        Sl   17:17   0:00 /home/ksuszynski/.local/share/Steam/SteamApps/common/War For The Overworld/WFTOGame_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host.bin                                                                                                                        
1000     20791  0.0  0.0 323736 15872 ?        S    17:17   0:00 /home/ksuszynski/.local/share/Steam/SteamApps/common/War For The Overworld/WFTOGame_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host.bin                                                                                                                        
1000     20792  0.1  0.2 331384 48348 ?        S    17:17   0:00 /home/ksuszynski/.local/share/Steam/SteamApps/common/War For The Overworld/WFTOGame_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host.bin --type=zygote            
1000     20811  1.5  0.3 988788 62380 ?        Sl   17:17   0:00 /home/ksuszynski/.local/share/Steam/SteamApps/common/War For The Overworld/WFTOGame_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host.bin --type=renderer         --type=renderer
1000     20820  2.4  0.6 565260 111112 ?       Sl   17:17   0:00 /home/ksuszynski/.local/share/Steam/SteamApps/common/War For The Overworld/WFTOGame_Data/StreamingAssets/CoherentUI_Host/linux/CoherentUI_Host.bin --type=gpu-process             --type=gpu-process            --type=gpu-process
A log (game loads, level loads, black opaque background, can pickup imp, cant dig or drop imps back - cursor don't change when panning map):
Code:
Attachment: wfto-debug.0.log
II. Primus with WebGL and --software-ui

Code:
vblank_mode=0 exec -a "$0" primusrun "$HOST_DIR/CoherentUI_Host.bin" "--ignore-gpu-blacklist" "--disable-gpu-sandbox" "--enable-webgl" "--software-ui" "[email protected]"
Processes also do not show passed cmd options

A log (same as above: game loads, level loads, black opaque background, can pickup imp, can't dig or drop imps back - cursor don't change when panning map):

Code:
Attachment: wfto-debug.1.log
III. Without primus, with --software-ui

Code:
exec -a "$0" "$HOST_DIR/CoherentUI_Host.bin" "--software-ui" "[email protected]"
Processes also do not show passed cmd options.

A log (same as above: game loads, level loads, black opaque background, can pickup imp, can't dig or drop imps back - cursor don't change when panning map):

Code:
Attachment: wfto-debug.2.log
IV. Without primus in steam launch command and standard CoherentUI_Host

Steam command:
Code:
%command% -logfile /tmp/wfto-debug.log
CoherentUI_Host:
Code:
exec -a "$0" "$HOST_DIR/CoherentUI_Host.bin" "[email protected]"
A log (game loads, level loads, transparent menus, can pick up and drop imps, all ok! But on Intel buildin GPU):
Code:
Attachment: wfto-debug.3.log
 

Attachments

Likes: v0id

Erich Hoover

Linux Wizard
WFTO Founder
Mar 11, 2013
80
35
260
Hey, I've got Ubuntu 13.10 with bumblebee setup and I tried to setup WftO with it, with no success. I've manage to setup Planetary Annihilation on steam by setting launch options in steam to:
Code:
vblank_mode=0 primusrun %command% --software-ui
I've metion PA, becouse it also uses Coherent UI. The only way I can play WftO is to not use primusrun or optirun at all, and use Intel buildin renderer. I've tried all options metioned in this thread.
...
I was just about to suggest that you try passing some of those options directly to coherent, it's unfortunate that that doesn't solve the problem for you. It's possible that the version of coherent that WftO uses does not support the --software-ui option :/
 
Jan 3, 2015
4
3
25
35
Poland
It seems to me that CoherentUI is not the best. It is build on top of chrome, so memory usage is high. I think it also limits Unity usage to PC, can't be used on tablets, consoles. And there are support problems like this, because you need to take care for 2 executables, not one. Did you considered, using new Unity3d UI in 4.6? http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/the-new-ui It will solve all those issues.
 
Likes: mrtnptrs

v0id

Programmer
Brightrock Games
Nov 18, 2011
2,428
1,008
580
Germany
It came out too late and it's quite a bit late to switch and CUI still has its benefits, as it allows webdevs to develop the UI not requiring to learn a new framework.
We will use it instead for new Unit shields.
 
Jan 3, 2015
4
3
25
35
Poland
It came out too late and it's quite a bit late to switch and CUI still has its benefits, as it allows webdevs to develop the UI not requiring to learn a new framework.
We will use it instead for new Unit shields.
Yup, those benefits are also drawbacks. It loads UI just like webpage. UI "jumps" when loads CSS definitions, custom fonts etc. It is clearly visible in my case, when using optimus card by bumblebee
 
Likes: mrtnptrs

Buddha

Spirit
WFTO Backer
Jan 26, 2013
16
1
125
Any news on this issue? I've got the same and havent been able to play since I bought the game one month ago...
 
Top Bottom