Hey everyone,
I'm trying to write a driver which print things on the screen, by searching in Google I found that code :
https://github.com/dvdhrm/docs/blob/...odeset-vsync.c
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!!