BadAlloc error when using GPU

Running a Python script when using a GPU results in:

X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 0
Current serial number in output stream: 94

1 Like

Please link a minimal repl which reproduces the issue, so that the team can better understand the problem

3 Likes