Re: [osg-users] StatsHandler missing numbers

2016-01-29 Thread Daniel Emminizer

aroth wrote:
> 
> I'm quite interested if this issue also occurs on a different OS. Let's see 
> if the OS world is different with this great new Windows 10 ;-)
> 


I've been lurking on this thread for a while.  I know it's old, but I finally 
got some time to track it down.  I've seen the exact same problems on my Intel 
4600 on Windows 10.  We've seen the problem on pretty much every Intel 4000+ 
card tested on every version of Windows for the last couple of years.  Most of 
our Linux machines with Intel also have Optimus, and we disable the Intel side 
through BIOS, so I don't have any useful Linux input.

I finally tracked down a fix, and I think it suggests a bug in the Intel 
drivers.  The problem appears to be due to issues with the textures that are 
loaded from glTexSubImage2D in Glyph.cpp.  The following patch worked well for 
us and fixed the disappearing text glyphs problem on Intel.  It works by 
reapplying the texture min filter right before the glTexSubImage2D().

Without this, depending on the size of the font, glyphs that are loaded after 
the initial set will show up either grey, or completely transparent.  NVidia 
drivers do not suffer the same problem.

I've tested on Intel 4600 and NVidia K2100m.  I've also tested the state values 
with glGetTexParameteriv(), and it appears correct prior to this code.  That 
implies to me that this is a driver bug, but I don't have enough experience to 
say for certain.  If it is a driver bug, it's been outstanding for at least a 
year, if not several years.

I could not find a way to fix this in our own code without modifying OSG code.  
I hope someone finds this useful.  I realize it is a bit of a hack.

Thanks,

 - Dan

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




Attachments: 
http://forum.openscenegraph.org//files/patchsrcosgtextglyph_159.cpp


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


Re: [osg-users] StatsHandler missing numbers

2015-10-08 Thread Andreas Roth

Assassin wrote:
> Hi,
> 
> Aroth thx for the reply! I will test it as soon as i get osg working  on my 
> laptop. (Installed windows 10)
> 
> P.S. Can it. be that you wäre from germany?
> 
> Cheers,
> Andreas


I'm quite interested if this issue also occurs on a different OS. Let's see if 
the OS world is different with this great new Windows 10 ;-)

I'm from germany? What gave me away?

Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-10-08 Thread Andreas Schreiber
Hi,

I will write about my experience, as soon as i got them. 

Let me guess more. Can it be that you live NRW?

Thank you!

Cheers,
Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-10-07 Thread Andreas Schreiber
Hi,

Aroth thx for the reply! I will test it as soon as i get osg working  on my 
laptop. (Installed windows 10)

P.S. Can it. be that you wäre from germany?

Thank you!

Cheers,
Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-10-07 Thread Andreas Roth
Hi,

I stumbled across the same issue and i found the trigger for this issue. The 
font resolution is the trigger for this issue. I did some testing and found 
that:
- using 64 the text disappears completely
- using 32 (the default) results in some missing or wrongfully colored 
characters
- using 16 the text remains visible and in the correct color

>From my testing i could see that increasing the font resolution also increase 
>the render issues  as well (up to the point were no text is visible anymore).

Note: This issue only occurs on Intel GPU (with the latest driver installed). 
I've only tested on Windows machines so far and this issue might be limited to 
Windows, but i'm not sure.

Cheers,
Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-04-17 Thread Christian Buchner
One major problem with the Intel drivers is that their products are
typically EOL'ed (end-of-lifed) three years after first release - at which
point they stop receiving driver updates (not even bug fixes).

You can see the problem with the integrated graphics in Intel's Sandy
Bridge chips (introduced Q1 2011). You cannot get any OpenGL drivers dated
newer than April 2014 - and some OpenGL features we require simply aren't
working with this driver release.

And so we have to tell some of our customers that their laptops have use
Ivy Bridge or later microarchitecture - or be equipped with a separate
dedicated graphics chip.

Christian


2015-04-17 15:23 GMT+02:00 Andreas Schreiber a...@online.de:

 Hi Émeric,

 thx for the respond and the idea ;)

 My driver version is:
 Intel(R) HD Graphics 4000

 Driver Version: 10.18.10.3958
 Operating System: Windows* 8.1 (6.3.9600)
 Installed DirectX* Version: 11.2
 Supported DirectX* Version: 11.0
 Shader Version: 5.0
 OpenGL* Version: 4.0
 OpenCL* Version: 1.2
 Physical Memory: 8036 MB
 Processor: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
 Processor Speed: 2594 MHz
 Vendor ID: 8086
 Device ID: 0166
 Device Revision: 09

 * Processor Graphics Information *
 Processor Graphics in Use: Intel(R) HD Graphics 4000
 Video BIOS: 0.151
 Current Resolution: 1600 x 900


 I could not update it, yet. But when I do and it helps I post it ;)

 ...

 Thank you!

 Cheers,
 Andreas

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





 ___
 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] StatsHandler missing numbers

2015-04-17 Thread Émeric MASCHINO
Hi Andreas,

What release of Intel drivers are you running?

I recently experienced issues with an application on various Dell
notebooks and Intel NUC barebones (all HD4000-based) where texts
printed with glRasterPos3 were not displayed at all with driver
release 8.x. Upgrading to release 9.x (from Dell and Intel websites)
solved the issue. I didn't found anything clear w.r.t. this problem in
the Intel drivers changelogs though.

It's noteworthy that the application I was referring to isn't
OSG-related (plain OpenGL) and was running on Windows 7 (not 8.1), but
who knows!

 Émeric

2015-04-16 19:56 GMT+02:00 Andreas Schreiber a...@online.de:
 Hi,

 same thing happens.

 If it starts in fullscreen the cow modell seems broken. Its part wise 
 transparent...
 If I try making a screenshot, the screenshot is totally fine.
 You must think that I'm crazy...

 If I press s for the stats in fullscreen the cow modell is shown normally 
 =).

 In fullscreens they are drawn in a bright gray color.
 In window mode you only see the zeros, the others are missing or to bright.

 I must have the newest drivers, but I look at them.
 ...

 Thank you!

 Cheers,
 Andreas

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




 ___
 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] StatsHandler missing numbers

2015-04-17 Thread Andreas Schreiber
Hi Émeric,

thx for the respond and the idea ;)

My driver version is: 
Intel(R) HD Graphics 4000

Driver Version: 10.18.10.3958
Operating System: Windows* 8.1 (6.3.9600)
Installed DirectX* Version: 11.2
Supported DirectX* Version: 11.0
Shader Version: 5.0
OpenGL* Version: 4.0
OpenCL* Version: 1.2
Physical Memory: 8036 MB
Processor: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
Processor Speed: 2594 MHz
Vendor ID: 8086
Device ID: 0166
Device Revision: 09

* Processor Graphics Information *
Processor Graphics in Use: Intel(R) HD Graphics 4000
Video BIOS: 0.151
Current Resolution: 1600 x 900


I could not update it, yet. But when I do and it helps I post it ;)

... 

Thank you!

Cheers,
Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-04-17 Thread Trajce Nikolov NICK
Hi Andreas,

I have pretty new Intel board on my laptop and got into few problems with
the StatsHandler - just accidentally I changed the threading model of the
Viewer and I got it back to normal. This is a hint no clue why it is
happening but maybe worth of try

cheers,
Nick

On Fri, Apr 17, 2015 at 3:31 PM, Christian Buchner 
christian.buch...@gmail.com wrote:


 One major problem with the Intel drivers is that their products are
 typically EOL'ed (end-of-lifed) three years after first release - at which
 point they stop receiving driver updates (not even bug fixes).

 You can see the problem with the integrated graphics in Intel's Sandy
 Bridge chips (introduced Q1 2011). You cannot get any OpenGL drivers dated
 newer than April 2014 - and some OpenGL features we require simply aren't
 working with this driver release.

 And so we have to tell some of our customers that their laptops have use
 Ivy Bridge or later microarchitecture - or be equipped with a separate
 dedicated graphics chip.

 Christian


 2015-04-17 15:23 GMT+02:00 Andreas Schreiber a...@online.de:

 Hi Émeric,

 thx for the respond and the idea ;)

 My driver version is:
 Intel(R) HD Graphics 4000

 Driver Version: 10.18.10.3958
 Operating System: Windows* 8.1 (6.3.9600)
 Installed DirectX* Version: 11.2
 Supported DirectX* Version: 11.0
 Shader Version: 5.0
 OpenGL* Version: 4.0
 OpenCL* Version: 1.2
 Physical Memory: 8036 MB
 Processor: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
 Processor Speed: 2594 MHz
 Vendor ID: 8086
 Device ID: 0166
 Device Revision: 09

 * Processor Graphics Information *
 Processor Graphics in Use: Intel(R) HD Graphics 4000
 Video BIOS: 0.151
 Current Resolution: 1600 x 900


 I could not update it, yet. But when I do and it helps I post it ;)

 ...

 Thank you!

 Cheers,
 Andreas

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





 ___
 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




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


Re: [osg-users] StatsHandler missing numbers

2015-04-17 Thread Andreas Schreiber
Hi,

thx for the hint, sometimes they help ;). On my laptop it did not work, I tried 
every Threadmodel I could find in the viewer. No changes. 

But i realized that this error in fullscreen is just the lower 2/3 screen. In 
the top 1/3 the object are fine.

I tried to update my driver, but intel driver update said there are no new ones.
Just for my wlan...Telling me to download it and then saying oh you got 64 
bit, sry it works only on 32 -.-...


But thx to all the answers you posted ;) 
... 

Thank you!

Cheers,
Andreas

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





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


[osg-users] StatsHandler missing numbers

2015-04-16 Thread Andreas Schreiber
Hi,

if this was asked before, sorry for the repost I searched for it, but did not 
found something.

My problem is the following:

I want to read a few information from my scene. I use the osg statshandler 
where I can press s and get the frame rate and so on.

This works but has one error.
A few of the numbers are not show.

Example, the x is not shown and the 0 are flimmering: 
Frame Rate: x0.00
Vertices: x
Triangles: x 

My graphic card is an Intel HD Graphics 4000, can this be the cause of the 
problem?


... 

Thank you!

Cheers,
Andreas

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





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


Re: [osg-users] StatsHandler missing numbers

2015-04-16 Thread Andreas Schreiber
Hi Robert,

my OS is Windows 8.1 64-Bit.
Osgtext does run, but the text flimmers, if I try to make a screenshot with the 
snipping tool it shows all (-.-), after the use it flimmers again.
I cant minimize the osgText with f.

My OSG version is 3.3.3.

A screenshot of my program with activated stats.
If it is not good enough I try making a new one, just ask ;).

The flimmerings I also get in my scene if I get in fullscreen. 

Then it is the intel driver =(. 
... 

Thank you!

Cheers,
Andreas

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



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


Re: [osg-users] StatsHandler missing numbers

2015-04-16 Thread Robert Osfield
Hi Andreas,

I haven't heard of problems in the form your are describing before.  There
bugs in Intel drivers so it could the issue here.

What OS are you using?  Does osgtext run OK?  What version of the OSG are
using? Could you post a screenshot?

Robert

On 16 April 2015 at 14:20, Andreas Schreiber a...@online.de wrote:

 Hi,

 if this was asked before, sorry for the repost I searched for it, but did
 not found something.

 My problem is the following:

 I want to read a few information from my scene. I use the osg statshandler
 where I can press s and get the frame rate and so on.

 This works but has one error.
 A few of the numbers are not show.

 Example, the x is not shown and the 0 are flimmering:
 Frame Rate: x0.00
 Vertices: x
 Triangles: x

 My graphic card is an Intel HD Graphics 4000, can this be the cause of the
 problem?


 ...

 Thank you!

 Cheers,
 Andreas

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





 ___
 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] StatsHandler missing numbers

2015-04-16 Thread Robert Osfield
Hi Andreas,

Thanks for the screenshot.  I see that there are missing characters, which
is odd, and might be a hint to the cause of the problem.  My best guesses
right now are a memory issue or a driver issue.

What happens when you run something like:

  osgviewer cow.osg

And then bring up the stats?

Robert.

On 16 April 2015 at 18:20, Andreas Schreiber a...@online.de wrote:

 Hi Robert,

 my OS is Windows 8.1 64-Bit.
 Osgtext does run, but the text flimmers, if I try to make a screenshot
 with the snipping tool it shows all (-.-), after the use it flimmers again.
 I cant minimize the osgText with f.

 My OSG version is 3.3.3.

 A screenshot of my program with activated stats.
 If it is not good enough I try making a new one, just ask ;).

 The flimmerings I also get in my scene if I get in fullscreen.

 Then it is the intel driver =(.
 ...

 Thank you!

 Cheers,
 Andreas

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




 ___
 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