Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-17-2017, 05:43 AM   #1
LQ Newbie
Registered: May 2017
Posts: 8

Rep: Reputation: Disabled
DRM Double-Buffered VSync'ed Modesetting

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!!
Old 05-18-2017, 05:31 AM   #2
LQ Newbie
Registered: Oct 2013
Distribution: ubuntu
Posts: 5

Rep: Reputation: Disabled
generally ... to access devices the 'user' would require extra permission ... [ie admin/superuser] , whilst your user prompt indicates 'root' , are you running as root? ...

what are the permissions on the device (ls -l .... )

you may want to run a debugger and step through.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
glxgears: Error: couldn't get an RGB, Double-buffered visual. awkawaii Linux - Software 37 08-14-2016 04:03 AM
glxgears: Error: couldn't get an RGB, Double-buffered visual. awkawaii CentOS 4 08-08-2016 12:25 PM
[SOLVED] BLFS - ATI Radeon & Xorg - drm report modesetting isn't supported svadi666 Linux From Scratch 16 10-06-2015 08:47 PM
glxgears: Error: couldn't get an RGB, Double-buffered visual. koodoo Linux - Newbie 10 08-15-2008 10:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration