Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Tech Support
FAQ Community Calendar

Tech Support Trouble running the game? Found a bug? Post here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2008, 04:35 PM
jayceekay jayceekay is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default altitude crashing in ubuntu 8.04 (jck wins first bug post award)

installed altitude on this fresh install of hardy (ubuntu 8.04) and i managed to update fine, but once it appeared i was going to enter the game it closed without message. i'll preemptively post the contents of output.log and error.log for now (altitude.log was empty).

let me know what else i can do to help!! i'm pretty psyched to start playing!

/home/justin/altitude/error.log:

Code:
Warning: no 1024x768 modes match bpp=32
org.lwjgl.openal.OpenALException: OpenAL error: Invalid enum parameter value (40963)
	at org.lwjgl.openal.Util.checkALError(Util.java:64)
	at org.lwjgl.openal.AL10.alBufferData(AL10.java:1055)
	at cu.a(SourceFile:378)
	at kX.a(SourceFile:48)
	at kX.a(SourceFile:38)
	at pI.a(SourceFile:84)
	at lP.c(SourceFile:208)
	at cD.a(SourceFile:240)
	at cD.a_(SourceFile:195)
	at d.k(SourceFile:255)
	at d.d(SourceFile:117)
	at e.d(SourceFile:50)
	at wN.g(SourceFile:90)
	at iB.d(SourceFile:599)
	at jg.m(SourceFile:315)
	at fY.N(SourceFile:513)
	at fY.a(SourceFile:495)
	at vK.h(SourceFile:79)
	at vK.a(SourceFile:58)
	at fY.d(SourceFile:809)
	at fY.a(SourceFile:733)
	at fY.a(SourceFile:842)
	at em.entry.EntryAltitudeGame.main(SourceFile:9)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at em.update.client.launch.UpdateLauncher.a(SourceFile:207)
	at em.update.client.launch.UpdateLauncher.main(SourceFile:351)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
java.lang.NullPointerException
	at kP.f(SourceFile:28)
	at de.e(SourceFile:103)
	at cD.a(SourceFile:242)
	at cD.a_(SourceFile:195)
	at d.k(SourceFile:255)
	at d.d(SourceFile:117)
	at e.d(SourceFile:50)
	at wN.g(SourceFile:90)
	at iB.d(SourceFile:599)
	at jg.m(SourceFile:315)
	at fY.N(SourceFile:513)
	at fY.a(SourceFile:495)
	at vK.h(SourceFile:79)
	at vK.a(SourceFile:58)
	at fY.d(SourceFile:809)
	at fY.a(SourceFile:733)
	at fY.a(SourceFile:842)
	at em.entry.EntryAltitudeGame.main(SourceFile:9)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at em.update.client.launch.UpdateLauncher.a(SourceFile:207)
	at em.update.client.launch.UpdateLauncher.main(SourceFile:351)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
mt: It appears as though your sound card does not support OpenAL 1.1. Please update to the latest drivers available for your sound card.
	at hT.h(SourceFile:311)
	at cu.b(SourceFile:92)
	at kn.a(SourceFile:142)
	at fY.G(SourceFile:717)
	at vK.a(SourceFile:63)
	at fY.d(SourceFile:809)
	at fY.a(SourceFile:733)
	at fY.a(SourceFile:842)
	at em.entry.EntryAltitudeGame.main(SourceFile:9)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at em.update.client.launch.UpdateLauncher.a(SourceFile:207)
	at em.update.client.launch.UpdateLauncher.main(SourceFile:351)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
java.lang.NullPointerException
	at kP.f(SourceFile:28)
	at de.e(SourceFile:103)
	at cD.a(SourceFile:242)
	at cD.a_(SourceFile:195)
	at d.k(SourceFile:255)
	at d.d(SourceFile:117)
	at e.d(SourceFile:50)
	at wN.g(SourceFile:90)
	at iB.d(SourceFile:599)
	at jg.m(SourceFile:315)
	at fY.N(SourceFile:513)
	at fY.a(SourceFile:495)
	at vK.h(SourceFile:79)
	at vK.a(SourceFile:58)
	at fY.d(SourceFile:809)
	at fY.a(SourceFile:733)
	at fY.a(SourceFile:842)
	at em.entry.EntryAltitudeGame.main(SourceFile:9)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at em.update.client.launch.UpdateLauncher.a(SourceFile:207)
	at em.update.client.launch.UpdateLauncher.main(SourceFile:351)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
/home/justin/altitude/output.log:

Code:
Using launch config file /home/justin/altitude/launch-game.xml
Installing update: version 0.0.71 -> 0.0.72
Installation successful!
Installation complete.
setDisplayMode(width=1024,height=768,bpp=32,fs=false,vsync=true,alpha=0,depth=0,stencil=4)
targetDisplayMode=1024 x 768 x 24 @60Hz
Display.reportedFrequency=60
Display.targetedFrequency=60
checkResourceVersion: resources out of date: cached version is 0.0.71, current version is 0.0.72; purging [/home/justin/altitude/resources/_derived/run, levels/cache]
onVersionResponse: <invalidRequest=false, message=null, version=0.0.72>
Update check complete; up to date!
connected to 205.234.203.34:31383
AltGame[instance=0, port=27272, playerId=-1] - connection to vapor established
trying to connect to 205.234.203.34:50000
unpacking level to levels/cache/lostcity.ex_level
pre-loading images for lostcity.ex_level:2607931:715884103...
Cleaning up altitude!
destroying display
Reply With Quote
  #2  
Old 05-04-2008, 05:32 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Woot! Thanks for the first crash bug

Looks like the problem is with sounds. For now you should be able to disable sounds (Options -> Sounds -> []Sound Enabled) and the rest of the game should work.

Thanks for the logs. I just tested a build on my laptop running Ubuntu and I'm getting the exact same crash. There is definitely something going on in the sound code. I'll let you know when I've pushed out a fix.

For reference, what sound card / drivers are you using?

Thanks!
Reply With Quote
  #3  
Old 05-04-2008, 06:33 PM
jayceekay jayceekay is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

i'm not 100% sure how to find the driver i'm using, but lspci produced this section:

Code:
02:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
02:09.1 Input device controller: Creative Labs SB Live! Game Port (rev 08)
i think the driver is emu10k1?

in system -> preferences -> sound, everything is set to "autodetect".

i tried disabling the sound in the game, but it still crashed, this time after i clicked on "auto" to join a team. error.log is too large to post and too large to attach. tell me what you need with these reports and i'll upload it to my school webpsace if it will help.

here's output.log:

Code:
Using launch config file /home/justin/altitude/launch-game.xml
setDisplayMode(width=1024,height=768,bpp=32,fs=false,vsync=true,alpha=0,depth=0,stencil=4)
targetDisplayMode=1024 x 768 x 24 @60Hz
Display.reportedFrequency=60
Display.targetedFrequency=60
onVersionResponse: <invalidRequest=false, message=null, version=0.0.72>
Update check complete; up to date!
connected to 205.234.203.34:31383
AltGame[instance=0, port=27272, playerId=-1] - connection to vapor established
trying to connect to 205.234.203.34:50000
pre-loading images for lostcity.ex_level:2607931:715884103...
Cleaning up altitude!
destroying display
Reply With Quote
  #4  
Old 05-04-2008, 06:46 PM
altitudeforumadmin altitudeforumadmin is offline
Administrator
 
Join Date: May 2008
Posts: 17
Default

Weird - could you copy out the first 100 lines or so of your error log and post them?

Thanks
Reply With Quote
  #5  
Old 05-04-2008, 06:59 PM
jayceekay jayceekay is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

the first 100:

Warning: no 1024x768 modes match bpp=32
java.io.FileNotFoundException: /home/justin/altitude/resources/_derived/run/.image/planes/biplane_blue_gold/p0 (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:179)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:131)
at fS.a(SourceFile:423)
at fS.a(SourceFile:404)
at fS.h(SourceFile:516)
at fS.c(SourceFile:502)
at lP.b(SourceFile:189)
at bo.a(SourceFile:218)
at bo.b(SourceFile:1)
at gq.a(SourceFile:191)
at gq.a(SourceFile:183)
at ia.a(SourceFile:95)
at ia.b(SourceFile:1)
at gq.a(SourceFile:191)
at b.a(SourceFile:87)
at b.b(SourceFile:1)
at gq.a(SourceFile:191)
at gq.a(SourceFile:183)
at bW.a(SourceFile:47)
at bW.b(SourceFile:1)
at gq.a(SourceFile:207)
at gq.b(SourceFile:195)
at h.a(SourceFile:60)
at h.b(SourceFile:1)
at uK.a(SourceFile:117)
at uK.a(SourceFile:95)
at fE.c(SourceFile:85)
at oH.f(SourceFile:47)
at ti.a(SourceFile:266)
at ti.a(SourceFile:260)
at tN.a(SourceFile:111)
at iB.b(SourceFile:208)
at iB.a(SourceFile:206)
at ld.a(SourceFile:220)
at ot.a(SourceFile:109)
at as.i(SourceFile:159)
at as.a(SourceFile:132)
at hf.a(SourceFile:434)
at pb.a(SourceFile:234)
at lh.a(SourceFile:71)
at jg.a(SourceFile:363)
at cs.a(SourceFile:85)
at fY.Q(SourceFile:670)
at fY.O(SourceFile:537)
at fY.a(SourceFile:490)
at vK.h(SourceFile:79)
at vK.a(SourceFile:58)
at fY.d(SourceFile:809)
at fY.a(SourceFile:733)
at fY.a(SourceFile:842)
at em.entry.EntryAltitudeGame.main(SourceFile:9)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at em.update.client.launch.UpdateLauncher.a(SourceFil e:207)
at em.update.client.launch.UpdateLauncher.main(Source File:351)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)
java.io.FileNotFoundException: /home/justin/altitude/resources/_derived/run/.image/planes/biplane_blue_gold/p0 (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:179)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:131)
at fS.a(SourceFile:423)
at fS.a(SourceFile:404)
at fS.h(SourceFile:516)
at fS.c(SourceFile:502)
at lP.b(SourceFile:189)
at bo.a(SourceFile:218)
at bo.b(SourceFile:1)
at gq.a(SourceFile:191)
at gq.a(SourceFile:183)
at ia.a(SourceFile:95)
at ia.b(SourceFile:1)
at gq.a(SourceFile:191)
at b.a(SourceFile:87)
at b.b(SourceFile:1)
at gq.a(SourceFile:191)
at gq.a(SourceFile:183)
at bW.a(SourceFile:47)
at bW.b(SourceFile:1)
at gq.a(SourceFile:207)
at gq.b(SourceFile:195)
at h.a(SourceFile:60)
at h.b(SourceFile:1)
at uK.a(SourceFile:117)
at uK.a(SourceFile:95)
at fE.c(SourceFile:85)
at oH.f(SourceFile:47)
at ti.a(SourceFile:266)
at ti.a(SourceFile:260)
at tN.a(SourceFile:111)
at iB.b(SourceFile:208)
Reply With Quote
  #6  
Old 05-04-2008, 07:18 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Hmm... looks to me like a permissions issue -- like I set up the permissions wrong on installation. I think I will need to fix up the installer and send you a fresh build.

Could you try the following for me?

First, log in as root. In the Altitude install directory, there should be a directory:
resources/_derived/run
Delete that whole directory and then run the game again -- as root.

Did it work?
Reply With Quote
  #7  
Old 05-04-2008, 07:35 PM
jayceekay jayceekay is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

here goes...

Code:
justin@blue:~/altitude/resources/_derived$ sudo rm -rf run/
[sudo] password for justin: 
justin@blue:~/altitude/resources/_derived$ ls
dist
justin@blue:~/altitude/resources/_derived$ cd ~
justin@blue:~$ cd altitude/
justin@blue:~/altitude$ sudo ./altitude
Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-wenquanyi-wenquanyi zenhei-medium-r-normal--*-*-*-*-p-*-iso10646-1" to type FontStruct
Warning: Cannot convert string "-sazanami-gothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
Warning: Cannot convert string "-baekmuk-gulim-medium-r-normal--*-140-*-*-c-*-ksc5601.1987-0" to type FontStruct
(these errors also happened last night when i tried running as root.)

it worked this time. i was able to choose a plane and fly around a bit. the game is really choppy but i doubt that's an altitude problem and more of my ubuntu config problem. let me know if you want any logs, etc.
Reply With Quote
  #8  
Old 05-04-2008, 07:45 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Thanks for all the help!

I will drill down into the installer and fix the permissions issue -- though it may be a few days before I get around to it.

To improve performance try:
Options -> Graphics:
Turn on Fullscreen.
Turn off Draw Pallax.
Turn down texture quality.
Turn down particle quality.
If necessary, turn down resolution (lower res isn't that well supported yet, but it really helps on fill-limited video cards)
Also may be worth toggling vsync--some setups feel better with vsync, some feel better without.

If performance still sucks you may have to wait. I won't get a chance to optimize for a few weeks yet.

Thanks again for your help!
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 06:00 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC