Forums

Full Version: Mac TODO List
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
http://vdrift.net/Forum/viewtopic.php?t=574
http://vdrift.net/Forum/viewtopic.php?t=719

• 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:
http://vdrift.net/Forum/viewtopic.php?t=819
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:
http://vdrift.net/Forum/viewtopic.php?t=879

• Shaders 10.4 [FIXED!]
they don't render properly (see screenshot in linked thread):
http://vdrift.net/Forum/viewtopic.php?t=734

• 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.
http://vdrift.net/Forum/viewtopic.php?t=820

• 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:
http://vdrift.net/Forum/viewtopic.php?t=820

• 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"
http://vdrift.net/Forum/viewtopic.php?t=819
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).
I set up an issue tracker on sourceforge and entered the bugs above:

http://sourceforge.net/tracker/?group_id...id=1015284

I'll work on populating it with more issues.
bump, i've updated the info above.