Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.