Announcement

Collapse
No announcement yet.

Gentoo 32bit Mesa Overlay

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gentoo 32bit Mesa Overlay

    To save myself creating a 32bit chroot purely for the latest 32bit Mesa I've hacked together a simple overlay based on the ebuild in the x11 overlay

    Here is the link to it on the gentoo forums

    This is the overlay itself

    This build is LLVMpipe compatible and works for me with r600g

    Use at your own risk and it may eat your kittens etc

    Let me know how you get on

    Mike
    Last edited by FireBurn; 07-11-2011, 08:37 PM.

  • #2
    I already did something similar in the past, but it's too much an assle to keep it up to date such a way. Someone should really fix mesa-999, libdrm-999 and xf86-video-ati-9999 in the multilib overlay, even ubuntu has a decent multiarch support nowadays
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

    Comment


    • #3
      Originally posted by darkbasic View Post
      I already did something similar in the past, but it's too much an assle to keep it up to date such a way. Someone should really fix mesa-999, libdrm-999 and xf86-video-ati-9999 in the multilib overlay, even ubuntu has a decent multiarch support nowadays
      I use kdiff3 to keep it up to date, plus it's still a lot easier than a chroot or the multilib overlay

      Comment


      • #4
        Hi I've updated my overlay and hosted it on github too

        git://github.com/FireBurn/Overlay.git

        Let me know if you have any issues

        Comment


        • #5
          What's wrong with the Gentoo multilib overlay? (https://github.com/sjnewbury/multilib-overlay/wiki)

          Comment


          • #6
            I found I had to recompile most of my system to use multilib it and it was rather temperamental

            I only need 32bit compatibility for wine

            The are just builds that update mesa & libdrm and work with llvm - I'm sure if flameeyes sees them he'd cry but they do work so I thought I'd share

            Comment


            • #7
              1) You will have a bad time unmasking all the needed dependencies
              2) mesa/libdrm/xf86-video-* 9999 ebuild are not kept up to date and do not work
              3) You will have to compile tons of packages while you will probably need only mesa/libdrm/llvm
              ## VGA ##
              AMD: X1950XTX, HD3870, HD5870
              Intel: GMA45, HD3000 (Core i5 2500K)

              Comment


              • #8
                P.S.
                This is a tip if you do use Intel:
                Code:
                COLLISION_IGNORE="/usr/lib32/llvm/libLTO.so /usr/lib32/llvm/libEnhancedDisassembly.so /usr/lib32/libdrm.so /usr/lib32/libdrm.so.2 /usr/lib32/libdrm.so.2.4.0 \
                        /usr/lib32/libdrm_intel.so /usr/lib32/libdrm_intel.so.1 /usr/lib32/libdrm_intel.so.1.0.0 /usr/lib32/libkms.so /usr/lib32/libkms.so.1 /usr/lib32/libkms.so.1.0.0 \
                        /usr/lib32/dri/i965g_dri.so /usr/lib32/dri/swrastg_dri.so /usr/lib32/egl/egl_gallium.so /usr/lib32/libGLU.so /usr/lib32/libGLU.so.1 /usr/lib32/mesa/i965_dri.so \
                        /usr/lib32/mesa/i965g_dri.so /usr/lib32/mesa/swrast_dri.so /usr/lib32/mesa/swrastg_dri.so /usr/lib32/opengl/xorg-x11/lib/libGL.so \
                        /usr/lib32/opengl/xorg-x11/lib/libGL.so.1 /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2"
                Put it in /etc/make.conf
                ## VGA ##
                AMD: X1950XTX, HD3870, HD5870
                Intel: GMA45, HD3000 (Core i5 2500K)

                Comment


                • #9
                  I have this in my make.conf

                  Code:
                  COLLISION_IGNORE="/usr/lib32 /lib32"
                  I keep forgetting that's there

                  Comment


                  • #10
                    That's the mesa-32bit ebuild resynced with the x11 overlay

                    Comment


                    • #11
                      By the way, I just noticed this:
                      configure: error: Package requirements (libdrm_radeon >= 2.4.31) were not met:

                      Requested 'libdrm_radeon >= 2.4.31' but version of libdrm_radeon is 2.4.27
                      My 32bit libdrm is a current -9999 from today. 2.4.27 is the version of the installed 64bit libdrm. Is it possible to fix those configure checks, or would that be outside the scope of your "hack"?

                      Comment


                      • #12
                        Originally posted by rohcQaH View Post
                        By the way, I just noticed this:

                        My 32bit libdrm is a current -9999 from today. 2.4.27 is the version of the installed 64bit libdrm. Is it possible to fix those configure checks, or would that be outside the scope of your "hack"?
                        Hmm I'm not sure about this - have you considered running the 64bit libdrm too?

                        I prefer to keep my kernels, libdrm's and mesa's in sync

                        Comment


                        • #13
                          I've updated the repo quite a bit since my last post here

                          I've added stripped version of the x86 comparability ebuilds so you no longer have to override the collision detection

                          There's also an llvm ebuild so all the features should just work

                          Comment


                          • #14
                            Please update your readme on github
                            ## VGA ##
                            AMD: X1950XTX, HD3870, HD5870
                            Intel: GMA45, HD3000 (Core i5 2500K)

                            Comment


                            • #15
                              Originally posted by darkbasic View Post
                              Please update your readme on github
                              That's it now fixed

                              Comment

                              Working...
                              X