Use VM to test Gaming Software? - virtual-machine

I'm trying to test a Video Game (Sims2) in VMware Workstation 12. The VM runs on Windows 10. Installing the game was no problem, but when I start the game, it goes automatically into fullscreen Mode and the Display of my VM gets black. I can hear the sound of the game and I see the coursour, but Icant do anything.
The system Requirements are:
CPU Speed: 800 MHz with a T&L capable Video Card (2.0 GHz without
Hardware T&L Video Card)
RAM: 256 MB
Video Card: 32 MB 3D accelerated video card (NVIDIA GeForce2/ATI
Radeon VE/Intel Extreme Graphics or better)
DirectX version: 8.1
Sound Card: Yes
Free Disk Space: 3.5 GB
How can I fix this issue?

DirectX version: 8.1 (included)
Are you sure the game isn't dx9+?
Drivers might be the problem.

Related

VScode lags on powerful PC

VSCode Version: 1.20.1
OS Version: Windows 10 Home 64-bit
It has occured since a first-time clean installation. Every action (Input, selection, scrolling) has a small but very noticeable amount of lag (approx. 0.5s lag) every 10 or so seconds. This occurs on newly created empty files as well. CPU usage is normal (<5%) and RAM usage is normal (250mb).
PC Specs:
Intel Core i7-7700HQ 2.80GHz
8GB DDR4 RAM
Samsung 256GB SSD
(Nvidia GTX1060 GPU)
Does this issue occur when all extensions are disabled?: Yes

How can i "attach" nvidia gpu card to xp vm in vmware?

I have an old Nvidia gpu card that basically goes unused on my host. So i wanted to attach it to a VMware vm ( Win XP ) and use it the same way i can use a usb stick. How difficult is it to write a device driver to hook VMW's API with Nvidia's API? What open source device drivers are there to do this? Its not for graphics processing but splitting parallel computations up to run faster, hence Mesa project not the right direction...

Caffe and Tensorflow on a Dell 7559 with nvidia optimus technology

I bought a dell 7559 laptop for deep learning. I got ubuntu 16.04 installed on it but I am having trouble getting caffe and tensorflow on it. The laptop used Nvidia Optimus technology to switch between gpu and cpu to save battery usage. I checked the bios to see if I can set it to use only gpu but there is no option for it. Using bumblebee or nvidia-prime didnt work either. I now have ubuntu 16 with mate desktop environment it is preventing from getting the black screen but didnt help with the cuda issue. I was able to install the drivers and cuda but when I build caffe and tensorflow they fail saying that it didnt detect a gpu. And I wasnt able to install opengl. I tried using several versions of nvidia drivers but it didnt help. Any help would be great. thanks.
I think Bumblebee can enable you to run Caffe/Tensorflow in GPU mode. More generally, it also allows you to run other CUDA programs on a laptop with Optimus technology .
When you have installed Bumblebee correctly (tutorial: Bumblebee Wiki for Ubuntu ), you can invoke the Caffe binary by pepending optirun before the caffe binary. So it goes like the following:
optirun ../../caffe-master/build/tools/caffe train --solver=solver.prototxt
This works for the NVidia DIGITS server as well:
optirun ./digits-devserver
In addition, Bumblebee also works on my dual-graphics desktop PC (Intel HD 4600 + GTX 750 Ti) as well. The display on my PC is driven by the Intel HD 4600 through the HDMI port on the motherboard. The NVidia GTX 750 Ti is only used for CUDA programs.
In fact, for my desktop PC, the "nvidia-prime" (it's actually invoked through the command line program prime-select) is used to choose the GPU that drives the desktop. I have the integrated GPU connect to the display with the HDMI port and the NVidia GPU through a DisplayPort. Currently, the DisplayPort is inactive. The display signal comes from the HDMI port.
As far as I understand, PRIME does so by modifying /etc/X11/Xorg.conf to make either the Intel integrated GPU or the NVidia GPU the current display adapter available to X. I think the PRIME settings only makes sense when both GPUs are connected to some display, which means there need not be an Optimus link between the two GPUs like in a laptop (or, for a laptop with a Mux such as Dell Precision M4600, the Optimus is disabled in BIOS).
More information about the Display Mux and Optimus may be found here: Using the NVIDIA Driver with Optimus Laptops
Hope this helps!

OpenCL detection bug

I'm new to Adobe Premiere and GPU acceleration. I started to follow simple tutorial on editing video with Premiere Pro CC that I had "Stopped Working" error after seconds when I hovered on my video or dragged it. Found that problem is because of OpenCL. So I put my settings to "Software Only" to have just CPU rendering.
My hardware and software:
HP ProBook 450 G1
Microsoft Windows 8.1 X64
AMD Radeon 8600/8700M
14.12 AMD Catalyst Omega Software
Intel HD 4600
AMD APP SDK 2.9
Microsoft Visual Studio Ultimate 2013
(For web developing. I'm not a CPP programmer.)
Adobe Premiere Pro CC
I used GPU-Z to have details about my AMD GPU and I saw that OpenCL is disabled and other one (Intel) is enabled.
Image
So I used /program files/adobe/adobe premiere pro cc/gpusniffer.exe and this is the output:
Found 2 devices supporting GPU computation.
OpenCL Device 0 -
Name: Intel(R) HD Graphics 4600
Vendor: Intel
Capability: 1.2
Driver: 1.2
Total Video Memory: 1348MB
* Not enabled by default because it did not match the named list of cards.
OpenCL Device 1 -
Name: Oland
Vendor: AMD
Capability: 2
Driver: 1.2
Total Video Memory: 2048MB
I read all the docs of APP SDK but I didn't find anything except this one:
Output of /windows/system32/clinfo.exe
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 00007FFBA45D6B60
Name: Oland
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 1.2
Driver version: 1642.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1642.5)
What should I do in order to enable OpenCL in GPU-Z for my AMD Radeon GPU?
Thanks.
After two weeks Googling for my problem I found my answer in playing with regedit.
To have fun with OpenCL on Windows 8.1 and AMD Radeon we must do these:
Only use AMD Catalyst Control Center downloaded from AMD official website. (For me, installer downloaded from HP Support Center didn't work. I think because it didn't contains some packages.)
Download and install AMD APP SDK from AMD Developers official website.
Go to C:\Program Files (x86)\AMD APP SDK\2.9\bin. (It will be different based on your version.)
Copy and replace files from x86 folder (OpenCL.dll and amdocl.dll) to C:\Windows\SysWOW64.
Copy and replace files from x86_64 folder (OpenCL.dll and amdocl64.dll) to C:\Windows\System32.
Note: OpenCL.dll files are different with each other. Pay attention.
Open Start and type regedit in search or RUN.
Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors\.
Add amdocl64.dll as DWORD (32-bit) Value. (Do not edit it after creation!)
Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors\.
Add amdocl.dll as DWORD (32-bit) Value.
Restart windows (Because of Catalyst) and start Catalyst.
In Premiere go to File -> Project Settings -> General -> Video Rendering and Playback and set Renderer to Mercury Playback Engine GPU Acceleration (OpenCL).
Note: In Registry Editor, 0 means true (enabled) and 1 means false (disabled) for OpenCL.
Note: regedit must run as administrator.
Done! Adobe Premiere Pro CC works fast and fine. Note: GPU-Z will not show OpenCL enabled. I think because its old version.
Image

Can't enable virtualization

I'm trying to get my Android Emulator running faster,
but i can't enable virtualization. When i open
bios, it saids that it is enabled, but when i run Intel Processor Identification Utility, it display "Supporting advanced intel processor technologies: Intel(R) Virtualization Technology: no" . But when i look at the page about my processor on intels page, it saids that my processor supports virtualization
About my machine:
Dell Studio 1749
4 GB Ram
Intel Core i5-450M CPU (specifications)
Windows 8 64bit
Thank you all!
I found the solution!
In Windows 8 i need to disable Hyper-V.. I don't know why.
Hyper-V uses the VT resources and if they are already being used by another process then they will not be available for HAXM to use.