Forums
Latest SVN, OS X And Audio? - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Latest SVN, OS X And Audio? (/showthread.php?tid=703)

Pages: 1 2


Latest SVN, OS X And Audio? - reece146 - 06-28-2007

Sorry if I'm out of the loop on this...

What's the poop with audio with the SVN version under OSX/PPC? Is audio working now or is it still broken?

Just wondering if I should update or not.

Thanks.


Re: Latest SVN, OS X And Audio? - abs1nth - 06-29-2007

reece146 Wrote:Sorry if I'm out of the loop on this...

What's the poop with audio with the SVN version under OSX/PPC? Is audio working now or is it still broken?

Just wondering if I should update or not.

Thanks.

it's working halfway now Wink
no more random static, single sound files are played fine but since there are still problems with the mixing there are still annoying mis-tones.


Re: Latest SVN, OS X And Audio? - reece146 - 06-29-2007

abs1nth Wrote:it's working halfway now Wink
no more random static, single sound files are played fine but since there are still problems with the mixing there are still annoying mis-tones.

Thanks for the update. I guess I'll keep the old one around for a while.

I read in the other thread that your PPC machine died. If you need someone to run some code snippets for testing go ahead and send them to me and I'll try what I can.


- abs1nth - 06-30-2007

thanks, i'll let you know if that becomes necessary.


Re: Latest SVN, OS X And Audio? - kidrock - 07-11-2007

reece146 Wrote:
abs1nth Wrote:it's working halfway now Wink
no more random static, single sound files are played fine but since there are still problems with the mixing there are still annoying mis-tones.

Thanks for the update. I guess I'll keep the old one around for a while.

I read in the other thread that your PPC machine died. If you need someone to run some code snippets for testing go ahead and send them to me and I'll try what I can.

I can help run some snippets to :wink: :wink:


- cotharyus - 08-03-2007

Is anyone having problems with the current svn?

lauasanf@spider(/Applications/vdrift.app/Contents/MacOS)$ ./vdrift
Found config file /Users/laurencesanford/Library/Preferences/VDrift/controls.
Found config file /Users/laurencesanford/Library/Preferences/VDrift/VDrift.config.
Version of game: 2007-08-03
Skin name not found in config file...
Directory /Applications/data/skins/.svn/menus does not exist! Skin .svn not loaded.
Directory /Applications/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Warning: option-47 is missing its default value. Assuming "".
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
1 joystick(s) found:
0. GGE909 PC Recoil Pad
Extension not supported: GL_ARB_multisample
Card supports: drawbuf1 auxbuf0 anisotropy4 cubemapping shaders multitexturing16 texture_rectangle depth_texture shadow framebuffer_objects
Card does not support: antialiasing
Status: Using GLEW 1.4.0
Fragment shaders enabled
Loaded shader package simple
62
----- Start Shader Log for full -----
ERROR: One or more attached shaders not successfully compiled

----- End Shader Log for full -----
Loaded shader package full
Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 1024
Size: 4096

EXCEPTION: /Users/laurencesanford/Projects/vdrift/tools/osx/../../src/3dmath.cpp, line 761: vertex length is negative..??: nan
nan
nan
nan


- joevenzon - 08-04-2007

Do you have the latest data repository? We recently changed our build setup a bit so that the data folder has its own SVN repository. To check it out, first delete all of the files in your old data folder, then run:

Code:
svn co https://vdrift.svn.sourceforge.net/svnroot/vdrift data



- alex25 - 08-04-2007

cotharyus Wrote:Is anyone having problems with the current svn?

EXCEPTION: /Users/laurencesanford/Projects/vdrift/tools/osx/../../src/3dmath.cpp, line 761: vertex length is negative..??: nan
nan
nan
nan

yeah, i see the same thing at monza and i think lemans. the following patch fixed it for me:

Code:
--- src/3dmath.cpp      (revision 1794)
+++ src/3dmath.cpp      (working copy)
@@ -730,6 +731,7 @@
        //optimization!
        if (x == 0 && y == 0 && z == 0)
                return 0;
+       if (isnan(x) || isnan(y) || isnan(z)) return 0;

        float sl = x*x+y*y+z*z;

but i still haven't figured out why x,y,z are nan in the first place.

--alex--


- cotharyus - 08-08-2007

Yea Joe, I've got the latest data. In fact, the interesting thing is, this data set works with the last OS X release, but not with the current SVN.

Thanks alex, I'll take a look at that.


- joevenzon - 08-08-2007

Oh yeah, since we merged the scenegraph branch into SVN a lot of the tracks don't work yet. Laguna Seca does for sure, but I haven't gone through and fixed the others yet. See this list:
http://vdrift.net/Forum/viewtopic.php?p=5423#5423
for all of the things that haven't been fixed.


- cotharyus - 08-11-2007

Tested Laguna Seca. It starts, it runs, but it the collision code is nuts. If you can tell me where the replay is stored, I'll upload it somewhere so you can watch it.


- cotharyus - 08-12-2007

Is there a list of tracks that need fixing and have collision code issues? If not, I'll put one together. I have a couple that still crash the latest svn while loading, and a few that just go ape when you run into a wall even at low speeds.


- joevenzon - 08-13-2007

I don't think there's a list yet, but putting one together sounds good (also note exactly what the error is -- probably NaN or texture not found).


- cotharyus - 08-14-2007

Yes, this is exactly what I'm working on, as well as some comments about other things - for instance, when I first load a track, for about the first half a lap, it seems like if I let off the gas, the brake comes on - even to the point of the ABS light coming on. I'm also commenting about tracks with the big lurching bumps, etc. So the list is in progress....along with a few other things.


- joevenzon - 08-14-2007

About the brakes -- that sounds like an issue with your controller. Are you using a wheel, joystick, gamepad...? Might want to recalibrate, then crank up the deadzone on the gas/brakes to 10%.