Created
February 1, 2013 01:18
-
-
Save Freso/4688355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/dash | |
BACKUPDIR="$HOME/aticonfig-backup-`date --rfc-3339=sec --utc`" | |
XORGFILE='/etc/X11/xorg.conf.d/20-aticonfig.conf' | |
mkdir "$BACKUPDIR" | |
cd "$BACKUPDIR" | |
mv -vi /etc/ati/amdpcsdb "$BACKUPDIR" | |
mv -vi "$XORGFILE" "$BACKUPDIR" | |
echo 'Generating new xorg.conf...' | |
aticonfig -v -f --initial --tv-overscan=on --overlay-type=opengl --sync-vsync=on --resolution=0,1360x768,1280x720 --tls=0 | |
echo 'Disabling underscan...' | |
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0 | |
echo 'Enabling "Tear Free Desktop"...' | |
aticonfig --set-pcs-u32=DDX,EnableTearFreeDesktop,1 | |
#echo 'Setting anti-aliasing..." | |
#aticonfig --set-pcs- | |
mv -vi /etc/X11/xorg.conf "$XORGFILE" | |
#+[AMDPCSROOT/SYSTEM/BUSID-1:0:0-0/OpenGL] | |
#+AntiAliasSamples=V4 | |
#+AAF=V3 | |
#+ASTT=V1 | |
#+ASE=V0 | |
#+ASD=V1 | |
#+AnisoDegree=V16 | |
#+VSyncControl=V3 | |
#+CatalystAI=V2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment