Open dk-fury opened 1 day ago
Reading it, by the looks of it, its either one of the following.
1) The device is set to not provide full power to pcie if not in use (in this case, monitors attached to gpus) 2) Since direct3d levels were made, then most likely how the game handles gpu attachments (aka, sees only available monitor and uses the display adapter for that monitor to prevent gpu copying, which will of course lead to similar errors
- The device is set to not provide full power to pcie if not in use (in this case, monitors attached to gpus)
The only displays the VM uses are virtual, and it works fine with the Hyper-V display, only the VDD display is having issues.
- Since direct3d levels were made, then most likely how the game handles gpu attachments (aka, sees only available monitor and uses the display adapter for that monitor to prevent gpu copying, which will of course lead to similar errors
I am assuming something along the lines of this is happening, as it seems to be taking a default GDI display adapter from the VDD driver? Considering the Hyper-V virtual display does not have this issue, I assume that means there is something that can be done for the VDD to provide the correct display adapter instead?
I've not been successful in re-creating the issue, in my testing, everything seems to be working fine. Followed your exact steps you said to re-create it
Do you have a different GPU/driver version? I have been able to reproduce this with a new VM running Windows 11 23H2.
Let me know if you need any debug logs from me, or need me to try anything, to track down the issue re-occurring on my end.
With the VDD Beta, I notice the logs consistently have issues with the swapchain when creating the display. Did this error occur when you attempted to reproduce?
[2024-12-02 13:08:46] [INFO] HDRPlus is disabled.
[2024-12-02 13:08:46] [INFO] SDR10bit is disabled.
[2024-12-02 13:08:46] [INFO] CustomEdid is disabled.
[2024-12-02 13:08:46] [INFO] HardwareCursor is enabled.
[2024-12-02 13:08:46] [INFO] PreventSpoof is disabled.
[2024-12-02 13:08:46] [INFO] EdidCeaOverride is disabled.
[2024-12-02 13:08:46] [INFO] Driver Starting
[2024-12-02 13:08:46] [INFO] VDD Path: C:\VirtualDisplayDriver
[2024-12-02 13:08:46] [INFO] IDDCX Version: 0x1a00
[2024-12-02 13:08:46] [PIPE] Starting Pipe
[2024-12-02 13:08:46] [PIPE] Pipe created
[2024-12-02 13:08:46] [INFO] Using vdd_settings.xml
[2024-12-02 13:08:46] [INFO] Loading GPU from vdd_settings.xml
[2024-12-02 13:08:46] [INFO] ASSIGNED GPU: NVIDIA GeForce RTX 4090
[2024-12-02 13:08:46] [INFO] Using hardcoded edid
[2024-12-02 13:08:46] [INFO] Applied Adapter configs.
[2024-12-02 13:08:46] [INFO] Creating Monitor: 1
[2024-12-02 13:08:46] [WARNING] Input buffer is too small for target modes.
[2024-12-02 13:08:46] [INFO] Finished Setting up adapter.
[2024-12-02 13:08:50] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:50] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:50] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:50] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:50] [INFO] Unasigning Swapchain. Processing will be stopped.
[2024-12-02 13:08:50] [ERROR] Failed to set device to swap chain. HRESULT: -2005270490
[2024-12-02 13:08:50] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:50] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:50] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:50] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:54] [ERROR] Failed to acquire buffer. Exiting loop. The swap-chain was likely abandoned (e.g. DXGI_ERROR_ACCESS_LOST) - HRESULT: -2005270490
[2024-12-02 13:08:55] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:55] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:55] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:55] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:55] [INFO] Unasigning Swapchain. Processing will be stopped.
[2024-12-02 13:08:55] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:55] [INFO] Direct3D device created successfully. Feature Level: 45312
[2024-12-02 13:08:55] [INFO] Adapter found: 0000006E55B7C2B0 (Vendor ID: 4318, Device ID: 9860)
[2024-12-02 13:08:55] [INFO] Direct3D device created successfully. Feature Level: 45312
Latest gpu driver, with same windows version 23h2, If you provide exact version or iso, I'll be happy to try it. And for the logs the swap chain usually fails like that when the cpu is under pressure, but that doesn't shouldn't effect it, it could be entirely possible that it's a 40 series's card issues, there's been compatibility issues with that card for everything, not just vdd, I've tested on 3 different gpus, all clean installs on hyper v with 23h2 and 24h2, I've not been able to reproduce the issue at all. But if it's the 40 series's card, I don't have one so I can't test if that's the issue
Appreciate your time and testing. When I get the time to (within a few days), I will try it out on my 3060 Ti PC and see if I can reproduce it. I will also make a more granular and comprehensive list of steps for exact reproduction, with ISO and my scripts used for GPU partitioning.
For the CPU, I have 16 virtual processors assigned from a 7950X3D, operating under minimal load when the display is created, so I cannot imagine it being under any pressure.
If it does end up being a 40 series card issue, let me know if there is anything I could be doing to debug and help track down the cause. Considering it works fine with another virtual display, I am hoping it is just something the driver is missing, or conflicting with, in relation to how it handles the device setup.
As an aside, this VDD is key to multiple VMs I use in my workflow and setup, so I'm keen to help in any way that gets it running flawlessly. No pressure if it is something you cannot spare your time on, I respect the fact this is all free, just letting you know that I am happy to help. Also, I know nothing about coding drivers but I have been programming games and web apps for over 10 years. So, if there is anything more technical you want me to look at or do, I can definitely try.
Appreciate your time and testing. When I get the time to (within a few days), I will try it out on my 3060 Ti PC and see if I can reproduce it. I will also make a more granular and comprehensive list of steps for exact reproduction, with ISO and my scripts used for GPU partitioning.
Oki doki, let me know how it goes with testing on the 3060
For the CPU, I have 16 virtual processors assigned from a 7950X3D, operating under minimal load when the display is created, so I cannot imagine it being under any pressure.
Yeh, like I said before, I doubt its the CPU. I assumed you wouldn't pair a 4090 with a bad CPU aha.
If it does end up being a 40 series card issue, let me know if there is anything I could be doing to debug and help track down the cause. Considering it works fine with another virtual display, I am hoping it is just something the driver is missing, or conflicting with, in relation to how it handles the device setup.
Which virtual display does it work with if you don't mind me asking?
As an aside, this VDD is key to multiple VMs I use in my workflow and setup, so I'm keen to help in any way that gets it running flawlessly. No pressure if it is something you cannot spare your time on, I respect the fact this is all free, just letting you know that I am happy to help. Also, I know nothing about coding drivers but I have been programming games and web apps for over 10 years. So, if there is anything more technical you want me to look at or do, I can definitely try.
No problem, if we figure out what's causing it, we can work on a fix. And off the top of my head, I don't think there is anything more technical for you to look at/do as of writing this (But might come to me later)
Which virtual display does it work with if you don't mind me asking?
Just the default Hyper-V one. It results in apps getting my GPU correctly when it is running, instead of resulting in a fallback to a placeholder GDI Generic device.
No problem, if we figure out what's causing it, we can work on a fix. And off the top of my head, I don't think there is anything more technical for you to look at/do as of writing this (But might come to me later)
That's great to hear. And sounds good, just thought I'd put that out there in case something comes up.
Which OS?
Win11 Pro
Which release?
23H2
Describe the bug
Issue Apps are getting the GPU device as GDI Generic. Specifically, I have found both the RuneScape and RuneLite game clients receive errors as a result of getting GDI Generic as the GPU device instead of my RTX 4090. See reproduction steps below for details.
I have the same results with both the stable version and the Beta version of VDD (I have included the log file from the beta version). In the Beta version, I have set the friendly name for my GPU.
My setup (hopefully it's not unorthodox, I assume the VDD is mainly used for remoting into servers and VMs?)
Additional information
Steps to reproduce
Initial setup to reproduce
RuneScape client (https://www.runescape.com/launcher)
RuneLite client (https://runelite.net/)
RuneLite GPU plugin log output
RuneLite 117 HD plugin log output
Expected behavior
Log File (Beta Only)
Contact Details
No response