Domanda

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
È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Try this guide. It shows you how to build Mesa from git on a Debian system.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top