Forum

Bug report : Can't start standalone
You should be logged in to post a new reply.
July 25, 2012, 1:07 pm
Posts: 3
I get this error message when trying to start the game:

user@hostname:~/Downloads$ java -jar buildanddefend_standalone_full.jar
Create windows : 1024 x 768 : windowed
Can use full screen : false
Current display mode 1024 x 768 x 0 @0Hz
org.lwjgl.LWJGLException: X Error - disp: 0x7f1738194fc0 serial: 24 error: BadRequest (invalid request code or no such operation) request_code: 135 minor_code: 14
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:316)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:782)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:871)
at org.lwjgl.opengl.Display.create(Display.java:782)
at org.lwjgl.opengl.Display.create(Display.java:764)
at Achoum.LocalLuncher.b(Unknown Source)
at Achoum.LocalLuncher.a(Unknown Source)
at Achoum.LocalLuncher.main(Unknown Source)
Failed to initialize game.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f173dc11ee8, pid=3464, tid=139737818048256
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8.13
# Distribution: Debian GNU/Linux 6.0.4 (squeeze), package 6b18-1.8.13-0+squeeze2
# Problematic frame:
# C [libX11.so.6+0x3aee8] XQueryExtension+0x28
#
# An error report file with more information is saved as:
# /home/user/Pobrane/hs_err_pid3464.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#

I'm running Debian Squeeze (6.0.4) 64-bit. My netbook has a 1280x720 display, but the graphics driver only supports 800x600 and sound doesn't work...
July 25, 2012, 1:23 pm
Posts: 346
I am not an Linux expert but quickly (I will run some tests):
- Have you got a "real" graphic card?
- and is your Java virtual machine compiled in 32 or 64 bits?

Sound is normal I think....It's a mess in Linux.
July 25, 2012, 4:17 pm
Posts: 117
I haven't used Linux for a long time, but make sure you're using the lastest drivers for GPU and such.

EDIT;
If your drivers only support 800x600 but the game is trying to launch in a larger resolution, there's obviously a problem.
July 27, 2012, 9:37 pm
Posts: 3
I'll update this after i reinstall Debian and try again, because i *broke* this installation...
I was using Gnome, but then i tried KDE, Gnome got uninstalled and now i can't reinstall Gnome...
I was using the proprietary gfx driver, but i wanted to try the open source one which supports waking after sleeping...and now i can't go back. :P

I also have a normal computer with Debian 6.0.4 and B&D runs fine on it, but that is *completely* different hardware.

BTW, my netbook is an Acer Aspire One 522 (the 320GB and C50 version)
July 27, 2012, 10:25 pm
Posts: 346
The game runs with the library LWJGL. There are a lot of posts about compatibility problems in the internet. If there is a solution, it is probably in these posts.

Also, you can try to start some simple LWJGL examples to see if the library runs into your computer.
July 28, 2012, 8:01 am
Posts: 3
I've run Minecraft on this netbook before, and it worked well (maybe a bit laggy, but on multiplayer it was ok...), so i don't think it's something with LWJGL. I'll try to reinstall Debian today, install proprietary ATI driver (or the open-source one) and try to run B&D.
July 28, 2012, 10:06 am
Posts: 346
Okay, according to lwjgl.org/forum/index.php?topic=2889, LWJGL has had some bugs triggering the same problem. The thread is from 2009, so it might not be exactly this bug.

However, a new build of the LWJGL has been release 3 weeks ago. I'll use it in the next release of B&D.

In this other thread https://bbs.archlinux.org/viewtopic.php?pid=987799, some people have the same problem with mincraft (in 2011).
Two solutions have been proposed:
- switching from the jre to the openjdk.
- running the game as root.

This last solution seams to work for a lot of people.

Please keep me in touch with the results of these solutions.
You should be logged in to post a new reply.
Return