This is really for people searching for extremely specific search conditions. My TLDR; is: “Have you tried doing upgrading libgmb1?”
For everyone else (and to make all the keywords work). I recently magically lost 3D hardware acceleration on my laptop running X, which has an Intel HD520 graphics card buried within it. It was a real puzzle what had happened — one day everything was working fine, and the next I had noticed it was disabled and I was running slooow software emulation. XWindows’ modesetting drivers should be able to use acceleration on this system just fine, at least after around Linux 4.4 or so.
I spent a lot of time staring at the /var/log/Xorg.0.log, and in particular these sad lines:
1 2 3 4 |
[ 4598.832] (II) glamor: OpenGL accelerated X.org driver based. [ 4598.867] (II) glamor: EGL version 1.4 (DRI2): [ 4598.867] EGL_MESA_drm_image required. [ 4598.867] (EE) modeset(0): glamor initialization failed |
and, later
1 2 3 4 5 6 7 8 9 10 11 |
[ 4599.515] (==) modeset(0): Backing store enabled [ 4599.515] (==) modeset(0): Silken mouse enabled [ 4599.515] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 4599.516] (==) modeset(0): DPMS enabled [ 4599.554] (--) RandR disabled [ 4599.564] (II) SELinux: Disabled on system [ 4599.565] (II) AIGLX: Screen 0 is not DRI2 capable [ 4599.565] (EE) AIGLX: reverting to software rendering [ 4599.569] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 4599.570] (II) AIGLX: Loaded and initialized swrast [ 4599.570] (II) GLX: Initialized DRISWRAST GL provider for screen 0 |
Those were the only clues I had. I got to that painful point where you search for every combination of words you can think of, and all the links in Google’s results glow the visited link purple of “you already tried clicking on that.”
Anyway, to cut my long story short (and hopefully your story too, person out there desperately searching for EGL_MESA_drm_image etc), I eventually find the answer in this thread about modesetting and xserver-xorg-core on Jessie/unstable, from the awesome and endlessly patient Andreas Boll:
> > If you use mesa from experimental you need to upgrade all binary
> > packages of mesa.
> > Upgrading libgbm1 to version 12.0.1-3 should fix glamor and 3d acceleration.
Tried it. Worked for me. I hope it works for you too!
Moral: everyone who is brave enough to own up to their problems on the Internet is a hero to me, as well as everyone who steps in to help them. Also, I guess you shouldn’t run a Frankendebian (even though everybody does).