How to enable 3D acceleration for virtual machines

Source: Internet
Author: User
How to play games with virtual machines !! Start 3D acceleration! How to play games with virtual machines !! Start 3D acceleration!
I have used several virtual machines and most of them do not support 3D drivers. As a result, virtual machines cannot play games!

What we bring to you today is how to play games with virtual machines !!

Virtual Machine Software: vmwarevirtual machine. The version should be later than 5.5.

Hardware requirements: CPU 512 or above, there are more than 512, of friends can try this low configuration friends don't waste time!

The best video card is 128 or above, and my video card is 256

The system installed on the virtual machine can be 2000 and XP. 98 seems to be faulty when 3D is enabled, so it seems that direct x9.0 cannot be installed.

Therefore, we recommend that you use 2000 or XP

Then find the file with the extension. vmx of your VM (what, cannot be found? Won't you use search *. vmx !!!)

Right-click it, and press shift to bring up an open method. Select notepad. Remember that there is a hook "always use the selected program to open this file ".

Then add the following sentence at the beginning

Mks. enable3d = true
Svga. vramsize = 134217728
Vmmouse. Present = false

Among them, svga. vramsize = 134217728 means that if the video card is 128, change it to 64.

Svga. vramsize = 67108864.


Then you can enable the VM 3D acceleration, but some machines may not be able to play at this time. When you enter the game, a white screen will appear.

You need to apply the following patches.

:

Http://www.zxcf.cn/uploadfile/rar/2007-5/2007515125425621.rar

This patch is used to replace c: \ windows \ system32 in the virtual machine system. If it is a 2000 system, it is c: \ winnt \ system32.

Copy vmx_fb.dll vmx_mode.dll to windows \ system32.

Vmx_svga.sys is stored in the windows \ system32 \ DRIVERS directory.

The vmx_svga.inf file is optional.

Remember, the above files are stored in the windows of the Virtual Machine. Don't make a mistake. It's funny to put them in your own machine.

I used this method yesterday. I have already successfully played a fast-paced racing event in it. I feel pretty good.

Other games can also be played, as long as your machine configuration is good enough.

Wish you success

Dual-game method. Absolutely available ~



How to enable d3d in VMware

1: in Windows 2000 or XP, you can enable the d3d function to open a file Suffix in the directory where the virtual machine is located. vmx file, open it in notepad and add: mks. enable3d = true enable the d3d svga of the guest system. vramsize = 67108864 can be added to 64 m (64*1024*1024 = 67108864) vmmouse. present = false reinstall vmtools
A. select Edit> parameter settings B. click input. c. remove the selected status before the "release when the cursor leaves the window" option. Start your Vm and open dxdiag. You can see that d3d has been started. Start the virtual 3D tour.


VM official description of 3D (translation) from 383rd to 388th pages of VMware Workstation 5 User Manual

Experimental support for d3d: VMware Workstation provides experimental support for d3d video acceleration. This function is not complete. Note: The experimental supported functions are not included in the functions that the product should provide. Even if 3D acceleration is not activated, starting 3D acceleration may cause host machine or client crash, leading to data loss. Note: To use the experimental 3D capabilities of VMware Workstation, the virtual machine must run the same VMware Tools as your virtual machine version. If your virtual machine is migrated and you want to use the 3D function, you need to reinstall the VMware Tools of the current version of the virtual machine. Workstation, a person with d3d experimental support, does not provide technical support for 3D acceleration. In any case, we encourage you to propose support requirements so that we can evaluate the problems you encounter in your experience 3D.


Limitations of 3D acceleration experimental 3D acceleration can only be used to run Windows 2000, Windows XP, or Windows 2000 and Windows XP clients on Linux. There are also the following limitations on Experimental 3D acceleration:
1. workstation can only accelerate direct8. direct9 applications only support the direct8 subset of applications. 2. The execution of 3D applications is not optimized. 3. OpenGL applications can only run in simulation mode, not all 3D acceleration can be enabled. The following are applications that cannot be accelerated:
1. pixel and vertex rendering 2. Multi-vertex processing 3. Hardware-level texture ing and environment ing 4. Texture textures 5. Textures of the first, third, and fourth dimensions



By default, d3d acceleration is enabled. You need to prepare the host machine, virtual machine, and virtual machine operating system. First, you need to enable the host machine's 3D acceleration NVIDIA has a driver in Linux in windows, the host machine's operating system requires Windows 2000/XP, and the graphics hardware acceleration function needs to be enabled in the system. In Linux, perform the following steps to check the compatibility of your Linux host
1. Open your direct rendering capability and run the command: glxinfo | grep direct. . Run the glxgears command to ensure that 3D applications can run on your host.



Enable 3D acceleration on a virtual machine 1. Select a client installed with Windows 2000 or XP
2. Add mks. enable3d = true to the virtual machine configuration file (. vmx) to enable the 3D acceleration function of the virtual machine. The 2D acceleration function of the virtual machine can also be used.
3. if you want to set the memory size, add svga. vramsize = 67108864 (set the memory to 64 MB) or svga. vramsize = 134217728 (set the memory to 128 MB) the maximum size of the memory can be set to 128 MB.
4. for a 3D application that requires full screen running (such as a real-time game like the first person shooting), we recommend that you turn off the "release after the mouse leaves the window" option and add it to it: vmmouse. present = false. In addition, on the VM's main interface, Edit> parameters> input tab> remove the hooks before the "release after Mouse leaves window" option.



Start 3D acceleration in the client operating system 1. Power on the VM 2. Install VMware Tools consistent with VMware Workstation
3. Install d9c 4. Issues known when installing your 3D application: 1. Do not switch the labels in the VMware Workstation console when running the 3D program. 2. do not switch between full screen mode and window when running 3D programs. do not run multiple 3D programs at the same time, which may cause vmware workstation to crash 4. when running a 3D program, you cannot suspend a virtual machine or create a snapshot. 5. When capturing and recording 3D images, the image may be broken. 6. If you move the mouse over the 3D acceleration image of the virtual machine operating system, the image may be partially white.


Help VMware through experiment 3D
VMware only provides experimental d3d acceleration. VMware cannot answer all questions about d3d acceleration individually. VMware is interested in the following:
1. Catastrophic faults, such as client blue screens or 3D applications that cause vmware workstation crash 2. Test Reports on ati8500 or updated display cards

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.