Welcome! Log In Create A New Profile


DRM Double-Buffered VSync'ed Modesetting

Posted by Peewe 
Hey everyone,
I'm trying to write a driver which print things on the screen, by searching in Google I found that code :


After make and run this code I get this output :

root@MY-VirtualBox:/home/MY/Desktop/docs-master/drm-howto# ./modeset-vsyncusing card '/dev/dri/card0'
mode for connector 26 is 1920x1080
cannot set CRTC for connector 26 (13): Permission denied
cannot flip CRTC for connector 26 (13): Permission denied
wait for pending page-flip to complete...

Did someone can help me understand what I need to do to make it work ?
Thank you all and have a great day!!

Your Email:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 14 plus 23?