On 18 April 2018 at 11:22, Noralf Trønnes <noralf@xxxxxxxxxxx> wrote: >> os.putenv('SDL_VIDEODRIVER', 'fbcon') >> os.putenv('SDL_FBDEV' , '/dev/fb1') >> pygame.init() >> list = pygame.display.list_modes() >> print "List of modes: %s" % (list) >> >> It shows an empty set ("List of modes: []"). > > > I couldn't find any source code for the sdl fbcon driver, so I don't know > how it queries for modes. > The fbcon driver is an SDL1 thing. IMHO a wide move is to switch to SDL2 and its KMSDRM video backend. Disclaimer: I haven't tried how well the backend behaves. HTH Emil _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel