
ATI VDR VGA2Scart installation
By: a guest on
May 13th, 2012 | syntax:
Bash | size: 1.57 KB | hits: 31 | expires: Never
#!/bin/bash
mkdir -p /tmp/ati-driver/
cd /tmp/ati-driver/
# install ATI Proprietary Linux driver (fglrx)
# http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
# there are needed dependencies
sudo apt-get -y install libqtgui4 execstack
# build the *.deb packages
sudo sh amd-driver-installer-*-x86.x86_64.run --buildpkg
# if the VDR is running we need to stop it now
stopvdr
sudo stop easyvdr-openbox
# get the new config for HD 6310
# http://wiki.easy-vdr.de/index.php/Xorg_ati_hd6310.conf
# http://pastebin.com/qcXxCqkC
wget http://pastebin.com/raw.php?i=qcXxCqkC -O xorg_fglrx_hd6310.conf
# backup the old config
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old.`date '+%Y-%m-%d_%H-%M-%S'`
# install the driver
sudo dpkg -i fglrx_*.deb
sudo dpkg -i fglrx-modaliases_*.deb
# init the files for the grafic driver
sudo aticonfig --initial
# use instead the new config
sudo cp xorg_fglrx_hd6310.conf /etc/X11/xorg.conf
# unload the grafic driver (an make sure it was unloaded)
sudo rmmod fglrx
lsmod | grep fglrx
# delete fglrx config if it exists (PCS database) and let aticonfig generate a new one from our new xorg.conf
sudo rm /etc/ati/amdpcsdb
sudo aticonfig --input /etc/X11/xorg.conf
# start X11
sudo start easyvdr-openbox
# show modes
export DISPLAY=:0
# set mode
xrandr --output CRT1 --mode 800x576_50i
sudo aticonfig --set-pcs-u32="DDX,EnableTearFreeDesktop,3"
sudo aticonfig --sync-video=on
# start VDR
startvdr
sudo reboot