DuoStream / Duo

An HDR-compatible multiseat streaming solution based around RdpWrap, Sunshine, Moonlight, and a variety of custom driver and library patches
303 stars 1 forks source link

RdpIddCapture Hook Timing Issue #67

Open killacam725 opened 3 months ago

killacam725 commented 3 months ago

Also included the previous messages I had put in the other issue for reference.

Note: I am on the Patreon version.

Some of the error messages noted:

Faulting application name: sunshine.exe, version: 0.21.0.0, time stamp: 0x65e8901f Faulting module name: ntdll.dll, version: 10.0.22621.3085, time stamp: 0xbced4b82 Exception code: 0xc0000374 Fault offset: 0x000000000010c7a9 Faulting process id: 0x0x514C Faulting application start time: 0x0x1DA709E9D889794 Faulting application path: C:\Program Files\Duo\sunshine.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: 8bd85d81-8e9d-45e8-b5e2-0a90e03335c6 Faulting package full name: Faulting package-relative application ID:

3/7/2024 10:30:34 PM [0] AggregateException One or more errors occurred. 3/7/2024 10:30:34 PM [1] HttpRequestException An error occurred while sending the request. 3/7/2024 10:30:34 PM [2] WebException Unable to connect to the remote server 3/7/2024 10:30:34 PM [3] SocketException No connection could be made because the target machine actively refused it 127.0.0.1:47981

Black-Seraph commented 3 months ago

Mind telling us a bit more about your PC?

CPUs / GPUs being the most important out of the bunch.

Also attach copies of your Sunshine log and Application event log export.

On another note: Did you do a Windows Update recently? If so check whether your RDPWrap patches are up to date.

killacam725 commented 3 months ago

1)PC is about 1 years old: Ryzen 7800X3D Geforce 4070Ti 32gb ram

2) Yes- I've checked the RDPWrap patches

3) Sunshine Log:

[2024:03:08:00:37:47]: Info: nvprefs: No need to modify application profile settings [2024:03:08:00:37:47]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile [2024:03:08:00:37:47]: Info: Compiling shaders... [2024:03:08:00:37:47]: Info: System tray created [2024:03:08:00:37:47]: Info: Compiled shaders 2024:03:08:00:38:04: Fatal: ViGEmBus is not installed or running. You must install ViGEmBus for gamepad support! 2024:03:08:00:38:04: Warning: Failed to retrieve the ViGEmBus device instance path 2024:03:08:00:38:04: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // 2024:03:08:00:38:04: Info: Trying encoder nvenc: Info: ddprobe.exe [1] [] returned: 0x00000000 2024:03:08:00:38:04: Info: Set GPU preference: 1

Device Description : NVIDIA GeForce RTX 4070 Ti Device Vendor ID : 0x000010DE Device Device ID : 0x00002782 Device Video Mem : 11996 MiB Device Sys Mem : 0 MiB Share Sys Mem : 15946 MiB Feature Level : 0x0000B100 Capture size : 1920x1080 Offset : 0x0 Virtual Desktop : 1920x1080 2024:03:08:00:38:04: Info: Active GPU has HAGS disabled 2024:03:08:00:38:04: Info: Using realtime GPU priority 2024:03:08:00:38:04: Info: Display refresh rate 60Hz: Info: Requested frame rate [60fps]

Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0,0] Green Primary : [0,0] Blue Primary : [0,0] White Point : [0,0] Min Luminance : 0 nits Max Luminance : 0 nits Max Full Luminance : 0 nits 2024:03:08:00:38:04: Info: Requesting mode change to 1920x1080@60 using the SDR colorspace 2024:03:08:00:38:04: Info: SDR color coding Rec. 601: Info: Color depth: 8-bit 2024:03:08:00:38:04: Info: Color range: JPEG: Info: NvEnc: created encoder P1 two-pass rfi 2024:03:08:00:38:04: Info: SDR color coding Rec. 601: Info: Color depth: 8-bit 2024:03:08:00:38:04: Info: Color range: JPEG: Info: NvEnc: created encoder P1 two-pass rfi 2024:03:08:00:38:04: Info: SDR color coding Rec. 601: Info: Color depth: 8-bit 2024:03:08:00:38:04: Info: Color range: JPEG: Info: NvEnc: created encoder P1 two-pass rfi

Device Description : NVIDIA GeForce RTX 4070 Ti Device Vendor ID : 0x000010DE Device Device ID : 0x00002782 Device Video Mem : 11996 MiB Device Sys Mem : 0 MiB Share Sys Mem : 15946 MiB Feature Level : 0x0000B100 Capture size : 1920x1080 Offset : 0x0 Virtual Desktop : 1920x1080 2024:03:08:00:38:04: Info: Active GPU has HAGS disabled 2024:03:08:00:38:04: Info: Using realtime GPU priority 2024:03:08:00:38:04: Info: Display refresh rate 60Hz: Info: Requested frame rate [60fps]

Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Bits Per Color : 8 Red Primary : [0,0] Green Primary : [0,0] Blue Primary : [0,0] White Point : [0,0] Min Luminance : 0 nits Max Luminance : 0 nits Max Full Luminance : 0 nits 2024:03:08:00:38:04: Info: Requesting mode change to 1920x1080@60 using the HDR colorspace 2024:03:08:00:38:04: Info: SDR color coding Rec. 709: Info: Color depth: 10-bit 2024:03:08:00:38:04: Info: Color range: JPEG: Info: NvEnc: created encoder P1 10-bit two-pass rfi 2024:03:08:00:38:05: Info: SDR color coding Rec. 709: Info: Color depth: 10-bit 2024:03:08:00:38:05: Info: Color range: JPEG: Info: NvEnc: created encoder P1 10-bit two-pass rfi

2024:03:08:00:38:05: Info: // Ignore any errors mentioned above, they are not relevant. //

2024:03:08:00:38:05: Info: Found H.264 encoder: h264_nvenc nvenc: Info: Found HEVC encoder: hevc_nvenc nvenc: Info: Found AV1 encoder: av1_nvenc nvenc: Info: Open the Web UI to set your new username and password and getting started 2024:03:08:00:38:05: Info: File C:\Program Files\Duo\config\sdtest2_state.json doesn't exist 2024:03:08:00:38:05: Info: Configuration UI available at https://localhost:54724: Info: Registered Sunshine mDNS service [2024:03:08:00:38:42]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:38:52]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:02]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:05]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:12]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:20]: Info: New credentials have been created [2024:03:08:00:39:22]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:25]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:25]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:32]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:42]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:39:52]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:02]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:12]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:22]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:32]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:42]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:40:52]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:02]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:12]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:22]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:32]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:42]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:41:52]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:02]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:12]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:22]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:32]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:42]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:42:52]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:43:02]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:43:12]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:43:22]: Info: Web UI: [127.0.0.1] -- not authorized [2024:03:08:00:43:32]: Info: Web UI: [127.0.0.1] -- not authorized

Application event log

Level Date and Time Source Event ID Task Category  
Information 3/16/2024 15:59 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:59 Duo 1 None Stopped sdtest2
Information 3/16/2024 15:59 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:58 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:58 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:58 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:58 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:57 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:57 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:57 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:57 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:56 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:56 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:56 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:56 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:55 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:55 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:55 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:55 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:54 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:54 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:54 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:54 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:53 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:53 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:53 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:53 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:52 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:52 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:52 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:52 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:51 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:51 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:51 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:51 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:50 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:50 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:50 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:50 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:49 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:49 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:49 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:49 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:48 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:48 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:48 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:48 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:47 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:47 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:47 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:47 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:46 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:46 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:46 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:46 Microsoft-Windows-Security-SPP 16384 None Successfully scheduled Software Protection service for re-start at 2124-02-21T07:46:45Z. Reason: RulesEngine.
Information 3/16/2024 15:46 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:46 Microsoft-Windows-Security-SPP 16394 None Offline downlevel migration succeeded.
Information 3/16/2024 15:45 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:45 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:45 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:45 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:45 Microsoft-Windows-Security-SPP 16384 None Successfully scheduled Software Protection service for re-start at 2124-02-21T07:45:29Z. Reason: RulesEngine.
Information 3/16/2024 15:44 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:44 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:44 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:44 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:44 Microsoft-Windows-Security-SPP 16394 None Offline downlevel migration succeeded.
Information 3/16/2024 15:44 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:43 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:43 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:43 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:43 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:43 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:42 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:42 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:42 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:42 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:41 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:41 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:41 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:41 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:41 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:40 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:40 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 3/16/2024 15:40 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 3/16/2024 15:40 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 3/16/2024 15:39 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 3/16/2024 15:39 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Black-Seraph commented 3 months ago

Okay, the key here is in the event log.

You seem to be running into a very strange timing issue where parts of the capture hooks grip properly, while others don't.

The driver usually kills itself when that happens, forcing a full driver reload, which usually fixes the issue.

In your case though, the part of the code that is responsible for failed hook testing is, itself, part of the failed hooks, so that never happens.

I will draft up a test build for you asap and attach it to this issue for you to test once ready.

Black-Seraph commented 3 months ago

Think you could give the new 1.3.9 build a try and report back with updated data?

killacam725 commented 3 months ago

Think you could give the new 1.3.9 build a try and report back with updated data?

Am currently overseas on Easter holidays so will try when I get back.

Black-Seraph commented 3 months ago

EDIT: This can be dismissed as these changes have been merged into 1.4.0 already.

To everyone affected, please try the following steps and report back:

RemixLivee commented 3 months ago

I applied the patch, and now my antivirus software refuses to run Duo, and systematically deletes "C:\Windows\System32\RdpIddCapture.dll" (HEUR:Trojan.Win32.Generic). I've never had a problem like this before. What's happening?

Black-Seraph commented 3 months ago

The changes made are:

That last point is probably why you're running into this issue. A lot of malware is actually just middleware that reads configuration data from the registry.

I guess we're now hitting that edge case. :-/

Out of curiosity, which antivirus software are we talking about?

EDIT: Just ran it through VirusTotal to get an idea why it might be triggering this alarm... and it seems Kaspersky is complaining about Duo accessing its own registry key?

That's ridiculous.

EDIT 2: Looked into this a little further and it seems that Kaspersky especially is overly strict on legitimate clean files handling the registry. This seems to be a known ongoing problem over on their forums.

Black-Seraph commented 3 months ago

1.4.0 just released. Please update first before providing feedback to ensure we aren't chasing already-fixed issues.

RemixLivee commented 3 months ago

I'm reposting my last comment on my closed issue here because I'm not sure if you've been notified.

Thank you for your hard work. I've just tested version 1.4.0 (with my antivirus software disabled) and I'm getting new errors, which you'll find in the attached log. The button is still grayed out.

log.zip

Black-Seraph commented 3 months ago

@RemixLivee You still have a hook issue.

Could you attach your RdpIdd.dll and IddCx.dll file from the C:\Windows\System32\drivers\UMDF folder?

killacam725 commented 2 months ago

Tried v. 1.4.2 as well as the TimingFix patch and still not working. My latest event log is as follows:

Level Date and Time Source Event ID Task Category Description
Information 4/7/2024 21:35 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/7/2024 21:34 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/7/2024 21:34 Duo 1 None PATCH: Changed the preferred adapter to "NVIDIA GeForce RTX 4070 Ti"
Information 4/7/2024 21:34 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/7/2024 21:33 Duo 1 None TermService binary type: DLL
Information 4/7/2024 21:33 Duo 1 None Found 12 patches for termsrv.dll version 10.0.22621.1
Information 4/7/2024 21:33 Duo 1 None Local termsrv.dll version: 10.0.22621.1
Information 4/7/2024 21:33 Duo 1 None TermService binary type: DLL
Information 4/7/2024 21:33 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/7/2024 21:33 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/7/2024 21:32 Duo 1 None Stopped sdtest2
Information 4/7/2024 21:32 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/7/2024 21:31 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/7/2024 21:31 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/7/2024 21:30 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Black-Seraph commented 2 months ago

Don't use the timing-test files, they are outdated.

They are essentially a rollback all the way to 1.3.8, which means your log files are useless.

Please do a clean re-install of 1.4.2 and retake your logs.

killacam725 commented 2 months ago

Just tested 1.4.3 and no go for me still. I also tested the launch at startup option which used to work, but no longer works in the latest version.

Anything else you want me to try and post?

Event log as follows:

Level Date and Time Source Event ID Task Category  Details
Information 4/14/2024 23:55 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/14/2024 23:54 Duo 1 None Stopped sdtest2
Information 4/14/2024 23:54 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/14/2024 23:54 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/14/2024 23:53 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/14/2024 23:53 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/14/2024 23:52 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/14/2024 23:52 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/14/2024 23:52 Duo 1 None Failed to apply the display driver patch for sdtest2
Information 4/14/2024 23:51 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Black-Seraph commented 2 months ago

@killacam725 Still a timing issue it seems.

My hunch is that a antivirus might be delaying the hook long enough for it to miss critical portions of the driver initialization.

Mind telling me what antivirus software you're using?

Black-Seraph commented 2 months ago

@killacam725 You still there?

A lot of fixes have landed since your last response and I'd like to know if this issue is still a thing or not on 1.4.4.

killacam725 commented 2 months ago

Will try 1.4.4 tomorrow. I'm not using an anti virus other than whatever comes standard with microsoft 11+ malware bytes

killacam725 commented 2 months ago

So a summary of things I have tried to do today:

1) Clean uninstall 2) Reinstall a patreon version 1.3.6 and then github 1.4.4 over it 3) Tried with and without auto-start with windows

What I have found is as follows:

1) Moonlight no longer detects the new setup instance after clean install and cannot connect via IP 2) Continued no access to the sunshine UI which was in my original issue

In conclusion, seems like the whole application no longer works for me so am at a complete loss...

My logs of my last reset is as follows:

Level Date and Time Source Event ID Task Category  
Information 4/21/2024 18:11 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:11 Duo 1 None Stopped sdtest3
Information 4/21/2024 18:11 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:11 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:11 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:11 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:11 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:11 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:10 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:10 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:10 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:10 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:10 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:10 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:09 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:09 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:09 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:09 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:09 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:09 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:08 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:08 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber was unavailable to handle a notification event.
Information 4/21/2024 18:08 Duo 1 None Failed to apply the display driver patch for sdtest3
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Duo 1 None Failed to capture the display adapter (forcing a driver restart)
Information 4/21/2024 18:08 Desktop Window Manager 9027 None The Desktop Window Manager has registered the session port.
Information 4/21/2024 18:08 Duo 1 None Failed to apply the display driver patch for sdtest3
j-scrizz commented 2 months ago

I am having this issue also, any update?

chrispable commented 2 weeks ago

I am having this exact same issue with 1.4.4 patreon, except I am only getting "Failed to apply the display driver patch...". I use AVAST antivirus. Sunshine never runs for me, just repeated messages about failing apply the display patch. The main Duo web page launches and acts like sunshine should start, but going into the sunshine instance fails as if the instance isn't listening.

My PC is an i9 with an nvidia RTX 4090, win 11, fully up to date.

Black-Seraph commented 1 week ago

Could you retry with 1.4.6?

A lot has changed under the hood, especially in regard to patch timings.