Don't like ads? PRO users don't see any ads ;-)
Guest

ATI VDR VGA2Scart installation

By: a guest on May 13th, 2012  |  syntax: Bash  |  size: 1.57 KB  |  hits: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2.  
  3. mkdir -p /tmp/ati-driver/
  4. cd /tmp/ati-driver/
  5.  
  6. # install ATI Proprietary Linux driver (fglrx)
  7. # http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
  8. wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
  9.  
  10. # there are needed dependencies
  11. sudo apt-get -y install libqtgui4 execstack
  12.  
  13. # build the *.deb packages
  14. sudo sh amd-driver-installer-*-x86.x86_64.run --buildpkg
  15.  
  16. # if the VDR is running we need to stop it now
  17. stopvdr
  18. sudo stop easyvdr-openbox
  19.  
  20. # get the new config for HD 6310
  21. # http://wiki.easy-vdr.de/index.php/Xorg_ati_hd6310.conf
  22. # http://pastebin.com/qcXxCqkC
  23. wget http://pastebin.com/raw.php?i=qcXxCqkC -O xorg_fglrx_hd6310.conf
  24.  
  25. # backup the old config
  26. sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old.`date '+%Y-%m-%d_%H-%M-%S'`
  27.  
  28. # install the driver
  29. sudo dpkg -i fglrx_*.deb
  30. sudo dpkg -i fglrx-modaliases_*.deb
  31.  
  32. # init the files for the grafic driver
  33. sudo aticonfig --initial
  34.  
  35. # use instead the new config
  36. sudo cp xorg_fglrx_hd6310.conf /etc/X11/xorg.conf
  37.  
  38. # unload the grafic driver (an make sure it was unloaded)
  39. sudo rmmod fglrx
  40. lsmod | grep fglrx
  41.  
  42. # delete fglrx config if it exists (PCS database) and let aticonfig generate a new one from our new xorg.conf
  43. sudo rm /etc/ati/amdpcsdb
  44. sudo aticonfig --input /etc/X11/xorg.conf
  45.  
  46. # start X11
  47. sudo start easyvdr-openbox
  48.  
  49. # show modes
  50. export DISPLAY=:0
  51.  
  52. # set mode
  53. xrandr --output CRT1 --mode 800x576_50i
  54. sudo aticonfig --set-pcs-u32="DDX,EnableTearFreeDesktop,3"
  55. sudo aticonfig --sync-video=on
  56.  
  57. # start VDR
  58. startvdr
  59.  
  60. sudo reboot