Murkas Wrote:Tried to bind hotkeys for different profiles with different refresh rates in ATI CCC, and it works great when executing it in windows - but when executing it in XBMC the screen flashes but when the display comes back the refresh rate isn't changed...
Anyone that has any suggestions?
I've basically given up on getting this to work, so for now I've set up 3 macros in EventGhost (one for each hz - 24/50/60hz). The macros kills XBMC, lanuches catalyst control center with a profile, then lanuches xbmc again:
Code:
<Folder Name="XBMC" Expanded="True">
<Macro Name="24HzATI" Expanded="True">
<Event Name="Keyboard.LCtrl+LAlt+F10" />
<Action>
XBMC.Quit()
</Action>
<Action>
EventGhost.Wait(3.0)
</Action>
<Action Name="Activate ATI profile 1080p24">
System.Execute(u'C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static\\CLI.exe', u'Start Load profilename=1080p24', 0, True, 2, u'')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
System.Execute(u'E:\\Program\\XBMC\\XBMC.exe', u'-fs', 0, False, 2, u'E:\\Program\\XBMC')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
EventGhost.FlushEvents()
</Action>
</Macro>
<Macro Name="50HzATI" Expanded="True">
<Event Name="Keyboard.LCtrl+LAlt+F11" />
<Action>
XBMC.Quit()
</Action>
<Action>
EventGhost.Wait(3.0)
</Action>
<Action Name="Activate ATI profile 1080p50">
System.Execute(u'C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static\\CLI.exe', u'Start Load profilename=1080p50', 0, True, 2, u'')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
System.Execute(u'E:\\Program\\XBMC\\XBMC.exe', u'-fs', 0, False, 2, u'E:\\Program\\XBMC')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
EventGhost.FlushEvents()
</Action>
</Macro>
<Macro Name="60HzATI" Expanded="True">
<Event Name="Keyboard.LCtrl+LAlt+F12" />
<Action>
XBMC.Quit()
</Action>
<Action>
EventGhost.Wait(3.0)
</Action>
<Action Name="Activate ATI profile 1080p60">
System.Execute(u'C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static\\CLI.exe', u'Start Load profilename=1080p60', 0, True, 2, u'')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
System.Execute(u'E:\\Program\\XBMC\\XBMC.exe', u'-fs', 0, False, 2, u'E:\\Program\\XBMC')
</Action>
<Action>
EventGhost.Wait(5.0)
</Action>
<Action>
EventGhost.FlushEvents()
</Action>
</Macro>
</Folder>
The waiting actions are needed for the resolution changes to stabilize. Also note that the wait after XBMC.Quit is is not enough if you're currently playing a video, so stop playback before running these macros.
There are several combinations of OS and GPU that works, but AMD chipset with ATI GPU and Windows Vista seems to be the worst possible combination for the "adjust refresh rate" feature.
Correct me if I'm wrong but last time I checked the SVN versions the result was the same with this feature on my hardware combo. And besides that, multichannel digital audio has been broken for several months now, so the new SVN's are a no go until that's back up and running again.