Thing have been sooooo fucked up this night.
Had a friend over to work with my xorg.conf.
Just like me, we tried different xorg.conf and we couldnt get it to work.
Then suddenly, when running the script AT the computer connected to the screen (been using putty before) it worked. TADA!
BUT, still we couldnt find out where this script was saved.
Then we restarted, and we get no screen to the plasma with hdmi.
Tried for hours, with the original xorg.conf Ubuntu hade created for me, using a VGA lcd, and all the other xorg.conf you posted here, that worked for me before, only with underscan. We got no screen at all.
Then we made a progress without the ATI drivers. Full screen with underscan, but of course no ATI settings and all that shit.
Then in Ubuntu, I let it download the ATI setting and I tried to restart. Then NO screen again.
Finaly, 4 hours later, we tried aticonfig to FORCE settings, instead of just letting ubuntu download and just some default settings, and restarted.
SCREEN. The same as when I started. BUT with the underscan with the strange PosX, PosY just like when we started.
Run the script again. WORKED, no underscan!
But when I restart, I get no screen..
I then run "aticonfig --initial --force" again, and then restarted. Back to square one.
Still no difference in the xorg.conf I hade the last time with totaly black screen, and the xorg.conf I have now back at square one.
To sum up.
1. I dont know where all the setting "aticonfig" does is saved. Its not only in xorg.conf, even if aticonfin it self say it use the defauld conf.
2. It seems like I found the problem to my underscan, and I now know that the script works. Only that the screen and ubuntu and X dont want to work after a reboot.
3. All the different xorg.conf I tried before I got the script to work, that will say with 720p but in underscan, didnt solve the problem with my xbmc.
Seems like my last thing to do is to use the shitty VGA for htpc and composite for XBOX360...
EDIT
This is my xorg.conf now, made from a aticonfig --initial --force
"Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
"
EDIT
Tomorrow I will try this, found in this tread
http://forum.xbmc.org/showthread.php?tid=39717&page=3
"When you're modifying Xorg.conf, don't forget to check out /etc/ati/amdpcsdb file.
Settings specified in that file take precedence over Xorg.conf ones. Seems that nobody here knows about it. "
/Söder