One Day at a Time

A site for solving the world's problems

Intel HD Graphics: Return of the i915 Drivers

Making slow progress in building the Intel Open Source Drivers. So far, I’ve compiled the kernel, I’ve build libdrm, the xf86-video-intel driver, and most recently made mesa. That was a real pain. Mesa wanted libxml2 version 2.9.1. Presently we’re on 2.9.3. I had to dig it up from Beyond Linux from scracth which installed after I included the python-dev package. The show goes on! Below is a list of packages I’ve had to install, and a useful command or two. Turns out most of the packages were on the How to Install on the mesa website, but didn’t make it over to the Intel site. Made for some fun sleuthing to find the proper packages. Most of them weren’t on the list anyway. So it goes.



Packages

Package Name
Reason Needed
  • glibc-devel
  • Missing stubs-64.h
  • xorg-x11-util
  • xorg-macros were missing
  • libxcb-devel.x86_64
  • Needed pconfigure(pthreads-stubs)
  • libpciaccess-dev
  • pciaccess wasn’t available
  • libdrm-devel.x86_64
  • The Intel page explicitly said to install it
  • xorg-x11-server-devel.x86_64
  • xorg-macros weren’t available (again?)
  • libXfont-devel.x86_64
  • fatal error: X11/fonts/fontutil.h no such file or directory
  • gcc-c++.x86_64
  • Configure: error: C++ preprocessor “/lib/cpp” fails sanity check. Turns out I was missing g++
  • bison
  • Mesa needs the Bison parser generator
  • flex
  • Mesa needs flex as the lexer generator
  • python-mako.noarch
  • Mesa needs this too
  • libxshmfence-devel.x86_64
  • Provides libxshmfence, which mesa wanted
  • systemd-devel
  • configure: error: libudev-dev or sysfs required for building DRI
  • expat-devel
  • configure: error: Expat headers required for DRI not found
  • libxml2-2.9.1
  • Compiling this from scratch to make Mesa happy. Here was the error: version `LIBXML2_2.9.1′ not found (required by /lib64/libgettextsrc-0.19.7.so)
  • python-devel
  • Required to make libxml2-2.9.1 happy
  • Here they are as a group for future use if need be
    sudo dnf install glibx-devel xorg-x11-util libxcb-devel.x86_64 libpciaccess-dev libdrm-devel.x86_64 xorg-x11-server-devel.x86_64 libXfont-devel.x86_64 gcc-c++.x86_64 bison flex python-mako.noarch libxshmfence-devel.x86_64 systemd-devel expat-devel python-devel

    Useful Commands

    • ls -l /usr/lib/libxml*
    • Or in my case since I have 64 bit

    • ls -l /usr/lib64/libxml*

    Next Post

    Previous Post

    © 2024 One Day at a Time

    Theme by Anders Norén