Compare commits

..

No commits in common. "master" and "0.0.1.2" have entirely different histories.

2 changed files with 3 additions and 43 deletions

View File

@ -1,16 +1,11 @@
License MIT and CC0 or Public Domain (for changes I made, check with Microsoft for their license), whichever is least restrictive -- Use it
License MIT and CC0 or Public Domain, whichever is least restrictive -- Use it
AS IS - NO IMPLICIT OR EXPLICIT warranty This may break your computer, it didn't break mine. It runs in User Mode which means it's less likely to cause system instability like the Blue Screen of Death.
Check out the latest release to download, or find other versions below:
# Newer Versions
# Fork that is easy to install
https://github.com/ge9/IddSampleDriver
## Fork with HDR
https://github.com/itsmikethetech/Virtual-Display-Driver
https://github.com/ge9/IddSampleDriver/releases/tag/0.0.1.1
If you want me to build on this donate eth or similar here: 0xB01b6328F8Be53c852a54432bbEe630cE0Bd559a
I now have a NEAR address: moopaloo.near
Thanks to https://github.com/akatrevorjay/edid-generator for the hi-res EDID.
@ -18,28 +13,6 @@ Thanks to https://github.com/akatrevorjay/edid-generator for the hi-res EDID.
This is a sample driver that shows how to create a Windows Indirect Display Driver using the IddCx class extension driver.
## Installation
### Scoop (recommended)
If you have [Scoop](https://scoop.sh/), you can easily install this driver in one go. In an elevated prompt, run:
```powershell
scoop bucket add extras
scoop bucket add nonportable
scoop install iddsampledriver-ge9-np -g
```
The driver should be automatically installed and should be working out of the box.
### Manually
1. Download the latest version from the [releases](https://github.com/ge9/IddSampleDriver/releases/latest) page, and extract the contents to a folder.
2. Copy `option.txt` to `C:\IddSampleDriver\option.txt` before installing the driver **(important!)**.
3. See the [guide](https://github.com/roshkins/IddSampleDriver/releases) in [roshkins repo](https://github.com/roshkins/IddSampleDriver) for the rest of the installation steps.
## Configuration
Configure `C:\IddSampleDriver\option.txt` to set the number of monitors and resolutions.
See `option.txt`
## Background reading ##
Start at the [Indirect Display Driver Model Overview](https://msdn.microsoft.com/en-us/library/windows/hardware/mt761968(v=vs.85).aspx) on MSDN.
@ -70,16 +43,3 @@ The INF file included in the sample needs updating for production use. One field
Ensure the device information reported to `IddCxAdapterInitAsync` is accurate. This information determines how the device is reported to the OS and what static features (like support for gamma tables) the device will have available. If some information cannot be known immediately in the `EvtDeviceD0Entry` callback, IddCx allows the driver to call `IddCxAdapterInitAsync` at any point after D0 entry, before D0 exit.
Careful attention should be paid to the frame processing loop. This will directly impact the performance of the user's system, so making use of the [Multimedia Class Scheduler Service](https://msdn.microsoft.com/en-us/library/windows/desktop/ms684247(v=vs.85).aspx) and DXGI's support for [GPU prioritization](https://msdn.microsoft.com/en-us/library/windows/desktop/bb174534(v=vs.85).aspx) should be considered. Any significant work should be performed outside the main processing loop, such as by queuing work in a thread pool. See `SwapChainProcessor::RunCore` for more information.
## License
License MIT and CC0 or Public Domain (for changes I made, check with Microsoft for their license), whichever is least restrictive -- Use it
AS IS - NO IMPLICIT OR EXPLICIT warranty This may break your computer, it didn't break mine. It runs in User Mode which means it's less likely to cause system instability like the Blue Screen of Death.
## Acknowledgements
See the original repo below:
https://github.com/roshkins/IddSampleDriver
Thanks to https://github.com/akatrevorjay/edid-generator for the hi-res EDID.

View File

@ -1,6 +1,6 @@
1
#lines beginning with "#" are ignored (comment)
#the first line must be a positive integer (small number (<5) is recommended)), NOT comment
#the first line mush be a positive integer (small number (<5) is recommended)), NOT comment
#(currently) the location of this file must be "C:\IddSampleDriver\option.txt" (hard-coded)
#numbers should be separated by comma
#spaces before number are allowed