Re: xf86-video-intel hits an assert when using dri and xorg is not suid root

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

 



On Fri, Jun 13, 2014 at 02:08:06PM +0200, Hans de Goede wrote:
> Hi,
> 
> When trying to run the latest xorg + intel drv, with dri3, with Xorg not
> running as root, the followin assert in src/intel_device.c: authorise() :
> 
> assert(is_i915_gem(fd));
> 
> Triggers, this is caused by the DRM_IOCTL_I915_GETPARAM ioctl in
> is_i915_gem() failing with -EACCESS in this case.
> 
> I thought that the use of rendernodes should work as normal user ?

Hmm, I have

DRM_IOCTL_DEF_DRV(I915_GETPARAM, i915_getparam, DRM_AUTH|DRM_RENDER_ALLOW),

What path did find_render_node() choose? Was it right?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux