VirtualBox

Opened 10 years ago

Closed 9 years ago

#13200 closed defect (fixed)

NVIDIA error message on startup

Reported by: ThetaPhi Owned by:
Component: GUI Version: VirtualBox 4.3.14
Keywords: Cc:
Guest type: all Host type: Windows

Description

Startup of Windows Virtualbox 4.3.14 presents error message on systems with NVIDIA graphics adaptor: "C:\Program Files\NVIDIA Corporation\CoProcManager\detoured.dll is either not designed to run on Windows or contains an error..."

Starting VirtualBOX 4.3.12 works without any problem. Updating NVIDIA driver does not help.

You can click away the error message and VirtualBOX seems to work, but it prevents starting machines from shortcuts or headless via scripts.

See forum https://forums.virtualbox.org/viewtopic.php?f=6&t=62650 for more info.

Change History (13)

comment:1 by ThetaPhi, 10 years ago

This seems to be related to this technique: http://research.microsoft.com/en-us/projects/detours/

detoured seems to be some dll that is injected by NVIDIA in all processes (like a Linux LD_PRELOAD). The hardened VirtualBOX security seems to don't like this.

comment:2 by KiteAtao, 10 years ago

The same problem exist with the last Release of VirtualBox 4.2

VirtualBox 4.2.26 => Failed VirtualBox 4.2.24 => Ok

comment:3 by ThetaPhi, 10 years ago

One possible explanation for the problem happeing mostly on NVIDIA Laptops:

On many laptops you have dual-graphics adaptors (Intel ones in combination with NVIDIA). For normal work, it uses Intel Graphics to save power, but once an application starts 3D stuff that would better use the NVIDIA graphics, the system switches to the NVIDIA GPU. To detect this "behaviour change" in some applications, the NVIDIA driver uses "Microsoft Detours" (http://research.microsoft.com/en-us/projects/detours/) to hook into every process (like the Anti-Virus software does). By that it can intercept calls to graphics APIs in the Windows API and on the fly enable the NVIDIA GPU.

comment:4 by Michael_Jensen, 10 years ago

I'm also experiencing this problem on Windows 7 x64 (host -- and client, but error is host centric), it's very annoying to see all these error pop-ups, but everything seems to be working still. Would be awesome to get this fixed.

The specific error I see is:

---------------------------

VirtualBox.exe - Bad Image

---------------------------

C:\Program Files\NVIDIA Corporation\CoProcManager\detoured.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

---------------------------

OK

---------------------------

I also have NVidia Optimus graphics (Lenovo W520 Laptop, under device manager I see two graphics adapters: "NVidia Quadro 1000M", and "Intel (R) HD Graphics Family"). I've updated my drivers, but it didn't help. The issue still occurs.

Uninstalling the drivers or attempting to run in Intel only mode (etc.) isn't an option for me.

comment:5 by watsong, 10 years ago

I can verify that this problem started occurring on my computer when I upgraded from virtualbox 4.3.12 to 4.3.14.

Hope this is helpful

comment:6 by Maakuth, 10 years ago

I also see similar issue with VirtualBox 4.3.14 and F-Secure Internet Security (technology preview), I think they might use something similar to Detours to hook into the applications. Here's a screenshot with it happening. https://www.dropbox.com/s/6cma4me5yjq93vs/Screenshot%202014-07-25%2016.51.50.png

The nVidia one I can skip by clicking OK, but the F-Secure one prevents VirtualBox from running. Turning F-Secure off fixes it. "HardenedWinVerifyProcess" and verification of process integrity sound like some sort of new security feature. I appreciate such a thing, hopefully the compatibility issues can be dealt with soon.

comment:7 by Andy Barnes, 10 years ago

I have just re-installed my laptop. Windows 7 Home Premium x64.

I have installed VirtualBox 4.3.14 r95030 with the extensions.

Whenever I start up VirtualBox it gives me the following error:

"VirtualBox.exe - Bad Image

C:\Program Files\NVIDIA Corporation\CoProcManager\detoured.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support."

It does not stop me running VirtualBox but the error is annoying. I have an ASUS N56VM laptop with dual Intel/Nvidia graphics. If I go into the control panel and set the VirtualBox app to use the Integrated Graphics option it does not stop me getting this error message.

comment:8 by Zólyomi István, 10 years ago

I had the same issue with 4.3.14 on my Toshiba Satellite P750-10R notebook with dual Intel/Nvidia graphic cards and Optimus driver on Win7/64. Previous versions worked just fine. Let me know if you need info on the error or testing for a fix.

comment:9 by Tulio, 10 years ago

I am getting the same problem in my Lenovo T530 laptop (NVIDIA NVS 5400M driver 8.17.12.9688) with VistualBOx 4.3.14r95030 on Windows 7.

This problem affects sometimes script management like vagrant with puppet if you want to create/remove/provision a new box from the script.

comment:10 by Andy Barnes, 10 years ago

Same problem on an ASUS N56VM with GeForce GT 630M + Intel HD 4000. I have tried the following versions and both are affected by this issue.

VirtualBox 4.3.14 VirtualBox 4.2.26

I have now installed VirtualBox 4.2.0 as a temporary measure as it does not seem to be effected.

Last edited 10 years ago by Andy Barnes (previous) (diff)

comment:11 by Frank Mehnert, 10 years ago

Actually this is a duplicate of #13187. Please install VBox 4.3.16 and check if this fixes your problems.

comment:12 by Tulio, 9 years ago

Problem solved with 4.3.18 (didn't try 4.3.16, sorry).

comment:13 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Thank you for this information! I will close this ticket as 'fixed'.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use