21 Replies Latest reply on Apr 14, 2011 2:02 AM by Nick

    Issue with IEGD version > 8 and WinCE 5

    Green Belt

      Hi!

       

      We have been using the Intel IEGD display driver version 6 for a while for our 855GME chipset on Windows CE 5. Because we would like to support the 945GSE chipset in our image we have upgraded the IEGD driver to version 8 which should support both chipsets.

       

      We are running an application which creates data reports in bitmap format. The application is using the Wince IImagingFactory to accomplish this. We noticed that with version 8 we are missing a lot of data in our reports. There seems to be missing a lot of data in theses images.

       

      This is a screenshot of a report with IEGD version 6:

       

      100_6148.JPG

       

      And this a screenshot of a report with IEGD 8:

       

      100_6147.JPG

       

      Does someone have any idea what is going wrong?

      Are there some changes between these versions which could explain this behavior?

       

      I have also tried the latest version of IEGD ( 10.3 ) but it has the same issue ( even worse ).

       

      Ciao

        • Re: Issue with IEGD version > 8 and WinCE 5
          Kirk Brown Belt

          Well, that looks like one of two issues.

           

          1. Is it possible that you have accidentally implemented scaling of the display somehow in your configuration?  Generally if you accidentally enable what we call "render scaling" it could be that the vertical lines ARE drawn but are scaled out by the rerender of the screen down to a lower resolution on your fixed resolution of the screen.  The fix would be to have your screen resolution set to native resolution of the display.

           

          2. This may be an artifact of a fix for an older issue in < version 8 drivers in properly drawing single pixel vertical lines.  We may have implemented a fix for a more common issue that has backfired on the partiular drawing calls that IImagefactory (??) uses to draw lines.  I am trying to get the details about that change that I vaguely remember from that timeframe.

           

          I am hoping the problem is #1 and I think that may be the case as we do not have any open issues against vertical line drawing around ANY operating system at this time.  That makes me think that a new feature of the driver post ver 8 is accidentally getting utilized thus causing this issue.

           

          Hope this helps 

            • Re: Issue with IEGD version > 8 and WinCE 5
              Green Belt

              Hi Kirk,

               

              Thanks for you reply!

               

              We are using a 800x600 LCD panel using the LVDS port. The resolution was already fixed set to 800x600 in the Windows CE registry.

               

              I have read about the "render scaling" option in the documentation so I removed the secondairy crt display which we use for cloning. I have also added the PANEL FIT option to the display attributes and set it to 0. Unfortionatly this does not make any difference.

               

              I am not really sure this has something to do with vertical line drawing since we are also missing horizontal lines.

               

              So far we can only observe this issue when we are building images from BMP files using bitblitting operations.

               

              Could you please try to found out more details about this second problem cause you mentioned?

               

              BTW is there a detailed list available of changes made in version 8 compared to version 6? Is there also a version 7 which we can try to use?

               

              Many thanks

               

              Nick

                • Re: Issue with IEGD version > 8 and WinCE 5
                  Kirk Brown Belt

                  Missing horizontal info CAN also be attributed to render scaling as we have to throw away both veritcal as well as horizontal data to fit (depending on what we are trying to fit.

                   

                  All releases have an "Errata" that came with them- we now call it a "spec update" and those should be in the archives with the older releases on download.intel.com (before we switched over to EDC).  Otherwise, the only place to get the spec updates would be to request them on Quad (premier.intel.com) if you have an account there.

                   

                  I am still researching that one change. but I need to track it down first to understand what changed.  It had something to do with lines with a 0 length if I remember it properly.

                    • Re: Issue with IEGD version > 8 and WinCE 5
                      Green Belt

                      I have found the spec update for version 8 but I can not find anything useful in there.

                       

                      I have disabled the render scaling option by setting the “Panel-Fit” attribute (attribute 0x12) to 0 for the lvds port driver. Should this be enough?

                        • Re: Issue with IEGD version > 8 and WinCE 5
                          Kirk Brown Belt

                          Are you doing any sort of display rotation?

                            • Re: Issue with IEGD version > 8 and WinCE 5
                              Green Belt

                              No we do not use screen rotation.

                               

                              These are the Wince registry settings we use:

                               


                              ;***** BEGIN INTEL DISPLAY DRIVER REGISTRY ENTRY *****
                              ;*****************************************************
                              ; This file was created based on user variable specified in the CED.
                              ; DriverVer=
                              ;*****************************************************
                              [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
                                  "Display"="ddi_igd.dll"
                              [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
                                 "MainDisplay"="ddi_igd.dll"
                              [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
                                 "D3DMOverride"="ddi_igd.dll"
                              [HKEY_LOCAL_MACHINE\System\D3DM\Drivers]
                                 "RemoteHook"="ddi_igd.dll"
                              ;********************************************************************
                              ; The Following Sections Provide
                              ; General Driver-Wide Registry Settings
                              ;********************************************************************
                              [HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
                                 "PcfVersion"=dword:700
                                 "ConfigId"=dword:1
                              ;********************************************************************
                              ; The Following Sections Provide Per-Config
                              ; & Per-Port Registry Settings
                              ;********************************************************************
                              [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1]
                                 "name"="945GME"
                              [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\General]
                              ;-------------------------------------
                              ; Select Display configuration, single, twin ...
                              ;-------------------------------------
                                 "DisplayConfig"=dword:1
                              ;-------------------------------------
                              ; Select if you want to enable Display Detection
                              ;-------------------------------------
                                "DisplayDetect"=dword:0
                              ;-------------------------------------
                              ; Select Port Order
                              ;-------------------------------------
                                 "PortOrder"="40000"
                                 "OverlayOff"="1"
                                 "Width"=dword:320
                                 "Height"=dword:258
                                 "Depth"=dword:10
                                 "Refresh"=dword:3c
                                 "MaxFbSize"=dword:800000
                                 "MinVidSurfX"=dword:10
                                 "MinVidSurfY"=dword:10
                                 "OverlayDualVext"=dword:0
                                 "NO_D3D"=dword:0
                                 "SeamlessModeSet"=dword:0
                                 ;---------------------------------------
                                 ; Config 1 - lvds Port
                                 ;---------------------------------------
                                 ; Following are the registry
                                 ; entries for port's general config
                                 ;-------------------------------
                                 [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\4\General]
                                    "Name"="lvds"
                                    "Rotation"=dword:0
                                    "Edid"=dword:0
                                    "EdidAvail"=dword:0    ; STD TIMINGS + EDID TIMINGS + USER TIMINGS
                                    "EdidNotAvail"=dword:4 ; STD TIMINGS + USER TIMINGS
                                 ;-------------------------------
                                 ; Following are the registry entries
                                 ; for port's DVO I2C settings
                                 ;-------------------------------
                                 [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\4\DVO]
                                 ;-------------------------------
                                 ; Following are the registry entries
                                 ; for port's flat panel's mode-limits,
                                 ; power and backlight control
                                 ;-------------------------------
                                 [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\4\FPInfo]
                                   "BkltMethod"=dword:0
                                 ;-------------------------------
                                 ; Following are the registry entries
                                 ; for ports first custom DTD mode to add
                                 ;-------------------------------
                                 [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\4\DTD\1]
                                   "PixelClock"=dword:9c40
                                   "HorzActive"=dword:320
                                   "HorzSync"=dword:28
                                   "HorzSyncPulse"=dword:80
                                   "HorzBlank"=dword:100
                                   "VertActive"=dword:258
                                   "VertSync"=dword:1
                                   "VertSyncPulse"=dword:4
                                   "VertBlank"=dword:1c
                                   "Flags"=dword:c020000
                                 ; Following are the registry entries for the port device' display attribute parameters
                                 ;
                                 ;-------------------------------
                                 [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\4\Attr]
                                   "45"=dword:0
                                   "18"=dword:0
                                   "27"=dword:0
                                   "26"=dword:12
                                   "18"=dword:0
                                   "60"=dword:1
                              ;-------------------------------------
                              ; Provide a list of port drivers to attempt to load upon boot time
                              ;-------------------------------------
                              [HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
                                 "PortDrivers"="lvds"
                              ;-------------------------------------
                              ; Optional - Only enable for font anti-aliasing
                              ; Enabling this causes minor performance impact
                              ; Only recommended for TV Output.
                              [HKEY_LOCAL_MACHINE\System\GDI\Fontsmoothing]
                              [HKEY_LOCAL_MACHINE\System\GDI]
                                 "ForceGRAY16"=dword:1
                              ;***** INTEL DISPLAY DRIVER REGISTRY ENTRY END *******
                              ;*****************************************************


                    • Re: Issue with IEGD version > 8 and WinCE 5
                      Green Belt

                      Some more details about the code:

                       

                      We use Windows ce 5 API's BitBlt and StretchBlt to shrink a bitmap picture. Somehow the quality seems very poor with IEGD version > 6.