Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-09-2016, 18:07   #1
Registered User
 
rgleason's Avatar

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

My Dell XPS15 502x has two graphics boards:
Intel HD Graphics 3000
Nvidia Geforce 540M
I can set either board to be the preffered graphics processor

I have run tests on both boards see the attached.
Intel HD Graphics 3000 - Passes 3.1 & 3.0 slow worse graphics..
Nvidia Geforce 540M - passes everthingg 4.3 - 3.0 fast, good graphics.

When I set each board as the primary board and try to run Opencpn 4.5 most recent as of 2 hours ago, with OpenGL checked and Texture cache after clearing it.
Intel HD Graphics 3000 - OpenCPN 4.5 runs fine with OpenGL and texture cache.
Nvidia Geforce 540M - OpenCPN 4.5 does not run. Freezes.

I have tried resetting the parameters for Nvidia Adapterr and that does not help with OpenCPN 4.5 running OpenGL!

The difference in performance is significant enough that I would like to get NVIDIA with OpenCPN 4.5 with OpenGL ON working.

This stopped working some time ago and I was testing plugins so I just turned it off. However I need OpenGL for tactics_pi and other things.

I know that the Nvidia board passes all the GLviewer tests but does not run OpenCPN with OpenGL on and textures on.
It used to work!

Any suggestions?
Attached Files
File Type: doc Intel HD Graphics 3000.doc (4.7 KB, 10 views)
File Type: doc Nvidia Geforce 540M.doc (43.4 KB, 7 views)
__________________

__________________
rgleason is offline   Reply With Quote
Old 30-09-2016, 18:55   #2
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,640
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

can you use git bisect to find the offending commit?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 01-10-2016, 19:09   #3
Registered User
 
rgleason's Avatar

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

Sean, I'll try it after I finish work on update of wxfax links. Trying to get all NOAA+ links up to date again. Did not have much luck with bisect last time I tried to learn, but its worth trying again. --What is the chances it is OpenCPN related, since Nvidia passed all tests? --pretty good?
__________________
rgleason is offline   Reply With Quote
Old 01-10-2016, 19:15   #4
Marine Service Provider
 
bdbcat's Avatar

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

Rick....

If it worked before, and then stopped, it is almost certainly an issue with OpenCPN recent code work.

git-bisect is easy, although can be time consuming. Let us know how it goes. We can help if necessary.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 01-10-2016, 19:25   #5
Registered User
 
rgleason's Avatar

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

Quote:
ed, it is almost certainly an issue with OpenCPN recent code work.
Dave, this problem has been around for awhile, I just finally tried to clean it up and fix it and did some testing to figure out the cause.

I am pretty sure it wasn't caused by anything in OpenCPN that is recent. I am going to have to go back aways to find it.

I still am not totally certain it is caused by OpenCPN, but there are some indicators it might be. Haven't updated drivers since then either, So these drivers should work, but perhaps Intel HD Graphics is blocking the NVIDIA card in Opengl mode somehow....

anyway, I'll try doing a git bisect. I should have sorted it out earlier, but was focused on getting something done, then just let it go.
__________________
rgleason is offline   Reply With Quote
Old 01-10-2016, 19:55   #6
Registered User
 
ErikFinn's Avatar

Join Date: Feb 2011
Location: Malaysia, Thailand
Boat: Beneteau Oceanis 430
Posts: 764
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Quote:
Originally Posted by rgleason View Post
My Dell XPS15 502x has two graphics boards:

Intel HD Graphics 3000
Nvidia Geforce 540M

I can set either board to be the preffered graphics processor

When I set each board as the primary board and try to run Opencpn 4.5 most recent as of 2 hours ago, with OpenGL checked and Texture cache after clearing it.

Intel HD Graphics 3000 - OpenCPN 4.5 runs fine with OpenGL and texture cache.

Nvidia Geforce 540M - OpenCPN 4.5 does not run. Freezes.

Any suggestions?
Hi,

I'm quoting your info above as what I see as most relevant to my thoughts.

I have the same graphics cards on my Asus laptop. Well the Nvidia is definitely the same, I reckon the intel is also the same, I'm not at boat now so I write from memory.

I had a graphics problem a while ago and I had to try tweak it out somehow, and I ended up disableing the Intel one in the Windows Device Manager. You didn't mention you had tried to disable a card, but rather just set as preferred and primary; I would try the "Disable" option.

disabling a graphics card - Google Search

Cheers
__________________
ErikFinn is offline   Reply With Quote
Old 02-10-2016, 03:05   #7
Registered User
 
rgleason's Avatar

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

Eric Finn thanks for the suggestion. I'll try that first then do git bisect if it does not work.
__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 05:49   #8
Registered User
 
rgleason's Avatar

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

This morning I first tried a very simple form of git bisect, testing opengl on
Ocpn Nvidia Intel
4.5 fail works
4.4 fail works
4.2 fail works
4.0 fail fail

4.0 tests - It may be failing because there were changes in the way charts are handled. I can do Enc charts with both adapter boards with no OpenGL (v4.0).

Failure is a black screen and the Win10 starts looking for solutions, except with 4.0 which is a white screen with no charts and it just sits there & I can close it.
Switching between Intel HD Graphics 3000 & Nvidia Geforce 540m by using Nvidia control panel "Manage settings" > "Global settings" and picking the board.

So now I am going to try disabling my Intel board.
__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 07:15   #9
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,640
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

Maybe your hardware itself has failed.
__________________
boat_alexandra is offline   Reply With Quote
Old 02-10-2016, 07:44   #10
Registered User

Join Date: May 2011
Posts: 847
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

I have the same laptop as Rick and see the same issue with OCPN 4.4 stable release running on up to date Windows 10.
__________________
Littlechay is offline   Reply With Quote
Old 02-10-2016, 08:49   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
Issue began with migration to Windows 10 12/8/2015

Littlechay nice to know we share the same issue. We'll fix it twice as fast maybe.
----
Goto "System > Devices > Nvidia GT 540M > and right click and "Disable"
The machine goes into VGA mode and does not recognize the Nvidia card.
I think it is some kind of software wiring/dependency problem, because of the following"
----
Found in "System > Devices" > Nvidia GT 540M Display Adapter > Right Click Pick Properties.
Nvidia Geforce GT 540M 7/22/2015 Driver Version 10.18.13.5362
PCI bus 1, device 0, function 0
12/8/2015 Device migrated [to win10)

Device PCI\VEN_10DE&DEV_0DF4&SUBSYS_050E1028&REV_A1\4&4dc a75f&0&0008 requires further installation.

Under Details TAB
Device PCI\VEN_10DE&DEV_0DF4&SUBSYS_050E1028&REV_A1\4&4dc a75f&0&0008 was migrated.
Last Device Instance Id: PCI\VEN_10DE&DEV_0DF4&SUBSYS_050E1028&REV_A1\4&4dc a75f&0&0008
Class Guid: {4d36e968-e325-11ce-bfc1-08002be10318}
Location Path:
Migration Rank: 0x0
Present: true

These messages are a little confusing and unclear, but what is clear is I am using the latest Dell drivers for the card because.

Found this is the most recent Nvidia driver 12/2/2015 203mb
Video_Nvidia_W74_A09_Setup_RRN66_ZPE
which I updated before migrating.
-----
After reading forums this morning I am going to try version 353.62 and if that does not work v 347.25.
-----
Version 353.62 WHQL - Try it
This is a newer driver which is supposed to work but Windows 10 is not listed. They "say" this works with Win 10
Download 353.62
Download NVIDIA, GeForce, Quadro, and Tesla Drivers
GeForce Game Ready Driver
Version: 353.62 WHQL
Release Date: 2015.7.29
Operating System: Windows 7 64-bit, Windows 8.1 64-bit, Windows 8 64-bit
Language: English (UK)
File Size: 278.91 MB
Driver Version: 10.18.13.5362
Release Date: 2015-07-22
File Size: 281.27M
Supported OS: Windows 10 64 bit
Compatible
GeForce 500M Series (Notebooks):
GeForce GTX 580M, GeForce GTX 570M, GeForce GTX 560M, GeForce GT 555M, GeForce GT 550M, GeForce GT 540M, GeForce GT 525M, GeForce GT 520M, GeForce GT 520MX
------
Yes to version 347.25 based upon user experience
[Resolved] Problem Nvidia Panel windows 10 & GT540M
Install 347.25 for GT540M and Win 10
Drivers | GeForce
Posted 07/30/2015 10:56 AM
NVIDIA DRIVERS GeForce Game Ready Driver WHQL
--Indicates that driver 352.62 does not work and confirms that "I've solved the problem. I've installed version 347.25 and now I can use my gt 540m [with Windows 10] --also several other users had success.
--------
Version 352.84 Win10 but shows no GT 540M support
This is another earlier driver for Windows 10 but GT540M not listed.
GeForce Windows 10 Driver
Version: 352.84 WHQL
Release Date: 2015.5.15
Operating System: Windows 10 64-bit
Language: English (US)
File Size: 279.2 MB
Does not show support GT540M , not listed.
-----------
Not version 352.62
"Upgrade notebook (acer aspire 5742G) to windows 10. ---nvidia driver 352.62 I installed the driver for my video card NVIDIA GT540M with the 64bit driver for windows 10 but when I run the nvidia control panel, it stops working. I installed the driver several times but it changes nothing.
Config : Intel i5 M450 2,40 GHz 8Go Ram GT 540M (driver 352.62) + intel HD graphic."

How to uninstall all nvidia drivers.
http://nvidia.custhelp.com/app/answe...ws-based-pc%3F
http://www.nvidia.com/object/IO_13955.html
__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 08:53   #12
Registered User
 
ErikFinn's Avatar

Join Date: Feb 2011
Location: Malaysia, Thailand
Boat: Beneteau Oceanis 430
Posts: 764
Re: Opengl Issues - Intel HD Graphics & Nvidia Geforce 540M

I was able to fix my issue by disabling the INTEL card. Not the Nvidia card..

But I still use Win7, not keen on Win10..
__________________
ErikFinn is offline   Reply With Quote
Old 02-10-2016, 09:21   #13
Registered User
 
rgleason's Avatar

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

That's good, with Win10, not so easy.
Also the version 331.65 drivers may not have migrated properly due to the

Quote:
Device PCI\VEN_10DE&DEV_0DF4&SUBSYS_050E1028&REV_A1\4&4dc a75f&0&0008 requires further installation.
but this is an unknown. I think I need a driver version from Nvidia that supports both the card and Win10.
__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 10:25   #14
Registered User
 
rgleason's Avatar

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

Installed v
Cleaned registry with System Mechanic
Right clicked on the Driver 353.62 intall program, and Picked Run as admin
Installed Version 353.62 WHQL
Checked drivers under System > Device Manager.

OpenGL Extensions Viewer
Passed Nvidia again OpenGL v4.3 through 3.0
__________________
rgleason is offline   Reply With Quote
Old 02-10-2016, 11:19   #15
Registered User
 
rgleason's Avatar

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

I've written this 3 times due to the darn time limit, why doesn't it save it to my CP?
What a PITA.

The updated driver does not fix it.
Uninstalled using control p > programs
Cleaned up with sys mechanic

OpenCPN with OpenGL on running with Nvidia is not possible now either.
Tried 3 ways:
1. Nvidia Control Panel - PhysX -Global Setting to Nvidia - NO luck
2. System > Device Manager - Intel HD graphics - "Disabel - No Luck
3. Display goes to Svga, No Nvidia settings available because "Nvidia card has not display attached". Wiring goes through the Intel HD Graphics to the Nvidia?
4. Turn Intel HD graphics back on.
5. Nvidia CP - Manage Settings - Individual program - No Luck. This is the way I always used it before. Has the Win10 wiring changed or is it the Opencpn wiring?

What still puzzles me is that the Nvidia passes all of the GLviewer tests with no problem even now.

I need another program that uses opengl so I can test that with the manage settings browse to an individual program which used to work..... any ideas.
Attached Thumbnails
Click image for larger version

Name:	PhysX Config.jpg
Views:	15
Size:	30.4 KB
ID:	132164   Click image for larger version

Name:	OpenCPN + OpenGL + Nvidia Geforce GT 540M.jpg
Views:	15
Size:	17.2 KB
ID:	132165  

Click image for larger version

Name:	Intel Graphics-Off-No Nvidia-Settings.jpg
Views:	17
Size:	49.0 KB
ID:	132166   Click image for larger version

Name:	Glviewer Results.jpg
Views:	14
Size:	40.3 KB
ID:	132167  

__________________

__________________
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


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 01:09.


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.