Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6052

PyGame Wayland Warning on Ubuntu

$
0
0

I am currently programming a game using Python and PyGame. I use Ubuntu 23.10 x86_64 and verified that it uses Wayland as the default display server. (echo $XDG_SESSION_TYPE returns "wayland"). Until recently, I've never encountered any problems, but now I suddenly got a warning that appears every time I run the game:

Warning: PyGame seems to be running through X11 on top of wayland, instead of wayland directly  screen = pygame.display.set_mode((0, 0), pygame.RESIZABLE)

I've searched online but didn't find any solution to this warning. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 6052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>