[Dri-users] KMS experiments

Léo Gillot-Lamure leo.gillot at navaati.net
Wed Feb 29 05:53:15 PST 2012


Hi.

I'm trying to play with KMS using libdrm and libkms.

With the help of people on #xorg-devel (thanks to them) i wrote the code
in attachment. It is supposed to display a red square of 100x100 pixels
at the top left corner of the screen. Of course it does not : when i run
it, there is actually a mode setting operation done since my tty goes
black but no red square appears.

Could somebody check this code to see the obvious errors or
misunderstanding of the whole thing i must have done ?

Regards,

Léo Gillot-Lamure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kms_test.c
Type: text/x-csrc
Size: 3254 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/dri-users/attachments/20120229/7520e0ea/attachment.c>


More information about the dri-users mailing list