Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Displays on Reinstall #148

Open
HornetXR5 opened this issue Aug 31, 2024 · 14 comments
Open

Duplicate Displays on Reinstall #148

HornetXR5 opened this issue Aug 31, 2024 · 14 comments

Comments

@HornetXR5
Copy link

Hi,

On uninstalling and reinstalling the driver, it creates duplicate displays. I cannot delete these. There was a similar issue posted however user could just remove from device manager to resolve the issue. This does not work for me and they reappear on reboot

@HornetXR5
Copy link
Author

REPOST OF CONTENTS OF PREVIOUSLY CLOSED ISSUE

After the first uninstall, and reinstall, I found there are two virtual displays created... And I am unable to remove the driver.

pnputil /delete-driver oem90.inf
Microsoft PnP Utility

Failed to delete driver package: One or more devices are presently installed using the specified INF.

To remove all these displays, I have to force uninstall the driver via:

pnputil /delete-driver oem90.inf /force /uninstall

and it worked.

However, any reinstall adds one more display to my system... and this is the third reinstall

image image

@HornetXR5
Copy link
Author

I'm sorry, what a time waste. It did not occur to me to try the uninstall in safe mode and that fixed it.

@zjoasan
Copy link

zjoasan commented Aug 31, 2024

I'm sorry, what a time waste. It did not occur to me to try the uninstall in safe mode and that fixed it.

Thanks for the feedback.

@bud3699
Copy link
Collaborator

bud3699 commented Sep 4, 2024

I know this topic has already been resolved, however it think you're mistaken between uninstalling the driver compared to the device. Safe mode allows for uninstalling driver and the device doesn't start. Uninstalling the device and ticking removing driver, should be sufficient enough. I may be mistaken here as it's hard to diagnose an accurate cause without having the device on hand. But as jocke mentioned, your feedback is appreciated

@HornetXR5
Copy link
Author

I know this topic has already been resolved, however it think you're mistaken between uninstalling the driver compared to the device. Safe mode allows for uninstalling driver and the device doesn't start. Uninstalling the device and ticking removing driver, should be sufficient enough. I may be mistaken here as it's hard to diagnose an accurate cause without having the device on hand. But as jocke mentioned, your feedback is appreciated

Hey, yeah perhaps. I chose "uninstall device" from device manager but it kept coming back. I don't think anything I did would stop the virtual monitors reappearing in both device manager and/or as actual virtual displays for us. Any reboot and they were back. Forcing uninstall of the driver did ultimately remove the device from device manager (though there were some hoops there too as access was denied etc), but ultimately on reinstall of the driver then it created multiple virtual monitors under device manager.

So I guess I perhaps had some terms mixed up, but ultimately there was duplicate devices and after removal and a fresh install of the drivers, multiple devices/virtual displays were created (despite this outcome not being supposed to happen). The additional devices/virtual displays could only be removed from device manager whilst in safe mode.

I hope that helps.

@bud3699
Copy link
Collaborator

bud3699 commented Sep 4, 2024

Were you uninstalling the displays themselves or the display adapter?

@HornetXR5
Copy link
Author

Were you uninstalling the displays themselves or the display adapter?

I don't have an answer to this as I don't actually understand the question - Within device manager i selected "uninstall device". That did not work as expected. I don't know if you would consider that the display or the display adapter. To me there's only 2 things I can remove; Drivers or Device.

I also uninstalled the drivers completely. That removed everything as expected. No virtual displays could exist because there were no drivers. When i installed the drivers again however, it then created an additional display. Each time i removed and installed drivers it would always add another again i.e. n+1. First install there was 1 driver. 2nd install there was 2, 3rd install there was 3 etc, which I would not expect given the drivers were uninstalled prior to any reinstallation.

@bud3699
Copy link
Collaborator

bud3699 commented Sep 4, 2024

Then in this case I believe it to be the display you tried to uninstall, forcing the driver to be uninstalled would render the display adapter device unusable hence no monitors until attempt to reinstall, installing the driver and device again causing two display adapters to be created.

(The display adapter is a device which requires the driver and the display is created by the driver - this also shows in device manager)

@HornetXR5
Copy link
Author

Then in this case I believe it to be the display you tried to uninstall, forcing the driver to be uninstalled would render the display adapter device unusable hence no monitors until attempt to reinstall, installing the driver and device again causing two display adapters to be created.

(The display adapter is a device which requires the driver and the display is created by the driver - this also shows in device manager)

Got you. Not sure if it should show or not, but only the Displays show in device manager and not the display adapter from what I could see.

That being said, it sounds like there's perhaps another issue that exists, being that on removal of the driver the display adapter should also be removed, but isn't? Perhaps that's what leads to there being multiple virtual displays being listed/installed on any further installs

@bud3699
Copy link
Collaborator

bud3699 commented Sep 5, 2024

Got you. Not sure if it should show or not, but only the Displays show in device manager and not the display adapter from what I could see.

That being said, it sounds like there's perhaps another issue that exists, being that on removal of the driver the display adapter should also be removed, but isn't? Perhaps that's what leads to there being multiple virtual displays being listed/installed on any further installs

It is impossible for the displays to show but not the adapter, the adapter creates the displays. And that's not an issue either you can't remove the display and that remove the adapter. The display is created by the adapter it's impossible to remove the adapter on display removal. And I've already explained what the cause of the multiple virtual displays are

@auravan
Copy link

auravan commented Sep 9, 2024

same problem.i guess(just guess) the promble is about the 3rd step here
image
i think we should fix this bug by figuring out how to delete the former file that was created when run this bat again.

@HornetXR5
Copy link
Author

same problem.i guess(just guess) the promble is about the 3rd step here image i think we should fix this bug by figuring out how to delete the former file that was created when run this bat again.

Not sure if it helps but i never ran that .bat file after the initial install (so never ran it again on subsequent installs)

@auravan
Copy link

auravan commented Sep 9, 2024

I guess i know the how the problem happend:
you should just need to informed people how not just move the txt file that you mentioned.
image
just literally let people just move the whole IddSampleDriver to the path "C:\IddSampleDriver",or it would be like this
image

@bud3699
Copy link
Collaborator

bud3699 commented Sep 9, 2024

I would like to make some key points here, when reinstalling the device, you DO NOT need to install the bat file again, this is the cert file, if the cert is already there you DO NOT need it again

When uninstalling the device, DO NOT uninstall the device under MONITORS, uninstall the device under DISPLAY ADAPTERS

The display adapter installed CREATES a monitor on the monitor section, if you remove this monitor, the adapter still stays there, so will continue to function as normal on device restart

You CAN copy the entire folder to your C Drive and set up there, that's why the folder is shipped with the same name that is used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants