Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-11-15 Thread Tatsuhiro Nishioka
Hi, I uploaded the latest FlightGear/CVS at sourceforge. You can get it from: http://macflightgear.sourceforge.net/home/downloads/ Clicking FlightGear-cvs-bin-20081116.dmg at the middle of the webpage for getting the dmg file. This version includes the bug fix for nVidia GeForce 7300GT. It als

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-11-11 Thread Tatsuhiro Nishioka
On Nov 11, 2008, at 7:25 PM, James Turner <[EMAIL PROTECTED]> wrote: > >> This problem didn't happen on the iMac that I tested. >> So this may be a processor related issue. >> >> > > Going to do more testing on this issue today, but could you also > humour me by creating a new CVS build on macfligh

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-11-11 Thread James Turner
On 31 Oct 2008, at 01:33, Tatsuhiro Nishioka wrote: > This problem didn't happen on the iMac that I tested. > So this may be a processor related issue. > > Could you tell me what compiler options did you specify? > I wonder if this problem happens when you specify no optimization > including -O

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Csaba Halász
On Fri, Oct 31, 2008 at 12:51 AM, James Turner <[EMAIL PROTECTED]> wrote: > > This is why I think there's some memory corruption going - something > is trashing the RTTI data associated with the object, is my feeling. Have you tried to dump the RTTI type of the object? I'd print something like typ

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Tatsuhiro Nishioka
On Oct 31, 2008, at 8:51 AM, James Turner wrote: > > So, I can confirm that disabling hardware mip-map generation does fix > my initial issue on the 7300 GT, which is great news. Unfortunately, > my secondary issue is still present: Great to hear that at least the first one is solved :-) > >

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread James Turner
On 30 Oct 2008, at 18:22, James Turner wrote: > Having some weirdness here - using OSG in Debug mode, it appends a > 'd' suffix to the library and plugin names. Fair enough, except at > runtime, it's failing to load any of the plugins, since it's looking > for names without the 'd'. Eg 'osg

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Tatsuhiro Nishioka
On Oct 31, 2008, at 1:32 AM, Csaba Halász wrote: > No, that's actually the software fallback method. OSG disables > non-power-of-two for Radeon. > >if (rendererString.find("Radeon")!=std::string::npos || > rendererString.find("RADEON")!=std::string::npos) >{ >_isNonPowerOfTwoTextur

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Tatsuhiro Nishioka
On Oct 31, 2008, at 1:32 AM, Csaba Halász wrote: > On Thu, Oct 30, 2008 at 5:18 PM, Tatsuhiro Nishioka > <[EMAIL PROTECTED]> wrote: >> >> I also tested A6M2 with resized panel.rgb (500x500) and it worked properly. >> The log file showed: >> >> Scaling image '/data/Aircraft/A6M2/Models/panel.rgb' f

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread James Turner
On 30 Oct 2008, at 16:58, James Turner wrote: No, it's fine, I should switch to svn OSG in any case. Having some weirdness here - using OSG in Debug mode, it appends a 'd' suffix to the library and plugin names. Fair enough, except at runtime, it's failing to load any of the plugins, sinc

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread James Turner
On 30 Oct 2008, at 16:22, Tatsuhiro Nishioka wrote: > If you need the patch for osgdb_qt instead of entire OSG/svn, please > let me know. > I'll send it to you (though I didn't test it on OSG 2.6.0). No, it's fine, I should switch to svn OSG in any case. James --

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Csaba Halász
On Thu, Oct 30, 2008 at 5:18 PM, Tatsuhiro Nishioka <[EMAIL PROTECTED]> wrote: > > I also tested A6M2 with resized panel.rgb (500x500) and it worked properly. > The log file showed: > > Scaling image '/data/Aircraft/A6M2/Models/panel.rgb' from (500,500) to > (512,512). > > Now I can tell that OSG

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Tatsuhiro Nishioka
If you need the patch for osgdb_qt instead of entire OSG/svn, please let me know. I'll send it to you (though I didn't test it on OSG 2.6.0). Tat On Oct 30, 2008, at 10:10 PM, Csaba Halász wrote: > On Thu, Oct 30, 2008 at 12:36 PM, James Turner <[EMAIL PROTECTED]> wrote: >> >> Trying to test thi

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Tatsuhiro Nishioka
On Oct 31, 2008, at 12:01 AM, Csaba Halász wrote: >> Just a quick hunch that might be totally unrelated, but I noticed some >> textures are not a power of two (128, 256, 512, 1024, etc pixels). OSG >> tries to convert these textures to a power of two, but maybe the test >> that tries to determine i

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Csaba Halász
On Thu, Oct 30, 2008 at 2:54 PM, Erik Hofman <[EMAIL PROTECTED]> wrote: > > Just a quick hunch that might be totally unrelated, but I noticed some > textures are not a power of two (128, 256, 512, 1024, etc pixels). OSG > tries to convert these textures to a power of two, but maybe the test > that

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Erik Hofman
Csaba Halász wrote: > On Thu, Oct 30, 2008 at 12:36 PM, James Turner <[EMAIL PROTECTED]> wrote: >> Trying to test this patch, getting a different hang (sort of) now, >> where the program is halting on a 'throw' inside OSG - in the Qt image >> loader, trying to load the C172's clock.rgb. I'm using

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread Csaba Halász
On Thu, Oct 30, 2008 at 12:36 PM, James Turner <[EMAIL PROTECTED]> wrote: > > Trying to test this patch, getting a different hang (sort of) now, > where the program is halting on a 'throw' inside OSG - in the Qt image > loader, trying to load the C172's clock.rgb. I'm using the OSG 2.6.0 > sources,

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-30 Thread James Turner
On 29 Oct 2008, at 14:37, Tatsuhiro Nishioka wrote: > Let's pass the ball among us a bit more. > > Enclosed is a Fix-it-for-Mac-with-GeForce-7300GT-only kinda patch > for OpenSceneGraph/src/osg/Texture.cpp. > This is just to disable hardware mipmapping when Renderer is "NVIDIA > GeForce 7300

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-29 Thread Tatsuhiro Nishioka
Oops, that was osgtexture2D, not 3D. Sorry for my and iPhone's typo. :-p Let's pass the ball among us a bit more. Enclosed is a Fix-it-for-Mac-with-GeForce-7300GT-only kinda patch for OpenSceneGraph/src/osg/Texture.cpp. This is just to disable hardware mipmapping when Renderer is "NVIDIA GeForce

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-29 Thread Csaba Halász
On Wed, Oct 29, 2008 at 11:00 AM, Tatsuhiro Nishioka <[EMAIL PROTECTED]> wrote: > Hi, > > On Oct 28, 2008, at 9:30 AM, "Csaba Halász" <[EMAIL PROTECTED]> > wrote: > >> On Mon, Oct 27, 2008 at 11:28 PM, James Turner <[EMAIL PROTECTED]> >> wrote: >>> >>> I'm still mystified by the bug - all the OSG e

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-29 Thread Tatsuhiro Nishioka
Hi, On Oct 28, 2008, at 9:30 AM, "Csaba Halász" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 27, 2008 at 11:28 PM, James Turner <[EMAIL PROTECTED]> > wrote: >> >> I'm still mystified by the bug - all the OSG examples work for me. > > Does that include the osgtexture2D example? Tat's call stack ha

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-27 Thread Csaba Halász
On Mon, Oct 27, 2008 at 11:28 PM, James Turner <[EMAIL PROTECTED]> wrote: > > I'm still mystified by the bug - all the OSG examples work for me. Does that include the osgtexture2D example? Tat's call stack has the mipmap generation in it, that's why I am wondering ... Make sure you zoom in/out. -

Re: [Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-27 Thread James Turner
On 27 Oct 2008, at 19:18, Tatsuhiro Nishioka wrote: I've received some reports that FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT driver. The reports said that FlightGear 1.0.0 works fine on these machines. The crash log indicates that it crashes inside GeForceDriver, but I'm not s

[Flightgear-devel] FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT

2008-10-27 Thread Tatsuhiro Nishioka
Hi there, I've received some reports that FlightGear/CVS crashes on iMac with nVidia GeForce 7300GT driver. The reports said that FlightGear 1.0.0 works fine on these machines. The crash log indicates that it crashes inside GeForceDriver, but I'm not so sure if it is fgfs/osg bug or nvidia driver