Forums » Linux

Vendetta Online on FreeBSD 5.3

Feb 21, 2005 majost link
So I am currently working on getting VO working in the FreeBSD Linuxulator. At present, I have it to the point where VO launches, downloads the updates, and applies the patchset - however, as I suspected it would, at present VO fails with the following error:

vendetta: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Obviously, I need to install the linux versions of the opengl framework for VO to work properly. I will gladly take any suggestions.

To get where I am now, I installed the following ports:
/usr/ports/emulators/linux_base-rh-9
/usr/ports/x11/linux-XFree86-libs
/usr/ports/x11-toolkits/linux-gtk
/usr/ports/x11/linux-gnomelibs ( Probably didn't need this, but I added it anyway. ;P )

You will need to make sure your `/compat/linux/etc/ld.so.conf` contains the following lines, and then run `/compat/linux/sbin/ldconfig -f /compat/linux/etc/ld.so.conf` :

/lib
/usr/lib
/usr/X11R6/lib
/usr/X11R6/lib/X11/locale/lib
/var/lib

I will post any new developments as they happen. =)
Feb 21, 2005 majost link
Just a footnote... I will not be able to test this until tonight however, NVidia card users utilizing the NVidia FreeBSD native driver should be able to get VO working with the information provided above. NVidia was kind enough to include their libGL drivers for linux with their package. If someone happens to test this before I do, please post the results. =) Thanks!
Feb 21, 2005 majost link
Success!

I installed the `/usr/ports/graphics/linux_mesa3`and was able to get VO working!

Unfortunatly, this laptop has a yuckie ATI Mobility chipset, which I have not been able to get Hardware acceleration working so it was quite slow on this machine. Nevertheless, it DOES in fact work.

I would like to add, sound works as well. I am *not* using the FreeBSD voxware or snd drivers, I am using the FreeBSD native OSS driver.

I will post links to screen shots shortly. =)
Feb 21, 2005 majost link
Screenshots:

http://www.digsd.com/temp/vo-login-fbsd.jpg
http://www.digsd.com/temp/vo-station-fbsd.jpg
http://www.digsd.com/temp/vo-ingame-fbsd.jpg

I will post the results with my NVidia hardware accelerated GL drivers tonight. In the mean time, enjoy!

=D
Feb 22, 2005 Solra Bizna link
Remind me never to trust lynx with this website. (posted the single word "Cool." which got eaten even after multiple tries)
-:sigma.SB
Feb 22, 2005 majost link
It's late... I'm tired... and I got slammed into an astroid when I got ejected from a jump due to an ion storm. heh

I will have to continue work on this later... but for those whom have been curiously watching.... My desktop FreeBSD 5.3 system, which has the NVidia card in it displays the following error when clicking the "Play Vendetta" button: "Fatal Error: Couldn't open window."

The `errors.log` file is quite short, and reads as follows:

[Tue Feb 22 00:40:41 2005] Can't load driver /usr/home/majost/.vendetta/drivers/gkalsa.so: libasound.so.2: cannot open shared object file: No such file or directory
[Tue Feb 22 00:40:41 2005] Can't load driver /usr/home/majost/.vendetta/drivers/gkgl.so: libGLU.so.1: cannot open shared object file: No such file or directory
[Tue Feb 22 00:40:41 2005] Found driver: "Open Sound System driver". Type 1, Version 8.1. Load @0x082d6bf8
[Tue Feb 22 00:40:41 2005] Instantiate address: 0x28d572b0
/dev/js0: No such file or directory
/dev/input/js0: No such file or directory
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 0 joystick(s)
[Tue Feb 22 00:40:41 2005] SetVideoMode failed, line 34
Fatal Error: Couldn't open window./

Please note that at this time... I have *not* attempted to install linux-mesa3, for the desktop with the nvidia card, as I fear it may clobber `/usr/compat/linux/usr/lib/libGL.so.1` and/or `/usr/compat/linux/usr/lib/libGL.so.1.0.6113`
(the existing nvidia libraries.) I will attempt this later week, once I make a dump of my root slice to a cd. =)

The libGLU.so.1 line in the log is a blatent indicator of what I need to address next, so if anyone happens to have the hardware and a few minutes, I would love to get some feadback with your experiences in the effort. =)

See you around!

-Majost
Feb 22, 2005 mr_spuck link
I dunno if it is different on fbsd. glu usually comes shipped with mesa.

What if you install linux-mesa3 and the nvidia drivers over it? That should overwrite the other mesa libs again.

Out of curiosity, what kind of performance do you get right now? At 800x600 it must be aweful. I've played at minimum settings for a while and never could get it past ~15 fps with a software renderer.
Feb 22, 2005 majost link
I don't know how to display the FPS in game, but it is very slow with software rendering. 15FPS would probably the max I was getting as well. It is really not playable with out a hardware rendering.

As for installing mesa and then the nvidia drivers on top -- I plan to do that, but I want to make a backup of the portion of the system it is going to overwrite. I am somewhat leery that the nvidia driver will not know how to interact with the mesa libGLU.so.1 file, and will clobber everthing in the linuxulator. Unfortunatly I will not know until probably tonight or tomorrow. I will keep everyone posted. =)
Feb 22, 2005 mr_spuck link
The command is /fps. Disable backgrounds, it helps a lot.

If the fbsd nvidia installer isn't too different, it will only touch libGL.* and libGLcore.* and leave everything else alone. But don't take my word for it. :)
Feb 23, 2005 majost link
Thanks! I went ahead and installed the linux_mesa3 port on my workstation with the NVidia card/drivers and VO runs GREAT! Just to show off and prove my point, my desktop is a P3/667 with a GeForce 440MX and 768M of RAM. =) My average FPS in 800x600 seems to be around 35-40FPS, and the lowest I saw so far was 20FPS.

I did find a couple glitches.... namely, the gamma is real low so everything is darker than I am use to; and when I exit out of the game it seems too keep the screen resolution which it was set to in the game... a minor nuscance, but quite livable.

Bottom line... it works, and it works WELL.

Perhaps I should start a FreeBSD guild, and begin kickin the crap outta those lame windows and linux users. ;) hehehe

If anyone wants me to post screen shots, let me know... I am too tired to do it at the moment, as I just worked a 30 hour day brining a network back online. (No... It wasn't mine. heh)

See you online! (Like in 10 hours when I wake up in the middle of the morning. hehehe)

-Majost
Feb 24, 2005 mr_spuck link
Cool, another platform the game runs on :)
Some tried it before you, but they seemed to have more problems. *shrug*

You can use xgamma to adjust the gamma, there's no way to to that ingame under linux yet. I think the other platforms have that option, though.

You forgot the Mac freaks. :P

oh and ... MUST RESIST TEMPTATION OF PLATFORM WAR BAIT .. CAN'T ...

... GO SLACKWARE!!!
Feb 24, 2005 Spider link
Keeping in line with the history of platform wars.

The game sucks cause noone has used it on OpenBSD yet!

And also, Gentoo sucks, just as a matter of principle
Feb 26, 2005 majost link
Would you like me to fix the OpenBSD issue? ;)
Apr 30, 2005 Otana Space link
Just tried the game under FreeBSD 6 (20050428 -CURRENT) and the least I can say is that I'm really impressed. Vendetta runs perfectly, one start, solid 6 hours without a crash, no glitches, no problems, no tampering with anything (ah, except that idiotic installer, but who cares, at least it's not a Loki's one). I've seen a less than half dozen of games running under Linux (not even FreeBSD's Linuxulator) with such success and sadly, I must say, I've seen almost all of them.

So, kudos to the Guild developers, besides guys from ID Software, you are my new personal heroes.