mi0283qt driver issues
Emil Velikov
emil.l.velikov at gmail.com
Wed Apr 18 13:18:24 UTC 2018
On 18 April 2018 at 11:22, Noralf Trønnes <noralf at tronnes.org> 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
More information about the dri-devel
mailing list