New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GL: invalid framebuffer operation OSX #137

Open
megrimm opened this Issue Feb 17, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@megrimm
Contributor

megrimm commented Feb 17, 2017

OSX 10.12
mackbook pro (2017)

After your recent commit window#1 error, etc gone but still getting:

GL: invalid framebuffer operation

This begins occurring after creating Glut window a second time. When destroy, creating window 3rd, 4th, etc. errors get progressively worse and window begins to flicker heavily. Example I used was a simple [cube] rotated with [rotateXYZ]

GLEW version 1.10.0 <-- First Creation
GLEW version 1.10.0 <-- Second Creation
GL: invalid framebuffer operation <-- After Second Creation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
etc etc etc

@umlaeute

This comment has been minimized.

Show comment
Hide comment
@umlaeute

umlaeute Feb 17, 2017

Owner

do I understand correctly that it throws one GL: invalid framebuffer operation error per closed window?

so if you created the 3rd window, you get two errors per render-cycle? (just use a ridiculously low fps to see)

Owner

umlaeute commented Feb 17, 2017

do I understand correctly that it throws one GL: invalid framebuffer operation error per closed window?

so if you created the 3rd window, you get two errors per render-cycle? (just use a ridiculously low fps to see)

@megrimm

This comment has been minimized.

Show comment
Hide comment
@megrimm

megrimm Feb 17, 2017

Contributor

it seems to give slightly different results each time but this time at least:
first create/destroy = no error
second create = a couple GL: invalid framebuffer operation
third create = faster GL: invalid framebuffer operation + window slight flickering
forth create = x3 GL: invalid framebuffer operation + window more flickering
fifth create = x4 GL: invalid framebuffer operation + [cube] geo is gone
..... gots it?

this is at (1) FPS while manually create/destroy

The error stops at each destroy

anyway:
GLEW version 1.10.0
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation

Contributor

megrimm commented Feb 17, 2017

it seems to give slightly different results each time but this time at least:
first create/destroy = no error
second create = a couple GL: invalid framebuffer operation
third create = faster GL: invalid framebuffer operation + window slight flickering
forth create = x3 GL: invalid framebuffer operation + window more flickering
fifth create = x4 GL: invalid framebuffer operation + [cube] geo is gone
..... gots it?

this is at (1) FPS while manually create/destroy

The error stops at each destroy

anyway:
GLEW version 1.10.0
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation

@megrimm

This comment has been minimized.

Show comment
Hide comment
@megrimm

megrimm Feb 17, 2017

Contributor

i timed create/destroy with a metro to see if there is a pattern and below is result. At #10 you will see it throws "couldn't find [gemglutwindow] for window#10" up.... then it just freaks out and locks up with spinning beach ball.

GEM: compiled for MMX/SSE2 architecture
GEM: using SSE2 optimization
GEM: detected 4 CPUs
GEM: image loading support: SGI jpeg tiff
GEM: image saving support: SGI jpeg tiff
GLEW version 1.10.0
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation

Contributor

megrimm commented Feb 17, 2017

i timed create/destroy with a metro to see if there is a pattern and below is result. At #10 you will see it throws "couldn't find [gemglutwindow] for window#10" up.... then it just freaks out and locks up with spinning beach ball.

GEM: compiled for MMX/SSE2 architecture
GEM: using SSE2 optimization
GEM: detected 4 CPUs
GEM: image loading support: SGI jpeg tiff
GEM: image saving support: SGI jpeg tiff
GLEW version 1.10.0
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GLEW version 1.10.0
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
couldn't find [gemglutwindow] for window#10
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation
GL: invalid framebuffer operation

@umlaeute umlaeute added the bug label Nov 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment