Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-21 Thread Andrew Cunningham
On Windows 7 setting the theme to Windows 7 Basic (disabling Aero) fixes all my 
visual problems on various Windows 7 machines ( not all nVidia). So I think we 
have to assume that mixing GDI and accelerated OpenGL graphics in the same 
window is a no-no on both W7 and Vista ( even if GDI is accelerated on W7)

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23030#23030





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-21 Thread Jean-Sébastien Guay

Hi Gordon,


But windows 7 and NVIDIA drivers fails and dies a lot for both Opengl
and Direct X, and that causes issues even though Window 7 recovers and
restarts the driver is sucks up resources leading slowdowns and crashes
You see a lot of nvlddmkm.sys problems in the event logs ( there's a lot
folks suffering  this) 


Weird, I've been using Windows 7 since the Beta with nVidia cards and I 
haven't seen this at all (ever). I've been both developing OSG-based 
apps and gaming on that machine since then.


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-21 Thread Trajce Nikolov
You are right. This happens to me quite often. I am seriosely thinking to go
Linux in the near future
Nick

http://www.linkedin.com/in/tnick
Sent from Izmit, 41, Turkey

On Thu, Jan 21, 2010 at 10:41 PM, Tomlinson, Gordon <
gtomlin...@overwatch.textron.com> wrote:

> I don't think this applies to Windows 7 as it DOES have accelerated GDI
> un-like Vista
>
> But windows 7 and NVIDIA drivers fails and dies a lot for both Opengl
> and Direct X, and that causes issues even though Window 7 recovers and
> restarts the driver is sucks up resources leading slowdowns and crashes
> You see a lot of nvlddmkm.sys problems in the event logs ( there's a lot
> folks suffering  this)
>
>
> Gordon Tomlinson
> Product Manager 3d Technology & Future Products
> Overwatch(r)
> An Operating Unit of Textron Systems
>
> -Original Message-
> From: osg-users-boun...@lists.openscenegraph.org
> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Andrew
> Cunningham
> Sent: Wednesday, January 20, 2010 9:41 PM
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] Vista/Windows 7 visual problems on resize
>
> I think this answers my question , at least regarding trying to use
> CRectTracker.
>
> >From http://www.opengl.org/pipeline/article/vol003_7/
>
> "GDI is no longer hardware-accelerated, but instead rendered to system
> memory using the CPU. That rendering is later composed on a 3D surface
> in order to be shown on the desktop. The graphics hardware video driver
> is no longer involved in GDI rendering, which means that mixing GDI and
> accelerated 3D rendering in the same window is likely to produce
> corruption like stale or blanked 3D rendering, trails, etc. Using
> Microsoft's OpenGL software rendering (the first item in the four OpenGL
> implementations) will achieve GDI compatibility, but at the expense of
> rendering speed and lack of modern features."
>
> So no mixing of GDI and accelerated 3D into the same window...
>
> The problem with resizing is obviously related.
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=22965#22965
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> g<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-21 Thread Tomlinson, Gordon
I don't think this applies to Windows 7 as it DOES have accelerated GDI
un-like Vista

But windows 7 and NVIDIA drivers fails and dies a lot for both Opengl
and Direct X, and that causes issues even though Window 7 recovers and
restarts the driver is sucks up resources leading slowdowns and crashes
You see a lot of nvlddmkm.sys problems in the event logs ( there's a lot
folks suffering  this) 


Gordon Tomlinson
Product Manager 3d Technology & Future Products
Overwatch(r)
An Operating Unit of Textron Systems

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Andrew
Cunningham
Sent: Wednesday, January 20, 2010 9:41 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Vista/Windows 7 visual problems on resize

I think this answers my question , at least regarding trying to use
CRectTracker.

>From http://www.opengl.org/pipeline/article/vol003_7/

"GDI is no longer hardware-accelerated, but instead rendered to system
memory using the CPU. That rendering is later composed on a 3D surface
in order to be shown on the desktop. The graphics hardware video driver
is no longer involved in GDI rendering, which means that mixing GDI and
accelerated 3D rendering in the same window is likely to produce
corruption like stale or blanked 3D rendering, trails, etc. Using
Microsoft's OpenGL software rendering (the first item in the four OpenGL
implementations) will achieve GDI compatibility, but at the expense of
rendering speed and lack of modern features."

So no mixing of GDI and accelerated 3D into the same window...

The problem with resizing is obviously related.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22965#22965





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-20 Thread Andrew Cunningham
So this now begs the question.. how to draw a nice "zoom box" using 'pure' 
OpenGL/OSG since I can't use CRectTracker/GDI

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22966#22966





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-20 Thread Andrew Cunningham
I think this answers my question , at least regarding trying to use 
CRectTracker.

>From http://www.opengl.org/pipeline/article/vol003_7/

"GDI is no longer hardware-accelerated, but instead rendered to system memory 
using the CPU. That rendering is later composed on a 3D surface in order to be 
shown on the desktop. The graphics hardware video driver is no longer involved 
in GDI rendering, which means that mixing GDI and accelerated 3D rendering in 
the same window is likely to produce corruption like stale or blanked 3D 
rendering, trails, etc. Using Microsoft's OpenGL software rendering (the first 
item in the four OpenGL implementations) will achieve GDI compatibility, but at 
the expense of rendering speed and lack of modern features."

So no mixing of GDI and accelerated 3D into the same window...

The problem with resizing is obviously related.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22965#22965





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-20 Thread Jean-Sébastien Guay

Hello Andrew,


When running on Windows 7/Vista using accelerated graphics, and when resizing a window, 
an  MFC OSG window flashes a lot and "phantom" bits of the window frame are 
left behind while resizing. The same is seen when using an MFC CRectTracker and 
TrackRubberBand on the OSG 3D window, the old Rect is not properly erased and the tracks 
of the box are left behind.


This won't help you much, but we haven't seen these kinds of issues with 
OSG either running its own window or embedded in a QWidget on Windows 
Vista/7. So perhaps it's a problem with the MFC part of your app. I 
can't be sure of course, never having used OSG with MFC myself.


I hope this additional data point will help...

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Vista/Windows 7 visual problems on resize

2010-01-20 Thread Andrew Cunningham
When running on Windows 7/Vista using accelerated graphics, and when resizing a 
window, an  MFC OSG window flashes a lot and "phantom" bits of the window frame 
are left behind while resizing. The same is seen when using an MFC CRectTracker 
and TrackRubberBand on the OSG 3D window, the old Rect is not properly erased 
and the tracks of the box are left behind.

None of this is seen on XP/XP64 and is not specific to a particular graphics 
card vendor. If you log onto the Windows 7 machine via RDC ( which causes a 
default OpenGL software driver to be used) these issues are not visible.

This is , I am sure , and old Vista issue , but in our field (CAE) not a single 
user 'upgraded' to Vista - they are upgrading to W7...

Thanks for any ideas

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22963#22963





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org