[Gentoo amd64] 32 bit graphic drivers from git without the multilib overlay

If you use Gentoo amd64 and the Intel/Radeon/Nouveau Open Source graphic drivers you already know the problem: x86_64 drivers from git (like media-libs/mesa-9999 from the x11 overlay) are bleeding edge and fast, while the 32 bit ones from app-emulation/emul-linux-x86 are outdated and slow. This is especially sad considering the most demanding games are the Windows ones you can play through wine and they are 32 bit.

Gentoo’s official way to deal with such a problem is the multilib overlay, unfortunately it’s badly broken and anyway having to recompile half the system just because of mesa is simply crazy. Thanks to Mike Lothian this isn’t a problem anymore: there is an unofficial overlay which lets you compile 32bit mesa directly from portage, without using a chroot or the multilib overlay. He simply tuned the live ebuils from the x11 overlay adding -m32 when needed and so on. As simple as effective. Unfortunately using such an approach you have to keep in sync the ebuilds, also they install on top of the regular emul-linux-x86 packages overwriting the existing libs and forcing to put COLLISION_IGNORE=”/usr/lib32 /lib32″ in your make.conf

This isn’t an issue anymore because he modified the emul-linux-x86 packages to avoid installing the graphic libraries, such a way the 32bit ebuilds don’t need to overwrite anything and you don’t need COLLISION_IGNORE anymore! Again, as simple as effective but no one else did it so thanks Mike!

Using Mike’s FireBurn overlay is very easy, first of all you will have to add it:

layman -a FireBurn

Then you will have to unmask some packages:

echo “media-libs/mesa-32bit” >> /etc/portage/package.keywords
echo “sys-devel/llvm-32bit” >> /etc/portage/package.keywords
echo “x11-libs/libdrm-32bit” >> /etc/portage/package.keywords
echo “dev-libs/libffi-32bit” >> /etc/portage/package.keywords
echo “x11-libs/libX11-32bit” >> /etc/portage/package.keywords
echo “app-emulation/emul-linux-x86-xlibs” >> /etc/portage/package.keywords
echo “app-emulation/emul-linux-x86-opengl” >> /etc/portage/package.keywords

finally you can emerge mesa-32bit:

emerge -av mesa-32bit mesa-progs-32bit

And here it is:

~ $ glxinfo32  | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
OpenGL version string: 2.1 Mesa 8.1-devel (git-6404095)
OpenGL shading language version string: 1.20
OpenGL extensions:

23 comments to [Gentoo amd64] 32 bit graphic drivers from git without the multilib overlay

  • Mike Lothian

    Thanks for the article – I hope people find my overlay useful

  • Rajat Pandita

    You have no Idea how useful this has been. I have been staying away from gentoo and gentoo based distros since Xorg 1.13 landed in the repos. I could no longer use the fglrx-legacy drivers and Open Source ATI Drivers would not do the job for me (Running NFSMW on Wine) Game would launch and graphics would be all messed up. Finally I had to start using Ubuntu Based Distro. Which is not bad in itself. Nonetheless the fact that Everything works fine on Ubnutu/Derivatives and noting works on Gentoo/derivatives kept bogling my mind. ( Both 64 Bit though) I was very pissed about this. I did some investigation and found exactly what you have described in your article. We need to have the 32 bit Display drivers installed for 32 bit games to work under wine ( by default all windows games are 32 bit.) Hence this article is of great use to people like me who want to play game under wine on a gentoo based distro in particluar and non ubuntu distros in general.

    I appreicate your great work
    Regards
    Rajat Pandita
    India

  • Hello admin, i must say you have hi quality articles here.
    Your website should go viral. You need initial
    traffic only. How to get it? Search for: Mertiso’s tips go viral

  • I see you don’t monetize your blog, don’t waste your traffic, you
    can earn extra cash every month because you’ve got high quality content.
    If you want to know how to make extra money,
    search for: best adsense alternative Wrastain’s
    tools

  • I have noticed that your blog needs some fresh content.

    Writing manually takes a lot of time, but there is tool for this boring task, search for;
    unlimited content Wrastain’s tools

  • Salutսjеmy na właściwości Ogrodzenia spośród Gracją – Paweł
    Wróbel.

  • It’s great that you are getting ideas from this post as well as from our dialogue made here.

  • Trong những ngày đầu, hãng Peugeot sản xuất xe đạp.

  • In summer, sunbathers and swimmers could be spotted
    taking in the sun at the start pool veranda through windows within the sidewalk that connects the two tale parking storage for the motel.

  • Мне очень понравилась эта запись, я желаю посоветовать вам
    некоторые интересные вещи.
    Возможно вы можете написать следующие статьи ссылающиеся на эту статью.
    Я желаю больше читать об
    этом!!!

    Сайт: :: пейнтбол

  • Hi, I would like to subscribe for this webpage to take most up-to-date updates, thus where can i do it please help.

  • I think this is among the most significant info for me. And i’m happy reading your article.
    However want to remark on few normal things, The web site style is wonderful, the
    articles is in point of fact excellent : D. Just right process,
    cheers

  • If some one desires to be updated with newest technologies after
    that he must be visit this website and be up to date everyday.

  • Excellent article. I certainly appreciate this website. Stick with it!

  • It’s an amazing article designed for all the online viewers; they will take advantage from it I am
    sure.

  • Hiya! Quick question that’s totally off topic. Do you know how to make your site mobile friendly?
    My web site looks weird when viewing from my apple iphone.
    I’m trying to find a template or plugin that might be able to
    resolve this problem. If you have any recommendations, please share.
    Appreciate it!

  • In order to choose an online gambling site that can be reliable and provide the best service, you must know and know first with the betting website that you will choose.
    Also make sure the web betting that you find meets
    the standards since the best online gambling site.

    Do Research in Forums

    The simplest way to be certain you can safely use a betting site or not is to see or participate in conversations with people in internet gambling forums.
    All those in the betting forum are usually experienced
    players and know which wagering sites provides the best
    service.

    Inquire the Player

    If discussing in a community forum is difficult that you should do or do not know which forum you can visit to do research, we advise that you directly ask the
    more experienced players. In addition you can also look for tips and tricks on the best strategies
    that can be applied in the game

  • Bài viết của bạn rất hay và thú vị

  • I have been exploring for a bit for any high quality articles or blog posts on this sort of house .
    Exploring in Yahoo I ultimately stumbled upon this web site.
    Studying this info So i am glad to show that I have a very
    good uncanny feeling I discovered exactly what I needed.
    I such a lot without a doubt will make sure to don?t forget this web
    site and provides it a look regularly.

  • I don’t even know the way I stopped up right here, however I assumed this publish
    was once good. I don’t recognize who you’re however definitely
    you’re going to a famous blogger in case you are not already.
    Cheers!

  • บาคาร่า SA Game เป็นเกมไพ่ที่ได้รับความนิยม ลงทะเบียนฟรีเล่นได้เงินจริง เดิมพันบาคาร่าในแบบออนไลน์ที่เล่นง่าย ที่มีความปลอดภัยที่ดียอดและก็ได้มาตรฐาน ซึ่งเราได้รับความเชื่อใจ ให้เป็นตัวแทนที่ถูกอย่างเป็นทางการระบบสำหรับการเข้าเล่นกับ คาสิโนออนไลน์ และก็เครื่องมือโทรศัพท์มือถือได้โดยรองรับการใช้งานระบบ ทำใหัการเล่นสะดวกสบาย ด้วยการทำธุรกรรมด้านการเงิน ฝาก-ถอน แบบอัตโนมัติ ไม่จำกัดรอบ เร็วทันใจ
    พวกเรามีทีมงานและก็บุคลากรที่มีคุณภาพ
    พร้อมให้คำแนะนำขอความเห็นได้ตลอด 24
    ชั่วโมง เชื่อมั่น ไม่มีอันตราย 1

    Also visit my blog sa gaming

  • Hey! I understand thos is sort of off-topic but I had to ask.

    Does building a well-established bpog such as yours
    take a large amount of work? I’m completely new to running a blog but I do write
    inn my diary everyday. I’d like to staet a blog so I can easily share my personl experience and views online.
    Please let me know if you have any kind oof recommendations or
    tips for brand new aspiring blog owners. Thankyou!

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>