Sample Header Ad - 728x90

How to properly update Mesa drivers?

5 votes
3 answers
21507 views
I need OpenGL 4.5 to be supported by my graphics card's driver, and as far as I know Mesa is actually able to run it. glxinfo gives me this: $ glxinfo | grep "OpenGL" OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 13.0.6 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 13.0.6 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions: So this means it can only run OpenGL 3.0. So I tried to update it, but I ran into several problems: If I try to update it through apt, i.e. sudo apt-get upgrade libgl1-mesa-dri -t testing, it is broken: $ sudo apt-get upgrade libgl1-mesa-dri -t testing Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libsnmp30 : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed mesa-va-drivers : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed mesa-va-drivers:i386 : Depends: libsensors4:i386 (>= 1:3.0.0) but it is not going to be installed E: Broken packages Okay, but: $ apt-cache policy libsensors4 libsensors4: Installed: 1:3.4.0-4 Candidate: 1:3.4.0-4 Version table: *** 1:3.4.0-4 900 900 http://ftp.ru.debian.org/debian stretch/main amd64 Packages 100 /var/lib/dpkg/status So it depends on the lib version >=1:3.0.0, but I have version 1:3.4.0-4, which is really strange. Generally, I don't understand how should I upgrade Mesa. If using apt, I don't know which packages should I update. If from source, I don't know how will it interact with apt and if it won't be reverted by an update. I am using Debian 9 Stretch, and my graphics card is Intel HD Graphics 5000.
Asked by Verloren (224 rep)
Mar 29, 2019, 06:24 PM
Last activity: Jan 2, 2023, 05:27 AM