Saturday, January 14, 2017

MAYBE R3 UPGRADE

I compiled the 3D side of the stack from source and made armhf.deb packages only to find the testing repo already has the latest and greatest. Follow my earlier blog post (the pulseaudio sux one) to install libdrm-dev and mesa from there. It was a good exercise anyway. 2D acceleration is still a problem but 9 isn't done yet so I might not need to do anything with that either. New plan is to make an R2 to R3 upgrade script instead of another image. Still might make custom pelinux packages for systemd/udev sans stoopid names, however. And when 9 is released and testing no longer gets updated, the following might come in handy:

ADVANCED USERS

Here's how I made the libdrm-dev package.

mkdir ~/Code
cd ~/Code
git clone git://anongit.freedesktop.org/git/mesa/drm

cd drm
./autogen.sh --prefix=/usr/ --enable-udev --libdir=/usr/lib/arm-linux-gnueabihf/
make
sudo checkinstall -D make install


Unfortunately it looks like Debian made tiny little packages for each driver in libdrm so it's dependency hell if you dpkg -i --force-install the full set, but it works.

No comments:

Post a Comment