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
9.1.3
, on the theory that the oldest one would be the likeliest to succeed, but got `configure: error: Package requirements (libdrm_nouveau >= 2.4.33) were not met:Requested 'libdrm_nouveau >= 2.4.33' but version of libdrm_nouveau is 0.6
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.` The good news is, it's not just you. I'm still not clear what was causing this bug. Let me poke around. Can you tell me what version of mesa you need exactly? I.e. I need mesa >= version_num.
– Faheem Mitha Oct 20 '14 at 23:21Here's the Robert Hooker's explanation again, but this time it's the original post with the diff made to fix that problem. Check for the only line where "0.6" is present on the cgit commit link, which seems to be "simply" replaced with 2.4.33. Since Debian Wheezy ships 2.4.40, is it safe to modify libdrm_nouveau.pc from 0.6 and make it "lie" to 2.4.40 ?
– X.LINK Oct 21 '14 at 08:25older-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:47sudo apt-get install linux-headers-$(uname -r) build-essential
– eyoung100 Oct 27 '14 at 19:23