The officially official Devuan Forum!

You are not logged in.

#1 2022-06-03 08:30:35

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 225  
Website

Attention! MESA No more OpenGL Drivers Support for i915

Proposal Raised For Dropping Mesa's Classic OpenGL Drivers From Mainline This Year

This was the news 3 months ago at phoronix
https://www.phoronix.com/scan.php?page= … assic-Main

It means that Mesa drivers will stop supporting i915, i965, r100, and r200 drivers.

Debian/Devuan LTS > Not affected yet <

TESTING/SID

Yesterday, from Devuan/Debian testing libgl1-mesa-dri (21.3.8-1) upgraded to libgl1-mesa-dri (22.0.3-1 and others).
Version 22 of MESA is the start of dropping support for old classic DRI drivers.

Once i upgraded to version 22, i saw that i can't use mpv with vo=gpu, picom --vsync, i got errors from xorg, and a few other graphics glitch.

17.584] (II) Initializing extension GLX
[17.593] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i915_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i915_dri.so: cannot open shared object file: No such file or directory)
[17.593] (EE) AIGLX error: unable to load driver i915

Do you have an ancient hardware pre 2012? be careful, next Debian/Devuan daedalus/bookworm release will not have any more i915 dri support. Before locking your old-hardware on the garage, make sure mesa is the version 21.3.8-1 the last to be used.

Bookworm says 21.3.8-1 but infact my daedalus updates says otherwise

0 + nili@devuan ~ $ apt-cache policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 22.0.4-1
  Candidate: 22.0.4-1
  Version table:
 *** 22.0.4-1 500
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
        100 /var/lib/dpkg/status

> bookworm Package: libgl1-mesa-dri (21.3.8-1) with i915 support
https://packages.debian.org/bookworm/libgl1-mesa-dri
https://packages.debian.org/bookworm/am … i/filelist

> sid Package: libgl1-mesa-dri (22.0.3-1 and others) no more i915
https://packages.debian.org/sid/libgl1-mesa-dri
https://packages.debian.org/sid/amd64/l … i/filelist

Arch Linux have got another package driver called mesa-amber which seems to be a continuation of old legacy (mesa=21.3.8, opengl-driver).
https://archlinux.org/packages/extra/x86_64/mesa-amber/
It appeared a trace of mesa-amber aswell at ftp-master.debian. None yt from repository. I just hope this mesa-amber will reach Debian sid/testing so i can remove my workaround below.

---workaround---
Not advisable, This is not a advisable solution, this driver have stoped having updates, for security reasons, other malfunction or conflict that may rise later you're adivsed won't add it manually. Since i have nothing to lose on my old hardware i did it.

I got a copy libgl1-mesa-dri (21.3.8-1) from ftp.debian extracted the deb, i put i915_dri.so it in the place where it was before upgrading at /usr/lib/x86_64-linux-gnu/dri (manually). So i restored all i915 dri functions and got back fixed all my recent appeard concerns.

If you want it back.
Do it at your own risk.

Edit, corrected wrong written daedalus

Last edited by Nili (2022-06-05 20:49:06)


openSUSE TW/Plasma

Offline

#2 2022-06-03 12:41:18

Ogis1975
Member
Registered: 2017-04-21
Posts: 277  
Website

Re: Attention! MESA No more OpenGL Drivers Support for i915

Distribution should pick it up as an additional package for older hardware


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#3 2022-06-03 14:33:07

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 225  
Website

Re: Attention! MESA No more OpenGL Drivers Support for i915

The last E8600 Core 2 Duo that i still own was the most powerful processor back in the day (a decade ago).

With the final removal of the Mesa i915 dri maybe it's time to say Adieu! although i really find it difficult to leave it as usually i break and fix many things on this desktop smile

Last edited by Nili (2022-06-05 20:51:14)


openSUSE TW/Plasma

Offline

#4 2022-06-03 22:39:10

charliebrownau
Member
Registered: 2022-04-14
Posts: 51  

Re: Attention! MESA No more OpenGL Drivers Support for i915

Gday

How much 'fixing' does an old driver really need besides removing
DRM, bad language support (Javascript/python/dotnet/etc), closed source crap

Also why cant users download a Linux driver as a file
eg   Hardware_model.driver
and install it from GUI/CLI without everything throw into the kernel including the kitchen sink

Why cant we have a server someplace to store drivers that have been extracted from mainline kernel
that people may need and can access at their own choice

Offline

#5 2022-06-04 09:17:49

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,535  

Re: Attention! MESA No more OpenGL Drivers Support for i915

The LTS Mesa branch is proposed as the mesa-amber package:

https://bugs.debian.org/cgi-bin/bugrepo … ug=1006202

So hopefully that will be available in time for the next stable release.

FWIW the package is already available in Arch and Alpine Linux.

charliebrownau wrote:

Also why cant users download a Linux driver as a file
eg   Hardware_model.driver
and install it from GUI/CLI without everything throw into the kernel including the kitchen sink

The individual driver code can be downloaded and compiled then loaded as a kernel module. The driver has to have the correct APIs for the kernel version though, which is why older driver code might stop working.

Offline

#6 2022-06-04 09:44:58

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,535  

Re: Attention! MESA No more OpenGL Drivers Support for i915

The new mesa-amber packages can be built locally:

# apt install git build-essential devscripts
$ mkdir -p ~/git/debian && cd $_
$ git clone https://salsa.debian.org/xorg-team/lib/mesa-amber.git
$ cd mesa-amber
# mk-build-deps --install --remove
$ rm mesa-amber-build-deps*
$ debuild -us -uc

I can't test the build 'cos I only have a bullseye system handy but it should work. Post back with any errors if it doesn't and you can't figure it out.

I can always host the packages on the OBS if they don't make it to experimental soon.

EDIT: once the new Mesa packages are installed the build dependencies can be removed:

# apt purge --autoremove mesa-amber-build-deps git build-essential devscripts

Just be careful with that --autoremove option wink

Last edited by Head_on_a_Stick (2022-06-04 11:21:38)

Offline

#7 2022-06-05 16:48:23

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 225  
Website

Re: Attention! MESA No more OpenGL Drivers Support for i915

Thanks for your handy contribution as always HoaS, I can't use it or test it at the moment, but i'll do it another time and i'll report it back if I have no other choice at the table.

At the moment i'm waiting Debian to act on this case will they decide to put mesa-amber on the Debian repository, otherwise i will come directly here to install locally.


openSUSE TW/Plasma

Offline

Board footer