Announcement

Collapse
No announcement yet.

Custom Resolutions with W2K + 5.10beta?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom Resolutions with W2K + 5.10beta?

    Since the new 5.10 beta drivers have monitor customization I thought it might be possible to add custom resolutions to the drivers, similar to the win9x drivers (1280x960 for instance).

    Does anybody know if this is possible with this new release, and if so, how to do it?

    Thanks.

  • #2
    A new Resolution Manager is on the way.

    If you want to hack the registry directly, go to HKEY_LOCAL_MACHINE\SYSTEM\Current_Control_Set\Serv ices\G400\Device0. Edit the value Mga.SingleResolutions and add the resolution you want to the end of the list of bytes. The format is WW XX YY ZZ where XXWW=the 4-digit horizontal resolution in hex and ZZYY=the 4-digit vertical resolution.

    Then create a new binary value called Default.Graphic.hres.vres for your resolution. Copy the bytes from a nearby resolution into the value of the new resolution. For example, to create 1280x960, create a binary value called Default.Graphic.1280.960 and copy the hex values from Default.Graphic.1280.1024 into the 1280x960.

    Once you are done, reboot, and then go to the monitor customization tab in Display Properties to enable and tweak the new resolution.

    The new Resolution Manager will be just like the one for Windows 9x, except that it will have a lot fewer registry tweaks (since very few are known), and also it seems a reboot is required for any new resolutions to become available.


    ------------------
    Mark Veneziano

    Mark Veneziano

    Comment


    • #3
      Keep up the good work Mark!
      Have you managed a way to disable Vsynch in win2k drivers?

      Comment


      • #4
        Hi Nuno,

        I'm not much of a gamer so to be honest I haven't really tried to find a VSync setting or any other 3D-related settings. I did a quick search of the forums and a few posts suggested setting User.FlipOnVBlank = 00 00 00 00 (Type Binary). However, I also saw a few posts, including yours, that said this stopped working after a certain Powerdesk version.

        Have you tried the same setting only with User3d before the dot instead of User? I only suggest this because there is a setting called User3d.UseZ32 for the 32-bit Z-buffer option, and perhaps the other 3D-type settings are now all lumped under User3d.

        Just a guess!


        ------------------
        Mark Veneziano

        Mark Veneziano

        Comment


        • #5
          Ok, I'm looking at the ICD file (g400icd.dll) in a hex editor and some ASCII text is visible:

          User3D.SIMD
          User3D.TexUpdateAreaSize
          User3D.Boxes
          User3D.PuntAll
          User3D.NoFill
          User3D.NoSwap
          User3D.NoPost
          User3D.UsingBufferRegionExt
          User3D.BufferRegionExtEnable
          User3D.SwapIntervalExtEnable
          User3D.SwapIntervalExtFlags
          User3D.PageflipEnable
          User3D.NumBuffers
          User3D.BufferSize
          User3D.16BitTextures

          Now here is some stuff from g400m.sys:

          User3d.ZBuffer
          User3d.DoubleBuffer
          User3d.SubPixel
          User.DeviceBitmaps
          User.CenterDialogs
          User.MgaInfoFile
          User.SynchronizeDac
          User.SynchronizeEngine
          User.ComplexBlt
          User.AlternateLines
          User.EnableUSWC
          User.Filtering
          Mga.EnableMix
          User3d.TextureMapping
          User3d.UseBusMastering
          User3d.AntiAliasLines
          User3d.3DEnable
          User3d.SwapVsyncEnable
          User.UseBusMastering
          User.AllIntegerLines
          User.TVOut
          User.NTSC
          User.SCART
          Mga.EmulateSDRAM
          User.Enable3dClock
          Mtx.3MLiveWindow
          PLL Register 1
          PLL Register 2
          VgaCompatible
          Mga.FullVesaList
          Mga.InstallFlags
          User.SplitMode
          Mga.MgaInfoFileUpdate
          User.EnableSecondCrtc
          User.GenericInfoFile
          Mga.FlatOutputOnCrt
          User.QuadHWDirectDraw
          User.CRTCConfiguration
          User.SingleOutput
          User.Enable15Bpp
          Mga.BMOverride
          User3d.UseZ32
          User.Enable24Bpp
          User.EnableAGP
          User.GtfEnable
          User.GtfOverride
          DualHead.Enable
          DualHead.Clone.Enable
          DualHead.Clone.OnCRTC2
          DualHead.Zoom.Filtering
          DualHead.Zoom.Pan
          DualHead.Zoom.PanNow
          DualHead.MultiMon.Enable
          DualHead.MultiMon.Orientation
          DualHead.Monitor2.MaxWidth
          DualHead.Monitor2.MaxHeight
          DualHead.VideoTV.Enable
          DualHead.VideoTV.Aspec
          DualHead.VideoTV.PreserveAspect
          DualHead.VideoTV.PreserveCrop
          DualHead.VideoTV.FieldScaling
          DualHead.VideoTV.Sync
          TV.Standard
          TV.CableType
          Brightness
          Saturation
          Contrast
          Hue
          Gamma
          AntiFlicker
          Options
          User.AGP
          User.MMX
          User.AMD3DNow
          User.BusMastering
          User.TripleBuffer
          User.FlipOnVBlank
          User.FlipWaitVBlank
          User.PentiumPro
          User.WriteCombining
          User.ForceAGP
          User.VideoTV
          User.Prescaling
          User.KNI
          User3d.Warp
          User3d.AntiAlias
          User3d.TableFog
          User3d.Subpixel
          User3d.Anisotropic
          User3d.BumpMulti
          User3d.PalettizedTextures
          User3d.BumpFiltering
          User3d.GuardBand
          User3d.TexCacheMode
          User.FPStretch
          User.OverlayTrack
          User.VPEEnable
          Mode.Control
          User.Enable8Bpp
          User.Enable16Bpp
          User.Enable32Bpp
          MonitorProfile.Enable
          TV.Enable
          User.Enable8bppIn32bpp
          User.LargeCursor
          User.ForceHwCursor
          DualHead.Monitor2.MaxRefresh
          User.WDMEnable
          DualHead.EnableDesktopPreScale
          User.AccelAlphaCursor
          Mtx.OffscreenBuffer
          User.EnableDeriveSurface
          User.ForceBESBWTableG400

          So much for not having that many registry hacks for Win2k! I would guess that one of the following should take care of the Vsync problem:
          User3D.PageflipEnable (OGL)
          User3d.SwapVsyncEnable (D3D)
          User.FlipOnVBlank (2D?)
          User.FlipWaitVBlank (2D?)

          Have fun!


          ------------------
          Mark Veneziano



          [This message has been edited by MarkV (edited 14 June 2000).]
          Mark Veneziano

          Comment


          • #6
            Wow, you can sure find out a lot of cool stuff with a trusty hex editor...

            At offset 01A430 in PDTools.dll:
            Matrox G800 AGP
            Matrox Fusion G450 AGP
            Matrox Fusion Plus G800 AGP

            In fact, every Matrox card name since the original Millennium appears between 01A2CC and 01A61F in this file! Perhaps there is a unified Win2k driver in the future for the Mil 1 through the G800!



            ------------------
            Mark Veneziano

            Mark Veneziano

            Comment


            • #7
              Hmmm, the Matrox Menu...?

              Matrox G450 AGP
              Matrox Millennium G400 AGP
              Matrox Marvel G400 AGP
              Matrox Millennium G400 MAX AGP
              Matrox G400 AGP
              Matrox MGA-G100 PCI
              Matrox Productiva G100 PCI
              Matrox Mystique G100 PCI
              Matrox Marvel G100 PCI
              Matrox Productiva G100 Multi-Monitor
              Matrox MGA-G100 AGP
              Matrox Productiva G100 AGP
              Matrox Mystique G100 AGP
              Matrox Marvel G100 AGP
              Matrox G800 AGP
              Matrox Fusion G450 AGP
              Matrox Fusion Plus G800 AGP
              Matrox MGA-G200 AGP
              Matrox Mystique G200 AGP
              Matrox Millennium G200 AGP
              Matrox Marvel G200 AGP
              Matrox Marvel G200-TV AGP
              Matrox G200 Multi-Monitor
              Matrox Millennium G250 AGP
              Matrox Mystique G200 Video AGP
              Matrox Millennium
              Matrox Mystique
              Matrox Millennium II
              Matrox Mystique AGP
              Matrox Millennium II AGP
              Matrox Millennium G200 SD PCI
              Matrox Marvel G200 PCI
              Matrox Marvel G200-TV PCI
              Matrox MGA-G200 PCI

              Do you want fries with that?



              ------------------
              Mark Veneziano

              Mark Veneziano

              Comment


              • #8
                Just some more info on custom resolutions...

                The Horizontal Resolution must be divisible by 8 and the Vertical Resolution must be divisible by 2 for the resolution to be valid. I noticed this in the first Win2k Resolution Manager, but I thought it was because I was hacking the driver instead of using registry settings built into Powerdesk. Now it seems that it's a fact of life in Win2k (unlike Win9x which allows any values for the resolution).



                ------------------
                Mark Veneziano

                Mark Veneziano

                Comment


                • #9
                  Matrox Fusion Plus G800? Ouch! Sounds like you need multiple credit cards in SLI mode to order one.
                  P3@600 | Abit BH6 V1.01 NV | 256MB PC133 | G400MAX (EU,AGP2X) | Quantum Atlas 10K | Hitachi CDR-8330 | Diamond FirePort 40 | 3c905B-TX | TB Montego A3D(1) | IntelliMouse Explorer | Iiyama VisionMaster Pro 17 | Win2K/NT4

                  Comment


                  • #10
                    the fusion stuff:
                    I suppose that is a dual-chip config?

                    since there also is a G450 fusion, it means there will be a dual-450 board? Seems very well possible to me. Since they use DDR-SDRAM and half the bandwidth, the traces also are cut in half. That causes much less problems for designing a dual-chip config. Even better: maybe Matrox has figured out a way to make a dual-chip config with no hardware requirements. But this seems unlikely, so I guess they incorporated multi-chip config in the G450 chip.

                    Comment


                    • #11
                      Hey, thanks for all that great info!

                      Comment


                      • #12
                        Mark, you´re the best!
                        Going to try it rigth away.

                        Comment


                        • #13
                          Ok, let me know if you have any success!



                          ------------------
                          Mark Veneziano

                          Mark Veneziano

                          Comment


                          • #14
                            A quick correction on my previous statement on custom horizontal and vertical resolutions with the Win2k 5.10 beta...

                            The horizontal resolution does need to be divisible by 8 but the vertical resolution can be any number.

                            I haven't had time to work on the new Resolution Manager yet. Hopefully soon...right now it's too nice out to be stuck inside programming!


                            ------------------
                            Mark Veneziano

                            Mark Veneziano

                            Comment


                            • #15
                              I still couldn´t disable v-synch
                              Mark, could you precise where in the registry these entries should be?

                              Comment

                              Working...
                              X