From andrew.parsons at earth.ox.ac.uk Tue Jan 9 23:49:15 2018 From: andrew.parsons at earth.ox.ac.uk (Andrew Parsons) Date: Tue, 9 Jan 2018 12:49:15 +0000 Subject: [GPlates-discuss] openGL error Message-ID: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk> Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Error2.jpg Type: image/jpeg Size: 170898 bytes Desc: Error2.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Error1.jpg Type: image/jpeg Size: 201085 bytes Desc: Error1.jpg URL: From bruce.eglington at usask.ca Wed Jan 10 01:08:02 2018 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Tue, 9 Jan 2018 14:08:02 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk> References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk> Message-ID: Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.parsons at earth.ox.ac.uk Wed Jan 10 01:18:14 2018 From: andrew.parsons at earth.ox.ac.uk (Andrew Parsons) Date: Tue, 9 Jan 2018 14:18:14 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk>, Message-ID: <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk> Interesting - Im running windows 8.1 on a Lenovo. My graphic card is an Intel(R) HG Graphics 4400. I have OpenGL 4.3. All drivers are up to date. OpenGL has 100% functionality on all core features up to version 4.3 of OpenGL. My graphics card has 40 % functionality of all OpenGL 4.4 core features, 9% functionality of all OpenGL 4.5 core features and 0% of all OpenGL 4.6 core features. There does not seem to be a way to update these missing OpenGL features so perhaps these are the missing OpenGL functionalities that GPlates needs to import 3D scalar fields. Any further help or advice you can provide will be greatly appreciated. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: 09 January 2018 14:08 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce.eglington at usask.ca Wed Jan 10 01:33:42 2018 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Tue, 9 Jan 2018 14:33:42 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk> References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk>, <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk> Message-ID: Hi Will have to wait for John Cannon's input. I have the same graphics card and OpenGL version but with 80% of OpenGL 4.4 core features, 9% of 4.5 and 9% of 4.6 and 8% of ARB2015. I have the most up-to-date version of DirectX installed (just checked). Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 08:18 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Interesting - Im running windows 8.1 on a Lenovo. My graphic card is an Intel(R) HG Graphics 4400. I have OpenGL 4.3. All drivers are up to date. OpenGL has 100% functionality on all core features up to version 4.3 of OpenGL. My graphics card has 40 % functionality of all OpenGL 4.4 core features, 9% functionality of all OpenGL 4.5 core features and 0% of all OpenGL 4.6 core features. There does not seem to be a way to update these missing OpenGL features so perhaps these are the missing OpenGL functionalities that GPlates needs to import 3D scalar fields. Any further help or advice you can provide will be greatly appreciated. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: 09 January 2018 14:08 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.cannon at sydney.edu.au Wed Jan 10 16:30:33 2018 From: john.cannon at sydney.edu.au (John Cannon) Date: Wed, 10 Jan 2018 05:30:33 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk>, <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk>, Message-ID: <1E57973145EDFC41B1D69DE11923922801B95A6F53@ex-mbx-pro-05> Hi Andy and Bruce, Thanks for confirming your graphics chipsets (and confirming the OpenGL 4 features!). These Intel GPUs are more than capable of all GPlates functionality (the highest requirement being OpenGL 3). But despite this, the problem you are having still happens with GPlates on some of these more-than-capable Intel GPUs/drivers (see 'gory detail' section below). A recent workaround has been implemented (that will be in the next GPlates release 2.1 around Feb) that allows you to load (or import) a 3D scalar field on these systems, but if you click on the "Enable surface polygons mask" check box then the error message (see attached screenshot) should appear, and then the check box will get disabled (so can't get clicked again). Which basically means you can now view isosurfaces and cross-sections, but without surface masking (on these systems). Also if you are on a dual-GPU system (one with an integrated GPU, eg Intel; and a dedicated GPU, eg Nvidia) you could try switching to the dedicated GPU manually (since the integrated Intel GPU is having the problem). On dual GPU systems this is sometimes needed because from what I've read, when the GPU is not forced by the user, the graphics driver decides when to automatically switch GPUs. Here's an article referring to the Nvidia control panel... https://protect-au.mimecast.com/s/jUcVCP7yOZtNoPyBiz3p48?domain=techadvisor.co.uk /gory detail on/ While much of GPlates uses new OpenGL functionality, there is still much of GPlates that uses the old fixed-functionality deprecated in OpenGL 3.0 (OpenGL deprecated quite a large amount of functionality to provide a clean break from the legacy OpenGL API as graphics hardware transitioned from using fixed/hardwired functionality to programmable shader programs). GPlates gets around this deprecation by relying on backward-compatibility support in graphics drivers. This enables GPlates to support graphics hardware dating all the way back to OpenGL 1.1 (ie, ancient) while optionally supporting things like 3D volume visualization for more recent graphics hardware (via OpenGL extensions). It all seems to be holding together quite well for GPlates on most systems, but it will likely become more problematic as new drivers/hardware are released over time. This is because backward compatibility in graphics drivers will start to fall through the cracks since it's actually a pain for driver writers to support OpenGL 3+ and legacy OpenGL together. And I think we're seeing this a bit with the Intel drivers since it appears they're partially removing/renaming 'texture2D()' (but only in 'geometry' shaders) whereas Nvidia and AMD still support it. So instead of relying on the drivers, in the long term GPlates will ideally need to have separate code paths for legacy OpenGL and OpenGL 3+. GPlates has a roadmap for this, but it's not trivial by any means. The first stage has been completed (for other reasons actually), which is an engine/wrapper around OpenGL (instead of calling OpenGL directly as was done in the past). This should hopefully enable the two code paths to be implemented inside the wrapper (isolating it away from the rest of GPlates). Actually this problem with Intel drivers is really the first indication of this issue so far. /gory detail off/ Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: Wednesday, 10 January 2018 1:33 AM To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Will have to wait for John Cannon?s input. I have the same graphics card and OpenGL version but with 80% of OpenGL 4.4 core features, 9% of 4.5 and 9% of 4.6 and 8% of ARB2015. I have the most up-to-date version of DirectX installed (just checked). Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 08:18 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Interesting - Im running windows 8.1 on a Lenovo. My graphic card is an Intel(R) HG Graphics 4400. I have OpenGL 4.3. All drivers are up to date. OpenGL has 100% functionality on all core features up to version 4.3 of OpenGL. My graphics card has 40 % functionality of all OpenGL 4.4 core features, 9% functionality of all OpenGL 4.5 core features and 0% of all OpenGL 4.6 core features. There does not seem to be a way to update these missing OpenGL features so perhaps these are the missing OpenGL functionalities that GPlates needs to import 3D scalar fields. Any further help or advice you can provide will be greatly appreciated. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: 09 January 2018 14:08 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.PNG Type: image/png Size: 42089 bytes Desc: Capture.PNG URL: From andrew.parsons at earth.ox.ac.uk Wed Jan 10 20:54:44 2018 From: andrew.parsons at earth.ox.ac.uk (Andrew Parsons) Date: Wed, 10 Jan 2018 09:54:44 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: <1E57973145EDFC41B1D69DE11923922801B95A6F53@ex-mbx-pro-05> References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk>, <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk>, , <1E57973145EDFC41B1D69DE11923922801B95A6F53@ex-mbx-pro-05> Message-ID: <696B4E5533401843928CE1E36A8D2B32368501F5@MBX11.ad.oak.ox.ac.uk> Thanks John - that is unfortunate news about not being able to display the surface mask with an underlying 3D scalar field. I am actually in the process of ordering a new computer to work on. Are you able to tell me which machines or graphic card set ups will be able to handle 3d scalar fields plus surface polygon masks? Im currently looking at a windows based machine but if this is a problem then I could swap to mac. Windows would be my preference though. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of John Cannon [john.cannon at sydney.edu.au] Sent: 10 January 2018 05:30 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Andy and Bruce, Thanks for confirming your graphics chipsets (and confirming the OpenGL 4 features!). These Intel GPUs are more than capable of all GPlates functionality (the highest requirement being OpenGL 3). But despite this, the problem you are having still happens with GPlates on some of these more-than-capable Intel GPUs/drivers (see 'gory detail' section below). A recent workaround has been implemented (that will be in the next GPlates release 2.1 around Feb) that allows you to load (or import) a 3D scalar field on these systems, but if you click on the "Enable surface polygons mask" check box then the error message (see attached screenshot) should appear, and then the check box will get disabled (so can't get clicked again). Which basically means you can now view isosurfaces and cross-sections, but without surface masking (on these systems). Also if you are on a dual-GPU system (one with an integrated GPU, eg Intel; and a dedicated GPU, eg Nvidia) you could try switching to the dedicated GPU manually (since the integrated Intel GPU is having the problem). On dual GPU systems this is sometimes needed because from what I've read, when the GPU is not forced by the user, the graphics driver decides when to automatically switch GPUs. Here's an article referring to the Nvidia control panel... https://protect-au.mimecast.com/s/lDm2CoVzGQiPB0rRI1adFb?domain=techadvisor.co.uk /gory detail on/ While much of GPlates uses new OpenGL functionality, there is still much of GPlates that uses the old fixed-functionality deprecated in OpenGL 3.0 (OpenGL deprecated quite a large amount of functionality to provide a clean break from the legacy OpenGL API as graphics hardware transitioned from using fixed/hardwired functionality to programmable shader programs). GPlates gets around this deprecation by relying on backward-compatibility support in graphics drivers. This enables GPlates to support graphics hardware dating all the way back to OpenGL 1.1 (ie, ancient) while optionally supporting things like 3D volume visualization for more recent graphics hardware (via OpenGL extensions). It all seems to be holding together quite well for GPlates on most systems, but it will likely become more problematic as new drivers/hardware are released over time. This is because backward compatibility in graphics drivers will start to fall through the cracks since it's actually a pain for driver writers to support OpenGL 3+ and legacy OpenGL together. And I think we're seeing this a bit with the Intel drivers since it appears they're partially removing/renaming 'texture2D()' (but only in 'geometry' shaders) whereas Nvidia and AMD still support it. So instead of relying on the drivers, in the long term GPlates will ideally need to have separate code paths for legacy OpenGL and OpenGL 3+. GPlates has a roadmap for this, but it's not trivial by any means. The first stage has been completed (for other reasons actually), which is an engine/wrapper around OpenGL (instead of calling OpenGL directly as was done in the past). This should hopefully enable the two code paths to be implemented inside the wrapper (isolating it away from the rest of GPlates). Actually this problem with Intel drivers is really the first indication of this issue so far. /gory detail off/ Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: Wednesday, 10 January 2018 1:33 AM To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Will have to wait for John Cannon?s input. I have the same graphics card and OpenGL version but with 80% of OpenGL 4.4 core features, 9% of 4.5 and 9% of 4.6 and 8% of ARB2015. I have the most up-to-date version of DirectX installed (just checked). Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 08:18 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Interesting - Im running windows 8.1 on a Lenovo. My graphic card is an Intel(R) HG Graphics 4400. I have OpenGL 4.3. All drivers are up to date. OpenGL has 100% functionality on all core features up to version 4.3 of OpenGL. My graphics card has 40 % functionality of all OpenGL 4.4 core features, 9% functionality of all OpenGL 4.5 core features and 0% of all OpenGL 4.6 core features. There does not seem to be a way to update these missing OpenGL features so perhaps these are the missing OpenGL functionalities that GPlates needs to import 3D scalar fields. Any further help or advice you can provide will be greatly appreciated. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: 09 January 2018 14:08 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.cannon at sydney.edu.au Wed Jan 10 21:15:15 2018 From: john.cannon at sydney.edu.au (John Cannon) Date: Wed, 10 Jan 2018 10:15:15 +0000 Subject: [GPlates-discuss] openGL error In-Reply-To: <696B4E5533401843928CE1E36A8D2B32368501F5@MBX11.ad.oak.ox.ac.uk> References: <696B4E5533401843928CE1E36A8D2B3236850165@MBX11.ad.oak.ox.ac.uk>, <696B4E5533401843928CE1E36A8D2B3236850189@MBX11.ad.oak.ox.ac.uk>, , <1E57973145EDFC41B1D69DE11923922801B95A6F53@ex-mbx-pro-05>, <696B4E5533401843928CE1E36A8D2B32368501F5@MBX11.ad.oak.ox.ac.uk> Message-ID: <1E57973145EDFC41B1D69DE11923922801B95A6F82@ex-mbx-pro-05> I've only had this problem reported on Intel GPUs, so I think a Nvidia or AMD GPU should be fine. And you should be fine on Windows. Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Andrew Parsons [andrew.parsons at earth.ox.ac.uk] Sent: Wednesday, 10 January 2018 8:54 PM To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Thanks John - that is unfortunate news about not being able to display the surface mask with an underlying 3D scalar field. I am actually in the process of ordering a new computer to work on. Are you able to tell me which machines or graphic card set ups will be able to handle 3d scalar fields plus surface polygon masks? Im currently looking at a windows based machine but if this is a problem then I could swap to mac. Windows would be my preference though. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of John Cannon [john.cannon at sydney.edu.au] Sent: 10 January 2018 05:30 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Andy and Bruce, Thanks for confirming your graphics chipsets (and confirming the OpenGL 4 features!). These Intel GPUs are more than capable of all GPlates functionality (the highest requirement being OpenGL 3). But despite this, the problem you are having still happens with GPlates on some of these more-than-capable Intel GPUs/drivers (see 'gory detail' section below). A recent workaround has been implemented (that will be in the next GPlates release 2.1 around Feb) that allows you to load (or import) a 3D scalar field on these systems, but if you click on the "Enable surface polygons mask" check box then the error message (see attached screenshot) should appear, and then the check box will get disabled (so can't get clicked again). Which basically means you can now view isosurfaces and cross-sections, but without surface masking (on these systems). Also if you are on a dual-GPU system (one with an integrated GPU, eg Intel; and a dedicated GPU, eg Nvidia) you could try switching to the dedicated GPU manually (since the integrated Intel GPU is having the problem). On dual GPU systems this is sometimes needed because from what I've read, when the GPU is not forced by the user, the graphics driver decides when to automatically switch GPUs. Here's an article referring to the Nvidia control panel... https://protect-au.mimecast.com/s/mI_pCP7yOZtNoxomCzOYr6?domain=techadvisor.co.uk /gory detail on/ While much of GPlates uses new OpenGL functionality, there is still much of GPlates that uses the old fixed-functionality deprecated in OpenGL 3.0 (OpenGL deprecated quite a large amount of functionality to provide a clean break from the legacy OpenGL API as graphics hardware transitioned from using fixed/hardwired functionality to programmable shader programs). GPlates gets around this deprecation by relying on backward-compatibility support in graphics drivers. This enables GPlates to support graphics hardware dating all the way back to OpenGL 1.1 (ie, ancient) while optionally supporting things like 3D volume visualization for more recent graphics hardware (via OpenGL extensions). It all seems to be holding together quite well for GPlates on most systems, but it will likely become more problematic as new drivers/hardware are released over time. This is because backward compatibility in graphics drivers will start to fall through the cracks since it's actually a pain for driver writers to support OpenGL 3+ and legacy OpenGL together. And I think we're seeing this a bit with the Intel drivers since it appears they're partially removing/renaming 'texture2D()' (but only in 'geometry' shaders) whereas Nvidia and AMD still support it. So instead of relying on the drivers, in the long term GPlates will ideally need to have separate code paths for legacy OpenGL and OpenGL 3+. GPlates has a roadmap for this, but it's not trivial by any means. The first stage has been completed (for other reasons actually), which is an engine/wrapper around OpenGL (instead of calling OpenGL directly as was done in the past). This should hopefully enable the two code paths to be implemented inside the wrapper (isolating it away from the rest of GPlates). Actually this problem with Intel drivers is really the first indication of this issue so far. /gory detail off/ Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: Wednesday, 10 January 2018 1:33 AM To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Will have to wait for John Cannon?s input. I have the same graphics card and OpenGL version but with 80% of OpenGL 4.4 core features, 9% of 4.5 and 9% of 4.6 and 8% of ARB2015. I have the most up-to-date version of DirectX installed (just checked). Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 08:18 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Interesting - Im running windows 8.1 on a Lenovo. My graphic card is an Intel(R) HG Graphics 4400. I have OpenGL 4.3. All drivers are up to date. OpenGL has 100% functionality on all core features up to version 4.3 of OpenGL. My graphics card has 40 % functionality of all OpenGL 4.4 core features, 9% functionality of all OpenGL 4.5 core features and 0% of all OpenGL 4.6 core features. There does not seem to be a way to update these missing OpenGL features so perhaps these are the missing OpenGL functionalities that GPlates needs to import 3D scalar fields. Any further help or advice you can provide will be greatly appreciated. Cheers Andy ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: 09 January 2018 14:08 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] openGL error Hi Interestingly, I just tried on my computer (a modern Lenovo laptop running Windows 10) and get the same error so I suspect the issue is more fundamental than just your specific computer. Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Andrew Parsons Sent: Tuesday, January 9, 2018 06:49 To: john.cannon at sydney.edu.au; gplates-discuss at mailman.sydney.edu.au Subject: [GPlates-discuss] openGL error Hi, I keep getting an error whenever i click on 'Import 3D scalar field': "Error: Cannot import or render scalar fields on this graphics hardware - necessary OpenGL funcitonality missing" Take a look at the attached jpegs for the full message. Please can you tell me if there is anything I can do to fix this issue? Based on what the error message says it looks like the only fix would be to get a better graphics card - is this correct? If so, please can you tell what specifications of graphics card I need to load 3d scalar fields Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: