-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
installing opengl32.dll in VirtualBox disables admin mode #9
Comments
I have no idea what happened here, I never encountered this myself. My admin privileges request routine is based on the top answer of this stackoverflow question. Note that the elevation routine requires vbscript. I may change it to powershell at some point. Looking online it seams to be a file system or UAC settings corruption. It looks pretty bad, and may be just a coincidence it was triggered by the deployment tool. Update: I found some questions on Microsoft answers where it was stated that upgrades from Windows 7 to Windows 10 are likely to cause this. |
As far as I can tell, the deployment tool worked. My OpenGL application is picking up the installed DLL. The errors occur when admin elevation is needed after the deployment tool was run. This VM was built from Win 10 installation disks. I'll try installing the DLL without using the script, just following the operations manually. If that doesn't work, I'll probably try rebuilding the VM. Thanks. |
So, with a fresh VM created directly from a Win10 distribution CD, and no other software installed except Guest Additions, installation of 'mesadrv.dll' and setting the registry using the deployment tool causes a slightly different error. This seems to be specific to VirtualBox it all seems to work in VMware. The same error occurs when trying to run 'regedit'. The event log application log contains two errors: (Information) Problem signature: Attached files: These files may be available here: Analysis symbol: I also note that I don't see this by simply removing 'mesadrv.dll' from c:\Windows\System32. Also, after installing, "sfc /scannow" reports no errors. |
I think I understand what happens here now. The chain of events that lead to that crash is as follows:
Workaround is easy, disable 3D acceleration in VM settings. You can also use DirectX Control Panel (dxcpl) if you have Windows SDK installed on guest to turn off 3D acceleration for This issue needs to be revisited after I take care of #8 as there may be a connection. |
Brilliant! That worked - simply unchecking "Enable 3D acceleration" in the VM settings. Thank you very much! |
I'll document this issue in the user guide as there is not much I can do about it. Because Virtualbox uses wined3d without gallium nine state tracker for Direct3D8 and 9 in VMs, its performance is very poor, so poor that is often slower than Microsoft WARP Direct3D9 built into Windows 8 and above especially if the VM is running on budget class host making it mostly useless. Even on Windows 7 guest, Google Swiftshader may be faster. Google swiftshader stable release is an order of magnitude slower than WARP. |
It may happen if Mesa3D desktop OpenGL driver is installed inside the VM using system-wide deployment tool as encountered in #9.
I've installed mesa-18.1.0.600-1-sfx.exe using option 1 in 'systemwidedeploy.cmd' in VirtualBox 5.2.12 with guest Win10 Pro version 1803. If I try to start a command window using 'Run as Administrator', a error dialog pops up with "File System error (-1073741189)." Other attempts to perform actions requiring admin privileges result in the same error. I don't see this problem with VMware running a similar guest. I haven't found any explanation for what the error code means, nor any similar reports.
If this isn't the best forum to report this problem, please let me know. Thanks.
The text was updated successfully, but these errors were encountered: