2

This post is continuing a previous one where I tried to compile Mesa 10.0.5: What are the required build dependencies of mesa for Debian-based distros? . Except that this time, I switched to another almost same laptop and to Debian 7.6.

Furthermore, during his helpings Faheem Mitha also bumped on the bad libdrm_nouveau version (0.6 while installed is 2.4.40). So now the question before mine's now is "why is this happening ?" with that, here's more details about it: What is the correct way to fix the configure error: "Requested 'libdrm_nouveau >= 2.4.33' but version of libdrm_nouveau is 0.6"?

My target is about playing Team Fortress 2 Debian 7.6 since a long time now, but couldn't because of the following graphical glitches:

  • Bad dark textures
  • Very low FPS
  • Low brightness
  • Green texture on training video
  • Ugly grain effect on textures

The solution after a lot of research was to backport Mesa. The problem is that I'm just really new on how to do it.

So the question is: How to backport Mesa on Debian 7.6 in the most stable way ? (Meaning by the same logic with the less compilations possible).

PS: I managed to determine that the latest version I can have without apparently recompile a lot is 10.0.5. If there is another version with even less compilation/building, I'll stick to it. Stability first ! Since I also virtualize a lot with 3D enabled :)

PS2: I was hinted about not doing any local install and backporting Mesa 10 from testing. But the problem remains the same since I don't really know how to do it.

PS3: I also ran into a weird problem that prevents me to compile Mesa. After a while, it says me that libdrm_nouveau is version 0.6, even if my libdrm_nouveau package is 2.4.40 ! How is it possible ?

PS4: By the way, is it recommended to redo the steps at every kernel updates ?

Here's my computer:

  • Core I5 with HD 3000 and an nVidia 610M
  • Fresh Debian 7.6 updated
  • Kernel 3.14 i686-pae with nvidia 331.67 kernel modules from Wheezy-Backports
  • bumblebee-nvidia installed through wheezy-backports repository
  • 1
    Sorry, I hadn't got around to posting a question about this. I'll try to do so today. – Faheem Mitha Oct 22 '14 at 20:50
  • 2
    What is your ultimate goal here? Is it to play Steam. Because even the Mesa Package Tracker at Debian no longer has any of the versions you are requesting and mixing source into a binary based distro is dangerous!! – eyoung100 Oct 27 '14 at 18:19
  • 1
    The Package tracker is the mechanism debian uses to manage version changes between upstream and the debian distro across all versions of Debian, not just Wheezy. The upstream source is located here, and if you look at the directory structure, the version of 10 that you want is in the older-versions subdirectory. I hate to push this, but Steam is unsupported in Wheezy for the reason you're trying to fix and others. See the Debian Wiki - Steam – eyoung100 Oct 27 '14 at 18:47
  • 1
    That's because you need to install the kernel headers and other development tools for your version of Debian. Try sudo apt-get install linux-headers-$(uname -r) build-essential – eyoung100 Oct 27 '14 at 19:23
  • 1
    @user3755746 NB: If you don't stick my name in front with an @, I won't be notified. I just happened to come and look at this question. I can suggest workarounds re the mesa snapshot, but I was hoping someone knowledgeable would respond. Where do you suggest I put "the procedure you follow in order to compile Mesa from snapshot"? Since this currently does not work, it is not a complete answer to your question. I think I'll email some Debian developers about this issue and see what they say. – Faheem Mitha Oct 31 '14 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.