[Flightgear-devel] Ati viewport bug

2013-01-28 Thread James Turner
http://code.google.com/p/flightgear-bugs/issues/detail?id=385

Is about a problem with the viewport behaving very oddly, in certain Ati 
catalyst drivers.

A kind person has worked out a hack, which fixes the issue, or at least avoids 
it. It add an empty, pre-render camera to the scene, which I assume forces some 
state which otherwise gets skipped in the Ati drivers.

If anyone has any strong opinions about applying the hack to the 2.10 release 
branch, let me know. I'm currently undecided - it *is* a hack, but it fixes a 
real and long-standing bug, and the cost to everyone else should be zero.

Regards,
James


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Ati viewport bug

2013-01-28 Thread Torsten Dreyer
Any chance to wrap this into something like

if( true == getprop(/sim/use-ati-hack) ) {
   addTheEmptyPrerenderCamera();
} else {
   doNothing();
}


Am 28.01.2013 18:56, schrieb James Turner:
 http://code.google.com/p/flightgear-bugs/issues/detail?id=385

 Is about a problem with the viewport behaving very oddly, in certain Ati 
 catalyst drivers.

 A kind person has worked out a hack, which fixes the issue, or at least 
 avoids it. It add an empty, pre-render camera to the scene, which I assume 
 forces some state which otherwise gets skipped in the Ati drivers.

 If anyone has any strong opinions about applying the hack to the 2.10 release 
 branch, let me know. I'm currently undecided - it *is* a hack, but it fixes a 
 real and long-standing bug, and the cost to everyone else should be zero.

 Regards,
 James


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnnow-d2d
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Ati viewport bug

2013-01-28 Thread James Turner

On 28 Jan 2013, at 19:09, Torsten Dreyer tors...@t3r.de wrote:

 Any chance to wrap this into something like
 
 if( true == getprop(/sim/use-ati-hack) ) {
   addTheEmptyPrerenderCamera();
 } else {
   doNothing();
 }

Yes of course, that's probably wise.

James


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Ati viewport bug

2013-01-28 Thread Curtis Olson
 On 28 Jan 2013, at 19:09, Torsten Dreyer wrote:

  Any chance to wrap this into something like
 
  if( true == getprop(/sim/use-ati-hack) ) {
addTheEmptyPrerenderCamera();
  } else {
doNothing();
  }


On Mon, Jan 28, 2013 at 4:42 PM, James Turner wrote:

 Yes of course, that's probably wise.


This does mean that the default behavior is still broke for the people we
are trying to help with this, but it at least offers a fix for anyone who's
willing to ask (or hunt through the email archives.)

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Ati viewport bug

2013-01-28 Thread James Turner

On 28 Jan 2013, at 22:52, Curtis Olson curtol...@flightgear.org wrote:

 On Mon, Jan 28, 2013 at 4:42 PM, James Turner wrote: 
 Yes of course, that's probably wise.
 
 This does mean that the default behavior is still broke for the people we are 
 trying to help with this, but it at least offers a fix for anyone who's 
 willing to ask (or hunt through the email archives.)
 
 Curt.
 

Right - my impression is the hack is zero-impact for non-affected people, so 
making it on by default is a possibility, but I really don't have a handle on 
how widespread the bug is - the forums and IRC aren't full of people screaming 
about it, but equally it has been mentioned several times.

I'm going to add the code, bracketed by a property test, and default it to off 
on the release branch, and to 'on' in 'next', **temporarily**. If anyone 
running next sees any issues due to the code, they can report them and we will 
get some data-points about if it's truly zero-impact for 'everyone else' 
without jeopardising the stability of the release code. And flipping the 
default property value on the release branch (even for a 2.10.1) will still be 
an option.

James


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel