Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 09-27-2010, 08:00 PM   #11
j4np0l
Master
 
Join Date: Dec 2009
Location: Ranting in Montsognir's tabern
Posts: 437
j4np0l is on a distinguished road
Default

Quote:
Originally Posted by wikid_one View Post
I guess I need to ask... WHY?

Even in Windows, the game runs much better in OpenGL than DirectX. I am running it on a Radeon HD 3400 (laptop) and a GeForce 9800GT (desktop). In both cases there was less lag and less frequent crashes. I can only imagine trying to run it in WINE on their buggy code.
That's not true (at least for me and a lot of people).

In my case (AMD Phenom II X2 550 + 4gb DDR2 + nvidia gtx260) in Directx (Windows 7 32bits) I get about 120fps (SM4, max resolution and everything on)...but in OpenGL I get about 40fps...and in Ubuntu 32bits it gets a little worse (I am going to try it with Gentoo 64).

Read this thread: http://www.regnumonline.com.ar/forum...ad.php?t=62436

Actually, I thought about trying it in Ubuntu because of the great fps difference....but Wine translates Directx calls into OpenGL calls. So, at first I thought it was nonsense and got rid of ubuntu and installed Gentoo (did it because of my "trying different distros" addiction, not for Ro )

Buuut, the reason why OpenGL sucks in Regnum is because of the way the game was programmed. So, there is a chance that Wine's translations from Directx into OpenGl may be better than the client's OpenGl programming. I know it's a long shot, but it's a possibility...

Regards, when I get RO running in Gentoo I'll post my results (in the other thread ), I still have to download the 64bit client
__________________
Janpol - Enano Barbaro - La Ultima Alianza
Sos Alsirio, esta es tu casa: http://www.alsius.com.ar/AlsiusForum/

Alsius: always outnumbered, but never unmanned

Last edited by j4np0l; 09-28-2010 at 12:35 PM.
j4np0l no ha iniciado sesión   Reply With Quote
Old 09-30-2010, 07:29 AM   #12
Ulmanyar
Initiate
 
Join Date: Dec 2007
Location: Sweden
Posts: 231
Ulmanyar is on a distinguished road
Default

We never know, one day wine using the implementation of the Direct3D API with Gallium3D drivers might even be faster than running any game in windows.

As for the question "WHY?", I just wanted to say that I played another game with a native Linux-client in wine for quite some time, because the graphics drivers were bugged and the native client would not work. So if we, for any reason, gets a nasty regression that will prevent people from playing RO natively, it's always nice to know if/how to run it in wine. I guess.
__________________
Ulmanyar
Flame of Valhalla
Alsius - a few, but we got goats! BAAAAH!
Ulmanyar no ha iniciado sesión   Reply With Quote
Old 09-30-2010, 05:07 PM   #13
Mashu
Master
 
Mashu's Avatar
 
Join Date: Sep 2008
Location: Stockholm
Posts: 541
Mashu is an unknown quantity at this point
Default

Quote:
Originally Posted by ljrossi View Post
Im not sure about this, in my case I couldnt run native becasue Intel graphic card 965, maybe on wine it might work ?
I have GM965, game runs in a safe mode.. not that fps is playable.
Mashu no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 09:50 AM   #14
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

I gave it a further try. I copied native wininetd.dll to wine and set it to native in winecfg.
Now the network related errors on the terminal completely disappear. However at the introvideo there is still a crashed message which you can ignore. On the first loading screen it will stop at the half with an connection error (download indicator at the bottom shows downloading 0 kb/s all the time).
error_log.txt is filled with this
Code:
[05/10/2010 11:31:30] [HTTP Retriever][lighttpd_retriever.cpp(279)] Connection timeout downloading resource 32232. Retrying.
[05/10/2010 11:31:30] [HTTP Retriever][lighttpd_retriever.cpp(280)] Bytes received: 0, expected: 0
Some further debug attempt showed this on terminal
Code:
trace:winsock:WS2_recvfrom fd=133, options=0
warn:winsock:WS2_recvfrom  -> ERROR 10035
Happens with native winsock.dll as well. I have no further clue now
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 10:56 AM   #15
HidraA
Banned
 
Join Date: Dec 2009
Posts: 843
HidraA is an unknown quantity at this point
Default

Quote:
Originally Posted by Myxir View Post
I gave it a further try. I copied native wininetd.dll to wine and set it to native in winecfg.
Now the network related errors on the terminal completely disappear. However at the introvideo there is still a crashed message which you can ignore. On the first loading screen it will stop at the half with an connection error (download indicator at the bottom shows downloading 0 kb/s all the time).
error_log.txt is filled with this
Code:
[05/10/2010 11:31:30] [HTTP Retriever][lighttpd_retriever.cpp(279)] Connection timeout downloading resource 32232. Retrying.
[05/10/2010 11:31:30] [HTTP Retriever][lighttpd_retriever.cpp(280)] Bytes received: 0, expected: 0
Some further debug attempt showed this on terminal
Code:
trace:winsock:WS2_recvfrom fd=133, options=0
warn:winsock:WS2_recvfrom  -> ERROR 10035
Happens with native winsock.dll as well. I have no further clue now
Ah yes there is bug on one dll must be disable i think...damn forgot what dll,grr is common bug of wine ...too many dll on my eyes this days...find winetricks script and ue him.there are planty of fixes for lots of thinks like fonts erro,directx error etc...you addet winhtp dllto winecfg?

Last edited by HidraA; 10-05-2010 at 11:27 AM.
HidraA no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 12:20 PM   #16
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

I think I encountered this problem a long time ago with online play of another game. I don't recall it.
The only thing that seemed interesting in winetricks was winhttp and wininet. But that did pretty much the same i already did by hand.
Winehttp is of course in winecfg
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 01:57 PM   #17
HidraA
Banned
 
Join Date: Dec 2009
Posts: 843
HidraA is an unknown quantity at this point
Default

Quote:
Originally Posted by Myxir View Post
I think I encountered this problem a long time ago with online play of another game. I don't recall it.
The only thing that seemed interesting in winetricks was winhttp and wininet. But that did pretty much the same i already did by hand.
Winehttp is of course in winecfg
you tryed another version of winshock dll downloadet from interned or change way how it is loadet?...sorry just asking...i cant tell you for sure what it is that error ...
HidraA no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 02:31 PM   #18
HidraA
Banned
 
Join Date: Dec 2009
Posts: 843
HidraA is an unknown quantity at this point
Default

Myxir ,please provide more lines from your log.
Error is normal one ,is not fault of networking.
Or watch what log says when you get that error,that error stop app and normal he will stop wine sever too from download.

Edited:

Get ride of all your dll configs,clean up all.
Nw make configs like in this screenshots.
Works like this using Opengl on game cfg.
Now i will take a look for make him to work with DirectX.
Attached Images
File Type: jpg dll_conf_wine.jpg (78.9 KB, 7 views)
File Type: jpg graphics_conf_wine.jpg (78.8 KB, 6 views)

Last edited by HidraA; 10-05-2010 at 02:48 PM.
HidraA no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 02:47 PM   #19
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

In fact, this is the only log that wine throws.
The rest are just uninteresting d3d fixme.
I run with WINDEBUG=-all,+wininet,+winhttp,+winsock.
It spams my terminal with 1000000s of this lines. Between there is some keyboard related stuff. Nothing that points to an failure.
Code:
trace:winsock:WS2_recvfrom fd=133, options=0
warn:winsock:WS2_recvfrom  -> ERROR 10035
Afaik winsock Error 10035 is "Resource not available". So there might be a connection problem.
If I run wine with "WINEDEBUG=+all" it takes ages just to start up the launcher. I don't have the patience and time to do such things now.
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 10-05-2010, 02:48 PM   #20
HidraA
Banned
 
Join Date: Dec 2009
Posts: 843
HidraA is an unknown quantity at this point
Default

Read up lol edited previos post
Also you need some dll from instalation folder of game

cp /Users/$USER/LiveServer/*.dll /Users/$USER/.wine/drive_c/windows/system32
This is path from mac...you know your path from linux
HidraA no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved