Re: [Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread Arnt Karlsen
On Sat, 29 Jan 2011 02:26:56 +0100, Csaba wrote in message 
:

> On Sat, Jan 29, 2011 at 2:15 AM, Arnt Karlsen  wrote:
> >
> > ..if you zoom in or get closer, do you see the missing
> > runway lights?
> 
> Hm, no.

..ok, other 2 drivers, X.org's radeon and radeonhd?
http://www.x.org/wiki/radeon
http://www.x.org/wiki/RadeonFeature
http://www.x.org/wiki/RadeonFeatureUMS

..note that radeonhd does not work with kms, so reboot. ;o)
http://wiki.x.org/wiki/radeonhd
http://www.x.org/wiki/radeonhd:feature 

..does fglrx work with kms?  (It doesn't with Debian 
Sid/Experimental, dependency conflict bug.)
http://www.x.org/wiki/ATIProprietaryDriver
Does anyone have a working /etc/X11/xorg.conf for fglrx?


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread Arnt Karlsen
On Sat, 29 Jan 2011 02:15:41 +0100, Arnt wrote in message 
<20110129021541.0d04cd1b@celsius.local>:

> ..and, what _is_ this view?
> https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png
 
..found this wee snippet in my console output:
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.
Nasal runtime error: non-objects have no members
  at /home/arnt/FG-git/install/fgfs/bin/../fgdata//Nasal/view.nas, line
110 called from: /input/keyboard/key[118]/binding, line 1
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.
r300: ERROR: FS input generic 17 unassigned, not enough hardware slots.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread Csaba Halász
On Sat, Jan 29, 2011 at 2:15 AM, Arnt Karlsen  wrote:
>
> ..if you zoom in or get closer, do you see the missing
> runway lights?

Hm, no.

-- 
Csaba/Jester

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread Arnt Karlsen
On Fri, 28 Jan 2011 23:38:27 +0100, Csaba wrote in message 
:

> On Fri, Jan 28, 2011 at 8:52 PM, John Denker  wrote:
> > It's spelled "ATI"
> >
> > On 01/27/2011 08:01 PM, Csaba Halász wrote:
> >> I am now running the shiny new 11.1 fglrx driver on my integrated
> >> HD4200. The 737-100 has some silly landing lights, but other than
> >> that, it looks normal.
> >
> > I just how upgraded to the 11-1 fglrx driver.
> >
> > Still no runway lights.
> 
> Of course not, since the problem is in FG. The "point sprites" option
> has been broken since a while. ATI is innocent, I demand satisfaction
> :)

..I vote guilty on their fglrx driver, and unguilty on their cards:
https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-061.png

> (assuming said magical "point sprites" not working is not an ATI bug
> by itself)

..only in their fglrx driver, AFAICT, the hardware and X.org's radeon
driver does the right things with runway lights.

> http://www.imagebam.com/image/ff01b6117146655

..if you zoom in or get closer, do you see the missing 
runway lights?


..now, there are other shady shader issues, blood red snow around
https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-005.png
sunset, too brightly white at noon, much too dark at midnight, snow 
reflects e.g. moon 'n star etc shine and aurora borealis, playing 
with the hi quality setting has shady dark cities eat frame rates:
https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-049.png
https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-050.png


..and, what _is_ this view?
https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Tried to initialize a non-existent engine!

2011-01-28 Thread Bertrand Coconnier
Hi all,

I think I have a final bug fix for JSBSim reset issues (bug #204 and
#222). I have investigated James Turner's fix and tried to understand
why it fixes the issue in every case but for gliders.

NaNs (bug #222) were basically generated because the method
JSBSim::unbind() was not implemented in JSBSim.cxx. Thus when
globals->get_subsystem("flight")->unbind(); (src/Main/fg_init.cxx line
1538) was executed, FG properties were unbound but JSBSim properties
were not. The NaNs were then triggered afterwards when
globals->restoreInitialState(); was called because JSBSim listeners
were still active and triggered the execution of routines (trim for
instance) which should not have been called at this stage of the reset
process. By implementing the unbind() method in JSBSim.cxx, there are
no listeners remaining when restoreInitialState is called and JSBSim
routines are no longer unexpectedly called.

The second bug "Tried to initialize a non-existent engine" is removed
by setting the useDefault parameter to false when calling
FGPropertyManager::Tie() in src/FDM/JSBSim/models/FGPropulsion.cpp
line 649. This bug was triggered because the tie() method of
SGPropertyNode remembers the setter/getter that were set on the
property "propulsion/set-running" when it was created. When FG is
resetting, JSBSim re-builds this property. When asked to re-use the
default value, SGPropertyNode::tie() calls the setter of the property
"propulsion/set-running" which is InitRunning() in this case. Because
no engines are created yet, InitRunning() complains that we are trying
"to initialize a non-existent engine". The simplest way to fix this
bug is to ask SGPropertyNode::tie() not to set
"propulsion/set-running" to its default value. That prevents the
setter InitRunning() to be called.

As far as I can see, JSBSim uses SGPropertyNode::Tie() with useDefault
set to true in many places. This may be a potential source of similar
bugs in other places. I wonder if JSBSim should not better set
useDefault to false instead ? But that is a topic for JSBSim
developers mailing list.

Cheers,

Bertrand.


2011/1/28 henri orange :
> Continued
>
> I can notice, the older fgfs version without James Turner Patch, was right
> with Gliders ( no Engines ).
> My conclusion,
> the James Turner Patch was right to solve the issue, Aircraft with engine
> related,
> however
> it makes an issue, Aircraft without  engine related.
> Sorry James, your patch does not fix correctly the bug.
>
> 2011/1/28 henri orange 
>>
>> BTW: paraglider is getting the same issue
>>
>> 2011/1/28 henri orange 
>>>
>>> Hello devel members,
>>>
>>> Again, the issue .
>>> Not with  Aircraft's Engine, since the patch solved it (though getting
>>> others randomly bugs)
>>> but with Aircraft  WITHOUT  Engine, like Gliders .
>>> Tested with sgs233.
>>> Whould be the same issue with others JSBSim gliders
>>>
>>>
>>>
>>> 2011/1/25 James Turner 

 On 25 Jan 2011, at 10:28, Jon S. Berndt wrote:

 > What patch?

 FIx for #204, the issue Henri is describing:


 http://gitorious.org/fg/flightgear/commit/c2458a17bf0a8a95caf1a43e37482162ae0100bc

 Partial band-aid for #222, the reset-NaN crash: (ugly, but not in the
 main JSBSim code)


 http://gitorious.org/fg/flightgear/commit/4b494b1d0842bc53d7295f74c44cf4f7a3185446

 Andreas' other fixes for #222:


 http://gitorious.org/fg/flightgear/commit/4f364af6d178d947eae1a5a751e3a9542b270069

 Regards,
 James



 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better
 price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>>>
>>>
>>>
>>> --
>>> Best regards,
>>>
>>> Henri, aka Alva
>>> Official grtux hangar maintainer
>>>
>>
>>
>>
>> --
>> Best regards,
>>
>> Henri, aka Alva
>> Official grtux hangar maintainer
>>
>
>
>
> --
> Best regards,
>
> Henri, aka Alva
> Official grtux hangar maintainer
>
>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fligh

Re: [Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread Csaba Halász
On Fri, Jan 28, 2011 at 8:52 PM, John Denker  wrote:
> It's spelled "ATI"
>
> On 01/27/2011 08:01 PM, Csaba Halász wrote:
>> I am now running the shiny new 11.1 fglrx driver on my integrated HD4200.
>> The 737-100 has some silly landing lights, but other than that, it looks 
>> normal.
>
> I just how upgraded to the 11-1 fglrx driver.
>
> Still no runway lights.

Of course not, since the problem is in FG. The "point sprites" option
has been broken since a while. ATI is innocent, I demand satisfaction
:)
(assuming said magical "point sprites" not working is not an ATI bug by itself)

http://www.imagebam.com/image/ff01b6117146655

-- 
Csaba/Jester

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Tried to initialize a non-existent engine!

2011-01-28 Thread henri orange
Continued

I can notice, the older fgfs version without James Turner Patch, was right
with Gliders ( no Engines ).
My conclusion,
the James Turner Patch was right to solve the issue, Aircraft with engine
related,
however
it makes an issue, Aircraft without  engine related.
Sorry James, your patch does not fix correctly the bug.

2011/1/28 henri orange 

> BTW: paraglider is getting the same issue
>
> 2011/1/28 henri orange 
>
> Hello devel members,
>>
>> Again, the issue .
>> Not with  Aircraft's Engine, since the patch solved it (though getting
>> others randomly bugs)
>> but with Aircraft  WITHOUT  Engine, like Gliders .
>> Tested with sgs233.
>> Whould be the same issue with others JSBSim gliders
>>
>>
>>
>> 2011/1/25 James Turner 
>>
>>>
>>> On 25 Jan 2011, at 10:28, Jon S. Berndt wrote:
>>>
>>> > What patch?
>>>
>>> FIx for #204, the issue Henri is describing:
>>>
>>>
>>> http://gitorious.org/fg/flightgear/commit/c2458a17bf0a8a95caf1a43e37482162ae0100bc
>>>
>>> Partial band-aid for #222, the reset-NaN crash: (ugly, but not in the
>>> main JSBSim code)
>>>
>>>
>>> http://gitorious.org/fg/flightgear/commit/4b494b1d0842bc53d7295f74c44cf4f7a3185446
>>>
>>> Andreas' other fixes for #222:
>>>
>>>
>>> http://gitorious.org/fg/flightgear/commit/4f364af6d178d947eae1a5a751e3a9542b270069
>>>
>>> Regards,
>>> James
>>>
>>>
>>>
>>> --
>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>> Finally, a world-class log management solution at an even better
>>> price-free!
>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>> February 28th, so secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsight-sfd2d
>>> ___
>>> Flightgear-devel mailing list
>>> Flightgear-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>>>
>>
>>
>>
>> --
>> Best regards,
>>
>> Henri, aka Alva
>> Official grtux hangar maintainer
>>
>>
>
>
> --
> Best regards,
>
> Henri, aka Alva
> Official grtux hangar maintainer
>
>


-- 
Best regards,

Henri, aka Alva
Official grtux hangar maintainer
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] "bug" is a three-letter word

2011-01-28 Thread John Denker
It's spelled "ATI"

On 01/27/2011 08:01 PM, Csaba Halász wrote:
> I am now running the shiny new 11.1 fglrx driver on my integrated HD4200.
> The 737-100 has some silly landing lights, but other than that, it looks 
> normal.

I just how upgraded to the 11-1 fglrx driver.

Still no runway lights.

I would have posted a remark on the bug tracker
  http://code.google.com/p/flightgear-bugs/issues/detail?id=232
but that doesn't seem to be working at the moment.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Tried to initialize a non-existent engine!

2011-01-28 Thread henri orange
BTW: paraglider is getting the same issue

2011/1/28 henri orange 

> Hello devel members,
>
> Again, the issue .
> Not with  Aircraft's Engine, since the patch solved it (though getting
> others randomly bugs)
> but with Aircraft  WITHOUT  Engine, like Gliders .
> Tested with sgs233.
> Whould be the same issue with others JSBSim gliders
>
>
>
> 2011/1/25 James Turner 
>
>>
>> On 25 Jan 2011, at 10:28, Jon S. Berndt wrote:
>>
>> > What patch?
>>
>> FIx for #204, the issue Henri is describing:
>>
>>
>> http://gitorious.org/fg/flightgear/commit/c2458a17bf0a8a95caf1a43e37482162ae0100bc
>>
>> Partial band-aid for #222, the reset-NaN crash: (ugly, but not in the main
>> JSBSim code)
>>
>>
>> http://gitorious.org/fg/flightgear/commit/4b494b1d0842bc53d7295f74c44cf4f7a3185446
>>
>> Andreas' other fixes for #222:
>>
>>
>> http://gitorious.org/fg/flightgear/commit/4f364af6d178d947eae1a5a751e3a9542b270069
>>
>> Regards,
>> James
>>
>>
>>
>> --
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> ___
>> Flightgear-devel mailing list
>> Flightgear-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>>
>
>
>
> --
> Best regards,
>
> Henri, aka Alva
> Official grtux hangar maintainer
>
>


-- 
Best regards,

Henri, aka Alva
Official grtux hangar maintainer
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Incorrect conversion used for lbs to gallon of fuel

2011-01-28 Thread Hal V. Engel
A thread was opened on the forum about how the C172P appeared to be 
incorrectly calculating the amount of fuel in gallons based on the weight of 
the fuel.  It appears that the conversion is using 6.6 lbs/gal when it should 
be using something close to 6.0.  That is
 
/fdm/jsbsim/propulsion/tank[n]/contents-lbs divided by 
/consumables/fuel/tank[n]/level-us_gal == 6.6 

I also had an issue with this for the p51d-jsbsim model and I had to use 6.6 
as the conversion factor when setting up the fuel tanks in order to get 
/consumables/fuel/tank[n]/level-us_gal to report the correct amount of fuel.  
What is really strange is that /consumables/fuel/tank[n]/density-ppg = 6.0.  
Is this a bug or is there some other issue that aircraft developers need to be 
aware of to get this to work correctly?

Hal

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Tried to initialize a non-existent engine!

2011-01-28 Thread henri orange
Hello devel members,

Again, the issue .
Not with  Aircraft's Engine, since the patch solved it (though getting
others randomly bugs)
but with Aircraft  WITHOUT  Engine, like Gliders .
Tested with sgs233.
Whould be the same issue with others JSBSim gliders



2011/1/25 James Turner 

>
> On 25 Jan 2011, at 10:28, Jon S. Berndt wrote:
>
> > What patch?
>
> FIx for #204, the issue Henri is describing:
>
>
> http://gitorious.org/fg/flightgear/commit/c2458a17bf0a8a95caf1a43e37482162ae0100bc
>
> Partial band-aid for #222, the reset-NaN crash: (ugly, but not in the main
> JSBSim code)
>
>
> http://gitorious.org/fg/flightgear/commit/4b494b1d0842bc53d7295f74c44cf4f7a3185446
>
> Andreas' other fixes for #222:
>
>
> http://gitorious.org/fg/flightgear/commit/4f364af6d178d947eae1a5a751e3a9542b270069
>
> Regards,
> James
>
>
>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Best regards,

Henri, aka Alva
Official grtux hangar maintainer
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Reload joystick config

2011-01-28 Thread Csaba Halász
On Fri, Jan 28, 2011 at 10:02 AM, James Turner  wrote:
>
> On 28 Jan 2011, at 08:21, Andreas Gaeb wrote:
>
>> In the meantime I played around with this a little and came up with the
>> attached patch which does what I describe above. This seems to work,
>> though I didn't do any checks to rule out the suspected issues.
>
> Looks good to me, from a visual inspection. I'll apply over the weekend, and 
> poke some people to test. Depending on when 2.2.0 happens this might even be 
> worth back-porting, but we should wait for some positive testing feedback 
> before that.

Since FG currently irreversibly loses joystick if it ever gets
unplugged and replugged (or if the usb driver reconnects for some
reason), and this patch allows for reinitializing the joystick, I
certainly vote to get this into the release.

Thanks Andreas!

-- 
Csaba/Jester

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] list of aircraft that don't load in fgdata

2011-01-28 Thread Arnt Karlsen
On Fri, 28 Jan 2011 04:01:57 +0100, Csaba wrote in message 
:

> On Fri, Jan 28, 2011 at 12:30 AM, Arnt Karlsen  wrote:
> > On Thu, 27 Jan 2011 16:55:21 + (GMT), Heiko wrote in message
> > <81676.67701...@web29516.mail.ird.yahoo.com>:
> >
> >> >
> >> > ..this old warrior, warrants a few screenshots: ;o)
> >> > https://github.com/gasguru/flightgearthings/blob/master/737-100/shady-fgfs-screen-013.png
> >> > https://github.com/gasguru/flightgearthings/tree/master/737-100/
> >>
> >>
> >> This shows that your graphic card has problems to work with the new
> >> shaders or maybe the shaders have problems to work with the new
> >> shaders ;-)
> >
> > ..something along those lines, yes, _how_ do I check these?
> >
> >
> > ..does anyone else with ATI cards see this?  Or is it the
> > _combination_ of ATI cards with X.org's radeon driver?
> 
> I am now running the shiny new 11.1 fglrx driver on my integrated
> HD4200. The 737-100 has some silly landing lights, but other than
> that, it looks normal. See
> http://www.imagebam.com/image/313e33117039777

..yes, that was what I expected too, and it handles nice enough 
to fly on the keyboard.  Your card should also work with both 
X.org drivers radeon and radeonhd, at least well enough to make
screenshots, for decent frame rates you also need the firmware, 
and --full-screen doubles my frame rate, [alt]+[tab] get's you 
back and forth to e.g. the wiki on the browser.


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Reload joystick config

2011-01-28 Thread James Turner

On 28 Jan 2011, at 08:21, Andreas Gaeb wrote:

> In the meantime I played around with this a little and came up with the
> attached patch which does what I describe above. This seems to work,
> though I didn't do any checks to rule out the suspected issues.

Looks good to me, from a visual inspection. I'll apply over the weekend, and 
poke some people to test. Depending on when 2.2.0 happens this might even be 
worth back-porting, but we should wait for some positive testing feedback 
before that.

Thanks,
James


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Reload joystick config

2011-01-28 Thread Andreas Gaeb
this didn't seem to get through the first time, so I'm resending it...

> Hello,
> 
> I notice the Reload Input menu item does not do anything, at least when
> tuning the joystick configuration file. This seems to be related to none
> of the classes derived from FGInput overriding the reinit method
> inherited from SGSubsystemGroup. Is this just a missing feature, or was
> there a reason not to implement this?
> 
> If it is just a missing feature, would it be an acceptable solution for
> FGJoystickInput::reinit to delete all /input/joysticks/js* nodes and
> call init and postinit, or would this raise some Nasal/property node
> listeners/memory corruption issues that aren't obvious from glancing at
> FGJoystickInput.cxx?

In the meantime I played around with this a little and came up with the
attached patch which does what I describe above. This seems to work,
though I didn't do any checks to rule out the suspected issues.

Best regards,
Andreas
commit f020ee10ff1b758c9b99e31642147eecfc0facac
Author: Andreas Gaeb 
Date:   Thu Jan 27 11:32:10 2011 +0100

Reload Input für Joysticks

diff --git a/src/Input/FGJoystickInput.cxx b/src/Input/FGJoystickInput.cxx
index 349782d..17f1f35 100644
--- a/src/Input/FGJoystickInput.cxx
+++ b/src/Input/FGJoystickInput.cxx
@@ -119,6 +119,14 @@ void FGJoystickInput::init()
   }
 }
 
+void FGJoystickInput::reinit() {
+  SG_LOG(SG_INPUT, SG_DEBUG, "Re-Initializing joystick bindings");
+  SGPropertyNode * js_nodes = fgGetNode("/input/joysticks", true);
+  js_nodes->removeChildren("js", false);
+  FGJoystickInput::init();
+  FGJoystickInput::postinit();
+}
+
 void FGJoystickInput::postinit()
 {
   FGNasalSys *nasalsys = (FGNasalSys *)globals->get_subsystem("nasal");
diff --git a/src/Input/FGJoystickInput.hxx b/src/Input/FGJoystickInput.hxx
index ef1530e..2a5c4cc 100644
--- a/src/Input/FGJoystickInput.hxx
+++ b/src/Input/FGJoystickInput.hxx
@@ -44,6 +44,7 @@ public:
 
   virtual void init();
   virtual void postinit();
+  virtual void reinit();
   virtual void update( double dt );
 
   static const int MAX_JOYSTICKS= 10;
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] list of aircraft that don't load in fgdata

2011-01-28 Thread Erik Hofman
On Thu, 2011-01-27 at 10:19 -0500, Peter Brown wrote:
> Erik,
> 
> Thanks for repairing that link in the model file in the OV10_USAFE.
> While it runs as many use it, the folder needs to be cleaned up. Mr. Perry 
> was correct in an Effects file was removed/missing/etc, and obviously a path 
> was still lingering.
> 
> If I get a chance I'll try to sort through it all and lighten it up.

That would be nice, let me know when I should commit anything.

Erik


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug #263: language option broken

2011-01-28 Thread Erik Hofman
On Thu, 2011-01-27 at 16:12 +0100, Gijs de Rooy wrote:
> Just in case anyone out here know's more about the in-sim menu
> translations:
> 
> http://code.google.com/p/flightgear-bugs/issues/detail?id=263

This has been broken for a long time. At one time it worked and then
someone broke it deliberately and disappeared. I guess no one wanted to
clean up the mess created by someone else in the mean time.

Erik



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel