Forums » Linux

FreeBSD 5.x compat

Nov 11, 2004 phragx link
hello all. I'm trying to get Vendetta to run under FreeBSD (5.3-Release, using X.org 6.7, nvidia 6113 drivers, and linux_base-7.1_7 - with the redhat 7.1 GTK RPM installed - gtk+-1.2.9-4.i386.rpm and libc-2.2.4.so).

I am getting the following error (from errors.conf)

[Thu Nov 11 01:34:04 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkalsa.so: libasound.so.2: cannot open shared object file: No such file or directory
[Thu Nov 11 01:34:04 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkgl.so: libGLU.so.1: cannot open shared object file: No such file or directory
[Thu Nov 11 01:34:04 2004] Found driver: "Open Sound System driver". Type 1, Version 7.1. Load @0x082c11a0
[Thu Nov 11 01:34:04 2004] Instantiate address: 0x28d12ce0
Found 0 joystick(s)
[Thu Nov 11 01:34:04 2004] SetVideoMode failed, line 34
Fatal Error: Couldn't open window.

Now, I'm not familiar with this - but it looks like it is resorting to the OSS driver, but below that I have no clue.

ANY help or ideas are appreciated. I know FreeBSD isn't a targeted platform (but given the linux compat. layer it shouldn't be too different) - but I'd love to get this working.

--Aaron
Nov 11, 2004 mr_spuck link
[Thu Nov 11 01:34:04 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkgl.so: libGLU.so.1: cannot open shared object file: No such file or directory

This is probably the problem. AFAIK libGLU is part of Mesa and/or xorg. No idea where you could get that from though. I know next to nothing about freebsd.

EDIT: a google search revealed this:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/libGLU/
So I guess yo can install it through that ports thingy.
Nov 11, 2004 phragx link
cool. I will try that.

I found another post on these forums (regarding freebsd - I dont know how I didn't find it before) and he had to load the linux version of mesa.

I tried loading a few more RPM's into the linux_base - but I think I got incompatible versions because X crashed when I tried to start the game. It *did* get past the libGLU error though - and went on to select the screen resolution:

[Thu Nov 11 04:11:21 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkalsa.so: libasound.so.2: cannot open shared object file: No such file or directory
[Thu Nov 11 04:11:21 2004] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 27.0. Load @0x082c09f8
[Thu Nov 11 04:11:21 2004] Instantiate address: 0x2882a410
[Thu Nov 11 04:11:21 2004] Found driver: "Open Sound System driver". Type 1, Version 7.1. Load @0x082c1090
[Thu Nov 11 04:11:21 2004] Instantiate address: 0x2886dce0
Found 0 joystick(s)
[Thu Nov 11 04:11:21 2004] Note: Didn't find exact match for 800x600x32.
[Thu Nov 11 04:11:21 2004] Here are the available modes:
[Thu Nov 11 04:11:21 2004] 0) 1024x768x24
[Thu Nov 11 04:11:21 2004] 1) 800x600x24
[Thu Nov 11 04:11:21 2004] 2) 640x480x24
[snip]
[Thu Nov 11 04:11:21 2004] 49) 320x175x24
[Thu Nov 11 04:11:21 2004] and it picked mode 1

Found driver: "OpenGL Reference GKGL driver". Type 5, Version 27.0

Any ideas if this is the Mesa GL driver, or the Nvidia one?
Nov 11, 2004 phragx link
I'm installing libGLU from ports now. Hopefully it will work.

btw: here is the thread I didn't find until after I posted :(

http://www.vendetta-online.com/x/msgboard/6/2485#33836

quote:
I got it to work, I installed the linux-mesa port and reinstalled my nvidia driver. I get lots of crashes though. Do you (the developers) want to hear about them?
endquote

(I'm hoping to not have to load Mesa)

--Aaron

[edit] it seems that it does want the linux version of 'GLU'

[Thu Nov 11 10:56:19 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkalsa.so: libasound.so.2: cannot open shared object file: No such file or directory
[Thu Nov 11 10:56:19 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkgl.so: /lib/libGLU.so.1: ELF file OS ABI invalid
[Thu Nov 11 10:56:19 2004] Found driver: "Open Sound System driver". Type 1, Version 7.1. Load @0x082c11a0
[Thu Nov 11 10:56:19 2004] Instantiate address: 0x28d12ce0
Found 0 joystick(s)
[Thu Nov 11 10:56:19 2004] SetVideoMode failed, line 34
Fatal Error: Couldn't open window.

ELF file OS ABI invalid < I think this means I need the linux version of libGLU :(
Nov 11, 2004 phragx link
well, I got it to run now - but it hangs on the loader screen. I had to load the redhat Mesa rpm's into /compat/linux

After killing vendetta, here is what the errors.log says

[Thu Nov 11 12:38:06 2004] Can't load driver /usr/home/phragx/.vendetta/drivers/gkalsa.so: libasound.so.2: cannot open shared object file: No such file or directory
[Thu Nov 11 12:38:06 2004] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 27.0. Load @0x082c0a00
[Thu Nov 11 12:38:06 2004] Instantiate address: 0x28beb410
[Thu Nov 11 12:38:06 2004] Found driver: "Open Sound System driver". Type 1, Version 7.1. Load @0x082c15a8
[Thu Nov 11 12:38:06 2004] Instantiate address: 0x28d53ce0
Found 0 joystick(s)
[Thu Nov 11 12:38:06 2004] Note: Didn't find exact match for 800x600x32.
[Thu Nov 11 12:38:06 2004] Here are the available modes:
[Thu Nov 11 12:38:06 2004] 0) 1024x768x24
[Thu Nov 11 12:38:06 2004] 1) 800x600x24
[Thu Nov 11 12:38:06 2004] 2) 640x480x24
[Thu Nov 11 12:38:06 2004] 3) 1024x768x24
[Thu Nov 11 12:38:06 2004] 4) 1024x768x24
[Thu Nov 11 12:38:06 2004] 5) 1024x768x24
[Thu Nov 11 12:38:06 2004] 6) 1024x768x24
[Thu Nov 11 12:38:06 2004] 7) 960x720x24
[Thu Nov 11 12:38:06 2004] 8) 928x696x24
[Thu Nov 11 12:38:06 2004] 9) 896x672x24
[Thu Nov 11 12:38:06 2004] 10) 832x624x24
[Thu Nov 11 12:38:06 2004] 11) 800x600x24
[Thu Nov 11 12:38:06 2004] 12) 800x600x24
[Thu Nov 11 12:38:06 2004] 13) 800x600x24
[Thu Nov 11 12:38:06 2004] 14) 800x600x24
[Thu Nov 11 12:38:06 2004] 15) 800x600x24
[Thu Nov 11 12:38:06 2004] 16) 800x600x24
[Thu Nov 11 12:38:06 2004] 17) 800x600x24
[Thu Nov 11 12:38:06 2004] 18) 800x600x24
[Thu Nov 11 12:38:06 2004] 19) 700x525x24
[Thu Nov 11 12:38:06 2004] 20) 700x525x24
[Thu Nov 11 12:38:06 2004] 21) 640x512x24
[Thu Nov 11 12:38:06 2004] 22) 640x512x24
[Thu Nov 11 12:38:06 2004] 23) 640x512x24
[Thu Nov 11 12:38:06 2004] 24) 640x480x24
[Thu Nov 11 12:38:06 2004] 25) 640x480x24
[Thu Nov 11 12:38:06 2004] 26) 640x480x24
[Thu Nov 11 12:38:06 2004] 27) 640x480x24
[Thu Nov 11 12:38:06 2004] 28) 640x480x24
[Thu Nov 11 12:38:06 2004] 29) 720x400x24
[Thu Nov 11 12:38:06 2004] 30) 640x400x24
[Thu Nov 11 12:38:06 2004] 31) 576x432x24
[Thu Nov 11 12:38:06 2004] 32) 640x350x24
[Thu Nov 11 12:38:06 2004] 33) 512x384x24
[Thu Nov 11 12:38:06 2004] 34) 512x384x24
[Thu Nov 11 12:38:06 2004] 35) 512x384x24
[Thu Nov 11 12:38:06 2004] 36) 512x384x24
[Thu Nov 11 12:38:06 2004] 37) 512x384x24
[Thu Nov 11 12:38:06 2004] 38) 416x312x24
[Thu Nov 11 12:38:06 2004] 39) 400x300x24
[Thu Nov 11 12:38:06 2004] 40) 400x300x24
[Thu Nov 11 12:38:06 2004] 41) 400x300x24
[Thu Nov 11 12:38:06 2004] 42) 400x300x24
[Thu Nov 11 12:38:06 2004] 43) 400x300x24
[Thu Nov 11 12:38:06 2004] 44) 320x240x24
[Thu Nov 11 12:38:06 2004] 45) 320x240x24
[Thu Nov 11 12:38:06 2004] 46) 320x240x24
[Thu Nov 11 12:38:06 2004] 47) 320x240x24
[Thu Nov 11 12:38:06 2004] 48) 320x200x24
[Thu Nov 11 12:38:06 2004] 49) 320x175x24
[Thu Nov 11 12:38:06 2004] and it picked mode 1
osssound: ospace info: fragment=0010000a fragstotal=16, fragsize=1024
OSS sound initialized: 44100Hz, 16bit stereo, 92ms buffer using /dev/dsp

caught SIGABRT; generating stack trace
fault address 00000002, 00000000
ss 0x0000002f 47
uesp 0xbfbfdfc0 -1077944384
efl 0x00000213 531
cs 0x0000001f 31
eip 0x42028d69 1107463529
err 0x00000002 2
trapno 0x000000ff 255
eax 0xfffffffc -4
ecx 0x00000008 8
edx 0x4212a2d0 1108517584
ebx 0xbfbfdfe0 -1077944352
esp 0x00000000 0
ebp 0xbfbfdfc8 -1077944376
esi 0x283fc05c 675266652
edi 0xbfbfdfe0 -1077944352
ds 0x0000002f 47
es 0x0000002f 47
fs 0x0000002f 47
gs 0x00000007 7
brk> 42028d69: bfbfdfe0 00000020 bfbfdfe0 00313d73
- 283f7108: 283fc080 bfbfe0a0 00000094 ffffffff
- 283f6d51: 082c978c 00000000 28d538b0 082c9768
- 28d53aba: 082c9768 00000003 0000ac44 0829490c
- 081736ed: bfbfe5f0 0821d87b 00000001 00000001
- 0804eab4: 00000001 bfbfe9ec 00000000 00000000
- 08053cdf: 00000001 bfbfe9ec bfbfe9f4 282935c0
- 420158d4: 08053c60 00000001 bfbfe9ec 08049b94

caught SIGSEGV; generating stack trace
fault address 00000000, 00000000
ss 0x0000002f 47
uesp 0x0835ec94 137751700
efl 0x00010246 66118
cs 0x0000001f 31
eip 0x42029f43 1107468099
err 0x00000000 0
trapno 0x0000000f 15
eax 0x00000007 7
ecx 0x00000007 7
edx 0x283feb44 675277636
ebx 0x4212a2d0 1108517584
esp 0x00000000 0
ebp 0x0835edbc 137751996
esi 0x00000006 6
edi 0x0000000c 12
ds 0x0000002f 47
es 0x0000002f 47
fs 0x0000002f 47
gs 0x00000007 7
brk> 42029f43: 00000001 0835edf4 00000010 2488f84b
- 283f4c75: 283fc4a0 822f05c6 0000d0b9 392a7185

Here you can see it dumps some information after I had to kill it.
Nov 11, 2004 phragx link
btw, everything else should be ok for this system. Quake3 runs razor-fast :)
Nov 17, 2004 a1k0n link
Weird, it SIGABRT'd in your libGL (or some other library). No bug reporter popped up? Can you try running the game, letting it crash, and then running ~/.vendetta/update.rlb -bugreport ? If I have a bugreport I can decode the symbols.
Nov 18, 2004 phragx link
doh! I just put linux on this system instead (too many linux games, and I didn't like the freebsd redhat linux_base)

Is it possible it aborted when I killed it (it appeared to have hung) and that is why it says it died there?

It runs fine on linux though. (obviously)