#Double virtual Xbox controllers
303 messages · Page 1 of 1 (latest)
@south magnet @dry prism
Nef, pop is experiencing an issue with virtual xbox controllers being duplicated when created via DSX, but i dont know if it's from vPad entierly since he says it also happens with DSX v2 using ViGEm driver.
If you can, guide him how to create debug log files so that you could investigate this please
I've also expierenced this in v3.1, but cant replicate
Are there really 2 virtual x360 devices in device manager?
even if he reinstalls, reboots, it keeps creating double vXbox controllers
That was not my question 😉
Yeah it adds an extra device in device manager if I got what that poor thing told me (been suffuring it for a while)
just one i believe
Screenshots pls
Important detail
@dry prism Device Manager -> View (top) -> Devices by Connection -> Nefarius Virtual Gamepad Emulation Bus G2 -> unpack all and screenshot
Ideally both cases, DSX v2 and v3
ok just one moment
You get two 
So it’s only one
The very last node "Xbox HID Controller" is looking weird, right click properties, share all tabs. That looks like the wrong driver
Oh 
All tabs
I have never seen this before, no clue what that is and where it came from, but 99% sure that is the cause of your problems
Get rid of it and it will be fine
Post the file C:\Windows\INF\oem16.inf here as attachment
“Uninstall device” right?
Usually but I wonder if that works
Hmm from march 28th
Share the file first I'd say
This “driver”
Provider and Manufacturer is "Xbox", that could be an official Microsoft division although IDK if they use something else than Microsoft for their in house driver packages
Maybe it came with another MS tool or via Windows Update
Wouldn't everyone have gotten it if so ?
Windows 24H2 I heard broke so much stuff
This is very new and looks official, probably came via Windows Update
%ManufacturerName% = XboxGameControllerDriver, NTamd64.10.0...22000 ; amd64/arm64, Windows 11 21H2
So yeah, not "my" bug, folks 😉
Games now probably "see" the XInput device exposed by xusb22.sys and by xinputhid.sys so from your system's point of view you have 2 xbox controllers that originate from the same device
I guess this was a compatibility effort for Win11, games and old controllers but with harsh side-effects
Well that’s annoying, you’ll have to adjust for this?
This is mine
No? What am I supposed to do about it 
Definitely not the same
No, yours is probably named different
These names are auto generated
And system unique
You need to check the INF name in your device in device manager
You can check what file from this
You don't have it
My events for this "device" are empty anyway, without infos
Zzzz I’m stuck here cuz of this shitty internet lol
@dry prism also pls toss the file C:\Windows\System32\drivers\XboxGameController.sys or zip it if Discord refuses
i seem to be normal here
It is
Claims to be from Microsoft
it had an original file name
Someone forgot to change the DDK sample project name tho 
xbgc.sys
That doesn't mean much, that is just a string in the resource file
oh i know, just a clue for investigation
so should i for now leave everything alone or do you want me to remove anything?
You can right click Update driver on the device if it offers you that and I can guide you through a workaround for the time being
Share a screenshot what you see each step and I tell you what to click
Update Driver -> Browse My Computer for Drivers -> Let me Pick from available drivers -> uncheck show compatible drivers -> this is at least mine
Correct
Standard System Devices -> HID Game Controller
then i think redo emulation via DSX
go Native then back to Xbox to see what happens in Device Manager
as before, it should look like this

Thanks guys you are the best, I think its fixed
😉
any idea what caused that issue as i dont remember doing anything except updating windows
Probably came via Windows Update, new 200 IQ move from Microsoft
There's an option to disallow pulling drivers from Windows Update but IDK where in their fucked up UI it would be or if they haven't broken that since
Yes
Thank you again, learn something new everyday
Remember that this means if you connect new hardware to your PC, might not work unless you manually download and install its drivers
I would still keep it as automatic as these things that happen are quite rare and can be identifiable/fixed
@south magnet I think it could be a good idea to add some detection for this if Microsoft tries replacing old working stuff with new shit
At least to identify
Could also check for "overclock" drivers and say " nuh huh, you're on your own buddy "
OK, add where exactly?
Like your dev tools or vpad .net api that can detect if it’s at least formatted properly
Idk, you know more of how these devices operate and how they’re detected
Well what do you expect is the question, to have a mechanism to notify the user or to silently change it automatically?
Hmm
I have a question, if the x360 is replaced with vXbox One emulation, do we need to worry about this as well?
Nope
Like is Xbox one controllers the same behavior in the OS?
As of the time of writing they're fine
Hmm, well the best course of action is replacing x360 with One and call it a day
More modern I guess
For most, yes. Leaving the x360 option in mainly for old ass weird games that 0.5% of the people have that do need an x360 for some reason. But othwerwise I agree
Some games don't support Xbox One controllers tho, or it just Xbox One controller features they don't ?
Technically every game that is coded right (haha, see where the problems hide?) has no clue if you use an x360 or XBONE, should all work the same
Exceptions are engines that are "too smart" and deliberatly look for specific controller devices properties instead of just letting an API do the work
Hmm then definitely not a replace, but an addition
Also ofc. games that support the trigger vibrations need to take into account that that feature only exists on XBONE and forward
Xbox emu could just have a subsection then (like vDS Audio or Audioless)
I said to do that like 10 times for good reasons in the past 😉
Am waiting on you to add Xbox One emulation 
I thought I delegated that to @tame mural 
These are so few, I've yet to find a build using em 😭 but apparently they just use Windows.GameAPI and don't need the hardware specifically if SK Impulse to Adaptive Triggers is anything to go by
Already does with arcade and wheel etc..
I mean main subsection instead of a drop-down
yes, exceptions exist and sooner or later it will come my way, even if I warned about it 50 times already 😉 😇
Once it exists XBONE emu can be made the new default
They can coexist so there is no need to force a complete replacement
Also I think you should let me know when you plan on doing an update for vPad because the code for vDS with audio looks for a higher version than the current public one, if not ready, can cause issues for users
Yes that is not good, I plan to add a feature flag API to the SDK so DSX doesn't need to fiddle with version numbers
That would be even better
The next update is gonna be huge again, am afraid 
I've solved similar challenges for customers in the past

Once I’m back in the states, can focus back again on DSX
We need to step it up tbh
I also have more good news about that but everything in due time 
Would this address the Hogwarts Legacy popup ?
That is a separate issue
Ah that firmware being old
Last time we tried to "fix" it everything got worse so this needs its own careful implementation, tests and rollout
Cuz just changing some numbers is not enough to satisfy the FW changes
Well i think it's better to do proper wireshark investigations to see what these Sony SDKs look for and just replicate from the real thing
That's the plan
back to this topic again
it seems Microsoft is at fault here regarding this new weird driver
some users are even facing BSOD because of it


When the Intern gets push permissions to Windows Update
I did similar oopsies too but almost 10 years ago and am one guy and not a trillion dollar company
Someone recycled an old project, even forgot to rename some stuff, probably only tested it on one machine with one controller and in the spirit of "agile" published it as "good enough"

Looking through the INF again I believe that the X360 controllers are included was an unintentional side-effect due to this line
; XInputHid
%DeviceDescriptionHid% = XInputHid,HID\VID_045E&UP:0001_U:0005
This ID match is way too broad, it matches every HID device with a Microsoft Vendor Id.... So I predict more and more crash reports will pop up soon
Since this driver is apparently made for some USB device compatibility but it gets loaded onto Bluetooth devices too because of that line
it told me that the .inf file was an invidia gpu driver lol
I mean.... why even waste the time 😅
What was your promt/question?
LOL
I'll rather ask *CatGPT about this cursed driver 😉 (might have insights)
So it didn't even read it but just did a search with the (randomly generated) filename 
Assuming you actually uploaded Pops file and not your own
You uploaded the wrong file, didn't you?
it did inspect the .sys file tho
it was pops file
I highly doubt ChatGPT comes with a disassembler so any binary you give it is just random results based on some loose string matches
after he did the driver remove, and using device cleanup, he's actually back to normal now
Am not surprised
force uninstalling oem16.inf
This is le epic fail
HID\VID_045E&UP:0001_U:0005
But sure, ISVs are the problem with driver code quality 
Wrong, you then blame me 
well at least we got to the bottom of it
of course you
well we come to you because you have the most experience in these situations
or insight
it's weird that not everyone is affected
in those threads by users, some have said going to windows beta solved their issue
There has to be a reason for drivers getting pulled by WU, typically if a device runs fine with the stock drivers, it doesn't always conclude that "newer" means "more compatible"
hopefully they spotted the issue early on, and stopped pushing that driver update
So maybe using some Xbox affiliated app triggered it
Yeah also maybe they already got the telemetry and rolled it back
But isn't it like old ? Pop getting it only recently is even odder
which .inf file did you inspect nef? the one i downloaded from the previous chat above by pop is nvidia when inspecting it
The driver creation and signing dates are not proof when it was actually published
Then oem16.inf from pops Discord message
#BadBot 
okay waiting for GPT to inspect
any reason this can happen?
pop has this, even after doing device cleanup, these entries still show up @south magnet
His install is still cursed ? 😮
Im thinking i should reinstall OS
it's always the best option
its why windows is so shit
always needs a re-install every 6 months or so
no more than a year, or you will be running in circles
So like Android then ?
WDYM, that is normal, what was the "cleanup" you did?
Then do it properly?
IDK always worked for me
i deleted them
Cuz it's hidden by default
ohh these are hidden
Clearly still there or is it supposed to be an old screenshot?
wtf i never knew there was a hidden option for device manager
Always has been
ah just saw it
DevMan also doesn't show all devices that exist for a machine
latest screenshot
Yeah then there are clearly a lot of devices remaining so IDK what we even discuss here
Delete them, done. Ez gg
Everything under USB and HID enumerators
these enttries look normal
same on my laptop/PC
so can be ignored
@dry prism You're back to normal operations, and can close this case
It doesn't matter, those are all "currently absent" devices
Leave them or delete them, doesn't matter
then back to blaming you 
Y'all are incompetent and don't know watcha doing, stop fiddling with tools you don't understand and everything is fine

okay as you said, microsoft is noob, and we gonna have more cases of this sooner or later

Shock and horror, GPT says the same things as me 
Yeah, now that is worrying
They will and that's fine. That is how Windows works. Nothing to worry here
Absent devices will remain in the registry. It. Is. Normal.
This won't be complicated to explain users like at all /s
Good luck 

its simple to fix, but have to guide the user which sucks
Glad that ticket is here then
Make guide. Link it to all future cases. Done
Yep
Steps to fix
- Open terminal as administrator
- List drivers with this command: pnputil /enum-drivers > drivers.txt
- Type pwd and navigate to that path to find the text file. You can just copy paste the response into the file explorer.
- Open the driver.txt file and search for 1.14.20.740 (this is problematic driver version). Take note of the driver file name. For me it was oem72.inf, for other user it was oem74.inf, for you it may be different.
- Uninstall the driver by running the command: pnputil /delete-driver driverName.inf /uninstall /force, replacing the "driverName.inf" with what you got from the previous step
- Restart computer and reconnect your Xbox controller. It should now work.
Well, Pali, your call to lock it down whenever you feel like it 
the problem is the user identifying the issue, like for pop it was semi-working
Add automation to https://github.com/nefarius/Legacinator
Do we still have someone who has exported the complete driver package before you nuked it?
Nope it was nuked lol
but i think, it can be reinstalled again and driver manually picked for vXbox?
Well we don't know why it landed on the system to begin with so.... 
Easiest thing would be to add it to legacinator but without the driver files to actually test I wouldn't just make a blind update release
No you can not 🙂
well that's annoying
Welp
I mean if it is not yet pulled from WU, pop could just reenable downloading drivers, repeat whatever caused it and we then grab a copy before undoing
Your call
I didn't disable that after what Pali said
Good luck walking down the memory lane for the "repeat whatever caused it" Pop...
There is also a "search for new driver via Windows Update" option you can choose on each device but it feels to never really reliably do anything
I have no Idea except it was probably an update within a few weeks ago or so when I noticed it happening
When it "works", It only manages to mess up manually updated drivers by reverting them or nuking them
Makes one question why your machine got it in the process and others didn't tho.. Like how many "custom" update paths do they have and provide for OTA ?
sorry 😊
Noobs
Windows 11 Insider Preview Build 26120.4151 (Beta Channel)
Well it's not really addressed. It's acknowledged 
I came across KB5058486 on accident today cuz it got installed last night on my Dev VM too and since then it boot looped with UNSUPPORTED PROCESSOR error. Had to uninstall it
Oof
Make an announcement in the server with everyone tag plz
So DSX isn’t blamed by noob stuff
Ok, copy pasting the link and pic ?
Well no, needs to be more descriptive about how it can effect
@south magnet was telling him to post it since he knows the technical stuff
As you wish 😊
I think Pali wants you to do a tldr PSA to everyone about it
Oh, right, can do that
I can't find this driver via searching the public MS update catalogue, so I assume the package was really part of the updated package itself, not pulled by the "new device detected" mechanism
This could in turn mean that MS can pull and fix it easier; if it is not in the "general" update pool, only Windows Insiders in that particular time frame got it installed and if they publish a hotfix or pull that update, you can't grab it even on accident anymore
well that's even better
This sadly makes it harder to get a full copy of the driver package; since the insider update packages seem to not be publicly indexed anywhere 
We need another insider that recently ruined their machine 
