Why does openGL suddenly have problems, a few days ago the program was working fine, can anyone help me, thanks!

pyglet.gl.lib.MissingFunctionException: glCreateProgramObjectARB is not exported by the available OpenGL driver. ARB_shader_objects is required for this functionality.
detail:
############ Running: C:\Users\keqin\Documents\untitled_lastrun.py #############
44.6727 INFO Loaded monitor calibration from [‘2023_12_08 16:55’]
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
4.7046 WARNING User requested fullscreen with size [1024 768], but screen is actually [2160, 1440]. Using actual size
Traceback (most recent call last):
4.8524 WARNING Trying to use a framebuffer object but GL_EXT_framebuffer_object is not supported. Disabled
4.8524 WARNING Trying to use a framebuffer object but GL_ARB_texture_float is not supported. Disabling
File “C:\Users\keqin\Documents\untitled_lastrun.py”, line 517, in
win = setupWindow(expInfo=expInfo)
File “C:\Users\keqin\Documents\untitled_lastrun.py”, line 160, in setupWindow
win = visual.Window(
File “D:\psychopy\lib\site-packages\psychopy\visual\window.py”, line 616, in init
self._monitorFrameRate = self.getActualFrameRate()
File “D:\psychopy\lib\site-packages\psychopy\visual\window.py”, line 3342, in getActualFrameRate
self.showMessage(
File “D:\psychopy\lib\site-packages\psychopy\visual\window.py”, line 3288, in showMessage
self._splashTextbox = TextBox2(
File “D:\psychopy\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 218, in init
self.shader = alphaShader = shaders.Shader(
File “D:\psychopy\lib\site-packages\psychopy\visual\shaders.py”, line 42, in init
self.handle = GL.glCreateProgramObjectARB()
File “D:\psychopy\lib\site-packages\pyglet\gl\lib_wgl.py”, line 107, in call
return self.func(*args, **kwargs)
File “D:\psychopy\lib\site-packages\pyglet\gl\lib.py”, line 64, in MissingFunction
raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glCreateProgramObjectARB is not exported by the available OpenGL driver. ARB_shader_objects is required for this functionality.
################ Experiment ended with exit code 1 [pid:16584] #################
51.1148 INFO Loaded monitor calibration from [‘2023_12_08 16:55’]

1 Like