Can't get past Java loading screen...

The worst monsters in the Hearthlands warp the fabric of space and time..

Can't get past Java loading screen...

Postby RiverPhoenix » Mon Jun 08, 2009 1:02 pm

Hello :)

I was wondering if anyone can help... but before I give any more details I'll start by saying I'm running Xubuntu Linux and ask, is this game likely to work on this OS?

I have Java (the latest) and it does the loading thing and then hits be with an "Haven error" - "An error has occured" and asks if I want to send the details back to you - I click "Yes" and that's the last I've heard...

Any help would be appreciated as this looks like the awesome game I have been waiting for for years (so long I've got my own planned in my head - never been good at implementation - and it's damn near almost the same as this!)

Thank you for your time,

RiverPhoenix
RiverPhoenix
 
Posts: 48
Joined: Thu Jun 04, 2009 5:29 am

Re: Can't get past Java loading screen...

Postby loftar » Mon Jun 08, 2009 4:41 pm

RiverPhoenix wrote:[...]I'll start by saying I'm running Xubuntu Linux and ask, is this game likely to work on this OS?

Certainly. I, myself, am running Debian.

RiverPhoenix wrote:I have Java (the latest) and it does the loading thing and then hits be with an "Haven error" - "An error has occured" and asks if I want to send the details back to you - I click "Yes" and that's the last I've heard...

The error report you sent says that OpenGL fails initializing with error code "GLX_NO_EXTENSION". I'm not an expert in specific GLX error codes, but I think that means that your X server doesn't support OpenGL. Could it be that you have no 3D drivers installed?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't get past Java loading screen...

Postby RiverPhoenix » Mon Jun 08, 2009 5:35 pm

loftar wrote:Certainly. I, myself, am running Debian.


Cool, I didn't think that would be a problem :)

loftar wrote:The error report you sent says that OpenGL fails initializing with error code "GLX_NO_EXTENSION". I'm not an expert in specific GLX error codes, but I think that means that your X server doesn't support OpenGL. Could it be that you have no 3D drivers installed?


Argh!!! I just had to see the term GLX or OpenGL and I already know what the problem is... damnable X drivers - I've had too much experience of this but at least that means I should have a chance trying to fix this *sigh*

Thank you for your help... do you mind if I reply again with the general steps needed to make sure graphics drivers and X play nicely under Linux? Just in case someone else having the same problem should happen to search on here?

Thank you for your time :)

River Phoenix :)
RiverPhoenix
 
Posts: 48
Joined: Thu Jun 04, 2009 5:29 am

Re: Can't get past Java loading screen...

Postby loftar » Mon Jun 08, 2009 6:10 pm

RiverPhoenix wrote:do you mind if I reply again with the general steps needed to make sure graphics drivers and X play nicely under Linux?

Of course I don't mind. That would be nuts. :)
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't get past Java loading screen...

Postby RiverPhoenix » Mon Jun 08, 2009 8:39 pm

loftar wrote:Of course I don't mind. That would be nuts. :)


;)

Right - it turned out all I needed to do was to use the package manager to _remove_ all the nvidia drivers that had been installed by default, run "sudo dpkg-reconfigure xserver-xorg" and then reboot. Problem solved!

The reason this works is because the Nvidia drivers are default installed with Xubuntu (and probably Ubuntu, Kubuntu and Edubuntu as far as I can tell) but these are then loaded before the actual graphics drivers that you need for your machine (S3 SuperSavage in my case) - unfortunately the Nvidia drivers steal the GLX/DRI handles before your own cards drivers can get them which means that GLX doesn't load DRI properly for your card - though if you had an Nvidia card also in your machine (not in my laptop I don't) then it's work fine with that card...

Suffice it to say that most of this is guess work gleaned from the /var/log/X.org.log files and a bit of fiddling - the sudo command may not be necessary for you (though it was in my case :)

Usefully the command you need to find out what graphics card you have is "lspci" - "sudo lshw -C video" (give it a minute) will give you more details - possbily more than you needed to know! :)

Hope this comes in handy for anyone else with the same problem :)

River Phoenix :)
RiverPhoenix
 
Posts: 48
Joined: Thu Jun 04, 2009 5:29 am

Re: Can't get past Java loading screen...

Postby Tobel » Wed Jul 15, 2009 5:30 pm

Rather than start a new topic, I'll bring up this post as I'm having the same problem. Running Fedora distro, getting the same error at the beginning. Just downloaded the latest version of Java.

Is there anything anyone can see from my error report?
Tobel
 
Posts: 4
Joined: Tue Jul 14, 2009 5:27 pm

Re: Can't get past Java loading screen...

Postby loftar » Wed Jul 15, 2009 11:50 pm

It's a bit hard to tell, but it looks like some kind of OpenGL bug on your system, if I may say so. For the login screen, the client tries to load a texture that is 800x600, and therefore allocates a 1024x1024 texture buffer, which should require 1024*1024*4 = 2^12 = 4194304 bytes, but for some reason, the OpenGL implementation on your system demands 4227136 bytes of texture data when initializing it. I cannot think of a reason why it should want that, and that's why I'm having to ascribe it to your system, even though it feels like cheating.

In case you want to debug it further, here's the stacktrace:
Code: Select all
java.lang.IndexOutOfBoundsException
Required 4227136 remaining bytes in buffer, only had 4194304

Class                                   Function        File                    Line
com.sun.gluegen.runtime.BufferFactory   rangeCheckBytes BufferFactory.java      274
com.sun.opengl.impl.GLImpl              glTexImage2D    GLImpl.java             21167
haven.TexI                              fill            TexI.java               34
haven.TexGL                             create          TexGL.java              38
haven.TexGL                             render          TexGL.java              64
haven.Tex                               crender         Tex.java                64
haven.Tex                               crender         Tex.java                68
haven.GOut                              image           GOut.java               81
haven.Img                               draw            Img.java                28
haven.Widget                            draw            Widget.java             258
haven.LoginScreen                       draw            LoginScreen.java        171
haven.Widget                            draw            Widget.java             258
haven.RootWidget                        draw            RootWidget.java         48
haven.UI                                draw            UI.java                 68
haven.HavenPanel                        redraw          HavenPanel.java         227
haven.HavenPanel$1                      display         HavenPanel.java         51
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't get past Java loading screen...

Postby Tobel » Thu Jul 16, 2009 12:13 am

Thanks for the help. I'm not very good with Fedora yet, but I'll look around.

Any ideas off the bat on what I might need to do?
Last edited by Tobel on Thu Jul 16, 2009 12:24 am, edited 1 time in total.
Tobel
 
Posts: 4
Joined: Tue Jul 14, 2009 5:27 pm

Re: Can't get past Java loading screen...

Postby loftar » Thu Jul 16, 2009 12:48 am

Sorry, I haven't the slightest idea what might be wrong.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't get past Java loading screen...

Postby RiverPhoenix » Thu Jul 16, 2009 12:54 am

Tobel wrote:Any ideas off the bat on what I might need to do?


Have you anything that is giving errors or warnings in you /var/log/X.org.log file? If so fixing those might well get you on your way to fixing this, or a later, problem. Lines starting "EE" or "WW" (I think - it should tell you at the top of the file) are what to look for, if you're not sure what they mean I might be able to heklp if you can post tthem here or PM them to me :)

River :)
RiverPhoenix
 
Posts: 48
Joined: Thu Jun 04, 2009 5:29 am

Next

Return to Bugs

Who is online

Users browsing this forum: Barkrowler [Bot], Claude [Bot] and 0 guests