Hello, I'm running a 64 bit kernel and using the gallium branch from the nouveau repository. It's being kept mostly synchronized with your gallium branch, so this problem should also apply.
Everything works (mostly) fine with 64 bits apps, but for 32 bit apps rendering obviously reverts to software mode. So I wanted to build a 32 bit version of the libraries to be able to use hardware rendering (this setup works for the nividia blob), but then things started to go wrong ;) First of all, the "-m32" flag is not being used in some of the demos so gcc complains that I want to link 32 bit code into a 64 bit executable. I had to add $(ARCH_FLAGS) to some lines in progs/demos/Makefile for mesa to compile. I'm not sure if this is the right solution, but a patch goes on annex for this. After this and some other small tweaks it compiled fine. I have a "multi-lib" setup with all the necessary xorg 32 bit libs. Unfortunately, I'm still not getting direct rendering for 32 bit apps. Can I be doing something wrong? Or is this not expected to work at all? As a final comment, I found the build system way too complicated. I had to tweak the config files a lot, and the used hierarchy duplicates stuff all over the place. I would definitely prefer having a properly setup auto-tools environment. Don't take me wrong, I know that some people don't like auto-tools for several reasons, and in the end it is a matter of preference. Cheers, Renato Caldas
demoprogs_arch_flags.patch
Description: Binary data
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
