Hi, there:
Non-root users' gl apps will crash with r128 driver:
name of display: :0.0
drmR128GetParam (R128_PARAM_IRQ_NR): -13
Segmentation fault
every thing is okay with root.It seems that the permission is wrong somewhere. But the
DRI section set to 0666, and the files' permission bit is right.....
Now I worked it out : at r128.h in drm kernel module source, change this line :
[DRM_IOCTL_NR(DRM_IOCTL_R128_GETPARAM)] = { r128_getparam, 1, 1 },
to
[DRM_IOCTL_NR(DRM_IOCTL_R128_GETPARAM)] = { r128_getparam, 1, 0 }
and all works correctly.
The last number means only root or sth else can do this ioctl call.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel