Topic: No 2D acceleration in Stretch because of missing xorg-video-abi-18

Hello,


is there a way to to add 2D acceleration on Debian Stretch?


Since I upgraded to Debian Stretch, 2D acceleration is not working any more.
According to "apt show" is package xorg-video-abi-18 necessary for package xserver-xorg-video-armada (which is needed for package xserver-xorg-video-armada-etnaviv which is needed for package xorg-novena).
xorg-video-abi-18 is provided in Jessie [1] through xserver-xorg-core. This is not the case in Debian Stretch.
Maybe frostsnow did solve the issue somehow [2]. Unfortunately is the needed knowledge for his solution beyond my current capabilities.


Regards
linob


[1] https://packages.debian.org/jessie/xorg-video-abi-18
[2] https://www.kosagi.com/forums/viewtopic.php?id=461

Re: No 2D acceleration in Stretch because of missing xorg-video-abi-18

Good Afternoon Linob,

In looking through what I have installed, I seem to have "xserver-xorg-armada-dbg" installed, and I have 2d acceleration working. I see what you are saying with "xorg-video-abi-18", I cannot install it on here. I have a feeling that would have to be recompiled for stretch to work.

3 (edited by chris4795 2017-10-23 00:07:06)

Re: No 2D acceleration in Stretch because of missing xorg-video-abi-18

Can you try the following:

glxinfo | grep rendering

And see if you get a yes? In looking through, I think everything has been upstreamed, and you no longer require the seperate DRM or armada driver for xorg.

https://github.com/xobs/xserver-xorg-video-armada

Following that, the etnaviv has been upstreamed:

https://github.com/etnaviv/vivante_kernel_drivers
https://github.com/laanwj/etna_viv
https://github.com/etnaviv/mesa

I deleted all of the armada and etnaviv related code and rebooted, and I will seem to have the direct rendering, which to me says I am using the upstreamed code and it is being supported fine. Also in the drm git tree for 2.7.4 (which is the version debian has),  you can see etnaviv is in there:

https://cgit.freedesktop.org/mesa/drm/

Though curiously, they have a seperate part for it, and I am not seeing that in the debian synaptic.

EDIT: it looks like they don't enable the etnaviv by default, as libdrm labels it as "experimental". But if you want, you can install libdrm yourself with that support by

git clone https://anongit.freedesktop.org/git/mesa/drm.git
cd drm
git fetch origin dae413e43866d36500538c2801cc66a5a89e426d # This puts us at 2.7.4, the same version on stable
git reset --hard FETCH_HEAD
./autogen.sh --enable-etnaviv-experimental-api
./configure 
make 
sudo make install

The libdrm-etnaviv support is in sid and buster as of now.

4 (edited by chris4795 2017-10-22 22:53:17)

Re: No 2D acceleration in Stretch because of missing xorg-video-abi-18

There is a way to make a more debian friendly version, as I have found out. Make sure you have pbuilder installed:

git clone https://anonscm.debian.org/git/pkg-xorg/lib/libdrm.git # This is the Debian git for it
cd libdrm/
git fetch origin c486c35147217096a37bb8435fb74e3f287bf317 #go to 2.7.4-2, they label it experiemental, but that has etnaviv
git reset --hard FETCH_HEAD
dpkg-buildpackage -B # it will probably error and say you don't have some things installed, just be sure to install them

You will then have a bunch of debian pakcages in the file above you, and install them, then you will have 2d acceleration enabled.

If you would prefer to just download them, I have made a pseudo repository for my updated packages here:

https://www.talbothome.com/s/PzCr4n24JFm5CW7

Re: No 2D acceleration in Stretch because of missing xorg-video-abi-18

Thank you for sharing this.
Do visit https://nicciskincare.com/products/gluta-whitening-soap