Cannot get Screen Resolution to Take during FBA but can Manually

G

Guest

I am using a motherboard with the Intel 82845G chipset. I cannot get the screen resolution to work upon FBA but I can manually set it after this in my XPE system. Painful, to say the least, as I really want to have my own application as a shell and I cannot get to the control panel from it :)

I have read other threads on similar problems, but everything I check looks good. No errors in the logs except the one that says
Settings: [1280, 1024, 32, 75]
Settings not Found!

(Although, as I said, I can set these exact settings, manually, once FBA is over. The device is there and I can make all the necessary changes.). I don't have any other thoughts so look for wisdom from the ether...

Thanks,
Dave
 
K

KM

Dave,

You have not mentioned any error in your FBA log.
Make sure you've got "Pnp (User-Mode)" component in your image.
Also, try suggestions from http://www.microsoft.com/windows/embedded/community/tips/xp/vidresolutionruntime.asp.

KM
BSquare Corporation


D> I am using a motherboard with the Intel 82845G chipset. I cannot get
D> the screen resolution to work upon FBA but I can manually set it
D> after this in my XPE system. Painful, to say the least, as I really
D> want to have my own application as a shell and I cannot get to the
D> control panel from it :)
D> problems, but everything I check looks good. No errors in the logs
D> except the one that says
D> Found!
D> manually, once FBA is over. The device is there and I can make all
D> the necessary changes.). I don't have any other thoughts so look for
D> wisdom from the ether...
 
G

Guest

KM,

There are no errors except the warning I mentioned (Settings not found error on the settings that I can change manually). PnP user mode component is installed and I have looked at the tips you eluded to but nothing seems to work. Again, what's odd is that I can configure it manually so that indicates a problem with PnP, right?

Quite frustrating as eventually I'll use my own custom shell and will not have a way to easily change the resolution, manually. I guess I could set the shell manually, too, in my image :) Hoping this would be simpler, though...

Thanks for your thoughts,
Dave

(P.S. And I've been a long-time WinRT user which youi folks sold off over a year ago, now, I think. If anyone is left who used to work on that, thank them for me! Still is rock solid for everything I need... and it installs and works under XPE just fine, thank you :) )
 
K

KM

Dave,

Are you sure your video supports settings: [1280, 1024, 32, 75] (especially
the refresh rate?). If you need a different refresh rate from the standard
ones, you can set it from the Advanced Component Properties dialog box by
setting the CMISCREENREFRESH extended property to the desired refresh rate.

Also, about your custom shell... Check ChangeDisplaySettingsEx API to set
display settings you need from your app.
You can also make your app to wait until all installs are almost done -
CMP_WaitNoPendingInstallEvents(INFINITE) API call.

--
KM,
BSquare Corporation

PS. Yeah.. WinRT was (and is) a good kit :)
KM,

There are no errors except the warning I mentioned (Settings not found
error on the settings that I can change manually). PnP user mode component
is installed and I have looked at the tips you eluded to but nothing seems
to work. Again, what's odd is that I can configure it manually so that
indicates a problem with PnP, right?
Quite frustrating as eventually I'll use my own custom shell and will not
have a way to easily change the resolution, manually. I guess I could set
the shell manually, too, in my image :) Hoping this would be simpler,
though...
Thanks for your thoughts,
Dave

(P.S. And I've been a long-time WinRT user which youi folks sold off over
a year ago, now, I think. If anyone is left who used to work on that, thank
them for me! Still is rock solid for everything I need... and it installs
and works under XPE just fine, thank you :) )
 
S

Slobodan Brcin \(eMVP\)

Hi Dave,

I'm using two different approaches.

One is that in all my projects I have one init application that is called
once at last phase of FBA, this apps can set all values required for my
specific build.
This way it is possible to make workaround for setting app things that can't
be configured from TD.
For your specific case you can use ChangeDisplaySettingsEx like Konstantin
already said.

There is an alternative approach to this problem.

Create manually component that will copy driver files to their appropriate
folders in XPe image.
And add component "Device: Display" to your build. This component is
probably not meant to be used this way, but it works.
You can use it to set default resolution and in resources you can set phase
at which resolution change will happen.
You can set it as late as you want (even in second reboot if you want, but
there is no need for that).

Only thing you must make sure is that PnP installs drivers for your video
adapter before this phase is executed.

Regards,
Slobodan


Dave said:
KM,

There are no errors except the warning I mentioned (Settings not found
error on the settings that I can change manually). PnP user mode component
is installed and I have looked at the tips you eluded to but nothing seems
to work. Again, what's odd is that I can configure it manually so that
indicates a problem with PnP, right?
Quite frustrating as eventually I'll use my own custom shell and will not
have a way to easily change the resolution, manually. I guess I could set
the shell manually, too, in my image :) Hoping this would be simpler,
though...
Thanks for your thoughts,
Dave

(P.S. And I've been a long-time WinRT user which youi folks sold off over
a year ago, now, I think. If anyone is left who used to work on that, thank
them for me! Still is rock solid for everything I need... and it installs
and works under XPE just fine, thank you :) )
 

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