ATI Multiple Display Settings

S

Santiago Allen

Hi All,

I am trying to determine how to set certain ATI settings from in TD, my
final xpe image will not have access to the display control panel and I
even if it did the display control panel probably wouldnt have access
to the ATI tabs.

Background:

I have an ATI RS300M Chipset Mobility Radeon IGP 9180 I have already
set in BIOS a display of CRT only. My system is designed for a single
monitor at 1280x1024x32x60hz. The ATI Radeon and the Monitor to be
used both support this mode.

The problem is that the graphics card is being configured at startup
for multiple monitor mode. The display control panel I have
temporarily added shows that there are 3 monitors. 2 Default monitors
and 1 plug and play monitor. It also shows that there are multiple
monitors attached to the graphics card.

I need that either the CRT be the primary monitor or (even better) to
set the system to single default monitor mode. Is there a way to do
this in TD? If not how would I go about having this happen
automatically during FBA?

Thanks,

Santiago Allen
 
B

Brad Combs

Santiago,

In your situation I would install XP Professional on the device, use RegMon
(or a similar tool) to monitor the registry changes as I set the video the
way it needs to be, then create a component with those registry entries in
it. I would also set a build order dependency on the ATI component so that
it's built before my custom registry data component. That will ensure that
your settings don't get overwritten. For testing and time purposes I would
just create a reg file first (from the monitored changes), import that into
the registry while the adapter is at it's defaults and see if the settings
change as expected. That way you aren't troubleshooting a component and the
settings at the same time.

HTH,
Brad
 
S

Santiago Allen

Hi Brad,

Thanks for the response. This is what Ive done so far.
In my xpe Build I added the explorer application component and the
display control panel component. Then I replaced my Radeon component
with the generic ATI Radeon Component in TD. After FBA I ran the
instalshield wizard for the actual ATI card using inctrl5. After
installation, I committed changes and rebooted. Then I went into the
display control panel (is there a way to do this using control.exe that
doesnt require explorer.exe to be present? are there command line
parameters to control.exe that will open the display panel directly?).
I then ran filemon and regmon during the setting of the proper device
settings.

I am concerned with some of my results however. Here is the filemon
log:

33 11.44921563 rundll32.exe:1120 SetValue HKU\.Default\Control
Panel\Desktop\ScreenSaveActive SUCCESS "0"
34 11.44931117 rundll32.exe:1120 SetValue HKU\.Default\Control
Panel\Desktop\ScreenSaveTimeOut SUCCESS "600"
35 11.46349090 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
36 11.46389989 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
37 11.46426949 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
38 11.46476983 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
39 11.46515536 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
40 11.46552077 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
41 11.46681395 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
42 11.46719947 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
43 11.46755985 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
44 11.46772412 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
45 11.46809037 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
46 11.46844823 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
47 15.42403841 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALLastSelected SUCCESS 01
00 00 00
48 15.42413060 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALObjectData0 SUCCESS 01
01 00 01 01 00 01 01 ...
49 15.42419178 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALObjectData1 SUCCESS 00
00 00 00 00 00 00 00 ...
50 15.42425045 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALSelectObjectData0 SUCCESS 01
01 00 01 01 00 01 01 ...
51 15.42430241 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALSelectObjectData1 SUCCESS 00
00 00 00 00 00 00 00 ...
52 15.42439879 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALCurrentObjectData SUCCESS 01
01 00 00 00 00
53 15.42446165 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALR6
CRT SUCCESS 00 00 00 00 00 00 00 00 ...
54 15.42453624 rundll32.exe:1120 SetValue HKLM\System\CurrentControlSet\Control\Video\{10F4F651-C789-46E0-8037-FE288F9E6F05}\0000\DALR6
CRT1024x768x0x60 SUCCESS 00 00 00 00 00 00 00 00 ...
55 15.42488656 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
56 15.51908678 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
57 15.52035063 rundll32.exe:1120 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
58 15.52089287 rundll32.exe:1120 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\UIO\Displays\0 SUCCESS 0x1
59 15.52159939 rundll32.exe:1120 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\DefaultSingleDisplay\(Default) SUCCESS ""
60 15.52170080 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x1
61 15.52208967 rundll32.exe:1120 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\Switchamongstdisplays\(Default) SUCCESS ""
62 15.52239390 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
63 15.52277356 rundll32.exe:1120 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\(Default) SUCCESS ""
64 15.52432822 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
65 15.52596838 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
66 15.52800327 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
67 15.59396220 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
68 15.61303473 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
69 15.61346634 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
70 15.61384265 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
71 15.61546604 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\DefaultSingleDisplay\(Default) SUCCESS ""
72 15.61573172 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\Switchamongstdisplays\(Default) SUCCESS ""
73 15.61623290 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\(Default) SUCCESS ""
74 15.61875137 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x0
75 15.61908829 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x1
76 15.61931038 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x0
77 15.61973362 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cDisplayDevice SUCCESS "\\.\DISPLAY1..."
78 15.61995655 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x1
79 15.62017530 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cTaskCall SUCCESS 0x0
80 15.62027335 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\cDisplayDevice SUCCESS "\\.\DISPLAY1..."
81 15.62039739 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
82 15.62078543 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
83 15.62114749 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
84 15.62174170 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
85 15.62212387 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"
86 15.62248425 atiptaxx.exe:792 SetValue HKLM\Hardware\DeviceMap\VIDEO\\Device\Disc SUCCESS "\REGISTRY\Machine\System\CurrentControlSet\Services\TSDDD\Device0"




I Believe the following lines are the key lines:


71 15.61546604 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\DefaultSingleDisplay\(Default) SUCCESS ""
72 15.61573172 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\Switchamongstdisplays\(Default) SUCCESS ""
73 15.61623290 atiptaxx.exe:792 SetValue HKLM\SOFTWARE\ATI
Technologies\Desktop\{10F4F651-C789-46E0-8037-FE288F9E6F05}\Profiles\Schemes\Environment\(Default) SUCCESS ""

The problem is that the {10F4F651-C789-46E0-8037-FE288F9E6F05} differs
in XPPro as oppesed to XPE, and it varies across different builds of
XPE, so I dont know how I could add these keys into the TD as is. Is
there something glaringly obvious that I am just missing? I can
provide the filemon log and the inctrl5 output as well if needed.

I dont think we can live with running this installer post fba and then
fixing the proper settings in the control panel. It certainly would be
best if the settings could be fixed during fba.

Thanks again,

Santiago Allen
 
S

Stas Pavlov

In the similar but reverse situation - the default mode is single
monitor but I need to configure multi monitors environment in XPe, I
have developed Win32 API console program which used
ChangeDisplaySettingsEx to set video card settings during last phase of
FBA. ChangeDisplaySettingsEx API provides full control over video
driver features, so I think, it's possible to develop application which
performs the functions you need.

Regards,
Stas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top