Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-10-2016, 11:32   #16
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Will be using Nvidia set on global setting OR individually, it does not matter.
That still works, just cannot run OpenGL....on OpenCPN.

With the new Senc caching, its just as quck really, but I will have to use the Intel card to run some features such as transparency in the toolbar and Tactics_pi which requires it.

====
So the question remains what is causing the problem:
1. Windows 10 rewiring with software, the ability for the Nvidia card to find a screen when Intel is off?
--NOTE I never ran Opencpn this way anyway, so that is not the issue.
2. I ran OpenCPN with OpenGL on the Nvidia card using the Nvidia Individual program setting, with the Intel Card enabled!
This no longer works for OpenCPN, but GL Viewer works and the card passes everything and looks great!
3. The odd thing is that Opencpn 4.0, 4.2, 4.4 and 4.5 all have this problem.....so does that mean it is not a change in Opencpn that caused this?

That's why I think I need another program which uses OpenGL,, that I can turn on and off for testing.

PS: Maybe it is one of the many settings for Nvidia OpenGL that is causing the problem? I have it set on all the defaults, and rewrote all my settings when I installed the drivers.
__________________

__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 20:03   #17
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Sean, I don't believe the hardware (Nvidia card has failed), it still passes all the GL Viewer tests and runs fast. It is something else...

@ Eric Finn, I did not disable the Nvidia card. I disabled the Intel HD Graphics, which disables the Nvidia because the nvidia depends on the Intel HD for the display... the display is passed through. When the Intel is disabled the Nvidia Control Settings are not available because there is "no display attached". [But I never worked this way, this was your suggestion]

Take a look at the screenshots below, in particular the one labled PysX with a diagram showing the Display and the two boards.

The way I ran OpenCpN with the nvidia was using the Nvidia control panel to assign certain programs to use the NVIDIA card. I can still do this and run Opencpn, but I cannot turn on OpenGL or I get a crash.
That's how I always ran opengl before, but it stopped perhaps about the time I migrated to Win10.
__________________

__________________
rgleason is offline   Reply With Quote
Old 03-10-2016, 05:57   #18
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,852
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Rick...

If you are building from source, you should get a readable stack trace on the NVidea crash. Do you? What does it say? Where in OCPN is the crash?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 03-10-2016, 09:29   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Good idea, had not thought of that. Will do it.
__________________
rgleason is offline   Reply With Quote
Old 03-10-2016, 14:57   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Dave, using MSVC++ Opencpn 4.5 recent in Debug mode.
Slow starting up, charts processing heavy, sluggish moving around.
Then let it settle an closed, Then reopened in Debug mode again,
Options > Display > Advanced cringed when I hit "Use OpenGL"

Nothing happened! Panned over to Bras'dor Lakes, found Denny's Basin, Barra Peninsula and Baddeck. Zoomed out. Noo problem. Still testing now. It works, ya it's reasonably fast considering.

So perhaps my release builds are not setup correctly? Am I missing some gl driver or something? They seemed to compile fine.

Thanks for the idea.
__________________
rgleason is offline   Reply With Quote
Old 03-10-2016, 15:33   #21
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

I double checked the Nvidia control panel and both the global setting is NVidia and the individual program setting for the MSVC++ debug version of opencpn.exe is set to Nvidia.

The next time I tried MSC++ Opencpn debug version it choked.
Then I "built" it again, waited and started the debug version and reluctantly, slowly the progam started working, with lots of processing. There are some moments where it is a rock star, but there are also periodic times when I need to wait for processing.
It is using Nvidia Geforce OpenGL though.

I willl attach some call stacks from the 2nd time break failure.
Attached Thumbnails
Click image for larger version

Name:	wxWidgets Debug.jpg
Views:	16
Size:	64.6 KB
ID:	132239  
Attached Files
File Type: doc OpenGL w Nvidia Geforce.doc (25.7 KB, 4 views)
__________________
rgleason is offline   Reply With Quote
Old 03-10-2016, 15:51   #22
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

The MSV++ Opencpn was working with opengl here, then I closed opencpn. It took a long time to close and Output was getting filled.

I uploaded a 3mb file called Output-Last-Close.doc.zip
on
OpenCPN File Thingie rguser rgpass

This is file is in the parent directory.
__________________
rgleason is offline   Reply With Quote
Old 03-10-2016, 16:17   #23
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,977
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Downloaded Pavel's version 4.4.0 from the website and it does not run OpenGL on my nvidia geforce, just llike the versions I built.

Oddly, I can run Opencpn in Debug with Opengl on and it works!!!!
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Compsute Stick navigation SV DestinyAscen Marine Electronics 17 10-08-2016 03:50
OpenCPN on Intel Compute stick (Windows 10) campr OpenCPN 6 27-07-2016 11:36
Intel Compute Stick or Lenovo ideacentre Stick 300 Computer captmikem OpenCPN 3 08-04-2016 17:12
OCPN 3 & OpenGL RobbieW OpenCPN 3 11-06-2012 04:59
Wanted For Free: OpenCPN + WIN CE/OpenGL-ES CaptGreg Classifieds Archive 1 06-09-2010 19:46



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:53.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.