|
From: Thomas H. <tho...@sc...> - 2014-02-27 18:17:32
|
Hi Camilo,
this should work:
PyMOL>feedback disable, opengl, warnings
Cheers,
Thomas
On 27 Feb 2014, at 08:56, Camilo Andrés Jimenez Cruz <cam...@gm...> 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 <ma...@ca...> 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
> > <cro...@gm...>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 <
> >> cam...@gm...>:
> >>
> >>> 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.
|