Pygame Init Function Broken

Viewed 283

I recently discovered a bug where

import pygame
pygame.init()

gets me this error

pygame 2.0.1 (SDL 2.0.14, Python 3.9.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  90
  Current serial number in output stream:  91

This problem has been new and unexpected, so I think it may be just pygame not working with python 3.9.2. Does anyone know a workaround? I tried using 3.8, but nothing changed. If it matters, I am using pop os.

Thanks for your help

1 Answers

Restarting my computer solved the issue, but I was still not able to use pygame 2.0.0.

Related