Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


jeudi 15 janvier 2015

Refresh iXit repo xf86-video-ati for DRI3 (Gallium Nine)

Original repo for xf86-video-ati was refreshed a couple days ago. To be honest the content of this article is quite useless. I just wanted to generate the patch done by Ixit Team who maintain a patched repo on github with DRI3 support for EXA/GLAMOR. This one is used for Gallium Nine. So it is the occasion to generate this patch
#Clone the original repo
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
cd xf86-video-ati/
# That's the hash to checkout
git checkout c9f8f642fd495937400618a4fc25ecae3f8888fc

cd ..

# Get the patched repo from iXit and unzip it
wget "https://github.com/iXit/xf86-video-ati/archive/master.zip" -O master.zip
unzip master.zip

# Rename folder
mv xf86-video-ati a
mv xf86-video-ati-master b

mkdir -vp patches/xf86-video-ati

# Generate the patch
diff -Napur a/ b/ > patches/xf86-video-ati/DRI3_for_Glamor_and_EXA.patch

# Remove folders
rm -rf a b

#Re-clone the original repo
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
cd xf86-video-ati/

#Patch it!
patch -p1 < ../patches/xf86-video-ati/DRI3_for_Glamor_and_EXA.patch

mardi 13 janvier 2015

PCSX2 - Daily builds