Warhammer 40,000: Dawn of War II
[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
แก้ไขล่าสุดโดย ProChaser [Linux]; 25 ก.ย. 2022 @ 3: 54am
< >
กำลังแสดง 1-15 จาก 18 ความเห็น
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!
แก้ไขล่าสุดโดย Ripster; 29 ก.ย. 2016 @ 6: 49pm
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
Add sdl2_image to the list of things you might need to install.
It is already installed, both lib32 and lib64.
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
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.
แก้ไขล่าสุดโดย Ripster; 30 ก.ย. 2016 @ 5: 21pm
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)

---------------------------------
แก้ไขล่าสุดโดย Finz; 30 ก.ย. 2016 @ 5: 41pm
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.
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...
แก้ไขล่าสุดโดย Finz; 30 ก.ย. 2016 @ 5: 53pm
โพสต์ดั้งเดิมโดย 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'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,...).
FWIW doing that allows me to run the game but it still crashes in the first seconds of the battle...
โพสต์ดั้งเดิมโดย ProChaser Linux:
โพสต์ดั้งเดิมโดย 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.
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 :)
โพสต์ดั้งเดิมโดย 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! :)
< >
กำลังแสดง 1-15 จาก 18 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 29 ก.ย. 2016 @ 6: 23pm
โพสต์: 18