; S3 Graphics Windows 8 32-bit Display INF file
; Copyright (c) S3 Graphics Co., Ltd. All rights reserved.

[Version]
Signature   = "$Windows NT$"
Provider    = %S3GRAPHICS%
ClassGUID   = {4D36E968-E325-11CE-BFC1-08002BE10318}
Class       = Display
CatalogFile = S3G_DST.CAT
DriverVer   = 10/14/2014, 10.18.16.0205

[SignatureAttributes]
S3EDX9L_32.dll=SignatureAttributes.PETrust
S3EDX10_32.dll=SignatureAttributes.PETrust

[SignatureAttributes.PETrust]
PETrust=true

[DestinationDirs]
DefaultDestDir        = 11
KMode.Files           = 12
UMode.Files           = 11
OpenGL.Files          = 11
CloneView.Files       = 11
Character.Files       = 11
Uninstaller.Files     = 11
CfgData.Files         = 11

DisplyAPI.Files       = 11

[SourceDisksNames]
1 = %DiskID1%

[SourceDisksFiles]
S3EKMD_32.sys         = 1
;s3bios32.sys          = 1
s3e2bs32.sys          = 1
S3EDX9L_32.dll        = 1
S3EDX10_32.dll        = 1
S3ELDMICD_32.dll      = 1
S3DGLSL_32.dll        = 1
S3Clone.dll           = 1
S3StereoDisplay.dll   = 1
;S3vGPsh.hgp           = 1
S3Char.dat            = 1
S3App.cfg             = 1
S3EApp.cfg            = 1
VTROM.bin             = 1

;; Uninstaller
s3minset.exe = 1
s3iset32.dll = 1
S3iset32.txt = 1

; DisplyAPI
S3Dapi32.dll          = 1

[Manufacturer]
%S3GRAPHICS% = S3G.Mfg,NTx86.6.0,NTamd64.6.0,NTia64.6.0

[S3G.Mfg.NTx86.6.0]
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_3A011106
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_D0001458
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_368E17AA

[S3G.Mfg.NTamd64.6.0]
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_3A011106
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_D0001458
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_368E17AA

[S3G.Mfg.NTia64.6.0]
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_3A011106
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_D0001458
"VIA/S3G Chrome 645/640 GPU"    = S3GIGP, PCI\VEN_1106&DEV_3A01&SUBSYS_368E17AA

[ControlFlags]
ExcludeFromSelect = *

[S3GIGP]
FeatureScore   = DA
CopyFiles      = KMode.Files, UMode.Files, OpenGL.Files, CloneView.Files, Uninstaller.Files, CfgData.Files,Character.Files, DisplyAPI.Files
RegisterDlls   = CloneView.RegDll
AddReg         = DriverSettings.Regs, OpenGLSettings.Regs, CoInstaller.Regs, Uninstaller.Regs
DelReg         = DriverSettingsClean.Regs, OpenGLSettingsClean.Regs, TempSettingsClean.Regs

[S3GIGP.HW]
AddReg         = SupportMSI.Regs

[S3GIGP.GeneralConfigData]
MaximumDeviceMemoryConfiguration = 256
MaximumNumberOfDevices           = 2

[S3GIGP.Services]
AddService     = S3GIGP, 0x00000002, Service.Inst

[Service.Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\S3EKMD_32.sys

[CloneView.RegDll]
11,,S3Clone.dll,1

[KMode.Files]
S3EKMD_32.sys
;s3bios32.sys
s3e2bs32.sys

[UMode.Files]
S3EDX9L_32.dll,,,0x00004000
S3EDX10_32.dll,,,0x00004000
;S3vGPsh.hgp
VTROM.bin

[OpenGL.Files]
S3ELDMICD_32.dll,,,0x00004000
S3DGLSL_32.dll,,,0x00004000

[CloneView.Files]
S3Clone.dll,,,0x00004000

[Character.Files]
S3Char.dat

[DisplyAPI.Files]
S3Dapi32.dll,,,0x00004000
S3StereoDisplay.dll,,,0x00004000

[Uninstaller.Files]
s3minset.exe,,,0x00004000
s3iset32.dll,,,0x00004000
S3iset32.txt

[CfgData.Files]
S3App.cfg
S3EApp.cfg

[CoInstaller.Regs]
HKR,, CoInstallers32,                  %REG_MULTI_SZ%,"S3iset32.dll, slCoInstaller"

[Uninstaller.Regs]
HKLM,%CURVER%\Uninstall\%ProductShortName%,"DisplayName",,"%ProductLongName%"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"InstallLocation",,""
HKLM,%CURVER%\Uninstall\%ProductShortName%,"Publisher",,"%S3GRAPHICS%"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"VersionMajor",,"%DriverVer%"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"VersionMinor",,"0.0.0.0"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"DisplayVersion",,"%DriverVer%"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"Comments",,"Thank you for using S3's Products"
HKLM,%CURVER%\Uninstall\%ProductShortName%,"DisplayIcon",,"%11%\s3minset.exe"
HKLM,%CURVER%\Uninstall\%ProductShortName%,UninstallString,,"%11%\s3minset.exe -uninf -u '%ProductShortName%' -ver '%DriverVer%'"

[SupportMSI.Regs]
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MSISupported, 0x00010001, 1
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 1

[DriverSettings.Regs]
HKR,, InstalledDisplayDrivers,      %REG_MULTI_SZ%,  "S3EDX9L_32", "S3EDX10_32", "S3EDX10_32"
HKR,, UserModeDriverName,           %REG_MULTI_SZ%,  "S3EDX9L_32.dll", "S3EDX10_32.dll", "S3EDX10_32.dll"
HKR,, UserModeDriverGUID,           %REG_SZ%,        "{A661981C-9742-4cf0-8298-8530AA65567D}"
HKR,, VgaCompatible,                %REG_DWORD%,     0
HKR,, MultiFunctionSupported,       %REG_DWORD%,     1
HKR,, SupportSAMM,                  %REG_DWORD%,     1
HKR,, SupportIcd,                   %REG_DWORD%,     1
;HKR,, CapabilityOverride,          %REG_DWORD%,     0x8
HKR,, UseAGPDMA,                    %REG_DWORD%,     1
HKR,, bSupportCRTCalibration,       %REG_DWORD%,     1
HKR,, SupportRotation_90,           %REG_DWORD%,     1
HKR,, SupportRotation_180,          %REG_DWORD%,     1
HKR,, SupportRotation_270,          %REG_DWORD%,     1
HKR,, S3GDW_EnableTAA,              %REG_DWORD%,     0
HKR,, VoltageScaling,               %REG_DWORD%,     0
HKR,, S3GDW_DEVICE_POLLING_SUPPORT, %REG_DWORD%,     1
HKR,, S3GDW_DISABLE_DEVICE_HOTPLUG, %REG_DWORD%,     0
HKR,, S3GDW_SHRINK_ARLOCK,          %REG_DWORD%,     0
HKR,, S3GDW_REPORT_SCALING_SUPPORT, %REG_DWORD%,     0
HKR,, S3GDW_EDIDMODE_ONLY_IDENTITY, %REG_DWORD%,     1
HKR,, DISABLE_E2UMA_INTERRUPT_TRACE,%REG_DWORD%,     0
HKR,, S3GDW_POWER_MANAGEMENT_SUPPORT,%REG_DWORD%,     2
HKR,, S3GDW_STATIC_CnM_PWM         ,%REG_DWORD%,     1
HKR,, S3GDW_Enable_CnM_Linear_Mode ,%REG_DWORD%,     1
HKR,, ENABLE_VSYNC_LOCK            ,%REG_DWORD%,     0
HKLM,"SOFTWARE\Microsoft\TMM",UseIViewHelper,%REG_DWORD%, 1
HKLM,"SYSTEM\CurrentControlSet\Control\GraphicsDrivers",UseXPModel,%REG_DWORD%,0
HKLM,"SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler",SchedulingMethod,%REG_DWORD%,0
HKLM,"SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler",EnablePreemption,%REG_DWORD%,1
HKLM,"System\CurrentControlSet\Control\GraphicsDrivers\MemoryManager",Period.EnableEvictionThresholdForWrite,%REG_DWORD%,0

HKR,, 2B072DAB2124CRTFakeEdid,  %REG_BINARY%, 0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0a,0x01,0x03,0x00,0x28,0x1E,0x00,0xEA,0x78,0xA0,0x56,0x48,0x9A,0x26,0x12,0x48,0x4c,0xFF,0x20,0x08,0x00,0x81,0x80,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0X68,0x5b,0x80,0xa8,0x72,0xa0,0x3c,0x50,0x80,0xd0,0x13,0x00,0x28,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x00,0x53,0x33,0x46,0x61,0x6b,0x65,0x45,0x64,0x69,0x64,0x43,0x52,0x54,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xeb


[DriverSettingsClean.Regs]
HKR,, UserModeDriverGUID
HKR,, SupportRotation_90
HKR,, SupportRotation_180
HKR,, SupportRotation_270
HKR,, SupportSAMM
HKR,, S3GDW_EnableTAA
HKR,, VoltageScaling
HKR,, MultiFunctionSupported
HKR,, S3GDW_DEVICE_POLLING_SUPPORT
HKR,, S3GDW_SHRINK_ARLOCK
HKR,, S3GDW_REPORT_SCALING_SUPPORT
HKR,, S3GDW_EDIDMODE_ONLY_IDENTITY
HKR,, S3GDW_POWER_MANAGEMENT_SUPPORT
HKLM,"SOFTWARE\Microsoft\TMM",UseIViewHelper

[OpenGLSettings.Regs]
HKR,, OpenGLDriverName,             %REG_MULTI_SZ%, "S3ELDMICD_32"
HKR,, OpenGLVersion,                %REG_DWORD%,    2
HKR,, OpenGLFlags,                  %REG_DWORD%,    1

[OpenGLSettingsClean.Regs]
HKR,, OpenGLDriverName
HKR,, OpenGLVersion
HKR,, OpenGLFlags
HKR,, S3GDW_UseCPUBlt
HKR,, S3GDW_GsDummyLoopCnt_D2_A0
HKR,, S3GDW_ZCompression

[TempSettingsClean.Regs]
HKR,, UseDDCInfo
HKR,, TvFlickerFilterStatus
HKR,, PanelCenterExpandMode
HKR,, SingleController
HKR,, NtscTvPositionX
HKR,, NtscTvPositionY
HKR,, Pal6TvPositionX
HKR,, Pal6TvPositionY
HKR,, Pal8TvPositionX
HKR,, Pal8TvPositionY
HKR,, DisplaysActivePreference
HKR,, TvStandardPreference
HKR,, DdcMaxRefresh
HKR,, GammaFor16BppModes
HKR,, GammaFor32BppModes
HKR,, GammaIGA2For16BppModes
HKR,, GammaIGA2For32BppModes
HKR,, GammaSupportEnabled

[Strings]

CURVER         = "Software\Microsoft\Windows\CurrentVersion"

; Non-Localizable Strings
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
REG_SZ_APPEND  = 0x00010008

; Localizable Strings
S3GRAPHICS                          = "S3 Graphics Co., Ltd."

ProductLongName = "VIA/S3G Chrome 645/640 GPU Display Driver"
ProductShortName = "Chrome6x"

DriverVer   = "10/14/2014, 10.18.16.0205"

DiskID1                             = "S3 Graphics Co., Ltd. Installation DISK (VIDEO)"
