Warhammer 40,000: Dawn of War II

Warhammer 40,000: Dawn of War II

View Stats:
[Linux] Hints to play with Arch Linux (outdated)
I couldn't statrt DOW II with Arch Linux until I did:
pacman -S librtmp0 lib32-librtmp0
Re/move:
cd ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu mv libasound.so.2 libasound.so.2.old
Last edited by ProChaser [Linux]; Sep 25, 2022 @ 3:54am
< >
Showing 1-15 of 18 comments
Ripster Sep 29, 2016 @ 6:47pm 
librtmp0 and lib32-librtmp0 are from AUR.

I was getting a plain black screen. Getting rid of the libasound.so.2 fixed the issue.

Thanks!
Last edited by Ripster; Sep 29, 2016 @ 6:49pm
Finz Sep 29, 2016 @ 8:55pm 
I have another issue. The game saves graphics settings but doesn't apply them.

Here is how it looks like on ultra settings: http://oi64.tinypic.com/54uikm.jpg
Holy Monkey Sep 30, 2016 @ 12:13pm 
Add sdl2_image to the list of things you might need to install.
Finz Sep 30, 2016 @ 12:19pm 
It is already installed, both lib32 and lib64.
Cavern Sep 30, 2016 @ 3:04pm 
instead of removing/renaming libasound from steam runtime (can affect other games), it's safer to add
LD_PRELOAD_ADDITIONS="/usr/lib/libasound.so.2:${LD_PRELOAD_ADDITIONS}
in DawnOfWar2.sh (at the end before the last LD_PRELOAD) in game folder
Ripster Sep 30, 2016 @ 5:20pm 
Alternatively what I've done is right click on the game in steam and go to properties > set launch options.. and then add this: LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH %command%

That will prevent steam from overwriting your changes with updates.
Last edited by Ripster; Sep 30, 2016 @ 5:21pm
Finz Sep 30, 2016 @ 5:41pm 
I did some reaserch and found people playing XCOM2 had the same issue. They fixed it by setting launch options to LC_ALL=C %command%. However it doesn't work for me.

Here is console output if it helps
---------------------------------

[1001/004212:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[1001/004212:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[1001/004212:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[1001/004212:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[1001/004212:WARNING:x11_util.cc(1490)] X error received: serial 1033, error_code 171 (GLXBadDrawable), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[1001/004212:ERROR:gl_context_glx.cc(107)] Couldn't make context current with X drawable.
[1001/004212:ERROR:gles2_cmd_decoder.cc(3200)] GLES2DecoderImpl: Context lost during MakeCurrent.
[1001/004212:ERROR:gl_bindings_autogen_gl.cc(6831)] Trying to call glGetGraphicsResetStatusARB() without current GL context
[1001/004212:WARNING:x11_util.cc(1490)] X error received: serial 1065, error_code 8 (BadMatch (invalid parameter attributes)), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[1001/004212:ERROR:gl_bindings_autogen_gl.cc(6522)] Trying to call glDeleteVertexArraysOES() without current GL context
[1001/004212:ERROR:gl_bindings_autogen_gl.cc(6512)] Trying to call glDeleteTextures() without current GL context
[1001/004212:WARNING:x11_util.cc(1490)] X error received: serial 1095, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

---------------------------------
Last edited by Finz; Sep 30, 2016 @ 5:41pm
Ripster Sep 30, 2016 @ 5:44pm 
Those errors are not an issue. If you had kept reading you would have seen that everyone gets those even when the game is working. Your issue is likely due to a missing library or the libasound problem others are having.
Finz Sep 30, 2016 @ 5:51pm 
Not every1 was getting those errors.

anyway, libasound has been sorted already and it was preventing the game to start. My problem is the game works but at low graphics settings even when high/ ulra setting was selected.

I can't find anything related to missing libs in output so I guess it should be fine...
Last edited by Finz; Sep 30, 2016 @ 5:53pm
Originally posted by Finz:
My problem is the game works but at low graphics settings even when high/ ulra setting was selected.
Maybe check the steam folder's file owner rights?! :Carley:
tomaszg Oct 11, 2016 @ 8:15am 
(I'm not using Arch) Just let me remark that this game also suffers from the bug similar to "Life is strange" and it doesn't run if your enviroment variables don't include DBUS_SESSION_BUS_* stuff (non-standard desktop enviroment, su,...).
tomaszg Oct 13, 2016 @ 9:44am 
FWIW doing that allows me to run the game but it still crashes in the first seconds of the battle...
Finz Oct 14, 2016 @ 3:32am 
Originally posted by ProChaser Linux:
Originally posted by Finz:
My problem is the game works but at low graphics settings even when high/ ulra setting was selected.
Maybe check the steam folder's file owner rights?! :Carley:

I've tried, they fine. I already gave up on this game.
ProChaser [Linux] Oct 15, 2016 @ 4:32pm 
I only experience Crashes if I play it with Wine 1.9.x. While this thread is actually for Linux native gamers. I can recommend playing it with Wine 1.7.4-CSMT (playonlinux) if you can't get it run natively :)
calculon102 Oct 31, 2016 @ 10:04am 
Originally posted by ProChaser Linux:
cd ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu mv libasound.so.2 libasound.so.2.old
This did the job for me on Ubuntu 16.10. Thank you for sharing! :)
< >
Showing 1-15 of 18 comments
Per page: 1530 50