> libGL error: drmMap of framebuffer failed (Invalid argument) > libGL error: reverting to (slow) indirect rendering
I've been wondering about this, I mentioned it to Alan + Keith at XDC, I've had to patch my libdrm to be okay with an 0 length mmap, Something like I'm sure TG have done something different or maybe just never checed this in .. Dave. =================================================================== RCS file: /cvs/dri/drm/libdrm/xf86drm.c,v retrieving revision 1.58 diff -u -b -r1.58 xf86drm.c --- libdrm/xf86drm.c 31 Dec 2005 11:48:12 -0000 1.58 +++ libdrm/xf86drm.c 15 Feb 2006 19:56:20 -0000 @@ -1047,6 +1047,7 @@ if (fd < 0) return -EINVAL; + if (size==0) return 0; if (!pagesize_mask) pagesize_mask = getpagesize() - 1; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel