PDA

View Full Version : regnum + wine


Timvarazslo
06-06-2009, 06:31 PM
Greetings everyone!

have anyone managed to run the game from wine
i'm trying to do it from gentoo
the game client hangs at the "checking firewall" window
it says i don't have permission for creating SOCK_RAW socket
i've searched the internet and found a kernel patch for older kernels, but anyway i don't want to mess the kernel with that

thanks for the help!

Nightchill
06-06-2009, 07:34 PM
game works in wine but... it has native linux client lol, why use wine?

Miraculix
06-06-2009, 07:44 PM
why use wine when there's a native linux binary? O.o

ArcticWolf
06-06-2009, 09:32 PM
Run Wine as root and see if it works. Then it's just a permission problem and can be solved, otherwise we will have to test further to find out the real problem.

Timvarazslo
06-06-2009, 10:11 PM
Nighchill, Miraculix:
yes, that's the reason i chose this game
it ran a few months ago, but i had some problems in the game... but at least i could play. now the game crashes after the verifying procedure when i hit "enter the game/world/realm" button (sorry i don't remember exactly)
(i think it's the same problem which has the chroot workaround)

ArcticWolf:
well, i don't have permission issues now, but it still hangs at the firewall checking
i will examine it tomorrow, and post some messages...
(a have a separate computer for firewalling, there is no firewall on my main machine. the game works with win xp)

thanks for the help

Timvarazslo
06-07-2009, 12:14 PM
eh, when i start wine as root, the game doesn't recognize my video card, it recognizes nvidia instead of ati, and i can't choose opengl
i have to check "forse safe mode" to reach checking firewall window
and that point the game hangs

i have checked again: doesn't recognize the video card as normal user either, but i can choose opengl...

Nightchill
06-07-2009, 01:09 PM
Nighchill, Miraculix:
yes, that's the reason i chose this game
it ran a few months ago, but i had some problems in the game... but at least i could play. now the game crashes after the verifying procedure when i hit "enter the game/world/realm" button (sorry i don't remember exactly)
(i think it's the same problem which has the chroot workaround)

can you post here exact issue / backtrace? it probably is segfault. btw, running it on wine with os drivers will run the game, but at 5-10fps

Timvarazslo
06-07-2009, 04:08 PM
~/regnum $ ./rolauncher
~/regnum $ Saving backtrace to crash_backtrace_2824.log
Got SIGSEGV (segmentation fault)

~/regnum/live $ cat ./crash_backtrace_2824.log
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d162b9]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d1658b]
[0xb7f12400]
//usr//lib/opengl/xorg-x11/lib/libGL.so.1 [0xb6e79ed6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL20init_ graphics_systemEiiibb+0xc26) [0xb767d5c6]
libs/libcommon_entities.so(_ZN13DisplayEntity15creation _notifyEP7Message+0x4bc) [0xb7b7f7ac]
libs/libentity_system.so(_ZN13EntityManager32initialize _entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x 483) [0xb74f2b23]
libs/libregnum_client.so(_ZN10GameClient19initialize_en titiesEv+0x2af) [0xb7e9e63f]
libs/libregnum_client.so(_ZN10GameClient4initEiPPc+0x87 6) [0xb7ea17b6]
libs/libregnum_client.so(_ZN10GameClientC1EiPPc+0xf3) [0xb7ea2703]
./game(main+0x259) [0x8048fc9]
/lib/libc.so.6(__libc_start_main+0xdc) [0xb6f8c6fc]
./game(__gxx_personality_v0+0x61) [0x8048c71]


kernel: 2.6.29-r5
xorg-server-1.5.3-r6
mesa-7.4.2

(i'm happy about the 5-10 fps:S)

Nightchill
06-08-2009, 10:36 AM
since you have xorg 1.5.3 you can still use proprietary drivers for your graphics card, even if it's not supported by the manufacturer anymore. so i suggest you get catalyst or nvidia drivers and enjoy in native linux performance :D

Timvarazslo
06-08-2009, 11:06 AM
Nighthill, i'm afraid i don't quite understand what you're saying
i have an ati card and the best thing that it's an old one:ohill: (radeon 7500), which is only supported by open source drivers

or have i missed something, recently?
(now i'm trying to play with downgrading some packages...no luck so far)

Nightchill
06-08-2009, 11:13 AM
Nighthill, i'm afraid i don't quite understand what you're saying
i have an ati card and the best thing that it's an old one:ohill: (radeon 7500), which is only supported by open source drivers

or have i missed something, recently?
(now i'm trying to play with downgrading some packages...no luck so far)
hmm i thought catalyst 9.3 supports all radeon cards up to R350. but yeah, seeing your card is ancient you should better buy new gfx card :D

Timvarazslo
06-08-2009, 11:26 AM
i think R100 cards were never supported, and now there is no support up to R500
http://en.wikipedia.org/wiki/Fglrx (if you're interested...)
so i've had enough of ati (now amd) video cards

Nightchill
06-08-2009, 04:11 PM
i think R100 cards were never supported, and now there is no support up to R500
http://en.wikipedia.org/wiki/Fglrx (if you're interested...)
so i've had enough of ati (now amd) video cards

yeah i know, i have r350 T_T

and yeah... your best bet to make this work is onemynd's thread (bootstrap method)

Timvarazslo
06-08-2009, 09:20 PM
looks like i have no other choice... but i'm still waiting for solution with wine (i guess it worth a try)
should i import some dll-s to wine? Nightchill, have you got some idea?

or another choice: i'll play tetris in console...:D hope there won't be any driver problem... but who knows... me and my bad luck

Nightchill
06-08-2009, 10:51 PM
well, i haven't imported any dll's into wine when i tried, and the game ran at max 10 fps like i said so that kind of turned me off the idea to emulate. who knows, maybe if you do import some dll's (and i've no idea which ones) it'll work much better. if you succeed please let us know ;)

Timvarazslo
06-09-2009, 01:51 PM
i've just updated to xorg-server-1.6.1
same segfault and error log:tsk_tsk:

Timvarazslo
06-15-2009, 12:29 PM
ok, it's working with wine, though it's still complaining about the SOCK_RAW issue
sometimes i have to start a few times to pass through the firewall checking procedure, but it's exists in winxp too

Nightchill
06-15-2009, 12:42 PM
ok, it's working with wine, though it's still complaining about the SOCK_RAW issue
sometimes i have to start a few times to pass through the firewall checking procedure, but it's exists in winxp too

how much fps do you get?

Timvarazslo
06-15-2009, 12:46 PM
it's running smooth enough for me, almost like in xp
but sometimes its freezing -> i start to run , and after two steps my toon stops

but it's still good enough for me, so i dont't have to boot xp

off: i can't find how to edit the thread's title

(how can i see fps?)

Nightchill
06-16-2009, 10:14 AM
to see fps press ALT+P

Bardar
06-17-2009, 04:17 AM
alt-p shows ping, alt-i shows fps. ;P

Timvarazslo
06-20-2009, 09:37 AM
i have 20-25 fps in ilreah village, when everything is loaded
in winxp i have 30-35 at the same place
i wonder what's it like in warzone, but i have a bad feeling:)

TyLLy4
03-12-2011, 02:02 PM
why use wine when there's a native linux binary? O.o

Because openGL its slower than the development of a conifer.

honestly. My games usually run faster in wine than in native

(true for minecraft, regnum and tremulous)

Linux still kicks ass ... jsut not for games

(ubuntu FTW)

screnshot as proov that i lvoe ubuntu and open source

http://i.imgur.com/zQP3e.png

TyLLy4
03-12-2011, 02:03 PM
i have 20-25 fps in ilreah village, when everything is loaded
in winxp i have 30-35 at the same place
i wonder what's it like in warzone, but i have a bad feeling:)

see my previous post my good friend.

when in doubt .... wine it

(direct x FTW)

Znurre
03-12-2011, 05:26 PM
Because openGL its slower than the development of a conifer.

honestly. My games usually run faster in wine than in native

(true for minecraft, regnum and tremulous)

Linux still kicks ass ... jsut not for games

(ubuntu FTW)

screnshot as proov that i lvoe ubuntu and open source

http://i.imgur.com/zQP3e.png
see my previous post my good friend.

when in doubt .... wine it

(direct x FTW)
It's been a while since I saw such stupid posts.
Back up those claims with numbers, please.

FYI: http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-and-not-DirectX

TyLLy4
03-12-2011, 06:31 PM
It's been a while since I saw such stupid posts.
Back up those claims with numbers, please.

FYI: http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-and-not-DirectX

OK i do retract the claim that open GL its slower ..... i guess i was wrong .. however. care to explain why my games (minecraft and tremulous) react faster in wine than in native mode?

Because honestly this is the only problem that i have so far in ubuntu.

P.S. specs are bellow
(dual core 2.0 ghz. Decent graphics card, 2 GB ram)

posted $sudo lshw but it got cut .... post too long

Znurre
03-12-2011, 07:11 PM
OK i do retract the claim that open GL its slower ..... i guess i was wrong .. however. care to explain why my games (minecraft and tremulous) react faster in wine than in native mode?

Because honestly this is the only problem that i have so far in ubuntu.

P.S. specs are bellow
(dual core 2.0 ghz. Decent graphics card, 2 GB ram)

posted $sudo lshw but it got cut .... post too long
I have no idea, really :)
Minecraft is written in Java, and thus it is the same code running in a virtual machine no matter the platform or the emulation.

I do however have a theory.
When you run a game in wine using Direct3D, all Direct3D calls are made into OpenGL calls.
This wrapper is not 100% complete, and it does not support all Direct3D features.
Since you lose many of the more advanced features of Direct3D, the GPU is less taxed and this might give you better performance.
Turning off those options in the OpenGL renderer should then give you similar results.

ArcticWolf
03-12-2011, 10:39 PM
OK i do retract the claim that open GL its slower ..... i guess i was wrong .. however. care to explain why my games (minecraft and tremulous) react faster in wine than in native mode?

Maybe because only a subset of all the functionality of the Direct3D API is implemented, or just because developing games with OpenGL is friggin' hard to get done right.

SlackerLinux2
03-13-2011, 01:30 AM
It's been a while since I saw such stupid posts.
Back up those claims with numbers, please.

FYI: http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-and-not-DirectX

great link i read that blog post months ago and all of it is true

regnum is slow in opengl simply because the devs clearly haven't given it enough attention it needed but it has improved a little bit in past year or so

and tremulous well that's based off ioquake3 i play it often(gpp version) it play fast enough in opengl(alot faster then the 125 fps i cap mine at) it is however a 10year+ old engine and doesn't use as much gpu power it could be that wine is just using newer/faster opengl calls/techniques even if there's a slight performance boost in using wine why would you willingly run it in wine it is open-source tremulous compiles fine in linux

i have no clue about minecraft i don't own/play it

linux gaming isn't that bad we got some great open-source games like spring and tremulous and some closed source games like regnum and most of ID software releases could be more but for some reason people think there's no market share on linux i think that's so far from the truth also if coded right opengl is much faster then directx that used to be true and i think its still true

ArcticWolf
03-13-2011, 02:57 AM
i have no clue about minecraft i don't own/play it

Minecraft uses LWJGL, which is a Java framework/wrapper around OpenGL and OpenAL, AFAIK.

Znurre
03-13-2011, 09:42 AM
So, if we can all agree that well-coded OpenGL is faster than Direct3D, then also read this:
http://jeffhoogland.blogspot.com/2010/09/linux-out-performs-windows-in-opengl.html

Because of the superior network stack, you also get less latency when playing games in Linux than in Windows even if they are not native.
I also always have to wait for my friends when playing strategy games like TA3D because the resources simply takes about twice as long to load on Windows :p

Linux is the perfect gaming platform, it just lacks the games, but even that is slowly changing.

ArcticWolf
03-13-2011, 06:53 PM
Linux is the perfect gaming platform, it just lacks the games, but even that is slowly changing.

That's a chicken and egg problem: we will continue to have problems attracting developers because there are not enough gamers, and gamers will not come while we don't get good games (and for that we need more developers). As a user and developer I want to change this!

Arafails
03-14-2011, 12:17 PM
Linux is the perfect gaming platform, it just lacks the games, but even that is slowly changing.

Not perfect by any stretch of the imagination. The only perfect gaming platform is the human mind — especially in the case of role playing games, where the best ones still don't require a computer.

Although I have to say this about Linux as a gaming platform; It may be good for games, but not at the same time as it is good at being a desktop or a server.
The real advantage there of course, is that it is so easy with the one physical box to switch between the three.

...

idTech games (Quake, later Doom games, stuff based off or modded on top of them) are so smooth because of the amount of effort put into making them elegant, and, well, fast. It has little to do with the API used (John Carmack has said as much as that the API matters nothing compared to the hardware).

Wine faster than native? This is generally an effect of things that have little to do with graphics, and normally more to do with I/O.
In the case of Minecraft and anything that runs on bizarre GL abstraction frameworks for Java, it surprises me they run at all. Minecraft could probably have been made much faster by programming it in Python, which is neither the epitome of speed.

TyLLy4
03-18-2011, 02:46 AM
I solved it.

For some reason when I wine it it defaults to fixed pipeline .... yet in OpenGL it tries to run shader 4.0 (witch its crap)

Because of the game.cfg bug in the ubuntu client i was under the impression that I had shader 1.0 and all settigns to minimun in native mode wich was NOT true .....

Once i followed the instructions in the forums to correct the bug and i was able to save my config the game ran without a hitch! ...

AMAZINGLY FAST!!!

Also found out that minecraft runs faster in wine because my launcher alters the task priority (nice value in linux) to give it preference over other tasks.

Anyways the game its GREAT and im loving it ..... the only I need right now its a place to show off my new siggy .....

You guys will have to do.

http://i.imgur.com/sBU6D.png

(if anyone wants a siggy add me on MSN or gtalk leolatino87 at gmail dot com)