Installing Mesa 10 on Debian

10,434

Solution 1

Try adding --with-gallium-drivers="" to your configure invocation:

./configure --with-dri-drivers=i965 --with-gallium-drivers=""

You'll probably have to build a newer version (>= 2.4.49) of libdrm-intel than Wheezy ships (2.4.40) though.

Solution 2

You shoudn't try add ubuntu repositories to a debian system.

Also, hw accelerated mesa requires you to update dri/drm libraries and associated kernel modules.That libdrm_radeon might just be the beginning. By manually updating all that, you will end up having a lot of non-distro stuff. And it won't be fun to compile and update all that (not even mentioning dist-upgrades).

As an alternative, you could try to install the fglrx proprietary driver (for your GPU, you will need the "legacy" version). Have a look at this debian wiki page for the recommended way to install this on debian.

Share:
10,434
PointToPoint
Author by

PointToPoint

Updated on June 04, 2022

Comments

  • PointToPoint
    PointToPoint about 2 years

    So, here's my problem - I want to complete these tutorials on a laptop with an HD4000 integrated graphics processor running Kali *nix. The trouble is that the edition of Mesa 3D installed is only version 8 or so, and therefore will only run an implementation of OpenGL which is too old - the tutorial requires OpenGL version 3.3 or higher. However, the recent release of Mesa 10 has made this possible by providing support for OpenGL 3.3!!

    So all I want to do is install Mesa 10 on my system, so I can complete these tutorials. I found this answer, but it seems to be for Ubuntu only. I tried running the suggested

    1.) Add the PPA Repository
      $ sudo add-apt-repository ppa:oibaf/graphics-drivers
    2.) Update sources
      $ sudo apt-get update
    3.) Dist-upgrade (rebuilds many packages)
      $ sudo apt-get dist-upgrade
    4.) Reboot!
    In your code make sure you request a Opengl 3.3 context!
    

    but after 2). I got the errors

    W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found
    

    I also downloaded the tar.gz Mesa 10 file from the website directly, and configure it after running

    sudo apt-get build-dep mesa
    

    Though this produced the error;

    configure: error: Package requirements (libdrm_radeon >= 2.4.46) were not met:
    
    Requested 'libdrm_radeon >= 2.4.46' but version of libdrm_radeon is 2.4.40