This is an alternate solution to the problem.
I wrote a script that writes the additions to /etc/ati/amdpscdb on startup. Before applying this, you should probably read the following:
What you should know before doing this:
Code:
man update-rc.d
0 --> when the computer shuts down
s or 1 --> when the computer boots
2,3,4,5 --> different run levels (you can see which programs boot in each in /etc/rc2.d/,/etc/rc3.d/, /etc/rc4.d/ etc...
6 --> a reboot
if you wanted to jump straight to a run level you can use the command telinit 3, telinit5 etc.
Note that apparently distrobutions can choose to have programs run at different run levels. I cannot remember the man page that I read this in. sorry.
Explanation:
In Debian 6.3 - FGLRX runs it's first script in run level 2.
I assumed that this is where it generates /etc/ati/amdpcsdb
so I added a script that runs at that run level (actually I was impatient and made it start at 2,3,4,and 5)
the script looks for the line:
Gxo50HzTimingSupport=V1/Gxo50HzTimingSupport=V1
and adds
DigitalHDTVDefaultUnderscan=V0
to the next line
check your amdpcsdb to make sure that line exists, if it does not, choose another line under the same heading (the part in brackets)
Instructions:
-
Code:
cd /etc/init.d
Code:
nano fglrxfix
Code:
# FGLRX underscan fix #----------------------------- sed 's/Gxo50HzTimingSupport=V1/Gxo50HzTimingSupport=V1\nDigitalHDTVDefaultUnderscan=V0/g' </etc/ati/amdpcsdb>wpbuffer sudo cp wpbuffer /etc/ati/amdpcsdb sudo rm wpbuffer exit0
Code:
chown root fglrxfix
-
Code:
chmod 4755 fglrxfix
-
Code:
update-rc.d fglrxfix start 20 2 3 4 5 .
-you're done
This seems like a giant pain in the ass, but it's waaaaaaaaaaaaaay better than having to exit and restart the xserver every time you log in. This method works with multiple monitors.
Cheers folks!
Leave a comment: