--- [EMAIL PROTECTED] wrote: > > > I think you're right Alex. This is what I think happened. I noticed > that > > when the various Imakefile and Imakefile.inc were updated with > regards to > > the file shuffle from the latest mesa update they were only > committed to > > head. They weren't added to the mach64-0-0-7-branch. I had > previously > > tried to fix this on my local tree. It had worked but I think it > replace > > some of the other Imakefiles from the trunk and the mach64 driver > itself > > never got built. This time around I'm going through by hand and > replacing > > files from trunk and so far it looks like its going to work. I > am > > keeping a list of the files I've had to update so maybe afterwards > > someone with cvs access can add the correct files to the branch. > > > > To get around the make errors with regards to the missing mesa files > it > was required to replace the make files in /xc/xc/lib/GL/mesa and its > subdirectories with the most current Imakefile and Imakefile.inc from > the > head cvs. The same was required with the Imakefile and Imakefile.inc > files in /xc/xc/programs/Xserver/GL/mesa and its subdirectories. > After > which dri builds fine and drm/dri is enabled according to the log. > Glxinfo still shows no direct rendering and use of mesa indirect. > There > is some interesting output from libgl_debug upon calling glxinfo or > gears > > LIBGL_DEBUG=verbose /usr/X11R6/bin/glxgears > libGL: XF86DRIGetClientDriverName: 6.5.3 mach64 (screen 0) > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so > libGL error: dlopen /usr/X11R6/lib/modules/dri/mach64_dri.so failed > (/usr/X11R6/lib/modules/dri/mach64_dri.so: undefined symbol: > _mesa_init_program) > > I tried replacing my mach64_dri.so from the latest binary (march28) > and > got a similar but different error. > > libGL error: unable to find driver: mach64_dri.so > libGL: XF86DRIGetClientDriverName: 6.5.3 mach64 (screen 0) > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so > libGL error: dlopen /usr/X11R6/lib/modules/dri/mach64_dri.so failed > (/usr/X11R6/lib/modules/dri/mach64_dri.so: undefined symbol: > _swrast_alloc_aux_buffers) > libGL error: unable to find driver: mach64_dri.so > > I added context.h to > /xc/xc/lib/GL/mesa/drivers/dri/mach64/mach64_context.h. This didn't > solve > the problem on a rebuild but I also forgot to remove it so it may > have > contributed to the solution. > > Finally, the problem was in the Imakefiles again. > /xc/xc/lib/GL/mesa/drivers/dri/mach64/ Imakefile and Imakefile.inc. > Imakefile > at line 24 add > #include "../../../shader/Imakefile.inc" > > Imakefile.inc > at line 26 add > -I$(XF86COMSRC) \ > > I'm not sure if that made a difference. I think it didn't but it was > 4 am > and I was getting sloppy, and forgot to remove it. > > at line 35 add > -I$(MESASRCDIR)/src/mesa/shader \ > > I think this fixed it. It looks like the driver wasn't getting linked > to > the shader files after the mesa code shuffle. > > It seems like all the problems were caused by make files after the > mesa > upgrade but just in case I've laid out all of my steps. Glxgears > works > fine now at 300.400 FPS and looks much smoother. >
Is anyone against just including mach64 in the trunk? I know it' still unsecure and unstable, but so is savage and that's in the trunk. We don't have to build it by default. plus it would avoid having to update the makefiles on the branch everytime mesa changes and the trunk gets updated. Alex __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
