Mac TODO List - Printable Version

+- Forums (
+-- Forum: Project (
+--- Forum: Development (
+--- Thread: Mac TODO List (/showthread.php?tid=819)

Mac TODO List - abs1nth - 11-22-2007

since i won't have (much) time in the coming weeks (months?) for vdrift i thought i'd at least summarize the current release-blocking problems on the mac side of things that i'm aware of:

• Sound on Big Endian:
after the last release we switched from OpenAL sound to a new sound engine based on SDL. i invested some time porting this to Big Endian, but some problems remain and i don't have a Big Endian machine left now. it might be particularly interesting to determine why the approach of pre-swapping the buffer on read-in doesn't (seem to) work. currently in-tree is is the approach to swap in all the other routines but some swap must still be missing.
(note that this affects all big-endian machines, not just powerpc macs)
some discussion here:

• Shaders
it seems that at least 10.4 likes to fallback to software rendering when doing heavy GLSL, which must be prevented at all costs, i added some codeline to try to prevent the software-fallback, somehow it must be determined if this was effective.
also some integrated chipsets like the GMA950 even crash when shaders are enabled, so they should be disabled automatically:
UPDATE: it seems the at least the GMA950 and the Radeon 9600 crash with shaders under osx altough they should support it. we default to shaders=off for now:

• Shaders 10.4 [FIXED!]
they don't render properly (see screenshot in linked thread):

• Shaders 10.5
supposedly the GLSL implementation in leopard has major improvements, but it seems there are severe problems left. running vdrift svn with shaders and shadows causes reproducible kernel panics on my machine on 10.5 and 10.5.1, i've filed a bug with apple. running without shadows is fine. kidrock reports also (normal) crashes with shaders&leopard.

• NaN crash [FIXED!]
me and cotharyus have seen crashes on some cars resulting in this:
Frame axis_angle conversion resulted in: nan,nan,nan,nan
Angle is: nan
EXCEPTION: Vamos_Body::Frame::axis_angle produced NaN axis angle
discussion also here:

• selected_car Crash [FIXED!]
so far only i have been getting this behavior, but if selected_car is C7 and i restart vdrift, i'm in trouble with either:
"EXCEPTION: vdrift/tools/osx/../../src/textures.cpp, line 489: Error loading texture file: c (vdrift/data/c)"
"terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create"

- joevenzon - 11-24-2007

Excellent; very comprehensive. This is also a reminder that I need to get some kind of issue tracking system set up (trac, google code, whatever).

- joevenzon - 11-24-2007

I set up an issue tracker on sourceforge and entered the bugs above:

I'll work on populating it with more issues.

- abs1nth - 01-30-2008

bump, i've updated the info above.