Home News Features Games Authoring Community Forums About Contact
   

May 23, 2013, 11:19:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: bug: Segfault on Zbuffer maker on ubuntu 11.04 (binaries)  (Read 2241 times)
elmyr
Newbie
*
Offline Offline

Gender: Male
Posts: 10

http://www.javiergalanrico.com


WWW
« on: September 05, 2011, 04:14:42 PM »

The zbuffer creator just crashed when tried to create a new file from .tga (after clicking over that option)

It seems to run properly when open an already created .zbu file.

Running all the sludge tools over ubuntu 11.04 natty narwhal using the 2.1.1 binaries.

thanks!
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #1 on: September 06, 2011, 04:04:09 AM »

Thanks for reporting. I can reproduce the bug and will fix it.
Logged
elmyr
Newbie
*
Offline Offline

Gender: Male
Posts: 10

http://www.javiergalanrico.com


WWW
« Reply #2 on: September 06, 2011, 09:33:43 AM »

Thank you Smiley

I'll be waiting for the fixing!
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #3 on: September 07, 2011, 10:40:02 AM »

It should be fixed in SVN now. See here for instructions.
Logged
elmyr
Newbie
*
Offline Offline

Gender: Male
Posts: 10

http://www.javiergalanrico.com


WWW
« Reply #4 on: September 07, 2011, 10:14:26 PM »

Thank you for the quick fixing...

Tried to compile using the guide but found that ugly errors when compiling:

Making all in Engine
make[3]: se ingresa al directorio «/home/javi/sludge/sludge-svn/opensludge/source/Engine»
  CXXLD  sludge-engine
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [sludge-engine] Error 1

Clues are welcome Smiley

Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #5 on: September 08, 2011, 03:07:01 AM »

Which gfx card and driver are you using?

EDIT: Looks like the file libGL.so is not found. Please show you output of

Code:
find /usr/lib -name libGL.so*

If that only finds files like libGL.so.x, install the -dev package belonging to the package containing these files.
« Last Edit: September 08, 2011, 12:17:16 PM by BigMc » Logged
elmyr
Newbie
*
Offline Offline

Gender: Male
Posts: 10

http://www.javiergalanrico.com


WWW
« Reply #6 on: September 08, 2011, 07:31:33 PM »

I'm using an NVIDIA GeForce 9800 GT.

Finally I could compile it successfully after installing libgl1-mesa-dev...but I'm unable to run from the project manager the next modules/programs:

-Sprite Bank Editor
-Zbuffer Maker
-Floor Maker

Either from the command line...I paste some output that console spat:

"Cannot configure a double-buffered context.
Will try a single-buffered context.

** (sludge-zbuffermaker:18306): CRITICAL **: Aargh!  Cannot configure any type of OpenGL-capable context. Exiting."

Thanks for your time
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #7 on: September 09, 2011, 12:06:49 PM »

Does it work if you compile SLUDGE 2.1.1 yourself? Are you sure you still have a graphics driver with 3d acceleration installed? Does the engine work?
Logged
elmyr
Newbie
*
Offline Offline

Gender: Male
Posts: 10

http://www.javiergalanrico.com


WWW
« Reply #8 on: September 09, 2011, 02:44:38 PM »

Maybe I did something wrong during the massive installation of dev packages, but suddenly, the graphic acceleration turned off... nor sludge engine running, neither apps like blender... (something about missing GLX acceleration).

Everything runs fine after reinstalling the nvidia official drivers, and of course, using the latest SVN checkout compiled by myself.

Tested the zbuffer creator using an 1500x1000 indexed .tga and it seems to run properly Smiley

Puzzle solved!

Thank you!
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #9 on: September 09, 2011, 04:35:17 PM »

I think you have switched to the mesa driver by installing libgl1-mesa-dev. I guess when using the nvidia driver, libGL.so can be installed with another package. That's why I was describing that so vaguely.

Anyhow, have fun with SLUDGE and tell us if you accomplish anything. Smiley
Logged
Komentaja
Newbie
*
Offline Offline

Posts: 2


« Reply #10 on: September 16, 2011, 04:43:42 AM »

I'm not sure if this is the right thread, but I'm having the same problem on Windows 7 64-bit. I just downloaded SLUDGE yesterday, but the Zbuffer maker crashes every time I try to create a new file.
Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1162



WWW
« Reply #11 on: September 16, 2011, 02:03:58 PM »

That would be the same problem, yes, so the same fix applies. But as you're on Windows you're probably not willing to compile from the source in SVN. If that's the case, you'll find it fixed in the next release.

(We aught to do a minor release soon, btw. Tobias has been wanting to do that for a while. I've been hoping to finish up the video playing first, but this bug seems reason enough to put a release together even though not much has happened since the previous one.)
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Komentaja
Newbie
*
Offline Offline

Posts: 2


« Reply #12 on: September 17, 2011, 07:29:23 PM »

Thank you. Yeah, I've always been a Windows user so I'm not really used to compiling programs myself. Might just make things worse.

I really like Sludge and it seems to work fine (other than that bug). Looking forward to the new release. :)
Logged
PhillineDon87
Newbie
*
Offline Offline

Posts: 5


« Reply #13 on: September 29, 2011, 09:01:41 PM »

Thank you for the fixing! I hope it runs properly when I use it. I have just some few questions.  Which gfx card and driver are you using?
Logged

BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #14 on: September 30, 2011, 04:30:37 AM »

Why and whom do you ask? I saw this bug on an Intel card on Linux and on a ATI card on Windows, so it is independent of the graphics card.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
 
Unauthorised reproduction of anything on this website is not allowed without our written consent.
Materials on this site are the property of their respective owners. Copyright © Adventure Developers. All rights reserved.