You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Pygame on Ubuntu 22.04 (pygame-ce 2.5, SDL 2.30.6, Python 3.12.4, tried with legacy pygame before and same thing) and noticed that it was way slower than Pyglet. After a bit of search, I found about pygame.display.Info(), and here is its output:
It seems it can't detect anything, it can't even do software acceleration. I have an RTX 3090 installed and being used normally by other applications. Any hints about what's happening and how to fix it?
The text was updated successfully, but these errors were encountered:
Pygame-ce does not use OpenGL, which is why it is more portable than pyglet (it runs on raspberry pi). Our backend is SDL, and we use SDL_Surface based rendering, which is on the CPU. SDL has a gpu backend with SDL_Renderer and we are experimenting with bringing that API into pygame-ce, but it would be a separate API, outside of pygame.Surface.
Looking through our source code I don't see a path where video_mem would ever be populated.
I think this issue can be closed now that the question has been addressed. It isn't technically feasible to add hardware acceleration to the current API so as starbuck said, it will be implemented separately.
I'm using Pygame on Ubuntu 22.04 (pygame-ce 2.5, SDL 2.30.6, Python 3.12.4, tried with legacy pygame before and same thing) and noticed that it was way slower than Pyglet. After a bit of search, I found about pygame.display.Info(), and here is its output:
It seems it can't detect anything, it can't even do software acceleration. I have an RTX 3090 installed and being used normally by other applications. Any hints about what's happening and how to fix it?
The text was updated successfully, but these errors were encountered: