Mythruna crashing on start, maybe because of DXT compression?

Hi

Mythruna starts loading a landscape (I can see at least the red-blue sky as shown in In Game Sample Views - Mythruna Wiki), but this view crashes after ~ 0.1 seconds (or even less, may take longer on systems without SSD) with runtime exception. This occurs independently from screen resolution or windowed/fullscreen mode



My Hardware:

Core i5 650, 2×3,2GHz, iGPU (http://ark.intel.com/Product.aspx?id=43546&processor=i5-650&spec-codes=SLBLK,SLBTJ) supporting OpenGL 2.1

Asus P7H55-M/USB3 (http://www.asus.com/product.aspx?P_ID=MQ8YxXaDG7Thb93E&templete=2)

Monitor (AOC e2239Fwt) connected with HDMI



My Software:

Ubuntu 10.10 Desktop, 64Bit

libgl1-mesa-glx 7.9

libgl1-mesa-dri 7.9

kernel: 2.6.35

Java: Sun 6.24



The problem may be that Mythruna uses DXT (see http://hub.jmonkeyengine.org/groups/graphics/forum/topic/problems-with-core-i5-igpu/?topic_page=1&num=15)



Console output and error report are zipped: http://rapidshare.com/files/454611286/Mythruna-20110309-error.zip

Ok, the first shader error I just don’t understand. In the jme tests, does the point cloud demo/test work for you? It’s weird that it isn’t finding gl_PointCoord since that should just be there. And I cribbed this code directly from JMEs particle stuff… so theoretically that point cloud thing should fail the same way.



The second problem is because of yet another place I have a 0 instead of a 0.0… sometimes shader programming is a real pain.

sometimes shader programming is a real pain.


I hear ya!

@pspeed: which point cloud demo/test do you mean?

TestPointSprite… if you run the jMonkeyEngine3.jar and scroll down through the tests, it’s down near the other particle effect stuff, I think.

jMonkeyEngine3.jar does not start (neither from Mythruna 20110309 nor jMonkeyPlatform Alpha 4 libs):



./jMonkeyEngine3.jar

Exception in thread "main" java.lang.NoClassDefFoundError: jme3test/TestChooser

Caused by: java.lang.ClassNotFoundException: jme3test.TestChooser

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Could not find the main class: jme3test.TestChooser. Program will exit.





Starting TestPointSprite from jMonkeyPlatform Alpha 4 (about 1 week old) runs without problems, at ~12 FPS at 1920x1080 fullscreen, 60FPS at 320x240 (windowed).

anouser said:
jMonkeyEngine3.jar does not start (neither from Mythruna 20110309 nor jMonkeyPlatform Alpha 4 libs):

The distro jar of jME3 doesn't include the tests and test data (which would be kinda silly) ;)
normen said:
The distro jar of jME3 doesn't include the tests and test data (which would be kinda silly) ;)

Yes...
anouser said:
Starting TestPointSprite from jMonkeyPlatform Alpha 4 (about 1 week old) runs without problems, at ~12 FPS at 1920x1080 fullscreen, 60FPS at 320x240 (windowed).


Thanks... that gives me something to go on then.

I'm guessing that you see a big cloud of white blobs when you run it and not just a black screen. :)
pspeed said:
I'm guessing that you see a big cloud of white blobs when you run it and not just a black screen. :)

Right, a cloud of white blobs flickering around

Flickering?

Yes.

Here is a screen video:

http://cid-bd01334e6186501a.office.live.com/self.aspx/jME3/test-0000.mpeg

(ignore first second, it was the first time I used xvidcap)

Thanks for taking the time to capture and upload a video. Unfortunately, I can’t find a player here on Windows that likes it.



The TestPointSprite app doesn’t do anything I would call “flickering” normally. It’s just a big box of little smoke puffs packed in tightly together.



…however, the fact that it runs at all is useful in my figuring out why mine doesn’t. Even if my stars end up flickering, that’s better than crashing. :slight_smile:

pspeed said:
Thanks for taking the time to capture and upload a video. Unfortunately, I can't find a player here on Windows that likes it.

vlc should be able to read it
nehon said:
vlc should be able to read it


Well, if the video is showing a problem then it's a problem with the TestPointSprite app... and I don't have time to debug that one at the moment. :)

I do plan to see what I do differently that makes Mythruna crash... but I'd be happy with flickering if that's all the problems I had.

I did see one update to the point sprite stuff since I forked it for my own purposes and I’ve incorporated that. So hopefully this coming Monday’s build will work better.

Mythruna now runs without problems after updating Ubuntu to 11.04 (from 10.10). Maybe mesa or intel driver were the reason.

Mythruna runs with ~12 fps @ 1280x720@24bit (default settings) which is ok for my iGPU :wink:



Fascinating graphics quality, fascinating details (clouds moving, sun taking its path from east (morning) to west (evening)…

Thank you!

besides: no matter which version, 20110309, 20110411, 20110415, 20110420, 20110430 (tested) and maybe some others work for me now. :slight_smile:

That’s excellent. Glad you can play now. :slight_smile: You should log into the server some time and see the crazy things people have built. :slight_smile:

Which server? (host name or IP adress)