Hi guys,
           I came across this post and downloaded luca's version of Mesa
(mesa-lb) using:
git clone git://repo.or.cz/mesa/mesa-lb.git and then git checkout --track -b
unification+fixes+stable origin/unification+fixes+stable and switched to
that branch. I then for safety,I compiled and installed with:
./configure --prefix=/usr/local --enable-32-bit --enable-xcb
--enable-gallium-nouveau --with-state-trackers=dri,egl,xorg,glx,vega,es
--enable-motif --enable-gl-osmesa --disable-gallium-intel
--disable-gallium-radeon --with-expat=/usr/lib
--with-demos=xdemos,demos,trivial,tests --with-dri-drivers=swrast
--enable-gallium-swrast --enable-gallium-svga --with-max-width=4096
--with-max-height=4096 --enable-debug

http://old.nabble.com/file/p27895301/glxinfo-error.txt glxinfo-error.txt
There were no compilation problems when I compiled Luca's version of Mesa.I
re-booted into my root account.I fired up Konsole and ran glxinfo for the
packaged version of Mesa for Fedora Rawhide,and that showed up fine.To see
Luca'a version,I used :
export LIBGL_DRIVERS_PATH=/usr/local/lib/dri and then glxinfo.I found a
strange error near the top:

Mesa: CPU name: AMD Athlon(tm) XP 3000+
Mesa warning: failed to remap index 390
Mesa warning: failed to remap index 391
Mesa warning: failed to remap index 392
Mesa warning: failed to remap index 398
Mesa warning: failed to remap index 399

I've attached a txt file with the full output.My graphics card is an Nvidia
NV40 (6,600 GT),and I also compile DRM the nouveau kernel modules and the
nouveau driver from git
I wanted to merge Lucsa' branch in to my copy of Mesa master to test it
out,but it would let me for some reason,any advice on that?
Regards,
             STEVE555


Keith Whitwell-4 wrote:
> 
> Sounds good to me - fewer driver directories to fix up after changes...
> 
> Keith
> 
> On Sat, Mar 13, 2010 at 5:29 PM, Luca Barbieri <l...@luca-barbieri.com>
> wrote:
>> Currently the nv30 and nv40 Gallium drivers are very similar, and
>> contain about 5000 lines of essentially duplicate code.
>>
>> I prepared a patchset (which can be found at
>> http://repo.or.cz/w/mesa/mesa-lb.git/shortlog/refs/heads/unification+fixes)
>> which gradually unifies the drivers, one file per the commit.
>>
>> A new "nvfx" directory is created, and unified files are put there one by
>> one.
>> After all patches are applied, the nv30 and nv40 directories are
>> removed and the only the new nvfx directory remains.
>>
>> The first patches unify the engine naming (s/curie/eng3d/g;
>> s/rankine/eng3d), and switch nv40 to use the NV34TCL_ constants.
>> Initial versions of this work changed renouveau.xml to create a new
>> "NVFXTCL" object, but the current version doesn't need any
>> renouveau.xml modification at all.
>>
>> The "unification+fixes" branch referenced above is the one that should
>> be tested.
>> The "unification" branch contains just the unification, with no
>> behavior changes, while "unification+fixes" also fixes swtnl and quad
>> rendering, allowing to better test the unification. Some cleanups on
>> top of the unfication are also included.
>>
>> That same repository also contains other branches with significant
>> improvements on top of the unification, but I'm still not proposing
>> them for inclusion as they need more testing and some fixes.
>>
>> While there are some branches in the Mesa repository that would
>> conflict with this, such branches seem to be popping up continuously
>> (and this is good!), so waiting until they are merged probably won't
>> really work.
>>
>> The conflicts are minimal anyway and the driver fixes can be very
>> easily reconstructed over the unified codebase.
>>
>> How about merging this?
>> Any objections? Any comments?
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Mesa3d-dev mailing list
>> Mesa3d-dev@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
>>
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Mesa3d-dev mailing list
> Mesa3d-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
> 
> 

-- 
View this message in context: 
http://old.nabble.com/-PATCH--nv30-nv40-Gallium-drivers-unification-tp27889377p27895301.html
Sent from the mesa3d-dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to