VirtualBox

Ignore:
Timestamp:
Mar 14, 2018 2:05:32 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121272
Message:

WDDM: build and use VBoxWddm.sys. bugref:9133

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r71200 r71323  
    131131ifdef VBOX_WITH_WDDM
    132132DRIVER_FILES += \
    133         $(PATH_STAGE_BIN)/additions/VBoxVideoWddm.sys \
    134         $(PATH_STAGE_BIN)/additions/VBoxVideoWddm.inf \
     133        $(PATH_STAGE_BIN)/additions/VBoxWddm.sys \
     134        $(PATH_STAGE_BIN)/additions/VBoxWddm.inf \
    135135        $(PATH_STAGE_BIN)/additions/VBoxDispD3D.dll
    136 DRIVER_FILES += \
    137         $(PATH_STAGE_BIN)/additions/VBoxVideoW8.sys \
    138         $(PATH_STAGE_BIN)/additions/VBoxVideoW8.inf
    139136 ifdef VBOX_WITH_CROGL
    140137DRIVER_FILES += \
     
    144141 ifdef VBOX_SIGN_ADDITIONS
    145142DRIVER_FILES += \
    146         $(PATH_STAGE_BIN)/additions/VBoxVideoWddm.cat
    147 DRIVER_FILES += \
    148         $(PATH_STAGE_BIN)/additions/VBoxVideoW8.cat
     143        $(PATH_STAGE_BIN)/additions/VBoxWddm.cat
    149144 endif
    150145 ifeq ($(KBUILD_TARGET_ARCH),amd64)
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r71200 r71323  
    9898
    9999!if $%VBOX_WITH_WDDM% == "1"
    100   ; WDDM Video driver for Vista and 7
    101   SetOutPath "$0\VBoxVideoWddm"
     100  ; WDDM Video driver
     101  SetOutPath "$0\VBoxWddm"
    102102
    103103  !ifdef VBOX_SIGN_ADDITIONS
    104     FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.cat"
     104    FILE "$%PATH_OUT%\bin\additions\VBoxWddm.cat"
    105105  !endif
    106   FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys"
    107   FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.inf"
     106  FILE "$%PATH_OUT%\bin\additions\VBoxWddm.sys"
     107  FILE "$%PATH_OUT%\bin\additions\VBoxWddm.inf"
    108108  FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll"
    109109
     
    137137    !endif ; $%VBOX_WITH_CROGL% == "1"
    138138  !endif ; $%BUILD_TARGET_ARCH% == "amd64"
    139 
    140   ; WDDM Video driver for Win8
    141   SetOutPath "$0\VBoxVideoW8"
    142 
    143     !ifdef VBOX_SIGN_ADDITIONS
    144       FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat"
    145     !endif
    146     FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys"
    147     FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf"
    148     FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll"
    149 
    150     !if $%VBOX_WITH_CROGL% == "1"
    151       FILE "$%PATH_OUT%\bin\additions\VBoxOGLarrayspu.dll"
    152       FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll"
    153       FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll"
    154       FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll"
    155       FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll"
    156       FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll"
    157       FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll"
    158 
    159       FILE "$%PATH_OUT%\bin\additions\VBoxD3D9wddm.dll"
    160       FILE "$%PATH_OUT%\bin\additions\wined3dwddm.dll"
    161     !endif ; $%VBOX_WITH_CROGL% == "1"
    162 
    163     !if $%BUILD_TARGET_ARCH% == "amd64"
    164       FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D-x86.dll"
    165 
    166       !if $%VBOX_WITH_CROGL% == "1"
    167         FILE "$%PATH_OUT%\bin\additions\VBoxOGLarrayspu-x86.dll"
    168         FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil-x86.dll"
    169         FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu-x86.dll"
    170         FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu-x86.dll"
    171         FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu-x86.dll"
    172         FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu-x86.dll"
    173         FILE "$%PATH_OUT%\bin\additions\VBoxOGL-x86.dll"
    174 
    175         FILE "$%PATH_OUT%\bin\additions\VBoxD3D9wddm-x86.dll"
    176         FILE "$%PATH_OUT%\bin\additions\wined3dwddm-x86.dll"
    177       !endif ; $%VBOX_WITH_CROGL% == "1"
    178     !endif ; $%BUILD_TARGET_ARCH% == "amd64"
    179139!endif ; $%VBOX_WITH_WDDM% == "1"
    180140
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r71200 r71323  
    233233    SetOutPath "$INSTDIR"
    234234
    235     ${If} $g_strWinVersion == "8"
    236     ${OrIf} $g_strWinVersion == "8_1"
    237     ${OrIf} $g_strWinVersion == "10"
    238       !ifdef VBOX_SIGN_ADDITIONS
    239         FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat"
    240       !endif
    241       FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys"
    242       FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf"
    243     ${Else}
    244       !ifdef VBOX_SIGN_ADDITIONS
    245         FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.cat"
    246       !endif
    247       FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys"
    248       FILE "$%PATH_OUT%\bin\additions\VBoxVideoWddm.inf"
    249     ${EndIf}
     235    !ifdef VBOX_SIGN_ADDITIONS
     236      FILE "$%PATH_OUT%\bin\additions\VBoxWddm.cat"
     237    !endif
     238    FILE "$%PATH_OUT%\bin\additions\VBoxWddm.sys"
     239    FILE "$%PATH_OUT%\bin\additions\VBoxWddm.inf"
    250240
    251241    FILE "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll"
     
    391381  ${If} $g_bNoVideoDrv == "false"
    392382    ${If} $g_bWithWDDM == "true"
    393       ${If} $g_strWinVersion == "8"
    394       ${OrIf} $g_strWinVersion == "8_1"
    395       ${OrIf} $g_strWinVersion == "10"
    396         ${LogVerbose} "Installing WDDM video driver for Windows 8 or newer..."
    397         ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxVideoW8.inf$\" $\"$INSTDIR\install_drivers.log$\"" "false"
    398       ${Else}
    399         ${LogVerbose} "Installing WDDM video driver for Windows Vista and 7..."
    400         ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxVideoWddm.inf$\" $\"$INSTDIR\install_drivers.log$\"" "false"
    401       ${EndIf}
     383      ${LogVerbose} "Installing WDDM video driver..."
     384      ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxWddm.inf$\" $\"$INSTDIR\install_drivers.log$\"" "false"
    402385    ${Else}
    403386      ${LogVerbose} "Installing video driver ..."
     
    530513
    531514!if $%VBOX_WITH_WDDM% == "1"
     515  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxWddm.cat"
     516  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxWddm.sys"
     517  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxWddm.inf"
     518  ; Obsolete files begin
    532519  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoWddm.cat"
    533520  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoWddm.sys"
     
    536523  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoW8.sys"
    537524  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxVideoW8.inf"
     525  ; Obsolete files end
    538526  Delete /REBOOTOK "$%PATH_OUT%\bin\additions\VBoxDispD3D.dll"
    539527
     
    596584!if $%VBOX_WITH_WDDM% == "1"
    597585
     586  ${LogVerbose} "Uninstalling WDDM video driver..."
     587  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxWddm.inf$\"" "true"
     588  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service delete VBoxWddm" "true"
     589  ;misha> @todo driver file removal (as well as service removal) should be done as driver package uninstall
     590  ;       could be done with "VBoxDrvInst.exe /u", e.g. by passing additional arg to it denoting that driver package is to be uninstalled
     591  Delete /REBOOTOK "$g_strSystemDir\drivers\VBoxWddm.sys"
     592
     593  ; Obsolete files begin
    598594  ${LogVerbose} "Uninstalling WDDM video driver for Windows 8..."
    599595  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver uninstall $\"$INSTDIR\VBoxVideoW8.inf$\"" "true"
     
    610606  ;       could be done with "VBoxDrvInst.exe /u", e.g. by passing additional arg to it denoting that driver package is to be uninstalled
    611607  Delete /REBOOTOK "$g_strSystemDir\drivers\VBoxVideoWddm.sys"
     608  ; Obsolete files end
     609
    612610  Delete /REBOOTOK "$g_strSystemDir\VBoxDispD3D.dll"
    613611!endif ; $%VBOX_WITH_WDDM% == "1"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette