<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - drmSetMaster and drmDropMaster need root privileges"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90079#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - drmSetMaster and drmDropMaster need root privileges"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90079">bug 90079</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>The root limitation when using the KMS API is deliberate. If your program only
wants to render things then opening/using a render node is what you want.

Looking at the problem from another angle:
As of recently one could use X server without root access, although that
involves using systemd-logind. Not 100% if that will do exactly what you want
but having a quick look at the code and checking David's blog [1] on the topic
won't hurt.

[1] <a href="https://dvdhrm.wordpress.com/">https://dvdhrm.wordpress.com/</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>