diff --git a/Native/RemoteIdd/GUIA.md b/Native/RemoteIdd/GUIA.md index 72d49b1..f361fa3 100644 --- a/Native/RemoteIdd/GUIA.md +++ b/Native/RemoteIdd/GUIA.md @@ -70,7 +70,7 @@ también las sesiones RDP que llegan por la red reciben RemoteIdd (valor restaura), sin dispositivo raíz (el dispositivo lo crea Terminal Services por sesión), driver solo en el Driver Store, objetos efímeros con DACL mínima (SYSTEM, LocalService, administradores), desinstalación completa. -- **Base de SO mínima**: IddCx 1.4 + UMDF 2.33 (Windows 10 1903+). +- **Base de SO mínima**: IddCx 1.4 + UMDF 2.31 (Windows 10 2004+, también 22H2). No subir a UMDF 2.33: es solo de Windows 11 y en Windows 10 el driver no llega a cargarse (WUDF 10101, 0x57, CM_PROB_PHANTOM, sin log). - **Limitador por llegada**: el driver nunca espera a Sunshine. Si Sunshine tiene la textura (keyed mutex ocupado) el frame se pierde; la sesión no se frena. - **Sin WDK instalado**: se compila contra el paquete NuGet oficial del WDK. diff --git a/Native/RemoteIdd/README.md b/Native/RemoteIdd/README.md index f98e983..c152399 100644 --- a/Native/RemoteIdd/README.md +++ b/Native/RemoteIdd/README.md @@ -61,7 +61,7 @@ Lo que se hace y lo que no, para que el puesto no cambie nada del Windows anfitr desinstalable del todo con `pnputil` (ver `build.md`). - **Recursos efímeros**: objetos con nombre y textura compartida viven lo que vive el WUDFHost; DACL limitada a SYSTEM y LocalService. -- **Base mínima de SO**: IddCx 1.4 / UMDF 2.33 (Windows 10 1903+). +- **Base mínima de SO**: IddCx 1.4 / UMDF 2.31 (Windows 10 2004+, también 22H2). UMDF 2.33 es solo de Windows 11: con él Windows 10 no carga el driver (WUDF 10101, 0x57, CM_PROB_PHANTOM). - **Para D1**: el proveedor de protocolo debe registrarse como un *listener* aparte solo para los puestos, **sin sustituir RDP-Tcp**. La consola y el RDP normal siguen con el `RdpIdd` de Microsoft; si se quita OpenStreamMS, Windows queda como estaba. diff --git a/Native/RemoteIdd/RemoteIdd.inf b/Native/RemoteIdd/RemoteIdd.inf index 56cb347..e782eb6 100644 --- a/Native/RemoteIdd/RemoteIdd.inf +++ b/Native/RemoteIdd/RemoteIdd.inf @@ -16,9 +16,9 @@ DriverVer = 10/26/2026,0.1.0.0 ; stampinf la sobrescribe al empaquetar PnpLockdown = 1 [Manufacturer] -%ManufacturerName% = Standard,NT$ARCH$.10.0...18362 +%ManufacturerName% = Standard,NT$ARCH$.10.0...19041 -[Standard.NT$ARCH$.10.0...18362] +[Standard.NT$ARCH$.10.0...19041] %DeviceName% = RemoteIdd_Install, OsmsRemoteIdd_IndirectDisplay [SourceDisksFiles] diff --git a/Native/RemoteIdd/build.cmd b/Native/RemoteIdd/build.cmd index 6143c85..d71a1ec 100644 --- a/Native/RemoteIdd/build.cmd +++ b/Native/RemoteIdd/build.cmd @@ -6,7 +6,7 @@ :: 2) compila y ejecuta RemoteIddPerf.exe: rendimiento entre procesos en la GPU real :: (se salta con la variable RIDD_NOPERF=1, p. ej. en una máquina sin GPU) :: 2b) compila y prueba el proveedor de protocolo (OsmsRdsProvider.dll) -:: 3) compila RemoteIdd.dll (IddCx 1.4, UMDF 2.33) y sella + valida RemoteIdd.inf +:: 3) compila RemoteIdd.dll (IddCx 1.4, UMDF 2.31) y sella + valida RemoteIdd.inf :: No firma ni instala nada. setlocal set OUT=%~1 @@ -68,16 +68,16 @@ if not exist "%WINC%\um\iddcx\1.4\IddCx.h" ( :: C4324 sale de las cabeceras de WDF (wdfrequest.h), no del código del driver. cl /nologo /utf-8 /c /O2 /W4 /WX /wd4324 /EHsc /std:c++17 /MT /GS /guard:cf /Zi /Fo"%OBJ%\\" /Fd"%OBJ%\\" ^ /DUNICODE /D_UNICODE /D_WINDLL /DWIN32_LEAN_AND_MEAN ^ - /DUMDF_VERSION_MAJOR=2 /DUMDF_VERSION_MINOR=33 /DUMDF_USING_NTSTATUS ^ + /DUMDF_VERSION_MAJOR=2 /DUMDF_VERSION_MINOR=31 /DUMDF_USING_NTSTATUS ^ /DIDDCX_VERSION_MAJOR=1 /DIDDCX_VERSION_MINOR=4 /DIDDCX_MINIMUM_VERSION_REQUIRED=4 ^ - /I"%WINC%\um\iddcx\1.4" /I"%W%\Include\wdf\umdf\2.33" /I"%WINC%\um" /I"%WINC%\shared" ^ + /I"%WINC%\um\iddcx\1.4" /I"%W%\Include\wdf\umdf\2.31" /I"%WINC%\um" /I"%WINC%\shared" ^ "%~dp0Driver.cpp" || exit /b 1 :: FramePublisher no es código UMDF: sin UMDF_USING_NTSTATUS (ocultaría los STATUS_* de winnt.h). cl /nologo /utf-8 /c /O2 /W4 /WX /EHsc /std:c++17 /MT /GS /guard:cf /Zi /Fo"%OBJ%\\" /Fd"%OBJ%\\" ^ /DUNICODE /D_UNICODE /DWIN32_LEAN_AND_MEAN "%~dp0FramePublisher.cpp" || exit /b 1 link /nologo /DLL /OUT:"%OUT%\RemoteIdd.dll" /PDB:"%OUT%\RemoteIdd.pdb" /DEBUG /INCREMENTAL:NO /GUARD:CF ^ /NODEFAULTLIB:kernel32.lib "%OBJ%\Driver.obj" "%OBJ%\FramePublisher.obj" ^ - "%W%\Lib\wdf\umdf\x64\2.33\WdfDriverStubUm.lib" "%WLIB%\iddcx\1.4\iddcxstub.lib" ^ + "%W%\Lib\wdf\umdf\x64\2.31\WdfDriverStubUm.lib" "%WLIB%\iddcx\1.4\iddcxstub.lib" ^ OneCoreUAP.lib d3d11.lib dxgi.lib avrt.lib ntdll.lib || exit /b 1 del /q "%OUT%\RemoteIdd.lib" "%OUT%\RemoteIdd.exp" 2>nul @@ -86,7 +86,7 @@ copy /y "%~dp0RemoteIdd.inf" "%OUT%\RemoteIdd.inf" >nul :: Fecha UTC, no la local (-d *): Inf2Cat compara con UTC y entre medianoche y la 1-2 h en :: España rechazaba el INF ("DriverVer set to a date in the future"). for /f %%d in ('powershell -NoProfile -Command "(Get-Date).ToUniversalTime().ToString('MM/dd/yyyy', [Globalization.CultureInfo]::InvariantCulture)"') do set DRIVER_DATE=%%d -"%W%\bin\10.0.26100.0\x64\stampinf.exe" -f "%OUT%\RemoteIdd.inf" -a amd64 -u 2.33.0 -d %DRIVER_DATE% -v 0.1.0.0 >nul || exit /b 1 +"%W%\bin\10.0.26100.0\x64\stampinf.exe" -f "%OUT%\RemoteIdd.inf" -a amd64 -u 2.31.0 -d %DRIVER_DATE% -v 0.1.0.0 >nul || exit /b 1 "%W%\tools\10.0.26100.0\x64\infverif.exe" /w "%OUT%\RemoteIdd.inf" || exit /b 1 echo RemoteIdd compilado en %OUT% (sin firmar, sin instalar). diff --git a/Native/RemoteIdd/build.md b/Native/RemoteIdd/build.md index 5e37c4c..be7f7a7 100644 --- a/Native/RemoteIdd/build.md +++ b/Native/RemoteIdd/build.md @@ -13,8 +13,8 @@ Qué hace, en orden (para en el primer fallo): 1. Compila y ejecuta `test\SharedFrameTest.exe` (contrato de `SharedFrame.h`). 2. Compila y ejecuta `RemoteIddPerf.exe` (rendimiento entre procesos en la GPU real; se salta con `set RIDD_NOPERF=1`). -3. Compila `RemoteIdd.dll` con `/W4 /WX` contra **IddCx 1.4** y **UMDF 2.33**: la base - más baja con IDD remotos (Windows 10 1903), para no exigir un Windows más nuevo. +3. Compila `RemoteIdd.dll` con `/W4 /WX` contra **IddCx 1.4** y **UMDF 2.31**: la base + más baja con IDD remotos (Windows 10 2004–22H2; 2.33 ya es de Windows 11 y Windows 10 rechaza el driver). 4. Sella `RemoteIdd.inf` con `stampinf` y lo valida con `infverif`. **No firma ni instala nada.**