[DRI3] drm-authentication fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Title: Samsung Enterprise Portal mySingle

Dear all,

 

Several weeks ago I started to develop an xclient application with dri3 functionality usage.

Before that I've built the xwindow system including intel video-driver by myself(sources were cloned from freedesktop.org) and launched it instead of my OS xwindow system(command-line boot).

During build I was following this guideline.

x-server was launched in the following way:

sudo %path-to-my-Xorg%/Xorg -ac -noreset : 1 vt4

 

The following code from my application tries to open the dri3-connection:

xcb_connection_t* xcb_conn = xcb_connect(display, &scr);

xcb_dri3_open_cookie_t open_cookie = xcb_dri3_open(xcb_conn, root, None);
xcb_generic_error_t *e = NULL;
xcb_dri3_open_reply_t* open_reply = xcb_dri3_open_reply(xcb_conn, open_cookie, &e); // got NULL here
if (open_reply && open_reply->nfd == 1)

{
    int fd = xcb_dri3_open_reply_fds(xcb_conn, open_reply)[0];

}

 

Digging in intel-driver(that my xserver was using) and mesa/drm source code helped to figure out what had failed.

Intel-driver couldn't pass the drm-authentication (drmAuthMagic() has failed).

Several times I tried to rebuild a latest version of xserver, driver and whole mesa but still have the same result.

Run of test-application in mesa/drm(auth) caused to the same problem.

 

Log of xserver is attached.

I will be grateful for any recommendations.

Thanks

 

WBR, Andrey

Attachment: Xorg.1.log
Description: Binary data

_______________________________________________
dri-users mailing list
dri-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-users

[Index of Archives]     [Linux DRI Development]     [Linux Intel Graphics]     [Linux AMD Graphics]     [Video for Linux]     [Linux Audio Users]     [Yosemite Waterfalls]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux Media]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux