home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


OSX Leopard 10.5 - hud in wrong place

by a baby rabbit on 10/28/2007 16:07, 34 messages, last message: 02/07/2009 07:48, 7723 views, last view: 05/02/2024 17:17, closed on 02/07/2009 09:11

For those apple users who are now running leopard you may be seeing this:

http://www.hillrippers.ch/temp/SauerOnLeopard.jpg

i.e. with the hud in a weird place, odd startup/progress screens, and in addition a few subtle bugs related to occlusion culling.

The current solution (until whenever the next Sauer release) is as follows:

Go to the "/sauerbraten/data/" folder and edit "std_shader.cfg" (with textedit will do)

Starting at about line 8 in this file is:

vpstart = [
!!ARBvp1.0
OPTION ARB_position_invariant;
ATTRIB opos = vertex.position;
]

Replace the above with the following:

vpstart = [
!!ARBvp1.0
ATTRIB opos = vertex.position;
OUTPUT rpos = result.position;
DP4 rpos.x, state.matrix.mvp.row[0], opos;
DP4 rpos.y, state.matrix.mvp.row[1], opos;
DP4 rpos.z, state.matrix.mvp.row[2], opos;
DP4 rpos.w, state.matrix.mvp.row[3], opos;
]

-
If people running leopard can confirm/deny that they have the bug, and if so that this fixes it then that would be useful (provide system specs).

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by Der/Nalia on 10/28/2007 19:22

i have leopard and i don't have that problem.


vpstart = [
!!ARBvp1.0
OPTION ARB_position_invariant;
ATTRIB opos = vertex.position;
]

reply to this message

#2: ..

by Der/Nalia on 10/28/2007 19:24

Forgot the specs

Mac OS X 10.5.0 Leopard
MacBook Pro First Gen
ATI Radeon x1600
2GB ram
2.16 GHz Intel Core Duo

reply to this message

#3: Re: ..

by SanHolo on 10/28/2007 19:37, refers to #2

Weird. For comparison, here my specs (I had that bug)

Mac OS X 10.5.0 Leopard (9A581)
MacBook Pro Second Gen
ATI Radeon X1600 M
2GB RAM
2.33 GHz Intel Core 2 Duo

reply to this message

#4: ..

by SanHolo on 10/28/2007 19:48

Weird, something else changed with Leopard:
Until now, I had to switch my Dvorak-Layout to GB in order to play WASD (and not having to re-assign all keys), now it works just fine - I can play with WASD in Dvorak as if I was on a GB Layout, but when I type a message, the layout really is Dvorak. Nice! :)

reply to this message

#5: Re: ..

by a_baby_rabbit on 10/28/2007 20:11, refers to #1

Are you running from CVS? It was patched in there today.

Meanwhile given the bug was occuring on a relatively modern intel macbookpro and on my much older ppc desktop I was assuming the bug was rather pervasive.

reply to this message

#6: Re: OSX Leopard 10.5 - hud in wrong place

by nchristus on 10/28/2007 21:45, refers to #5

Thanks. So far, this was the only bug I\'ve experienced in Leopard.

Mac OS X 10.5 (9A581)
iMac 2.0 GHz Intel Core Duo
1 GB RAM
ATI Radeon X1600

reply to this message

#7: ..

by Leek on 10/29/2007 14:14

Hi!
I can confirm I had that bug with Leopard.

Specs :

Mac OS X 10.5 Gold Master (9A581)
MacBook Pro 15 inch
Core 2 Duo 2.16Ghz
Radeon X1600 (EFI Driver 01.00.158)

The fix mentioned here worked nicely!
Thanks.

reply to this message

#8: Re: ..

by Der/Nalia on 10/29/2007 18:45, refers to #7

How come i don't have this bug? I don't understand....

reply to this message

#9: ..

by abs1nth on 10/29/2007 21:22

i had the bug too:

MacPro
ATI Radeon X1900XT

reply to this message

#10: off topic

by Gilt on 10/30/2007 13:38

oh, that new mac os has dtrace, doesn't it? has anybody used it on sauerbraten yet?

i was thinking of porting sauerbraten to solaris the other day, because of dtrace. maybe even insert one or two probes for cubescript! that would be quite interesting.

reply to this message

#11: Re: off topic

by a baby rabbit on 10/30/2007 14:53, refers to #10

The debugging/tracing experience on leopard is now just awesome - http://www.macs.hw.ac.uk/~rpointon/saue/instruments.gif

I've been trying to get up to speed with it all - email me if you have any particular things you'd like me to dig into...

reply to this message

#12: Re: off topic

by Gilt on 10/30/2007 15:20, refers to #11

yeah dtrace in a fine piece of tech. it does to debugging/tracing what sauerbraten does to map editing.

I don't have anything right now, I just want to play around with it, and am somewhat jealous. I should get around to setting up my home pc for solaris...

reply to this message

#13: other problems...

by nickells on 11/05/2007 04:59

I\'ve also found that on map sizes 14 or larger... it gets really messed up.

This is a default newmap 14.
http://img513.imageshack.us/img513/8652/picture1ax5.png
http://img513.imageshack.us/img513/367/picture2gt5.png
http://img513.imageshack.us/img513/1873/picture3iv9.png

I have an early 2006 Core Duo iMac, with a Radeon x1600 with 128 MB VRAM.

reply to this message

#14: Re: other problems...

by eihrul on 11/05/2007 11:55, refers to #13

This is a z-buffer precision issue. Maybe try "zpass 0" in your autoexec.cfg. Or try using setting the z-buffer precision to 24 bits if it is somehow only defaulting to 16 (there should be an option to do that in Options -> Display -> z-buffer depth").

reply to this message

#15: Re: other problems...

by A-Baby_Rabbit on 11/05/2007 18:05, refers to #14

Thats very weird - the mac launcher automatically requests 24bit precision z-buffer, because experience has shown that ATI on mac likes to be dumb and pick 16.

Can I confirm that this is on leopard (and not on tiger) - it would be best to keep this thread on-topic and about leopard issues for now...

reply to this message

#16: Re: other problems...

by SanHolo on 11/05/2007 20:21, refers to #15

His HUD is off-place like it was for me, so I guess this is Leopard.

reply to this message

#17: Re: other problems...

by A-Baby_Rabbit on 11/06/2007 10:36, refers to #16

Ok, after some testing I also get the problem with z-precision - but only if I play *without* the bug fix as outlined at the start of this thread.

reply to this message

#18: ..

by Der/Nalia on 11/06/2007 16:52

if anybody wants, I can send you my CVS build on leopard. it works. ^_^

my email is segolp@rose-hulman.edu

reply to this message

#19: ..

by Der/Nalia on 11/09/2007 18:54

i have found that in the release version, if you turn off shaders, the hud goes into the correct place.

reply to this message

#20: Doesn't start at ALL in Leopard

by blotner on 11/09/2007 23:58

It starts, seems to load into mtl4 or that first map, and it just stays at the very last stage, stuck at the word, mtl4. I have a pb 1.5ghz aluminum, 1 gig ram

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Thread closed!

This thread has been closed, which is why you can't post any more messages in it.


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53828187 visitors requested 71600768 pages
page created in 0.016 seconds using 10 queries
hosted by Boost Digital