On Sam, 2002-11-23 at 10:11, Wang WenRui wrote:
>
> 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.
I suspected something like that and have committed the fix, thanks.
--
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
-------------------------------------------------------
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