; vtgLHx64.inf
;
; Longhorn installation INF for the S3 Graphics Co., Ltd. WDDM x64 display driver
; for the 86c700-series of products.
;
; Copyright (c) 2006 VIA Technologies, Inc.
;

[Version]
Signature="$Windows NT$"
Provider=%MSFT%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=10/11/2006, 7.14.10.6006
;15.71.04.03
Catalogfile=delta.cat

[DestinationDirs]
DefaultDestDir      = 11
S3G700.Miniport     = 12   ; drivers
S3G700.Display      = 11   ; system32
S3G700.DispWow      = 10  ,SysWow64 
S3G700.OpenGL       = 11   ; system32
S3G700.OpenGLWOW    = 10  ,SysWow64 
S3G700.Clone        = 11   ;

[ControlFlags]
ExcludeFromSelect = *

;
; Driver information
;

[Manufacturer]
%S3GRAPHICS%   = S3.Mfg,  NTamd64

;
; This section should be modified to reflect the chip strings the
; user will see in the Displays applet when the new driver is being
; installed from the driver diskette.
;

[S3.Mfg.NTamd64]
%S3GDeltaChromeIGP% = S3G700, PCI\VEN_1106&DEV_3371

;
; General installation section
;

[S3G700]
FeatureScore=F6
CopyFiles=S3G700.Miniport, S3G700.Display, S3G700.DispWow, S3G700.OpenGL, S3G700.OpenGLWOW, S3G700.Clone
AddReg = S3G700_SoftwareDeviceSettings
DelReg = S3G700_UserPreferences
RegisterDlls = S3G700_RegisterDlls

;
; File sections
;

[S3G700.Miniport]
VTGKModeDX64.sys     ; miniport driver

[S3G700.Display]
VTGUModeDX64.dll,,,0x00004000             ; COPYFLG_IN_USE_TRY_RENAME

[S3G700.DispWow]
VTGUModeDXWOW64.dll,,,0x00004000	; COPYFLG_IN_USE_TRY_RENAME

[S3G700.OpenGL]
VTGOGL64.DLL,,,0x00004000       ; OpenGL driver

[S3G700.OpenGLWOW]
VTGOGLWOW64.DLL,,,0x00004000    ; OpenGL WOW64 driver

[S3G700.Clone]
S3Clone.dll,,,0x00004000	; COPYFLG_IN_USE_TRY_RENAME

[S3G700_RegisterDlls]
11,,S3Clone.dll,1

;
; Service Installation
;

[S3G700.Services]
AddService = S3G700, 0x00000002, S3G700_Service_Inst
 
[S3G700_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\VTGKModeDX64.sys

[S3G700_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,      %REG_MULTI_SZ%, VTGUModeDX64,VTGUModeDXWOW64
HKR,, VgaCompatible,                %REG_DWORD%,    0
HKR,, SupportIcd,                   %REG_DWORD%,    1
HKR,, SupportSAMM,                  %REG_DWORD%,    1
HKR,, DefaultSettings.XResolution,  %REG_DWORD%,    800
HKR,, DefaultSettings.YResolution,  %REG_DWORD%,    600
HKR,, DefaultSettings.BitsPerPel,   %REG_DWORD%,    32
HKR,, DefaultSettings.VRefresh,     %REG_DWORD%,    60
HKR,, UseAGPDMA,                    %REG_DWORD%,    1
HKR,, bSupportCRTCalibration,       %REG_DWORD%,    1
HKR,, SupportRotation_90,           %REG_DWORD%,    0
HKR,, SupportRotation_180,          %REG_DWORD%,    0
HKR,, SupportRotation_270,          %REG_DWORD%,    0
HKR,, RotationDegree,               %REG_DWORD%,    0
HKR,, UserModeDriverGUID,     	    %REG_SZ%, {A661981C-9742-4cf0-8298-8530AA65567D}
HKR,, UserModeDriverName,           %REG_MULTI_SZ%, VTGUModeDX64.dll
HKR,, UserModeDriverNameWow,        %REG_MULTI_SZ%, VTGUModeDXWOW64.dll
HKR,, OpenGLDriverName,             %REG_SZ%,       VTGOGL64.dll
HKR,, OpenGLVersion,                %REG_DWORD%,    2
HKR,, OpenGLFlags,                  %REG_DWORD%,    1
HKR,, OpenGLDriverNameWow,          %REG_SZ%,       VTGOGLWOW64.dll
HKR,, OpenGLVersionWow,             %REG_DWORD%,    2
HKR,, OpenGLFlagsWow,               %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

;Add on registry keys for Haycyon chips
HKR,, S3GDW_DXVAType,               %REG_DWORD%,    0
HKR,, S3GDW_FrontEndBlend,          %REG_DWORD%,    1

HKR,, HalcyonFFPSCacheEnable,       	%REG_DWORD%,    1
HKR,, HalcyonPPSCacheEnable,        	%REG_DWORD%,    1
HKR,, HalcyonEnableTnL,             	%REG_DWORD%,    1
HKR,, HalcyonEnableVS,              	%REG_DWORD%,    1
HKR,, HalcyonEnableSWCulling,       	%REG_DWORD%,    0
HKR,, HalcyonCoarseZEnable,         	%REG_DWORD%,    1
HKR,, HalcyonDirectAccessFB,        	%REG_DWORD%,    0
HKR,, HalcyonPSOptInstReorder,      	%REG_DWORD%,    1
HKR,, HalcyonPSOptRemoveRedundants, 	%REG_DWORD%,    1
HKR,, HalcyonPSOptRemoveUnnecessaryMOV, %REG_DWORD%,    1
HKR,, HalcyonPSOptCoissue,              %REG_DWORD%,    1
HKR,, HalcyonPSOptMerge,                %REG_DWORD%,    1
HKR,, HalcyonPSOptSecondDest,           %REG_DWORD%,    1
HKR,, HalcyonPSOptRemap,                %REG_DWORD%,    1
HKR,, HalcyonPSOptCoissueSimMov,        %REG_DWORD%,    1
HKR,, HalcyonSPSENABLE,                 %REG_DWORD%,    0

HKR,, HalcyonTexReadThreshold,          %REG_DWORD%,    0x00
HKR,, HalcyonZReadFIFOThreshold,        %REG_DWORD%,    0x04
HKR,, HalcyonZWriteFIFOThreshold,       %REG_DWORD%,    0x0F
HKR,, HalcyonVBReadThreshold,           %REG_DWORD%,    0x00
HKR,, HalcyonTexAddrReadFIFOThreshold,  %REG_DWORD%,    0x00
HKR,, HalcyonColorReadFIFOThreshold,    %REG_DWORD%,    0x00
HKR,, HalcyonRCDThreshold,              %REG_DWORD%,    0x00
HKR,, HalcyonCoarseZReadThreshold,      %REG_DWORD%,    0x04
HKR,, HalcyonDMAReadWritePriMSK,        %REG_DWORD%,    0x00
HKR,, HalcyonZWritePriMSK,              %REG_DWORD%,    0xFB
HKR,, HalcyonZReadPriMSK,               %REG_DWORD%,    0x49
HKR,, HalcyonColorWritePriMSK,          %REG_DWORD%,    0xDB
HKR,, HalcyonColorReadPriMSK,           %REG_DWORD%,    0xCB
HKR,, HalcyonStencilBufReadPriMSK,      %REG_DWORD%,    0x4B
HKR,, HalcyonStencilBufWritePriMSK,     %REG_DWORD%,    0xFF
HKR,, HalcyonCZReadWritePriMSK,         %REG_DWORD%,    0x09
HKR,, HalcyonTexReadPriMSK,             %REG_DWORD%,    0x01
HKR,, HalcyonVBReadePriMSK,             %REG_DWORD%,    0x00

HKR,, HalcyonCModelType,            	%REG_DWORD%,    0
HKR,, HalcyonDump2DCommand,         	%REG_DWORD%,    0
HKR,, HalcyonDumpEnable,            	%REG_DWORD%,    0
HKR,, HalcyonDumpEnd,               	%REG_DWORD%,    0
HKR,, HalcyonDumpMode,              	%REG_DWORD%,    0
HKR,, HalcyonDumpRenderBitmap,      	%REG_DWORD%,    0
HKR,, HalcyonDumpStart,             	%REG_DWORD%,    0
HKR,, HalcyonDumpStride,            	%REG_DWORD%,    0
HKR,, HalcyonEnableFastZClear,      	%REG_DWORD%,    0
HKR,, HalcyonEnableHWClip,          	%REG_DWORD%,    0
HKR,, HalcyonEnableHWVB,            	%REG_DWORD%,    0
HKR,, HalcyonFastZ16IndexLen,       	%REG_DWORD%,    0
HKR,, HalcyonFastZ24IndexLen,       	%REG_DWORD%,    0
HKR,, HalcyonFastZ32IndexLen,       	%REG_DWORD%,    0
HKR,, HalcyonFBDumpEnable,          	%REG_DWORD%,    0
HKR,, HalcyonFFPSDumpEnable,        	%REG_DWORD%,    0
HKR,, HalcyonForcePCI,              	%REG_DWORD%,    0
HKR,, HalcyonFullUpdate,            	%REG_DWORD%,    0
HKR,, HalcyonMSPSDumpEnable,        	%REG_DWORD%,    0
HKR,, HalcyonMSVSDumpEnable,        	%REG_DWORD%,    0
HKR,, HalcyonPSDumpStyle,           	%REG_DWORD%,    0
HKR,, HalcyonSeparateStencilEnable, 	%REG_DWORD%,    0
HKR,, HalcyonSW2D,                  	%REG_DWORD%,    0
HKR,, HalcyonTiledDisplayEnable,    	%REG_DWORD%,    0
HKR,, HalcyonTiledRTEnable,         	%REG_DWORD%,    0
HKR,, HalcyonTiledZWEnable,         	%REG_DWORD%,    0
HKR,, HalcyonTiledTexEnable,        	%REG_DWORD%,    0
HKR,, S3GDW_AgpTexturing,         	    %REG_DWORD%,    0
HKR,, HalcyonPPSDumpEnable,         	%REG_DWORD%,    0

; user-selected preferences reset to default settings upon installing a new driver
[S3G700_UserPreferences]
HKR,, UseDDCInfo
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
HKR,, SupportRotation_90
HKR,, SupportRotation_180
HKR,, SupportRotation_270
HKR,, RotationDegree
HKR,, SupportSAMM

[S3G700.GeneralConfigData]
MaximumDeviceMemoryConfiguration=256
MaximumNumberOfDevices=2

[SourceDisksNames]
1 = %DiskId%,,,""

[SourceDisksFiles]
VTGKModeDX64.sys      = 1
VTGUModeDX64.dll      = 1
VTGUModeDXWOW64.dll   = 1
VTGOGL64.dll          = 1
VTGOGLWOW64.dll       = 1
S3Clone.dll           = 1

[Strings]
;
; Non-Localizable Strings
;
REG_MULTI_SZ   = 0x00010000
REG_DWORD      = 0x00010001
REG_SZ         = 0x00000000

;
; Localizable Strings
;

MSFT = "VIA"
S3GRAPHICS  = "S3 Graphics Co. Ltd."
S3GDeltaChromeIGP = "VIA Chrome9 HC IGP WDDM"
DiskId = "DeltaChromeIGP Display Driver"

