Re: Dynamic display resolution change in CE 6.0

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Response from voidcoder (I asked around):

While I haven't tried this myself yet, but it looks like it is
possible. Basically it is done through the GPE::NumModes(),
GPE::GetModeInfo() and GPE::SetMode() methods. He has to override
those methods in his GPE/DDGPE derived class in the disp driver
in order to support dynamic res changes. One of the sample display
drivers (I believe it is ATI RAGEX, don't have sources close at
hand at the mo) supports this.

Apps call EnumDisplaySettings() to find supported resolutions and
ChangeDisplaySettingsEx() to change it.

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Danny wrote:
Michael,

I have looked a bit at the RageXL driver, and there are some places where that driver does special handling for the case of changing the display resolution. But it is still not clear to me how the display resolution change is initiated.

I will try to add this support by intercepting changes to the display mode (via SetDisplayMode()), and then manually deleting and reallocating the primary surface. Not sure if this will be accepted behavior.

Thanks for the attempts to help,
Danny

"Michel Verhagen (eMVP)" wrote:

Danny,

The ATI RageXL display driver code seems to (want to) support dynamic resolution changes. See \WINCE600\PUBLIC\COMMON\OAK\DRIVERS\DISPLAY\RAGEXL\DAL\DALLIB\SRC\dalgco.c, line 1430

But... It looks like a dead end because DAL_MODECHANGE_MAJOR_DESKTOPRESORBPPCHANGE is only used in that file and the header file. No other code seems to use it... Could be a leftover from the port of this driver from XP.

I think your best chance is to open a support incident with Microsoft and get some sample code / help from the team. Documentation / example code should definitely be extended for this functionality...


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
http://GuruCE.com
Consultancy, training and development services.


Michel Verhagen (eMVP) wrote:
Doing it from the bootloader is NOT dynamic. It requires a reboot, and that trick has been used since the earliest versions of Windows CE. What Dean wants is info on the dynamic display change that is now supported on CE 6.0

Sorry Dean, no experience with that yet, but I'll see what I can find...


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
http://GuruCE.com
Consultancy, training and development services.


wince.ms@xxxxxxxxx wrote:
Danny,forget the display driver.You can do it in bootloader if your
platform has one.Then you can chang screen resolution dynamically in
it.You can store lcd infomation in g_ebootCFG and init LCD controller
in bootloader.What you have to do in dispaly driver is getting the LCD
information(just LCD_XSIZE and LCD_YSIZE).You even needn't init LCD
controller in display driver since you have it done in bootloader.

Good luck.
.



Relevant Pages

  • [PATCH/RFC 2.6.20-rc4 1/1] fbdev,mm: hecuba/E-Ink fbdev driver
    ... This patch adds support for the Hecuba/E-Ink display with deferred IO. ... This is the frame buffer device driver for the Intel-based Macintosh ...
    (Linux-Kernel)
  • Re: wince 5.0 cepc download problem
    ... > ethernet controller and 5.0 has no ethernet driver support for it ... > that display adapter is also of intel and 5.0 again has no display ... adapter support VESA compatible video modes. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem with Intel 945GME and LVDS
    ... It seems that your button shuts down display settings and no init is done on ... The driver has been built with Intels IEGD driver kit 8.0, ... with support for both 855 and 945 chipsets. ... of the new 945gme chipset that only is used with embedded stuff, ...
    (microsoft.public.windowsxp.embedded)
  • Re: 30" monitor and what video card?
    ... So long as it has a dual-link DVI connector, it will support 30" ... What has me still scratching my head is that when I 'enable all display modes', ... even the ones not supported by your monitor' the NVidia display applet only ... But sans a a fixed driver, ...
    (comp.sys.ibm.pc.hardware.video)
  • Re: Dynamic display resolution change in CE 6.0
    ... that driver does special handling for the case of changing the display ... But it is still not clear to me how the display resolution ... "Michel Verhagen (eMVP)" wrote: ... information.You even needn't init LCD ...
    (microsoft.public.windowsce.platbuilder)