Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
Hi Camilo, this should work: PyMOL>feedback disable, opengl, warnings Cheers, Thomas On 27 Feb 2014, at 08:56, Camilo Andrés Jimenez Cruz wrote: > I was trying to avoid compiling pymol in windows. Is there any way to filter > this at a python level? I tried tinkering with the skin text element, but > pymol would freeze > > -- Camilo Jiménez > > On Wed, Feb 19, 2014 at 12:07 PM, mathog wrote: > This patch quiets that warning. It does nothing about the cause of the > warning (there is a TODO > in ortho.c, presumably when it gets done, the warning would go away). > > > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 > --- layer1/Ortho.c.dist 2014-02-19 08:54:36 -0800 > +++ layer1/Ortho.c 2014-02-19 08:57:03 -0800 > @@ -203,11 +203,13 @@ > #ifndef _PYMOL_GL_DRAWARRAYS >/* NEED TODO FOR _PYMOL_GL_DRAWARRAYS */ > glDrawBuffer(mode); > +#ifdef ANNOYING_WARNINGS_ENABLE > if(glGetError()) { > PRINTFB(G, FB_OpenGL, FB_Warnings) > " WARNING: glDrawBuffer caused GL error\n" ENDFB(G); > } > #endif > +#endif > I->ActiveGLBuffer = mode; > } > } > > > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 > > Once the patch is applied this warning remains > > ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns > err=1282 > > This warning shows up about 7 times when I start PyMol and load one PDB > file. > > Regards, > > David Mathog > > On 18-Feb-2014 17:59, Camilo Andrés Jimenez Cruz wrote: > > I downloaded it from the link here > > http://www.pymolwiki.org/index.php/Windows_Install > > > > > > -- Camilo Jiménez > > > > > > On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski > > wrote: > > > >> Hi Camilo. > >> > >> I've got the same error! But it seems, there's no simple solution for > >> this. Where do you have your PyMOL from? > >> > >> Cheers > >> Pawel > >> > >> > >> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz < > >> camilo.jimen...@gmail.com>: > >> > >>> Hi everybody > >>> > >>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I > >>> have > >>> tested it works well, but the console (as in the screen that the GL > >>> window > >>> shows when I press escape) and the main window keep constantly > >>> showing the > >>> message > >>> > >>> WARNING: glDrawBuffer caused GL error > >>> > >>> which is annoying because I can't see the help or any other output to > >>> there. > >>> > >>> Any ideas on how to tackle this? > >>> > >>> Thanks > >>> > >>> -- Camilo Jiménez -- Thomas Holder PyMOL Developer Schrödinger, Inc. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
On 27-Feb-2014 08:56, Camilo Andrés Jimenez Cruz wrote: > I was trying to avoid compiling pymol in windows. Is there any way to > filter this at a python level? I tried tinkering with the skin text > element, but pymol would freeze I don't know what PRINTFB turns into, but since the message eventually appears in a screen window it is possible that it passes through some section of Python code to get there. If that is the case, then you should be able to filter it out with Python. If not, well, then not. Compiling PyMOL for windows wasn't that difficult. Basically I built it like the Linux version using the same mingw/msys build environment I already had on hand for building other Linux programs. I will post instructions for doing this if the current owners of PyMOL say here that it is OK to do so. (I did something like that in this list once before and there was, um, push back, as a result. But that was many years ago, before Schrodinger.) Of course, if somebody wants a _supported_ Windows PyMOL version, they should still buy one of the licensed versions, otherwise none of the incentive bits will be present. Regards, David Mathog mat...@caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
I was trying to avoid compiling pymol in windows. Is there any way to filter this at a python level? I tried tinkering with the skin text element, but pymol would freeze -- Camilo Jiménez On Wed, Feb 19, 2014 at 12:07 PM, mathog wrote: > This patch quiets that warning. It does nothing about the cause of the > warning (there is a TODO > in ortho.c, presumably when it gets done, the warning would go away). > > > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 > --- layer1/Ortho.c.dist 2014-02-19 08:54:36 -0800 > +++ layer1/Ortho.c 2014-02-19 08:57:03 -0800 > @@ -203,11 +203,13 @@ > #ifndef _PYMOL_GL_DRAWARRAYS >/* NEED TODO FOR _PYMOL_GL_DRAWARRAYS */ > glDrawBuffer(mode); > +#ifdef ANNOYING_WARNINGS_ENABLE > if(glGetError()) { > PRINTFB(G, FB_OpenGL, FB_Warnings) > " WARNING: glDrawBuffer caused GL error\n" ENDFB(G); > } > #endif > +#endif > I->ActiveGLBuffer = mode; > } > } > > > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 > > Once the patch is applied this warning remains > > ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns > err=1282 > > This warning shows up about 7 times when I start PyMol and load one PDB > file. > > Regards, > > David Mathog > > On 18-Feb-2014 17:59, Camilo Andrés Jimenez Cruz wrote: > > I downloaded it from the link here > > http://www.pymolwiki.org/index.php/Windows_Install > > > > > > -- Camilo Jiménez > > > > > > On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski > > wrote: > > > >> Hi Camilo. > >> > >> I've got the same error! But it seems, there's no simple solution for > >> this. Where do you have your PyMOL from? > >> > >> Cheers > >> Pawel > >> > >> > >> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz < > >> camilo.jimen...@gmail.com>: > >> > >>> Hi everybody > >>> > >>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I > >>> have > >>> tested it works well, but the console (as in the screen that the GL > >>> window > >>> shows when I press escape) and the main window keep constantly > >>> showing the > >>> message > >>> > >>> WARNING: glDrawBuffer caused GL error > >>> > >>> which is annoying because I can't see the help or any other output to > >>> there. > >>> > >>> Any ideas on how to tackle this? > >>> > >>> Thanks > >>> > >>> -- Camilo Jiménez > >>> > >>> > >>> > -- > >>> Managing the Performance of Cloud-Based Applications > >>> Take advantage of what the Cloud has to offer - Avoid Common > >>> Pitfalls. > >>> Read the Whitepaper. > >>> > >>> > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > >>> ___ > >>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > >>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > >>> Archives: > >>> http://www.mail-archive.com/pymol-users@lists.sourceforge.net > >>> > >> > >> > > > > > -- > > Managing the Performance of Cloud-Based Applications > > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > > Read the Whitepaper. > > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > > > > ___ > > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > > > > -- > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > ___ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
This patch quiets that warning. It does nothing about the cause of the warning (there is a TODO in ortho.c, presumably when it gets done, the warning would go away). > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 --- layer1/Ortho.c.dist 2014-02-19 08:54:36 -0800 +++ layer1/Ortho.c 2014-02-19 08:57:03 -0800 @@ -203,11 +203,13 @@ #ifndef _PYMOL_GL_DRAWARRAYS /* NEED TODO FOR _PYMOL_GL_DRAWARRAYS */ glDrawBuffer(mode); +#ifdef ANNOYING_WARNINGS_ENABLE if(glGetError()) { PRINTFB(G, FB_OpenGL, FB_Warnings) " WARNING: glDrawBuffer caused GL error\n" ENDFB(G); } #endif +#endif I->ActiveGLBuffer = mode; } } > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8 Once the patch is applied this warning remains ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns err=1282 This warning shows up about 7 times when I start PyMol and load one PDB file. Regards, David Mathog On 18-Feb-2014 17:59, Camilo Andrés Jimenez Cruz wrote: > I downloaded it from the link here > http://www.pymolwiki.org/index.php/Windows_Install > > > -- Camilo Jiménez > > > On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski > wrote: > >> Hi Camilo. >> >> I've got the same error! But it seems, there's no simple solution for >> this. Where do you have your PyMOL from? >> >> Cheers >> Pawel >> >> >> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz < >> camilo.jimen...@gmail.com>: >> >>> Hi everybody >>> >>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I >>> have >>> tested it works well, but the console (as in the screen that the GL >>> window >>> shows when I press escape) and the main window keep constantly >>> showing the >>> message >>> >>> WARNING: glDrawBuffer caused GL error >>> >>> which is annoying because I can't see the help or any other output to >>> there. >>> >>> Any ideas on how to tackle this? >>> >>> Thanks >>> >>> -- Camilo Jiménez >>> >>> >>> -- >>> Managing the Performance of Cloud-Based Applications >>> Take advantage of what the Cloud has to offer - Avoid Common >>> Pitfalls. >>> Read the Whitepaper. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >>> ___ >>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) >>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >>> Archives: >>> http://www.mail-archive.com/pymol-users@lists.sourceforge.net >>> >> >> > > -- > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > > ___ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
I downloaded it from the link here http://www.pymolwiki.org/index.php/Windows_Install -- Camilo Jiménez On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski wrote: > Hi Camilo. > > I've got the same error! But it seems, there's no simple solution for > this. Where do you have your PyMOL from? > > Cheers > Pawel > > > 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz < > camilo.jimen...@gmail.com>: > >> Hi everybody >> >> I installed pymol 1.6.x unofficial in windows 7 home. As far as I have >> tested it works well, but the console (as in the screen that the GL window >> shows when I press escape) and the main window keep constantly showing the >> message >> >> WARNING: glDrawBuffer caused GL error >> >> which is annoying because I can't see the help or any other output to >> there. >> >> Any ideas on how to tackle this? >> >> Thanks >> >> -- Camilo Jiménez >> >> >> -- >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> ___ >> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net >> > > -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
Hi Camilo. I've got the same error! But it seems, there's no simple solution for this. Where do you have your PyMOL from? Cheers Pawel 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz < camilo.jimen...@gmail.com>: > Hi everybody > > I installed pymol 1.6.x unofficial in windows 7 home. As far as I have > tested it works well, but the console (as in the screen that the GL window > shows when I press escape) and the main window keep constantly showing the > message > > WARNING: glDrawBuffer caused GL error > > which is annoying because I can't see the help or any other output to > there. > > Any ideas on how to tackle this? > > Thanks > > -- Camilo Jiménez > > > -- > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > ___ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
[PyMOL] WARNING: glDrawBuffer caused GL error on windows 7
Hi everybody I installed pymol 1.6.x unofficial in windows 7 home. As far as I have tested it works well, but the console (as in the screen that the GL window shows when I press escape) and the main window keep constantly showing the message WARNING: glDrawBuffer caused GL error which is annoying because I can't see the help or any other output to there. Any ideas on how to tackle this? Thanks -- Camilo Jiménez -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net