Recent Topics

Ads

RoR under Linux

Problems installing or downloading the game? Check the Install Guide first.

Moderators: Developer, Management, Web Developer

Forum rules
READ THE INSTALL GUIDE BEFORE YOU POST IN THIS SUBFORUM.

The stickies exist to handle common queries. Save our time and yours by reading them first.

Thank you.
User avatar
xpander
Advisor
Posts: 278
Contact:

Re: RoR under Linux

Post#121 » Fri Nov 27, 2020 2:35 pm

run this from terminal (close all processes first):

Code: Select all

WINEPREFIX=/home/teo/Games/warhammer-online-return-of-reckoning/prefix winetricks --force dotnet40 d3dx9_34
im working with Lutris dev to fix that issue when on some distros dotnet40 seems to fail to install
Helpful links:

RoR under Linux
Install guide for Windows
Offical RoR Discord

-------------------------------------------------------------------
My Linux Gaming Videos

Ads
User avatar
elgreko
Posts: 4

Re: RoR under Linux

Post#122 » Fri Nov 27, 2020 4:47 pm

i tried all versions of wine that lutris have and all the time it got me this whats going wrong ?(it seems that it havent install directx and dotnet40,but when i installed them the installation runs fine and seems that it is installed)my next thing is to put previous version of drivers nvidia.



Spoiler:
[email protected]:~$ lutris -d
INFO 2020-11-27 18:43:25,803 [application.do_command_line:319]:Lutris 0.5.8
INFO 2020-11-27 18:43:25,804 [startup.check_driver:61]:Using NVIDIA drivers 455.38 for x86_64
INFO 2020-11-27 18:43:25,804 [startup.check_driver:65]:GPU: GeForce GTX 1060 6GB
INFO 2020-11-27 18:43:25,804 [startup.check_driver:81]:GPU: 10DE:1C03 1462:3281 (nvidia drivers)
DEBUG 2020-11-27 18:43:26,257 [http.get:73]:GET https://lutris.net/api/runtimes
DEBUG 2020-11-27 18:43:26,434 [http.get:73]:GET https://lutris.net/api/runtimes/icons
DEBUG 2020-11-27 18:43:37,878 [game.save:261]:Saving Warhammer Online: Return of Reckoning (wine) with config ID warhammer-online-return-of-re-torrent-1606484158
DEBUG 2020-11-27 18:43:37,878 [config.save:211]:Saving LutrisConfig(level=game, game_config_id=warhammer-online-return-of-re-torrent-1606484158, runner=wine) config to /home/teo/.config/lutris/games/warhammer-online-return-of-re-torrent-1606484158.yml
DEBUG 2020-11-27 18:43:38,006 [lutriswindow.on_game_collection_changed:770]:Game collection changed
INFO 2020-11-27 18:43:40,915 [runner.use_runtime:280]:Runtime disabled by system configuration
Exception ignored in: <function InputDevice.__del__ at 0x7f5fd225f1f0>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/evdev/device.py", line 159, in __del__
self.close()
File "/usr/lib/python3/dist-packages/evdev/device.py", line 304, in close
super().close()
File "/usr/lib/python3/dist-packages/evdev/eventio_async.py", line 54, in close
loop = asyncio.get_event_loop()
File "/usr/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'Thread-3'.
INFO 2020-11-27 18:43:41,111 [runner.use_runtime:280]:Runtime disabled by system configuration
INFO 2020-11-27 18:43:41,111 [runner.use_runtime:280]:Runtime disabled by system configuration
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:SDL_VIDEO_FULLSCREEN_DISPLAY="off"
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:CSMT="enabled"
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:STAGING_RT_PRIORITY_BASE="90"
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:STAGING_RT_PRIORITY_SERVER="90"
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:STAGING_SHARED_MEMORY="1"
DEBUG 2020-11-27 18:43:41,113 [command.start:131]:WINEARCH="win64"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINEDEBUG="-all"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINEDLLOVERRIDES="winemenubuilder.exe=d"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINEPREFIX="/home/teo/Games/warhammer-online-return-of-reckoning/prefix"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINE="/home/teo/.local/share/lutris/runners/wine/lutris-5.0-x86_64/bin/wine"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINEESYNC="1"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:WINEFSYNC="0"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:game_name="Warhammer Online: Return of Reckoning"
DEBUG 2020-11-27 18:43:41,114 [command.start:131]:PYTHONPATH="/usr/lib/lutris:/usr/games:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages"
DEBUG 2020-11-27 18:43:41,114 [command.start:132]:/usr/share/lutris/bin/lutris-wrapper Warhammer Online: Return of Reckoning 0 0 gamemoderun gamemode /home/teo/.local/share/lutris/runners/wine/lutris-5.0-x86_64/bin/wine /home/teo/Games/warhammer-online-return-of-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/RoRLauncher.exe
Running gamemoderun gamemode /home/teo/.local/share/lutris/runners/wine/lutris-5.0-x86_64/bin/wine /home/teo/Games/warhammer-online-return-of-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/RoRLauncher.exe
Initial process has started with pid 4380
Start monitoring process.
env: ‘gamemode’: No such file or directory
Monitored process exited.
Initial process has exited (return code: 32512)
All children have exited.
Exit with returncode 32512
DEBUG 2020-11-27 18:43:41,297 [command.on_stop:180]:Process hasn't terminated yet
DEBUG 2020-11-27 18:43:41,298 [command.on_stop:182]:Process 4378 has terminated with code 0
DEBUG 2020-11-27 18:43:43,163 [game.beat:536]:Game thread stopped
WARNING 2020-11-27 18:43:43,163 [game.on_game_quit:566]:Game still running (state: running)
INFO 2020-11-27 18:43:43,164 [game.stop:551]:Stopping Warhammer Online: Return of Reckoning (wine)
DEBUG 2020-11-27 18:43:43,206 [game.on_game_quit:587]:Warhammer Online: Return of Reckoning stopped at Παρ, 27 Νοε 2020 18:43:43
DEBUG 2020-11-27 18:43:43,206 [game.save:261]:Saving Warhammer Online: Return of Reckoning (wine) with config ID warhammer-online-return-of-re-torrent-1606484158
DEBUG 2020-11-27 18:43:43,326 [lutriswindow.on_game_collection_changed:770]:Game collection changed

User avatar
xpander
Advisor
Posts: 278
Contact:

Re: RoR under Linux

Post#123 » Sat Nov 28, 2020 5:44 pm

elgreko wrote:
Fri Nov 27, 2020 4:47 pm
i tried all versions of wine that lutris have and all the time it got me this whats going wrong ?(it seems that it havent install directx and dotnet40,but when i installed them the installation runs fine and seems that it is installed)my next thing is to put previous version of drivers nvidia.

[/spoiler]
it doesn't say any wine errors. just general system and lutris stuff

remove the WINEDEBUG=-all from the Warhammer Lutris configuration > System options.. under environment variables. It should show full log then with wine errors also.
Helpful links:

RoR under Linux
Install guide for Windows
Offical RoR Discord

-------------------------------------------------------------------
My Linux Gaming Videos

User avatar
xpander
Advisor
Posts: 278
Contact:

Re: RoR under Linux

Post#124 » Sun Nov 29, 2020 12:06 am

Ok the installer is updated on Lutris site. Should work much better now and enables DXVK also. Huge thanks to Le Gluon du Net from Lutris discord server.
Helpful links:

RoR under Linux
Install guide for Windows
Offical RoR Discord

-------------------------------------------------------------------
My Linux Gaming Videos

rconnocr
Posts: 1

Re: RoR under Linux

Post#125 » Sun Nov 29, 2020 12:22 am

I'm not having any success with vkbasalt, I have the environmental variable setup in Lutris system options.

I can only assume it is the shader paths, this is what I have:
Spoiler:
#Reshade Shaders
hdr = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders/FakeHDR.fx
mxao= /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders/MXAO.fx
reshadeTexturePath = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Textures
reshadeIncludePath = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders
depthCapture = on
Which appears correct to me, do I need to quote the lines due to the spaces?

e: I did install vkbasalt from the AUR (Arch btw..)

User avatar
xpander
Advisor
Posts: 278
Contact:

Re: RoR under Linux

Post#126 » Sun Nov 29, 2020 12:48 am

rconnocr wrote:
Sun Nov 29, 2020 12:22 am
I'm not having any success with vkbasalt, I have the environmental variable setup in Lutris system options.

I can only assume it is the shader paths, this is what I have:
Spoiler:
#Reshade Shaders
hdr = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders/FakeHDR.fx
mxao= /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders/MXAO.fx
reshadeTexturePath = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Textures
reshadeIncludePath = /home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders
depthCapture = on
Which appears correct to me, do I need to quote the lines due to the spaces?

e: I did install vkbasalt from the AUR (Arch btw..)
I think its the spaces in your path?
try addint quotes.. maybe that will fix or try to get rid of the spaces in the path.

aka

Code: Select all

hdr = "/home/user/Games/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Warhammer Online - Return of Reckoning/reshade/Shaders/FakeHDR.fx"

edit: also make sure 32bit version of vkbasalt is installed..this game is 32bit even with the WAR-64.exe
Helpful links:

RoR under Linux
Install guide for Windows
Offical RoR Discord

-------------------------------------------------------------------
My Linux Gaming Videos

junodistress
Posts: 1

Re: RoR under Linux

Post#127 » Wed Dec 16, 2020 3:30 pm

When I try installing dotnet45, like the users have above, I get this very weird message from the terminal I've never seen before:
Spoiler:
Using winetricks 20201206 - sha256sum: e403ec830c40675225e1d6c1b78cc2da54376ddbeea0405b62b1b9576bba49d1 with wine-5.22 and WINEARCH=win32
Executing w_do_call dotnet40
Executing mkdir -p /home/juno
Executing load_dotnet40
------------------------------------------------------
warning: dotnet40 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /home/juno
Executing load_remove_mono
01b4:fixme:ver:GetCurrentPackageId (0062FEA4 00000000): stub
01bc:fixme:ver:GetCurrentPackageId (0069FEA4 00000000): stub
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /home/juno
Executing load_winxp
Executing wine winecfg -v winxp
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/juno/.win32 terminate
------------------------------------------------------
021c:fixme:ver:GetCurrentPackageId (0069FEA4 00000000): stub
Executing cd /home/juno/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe
0050:err:ole:start_rpcss Failed to start RpcSs service
009c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
002c:fixme:ver:GetCurrentPackageId (0065FEA4 00000000): stub
0024:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:process:SetProcessDEPPolicy (3): stub
0024:fixme:clusapi:OpenCluster ((null)) stub!
0024:fixme:clusapi:ClusterOpenEnum (DEADBEEF, 4) stub!
0024:fixme:clusapi:ClusterEnum (DEADBEEF, 0, 0031F918, 00132B10, 261) stub!
0024:fixme:clusapi:ClusterCloseEnum (DEADBEEF) stub!
0024:fixme:clusapi:CloseCluster (DEADBEEF) stub!
0024:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0024:err:winediag:gnutls_initialize failed to load libgnutls, no support for pfx import/export
0024:fixme:advapi:DecryptFileW (L"C:\\edaca06586551d000e9d655413f0\\", 00000000): stub
00d0:err:ntdll:RtlpWaitForCriticalSection section 7BC60340 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d0, blocked by 0024, retrying (60 sec)
^C00d4:err:ntdll:RtlpWaitForCriticalSection section 7BC60340 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d4, blocked by 0024, retrying (60 sec)
00d0:err:ntdll:RtlpWaitForCriticalSection section 7BC60340 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d0, blocked by 0024, retrying (60 sec)
I have Mono installed, so I'm not sure why that error is showing up at the start. The loader section error continues to time out until I kill the process, as well. Best I can tell, it might be a problem with my wineprefix? I'm somewhat new to Linux (using Arch), so don't entirely start what's going on here...thanks for the help. :)

Tuxedomoon
Posts: 3

Re: RoR under Linux

Post#128 » Wed Dec 16, 2020 4:37 pm

Hi, I want to give my experience with RoR under wine.

One remark first:
I would never use any lutris modified wine, because wine builds have to match exactly the version of linux you are using or you can get a depency hell.

I am using the WineHQ wine-staging build (atm 6rc2) with newest amd-mesa drivers (and vulkan) for ubuntu 20.04 on a ryzen 5 machine with 16 GB mem.
When playing RoR with dxvk enabled the game is crashing at about 1.5 GB used memory, nearly insta at every keep fight, with a dxvk allocation error.
When playing RoR without dxvk the game can use about 2.5 GB before it crashes, but this is a very rare condition.
dxvk RoR has about 30 .. 40 % better performance and less processor use, but because of the described early crashes i don't use it.
With OpenGL wine staging you can have relative much of the graphical effects active, and the performance is still between 10 .. 20 fps when 500 ppl are around.

Now my (advanced) questions:
Is there a way to tell dxvk not to use the lower parts of the 3.xx GB possible memory and put their dlls to the upper part of memory (like a loadhigh for DOS)?
Or is the dxvk issue maybe a result of double allocation of resources and therefor double memory consumption?

Thanks in advance
Dynamene

Ads
User avatar
xpander
Advisor
Posts: 278
Contact:

Re: RoR under Linux

Post#129 » Thu Dec 17, 2020 12:51 pm

Tuxedomoon wrote:
Wed Dec 16, 2020 4:37 pm
Hi, I want to give my experience with RoR under wine.

One remark first:
I would never use any lutris modified wine, because wine builds have to match exactly the version of linux you are using or you can get a depency hell.

I am using the WineHQ wine-staging build (atm 6rc2) with newest amd-mesa drivers (and vulkan) for ubuntu 20.04 on a ryzen 5 machine with 16 GB mem.
When playing RoR with dxvk enabled the game is crashing at about 1.5 GB used memory, nearly insta at every keep fight, with a dxvk allocation error.
When playing RoR without dxvk the game can use about 2.5 GB before it crashes, but this is a very rare condition.
dxvk RoR has about 30 .. 40 % better performance and less processor use, but because of the described early crashes i don't use it.
With OpenGL wine staging you can have relative much of the graphical effects active, and the performance is still between 10 .. 20 fps when 500 ppl are around.

Now my (advanced) questions:
Is there a way to tell dxvk not to use the lower parts of the 3.xx GB possible memory and put their dlls to the upper part of memory (like a loadhigh for DOS)?
Or is the dxvk issue maybe a result of double allocation of resources and therefor double memory consumption?

Thanks in advance
Dynamene
- lutris wine builds don't have to mach your exact versions of linux stuff. only important thing is glibc which should be 2.28+ . should be fine with everything recent and up to date. ubuntu 18.04 has 2.27 so with that it wont work.
- never encountered crashes with DXVK enabled mysef, memory usage goes nicely above 2.2GB. Make sure you have WAR-64 selected from the launcher. (its still 32bit, but has large address aware patch)
optionally you can try adding launch variable

Code: Select all

WINE_LARGE_ADDRESS_AWARE=1
second thought: maybe its your VRAM that makes the game crash with DXVK? I think it uses a bit more VRAM with it. you can try editing dxvk.conf file with the contents

Code: Select all

d3d9.maxAvailableMemory = 4096
select the number of video memory you have


edit: also if you installed via lutris and recently. DXVK gets enabled with winetricks instead of the Lutris system. So do not enable DXVK from lutris. it gets added with winetricks. you can disable or enable it by changing the d3d9 in the winecfg library overrides. setting it to native means it will use DXVK, setting it to builtin means it will use the regular wine one, aka OpenGL
Helpful links:

RoR under Linux
Install guide for Windows
Offical RoR Discord

-------------------------------------------------------------------
My Linux Gaming Videos

Geriain
Posts: 1

Re: RoR under Linux

Post#130 » Fri Dec 18, 2020 12:03 pm

Hey guys,
just wanted to leave a strange observation:

I've installed and successfully run RoR with the older lutris scripts (the time when there where 2 scripts, one torrent and one direct install). So after a few months I wanted to reinstall the game using lutris.
I tried the last available script with the torrent download but sadly I can't start the RoRLauncher. It Just don't open and ends the process immediately. So I tried everything mentioned here like installing dotnet40 with winetricks etc. Nothing appears to work.
The strange thing now is: I'm able to run the RoRLauncher just fine with my systemwide standard wine 3.0 running the standard prefix. So is it possible that there went something wrong in your update to the script?

I will dumb the "error log" from your lutris-version here if it is helpfull. Honestly, I can't see why it's not working with this small amount of output.

Code: Select all

2020-12-18 12:52:21,858: Lutris 0.5.8
2020-12-18 12:52:21,858: Using NVIDIA drivers 455.45.01 for x86_64
2020-12-18 12:52:21,858: GPU: GeForce RTX 2070
2020-12-18 12:52:21,858: GPU: 10DE:1F50 103C:8603 (nvidia drivers)
Running /home/#####/.local/share/lutris/runners/wine/lutris-6.0-rc1-x86_64/bin/wine /home/#####/.lutris/warhammer-online-return-of-reckoning/drive_c/Program Files (x86)/Return of Reckoning/RoRLauncher.exe
Initial process has started with pid 19340
Start monitoring process.
esync: up and running.
002c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 6.0-rc1 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
00bc:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
002c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0024:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
Monitored process exited.
Initial process has exited (return code: 0)
All monitored processes have exited.
Exit with returncode 0
2020-12-18 12:52:25,715: Game still running (state: running)
2020-12-18 12:52:25,716: Stopping Warhammer Online: Return of Reckoning (wine)
The error with broken nvidia randr is also thrown with my system wineprefix so this can't be the error preventing RoR from starting with your install-script.
Also I already tried different wine versions in lutris down to 5.5.2

Hopefully you have an idea how to fix this behaviour :(


Best regards and please be kind to me, I'm not a native speaker :)



Edit: Just updated systemwide wine to staging 6.0 and I still can run RoRLauncher, lutris keeps closing after I hit play

Who is online

Users browsing this forum: fireball900 and 15 guests