Welcome! Log In Create A New Profile

Advanced

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 :

[github.com]

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...
exiting

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

Your Email:


Subject:


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 12 plus 20?
Message: