Not getting things to run right...

4 views
Skip to first unread message

Patrick Stein

unread,
Jun 30, 2011, 7:19:17 PM6/30/11
to Blackthorn Engine 3D
I was assuming that if I did 'make server' and then 'make client', I
would see something like the LKCAS demo videos.

I don't.

I hear some intro techno-babble in movie voice. I see a black
screen. If I hold down the 'X' key, I hear shooting noises and see
the slightest hint that there might be particle effects going on just
out of sight off the bottom of my window.

I am running under Mac OS 10.6.8 with the latest SDL, SDL_image, and
SDL_mixer frameworks (switched from my own compiled dylibs to the pre-
compiled frameworks to see if that helped).

Any clues? Environment variables that I need to set up? Things that
might be initialized differently with the OpenGL impl on the Mac vs.
Linux?

Thanks,
Patrick

Elliott Slaughter

unread,
Jul 5, 2011, 11:57:48 PM7/5/11
to blackthorn-eng...@googlegroups.com
Hm...

There shouldn't be any special environment variables or anything like that that need to be set up.

Did you compile cocoahelper yourself? (If so, which version of XCode are you using?)

Lisp compiler name and version and 32/64-bit-ness would also help.

I suppose it would also help to know the graphics card model and version since not all Mac laptops use Nvidia any more.

I suppose you could try the binaries from Lispbuilder (see link below, near the top of the page). I'm assuming that the binaries you got were from SDL's home page. These (except for cocoahelper of course) should not be significantly different, although I did tweak the loader paths a bit to make things work when they're not in /Library/Frameworks directory (or equivalent user directory).

My environment is Mac OS X 10.6.8 with a 64-bit SBCL 1.0.46 and the binaries supplied by Lispbuilder. My graphics card is a Nvidia 9400M, and it's not super new so hopefully anything that came out in the last couple years should be able to run it.
--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay

Patrick Stein

unread,
Jul 6, 2011, 12:39:22 PM7/6/11
to blackthorn-eng...@googlegroups.com

I am using SBCL 1.0.49.  Custom built with threading turned on.  I don't recall if I went 64-bit or not.  I will check when next at home.  I will also look at what graphics card I have.

I had compiled my own frameworks for SDL.  Then, I fought with SDL_image for hours trying to get it to quit freaking that I didn't compile in TIFF support.   I gave up and downloaded precompiled from SDL's site and put them in /Library/Frameworks/.   I can try the lispbuilder ones instead.

I installed lispbuilder stuff by ql:quickload on blackthorn.  I built cocoahelper by hand (but may have done that from libraries instead of frameworks... will check).

More later....

-- Patrick <p...@nklein.com>

Elliott Slaughter

unread,
Jul 17, 2011, 4:15:26 PM7/17/11
to blackthorn-eng...@googlegroups.com
Any luck with this Patrick?

Patrick Stein

unread,
Jul 17, 2011, 4:29:50 PM7/17/11
to blackthorn-eng...@googlegroups.com, blackthorn-eng...@googlegroups.com
Haven't actually tried yet.... Maybe tonight...

-- Patrick <p...@nklein.com>

Patrick Stein

unread,
Jul 22, 2011, 2:19:56 AM7/22/11
to blackthorn-eng...@googlegroups.com

Finally got a chance to try this again tonight.  I did indeed have my cocoabuilder still compiled against libraries instead of the frameworks.  I have rebuilt it and deleted my libraries.  Still, no dice.  I'm not sure what's up.  I get sound effects.  The server says that I'm dying rapidly over and over again.  I see nothing.

I've attached the server and client output in case something jumps out as wrong.

I have verified that the lispbuilder-opengl-examples:opengl-gears show up.  So, maybe my graphics card doesn't support the shaders?  I dunno.

... Patrick

client.log
server.log

Elliott Slaughter

unread,
Jul 26, 2011, 1:39:08 AM7/26/11
to blackthorn-eng...@googlegroups.com
Have you told us what your graphics card is? Could be hardware related, although I believe we're still using OpenGL 2.x in the code, which is not exactly new....

It might help if you copy the output you get out the client. Amidst the spew from the loader there should be some OpenGL diagnostic info which might help.

On my MacBook, for example, I get the following:

GL Version: 2.1
GLSL Version: 1.20

... Patrick

Elliott Slaughter

unread,
Jul 26, 2011, 1:42:31 AM7/26/11
to blackthorn-eng...@googlegroups.com
Ah shoot, I missed the logs that were already attached to your email.

Looks like you're reporting the same OpenGL and GLSL version as me.

Still would like to know the graphics specs in case there is a difference there (or just remind me if I'm failing at reading my email again :-)).
Reply all
Reply to author
Forward
0 new messages