1. 01 May, 2017 1 commit
    • John Ballance's avatar
      Remove ReadEDID command. Extend Service_DisplayChanged response · f825c04b
      John Ballance authored
      Detail:
      ReadEDID command removed. New subreason code added to reason code 0
      of Service_DisplayChanged to oblige ScrModes to load the EDID based
      modes it discovered. Required because current behaviour would ignore
      any EDID based modes once a LoadModeFile command had been issued.
      Admin:
      Tested on iMx6
      
      Version 0.64. Tagged as 'ScrModes-0_64'
      f825c04b
  2. 12 Mar, 2017 1 commit
  3. 05 Mar, 2017 1 commit
    • ROOL's avatar
      Offer export of raw EDID blob and complementary MDF export · 961adc98
      ROOL authored
      Detail:
        Export the EDID raw data as a file in ResourceFS. This allows the Screen Setup plugin to scan that directory to pick up the currently connected monitor, and similarly select it from !Boot.Choices.PreDesk. The EDID data can also be drag & drop copied or exported for offline analysis.
        Add SaveModeFile command. This differs in that it works on the current set, to be symmetrical with LoadModeFile which loads the current set. Also fixes issues of losing the original mode names given; NULL pointer dereference when the EDID block contains no modes (eg. VIDCDriver); and no long writes out malformed MDFs which can't be loaded into !MakeModes (this seems to be because the CreateModeFile command was based on a stale copy of EDIDDecode which fixed the same bug circa 2012).
        Query the current GraphicsV driver for the deepest colour depth for the preferred mode, rather than assuming 32bpp is always possible (eg. because of bandwidth or graphics controller constraints).
        If the configured MonitorType is EDID but no EDID could be read, or it was corrupt, substitute a safe VESA monitor to allow the kernel to select something close to MODE 28.
        Add ScreenModes_Features SWI so the Screen Setup plugin knows whether it's safe to offer EDID in its dialogues.
        Retire the ReadEDID command (no longer needed since LoadModeFile can load the exported EDID blob, or one from disc) and CreateModeFile commands (see SaveModeFile).
        Internationalise the default monitor title ("Unidentified") used when EDID doesn't contain one.
      Admin:
        New file - doc/BootStates documents all possible situations, and their recovery, for both the MDF and (non-hotplug) EDID schemes.
        New file - doc/EDIDGoals states the aims of the EDID support from both a user and support perspective.
      
        Submission for the EDID bounty.
      
      Version 0.61. Tagged as 'ScrModes-0_61'
      961adc98
  4. 29 Nov, 2015 1 commit
    • Jeffrey Lee's avatar
      Add support for parsing and reporting the contents of CEA 861-D audio-related EDID blocks · 9a30976a
      Jeffrey Lee authored
      Detail:
        Makefile - Export a C version of hdr/ScrModes
        Resources/Germany/Messages, Resources/UK/Messages, h/errors - Add new error message
        cmhg/ScrModesv, hdr/ScrModes - Declare existence of ScreenModes_EnumerateAudioFormats SWI. Declare ScreenModes_ReadInfo reason codes.
        h/modex - Extend MonitorDefinition struct to allow it to store the speaker mask & audio format information that's extracted from the EDID
        c/ScrModes - Extend support for processing of CEA extension blocks. All block revisions > 0 should now be accepted, and rudimentary parsing of CEA data block collections is implemented (currently, only extracts information from audio related blocks). Add SWI ScreenModes_EnumerateAudioFormats to allow details of the supported formats to be returned in either "raw" or "friendly" forms. Add ScreenModes_ReadInfo reason code 1 to allow reading of the speaker mask (+ validity bits). Also fix *LoadModeFile to allow EDID blocks to be loaded without first having to issue *ReadEDID first (EDIDEnabled flag issue).
      Admin:
        Tested on iMX6 with assorted EDID blocks
        German messages file in need of translation
      
      
      Version 0.49. Tagged as 'ScrModes-0_49'
      9a30976a
  5. 16 Feb, 2015 1 commit
  6. 10 Feb, 2015 1 commit
    • John Ballance's avatar
      Extended to optionally generate a saved mdf instead of updating the current loaded mdf. · f2073d25
      John Ballance authored
      Detail:
        For field support it is extremely helpful to determine what a customer's monitor
        reports. Whilst (hopefully) this module will correctly produce modes the monitor
        can handle and the computer generate, when that doesn't happen support types need
        to be able to find out why, ideally using the same exact information that is generated.
        So:
        The ReadEDID command, if called with a full file name, will now save the discovered
        mdf information to that file instead of loading it.
        The resultant mdf can be used directly, or used as the basis for further
        modifications. It exports additional information in the header section
        which may prove helpful to 'mdf tweakers'.
      Admin:
        Tested in imx rom. In 'advertised' use it is the same code as before. It is
        only when the  filename is given to the readedid command that different paths
        are invoked. Further enhancements may be desirable.
      
      Version 0.40. Tagged as 'ScrModes-0_40'
      f2073d25
  7. 08 Feb, 2015 1 commit
    • Steve Revill's avatar
      Added prototype EDID support code. · d893357d
      Steve Revill authored
      This should be considered beta-quality work-in-progress code that gives us a
      new *command (ReadEDID) that attempts to read the list of supported display
      mode information from a connected monitory and configure the system for it,
      as if an MDF file had been loaded containing that information.
      
      Admin:
      
      Community testing is required for this feature. Please try replacing the
      LoadModeFile line in your !Boot.Choices.Boot.PreDesk.Configure.Monitor
      file with a line saying "ReadEDID". If you get a sensible looking list
      of modes when the machine boots, then things should be OK. If you see an
      error, please get in touch with ROOL on the "Bounties - ReadEDID" topic.
      You'll clearly need to be running a ROM with this version of ScreenModes
      in it!
      
      Version 0.39. Tagged as 'ScrModes-0_39'
      d893357d
  8. 09 Mar, 2014 1 commit
    • Jeffrey Lee's avatar
      Pay attention to Service_DisplayChanged · 39a0150d
      Jeffrey Lee authored
      Detail:
        c/ScrModes, cmhg/ScrModesv - Fire off Service_ModeFileChanged whenever we receive Service_DisplayChanged, so that our clients are informed of the fact the mode list may have changed
      Admin:
        Tested on Iyonix, BB-xM
      
      
      Version 0.38. Tagged as 'ScrModes-0_38'
      39a0150d
  9. 12 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Retire VIDCBandwidthLimit command · beee933c
      Robert Sprowson authored
      Was previously for internal use only, but largely irrelevant as the majoirty of targets don't contain a VIDC, and those that do use a GraphicsV driver anyway.
      * CMHG and resources updated to remove the command from the command/syntax table
      * Don't bother probing OS_ReadSysInfo 2 for the video controller, assume it's always GraphicsV
      * Don't try vetting modes based on VIDC limitations (leave that to VIDC20Video module)
      * Don't listen to the kernel's bandwidth limit suggestion, always use INT32_MAX
      Also
      * Fix potential null pointer dereference if there's not enough RAM to build an ICONSPRITES command
      * Rather than setting up an atexit() handler in the module init, just use a module finalisation handler
      * Makefile tickled to not use Norcroft specific flags
      
      Version 0.33. Tagged as 'ScrModes-0_33'
      beee933c
  10. 12 Oct, 1999 1 commit
  11. 21 Sep, 1998 1 commit
  12. 21 Jan, 1997 1 commit
  13. 05 Nov, 1996 1 commit