Donnie Berkholz wrote: > Bernardo Innocenti wrote: >>> >>>Is there a reason why this code is not appropriate for >>>merging into the official DRM? > > You might like to follow https://bugs.freedesktop.org/show_bug.cgi?id=943.
Thank you! I fetched the latest patch and it applied quite nicely to the patched drm tree in r300 CVS, and the modules still work fine with 64bit clients. I had some hard time trying to build a working 32bit libGL.so. GL clients crashed and GDB also crashed while debugging them. Finally, I discovered that ld was linking a few x86_64 objects from libdrm without even issuing an hard error. Damnit, building 32bit stuff in a 64bit is quite tricky! Now libGL works, but something else fails and 32bit clients fall back to indirect rendering: ---cut--- # LIBGL_DEBUG=verbose ./glxgears32 libGL: XF86DRIGetClientDriverName: 4.0.1 r300 (screen 0) libGL: OpenDriver: trying /usr/local/xorg/lib/modules/dri/r300_dri.so bernie: drmOpen = 0xf7d74738 or 0xf7f6a8d0 bernie: drmOpen=0xf7f6a8d0(NULL,pci:0000:01:00.0) drmOpenByBusid: Searching for BusID pci:0000:01:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 libGL error: radeonCreateScreen: drmMap failed libGL warning: 3D driver returned no fbconfigs. libGL error: InitDriver failed libGL error: reverting to (slow) indirect rendering 1918 frames in 5.0 seconds = 383.600 FPS ---cut--- -- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel