Enable Direct3D Accelaration - windows-7-x64

How to enable Direct3D Accelaration in Windows 7 Ultimate 64bit?
(I've checked my Video driver and found that is uptodate)

Related

Running Android Emulator on Azure VM

I have been trying to run an Android Emulator on a Windows Azure VM.
The VM is a Standard D4s v3 (4 vcpus, 16 GiB memory) running Windows Server 2016, so it
should support nested virtualization.
I have installed and configured the following:
Android SDK, version 30.1.5.0
Hardware acceleration:
Intel HAXM 7.6.1
Tested Android versions: 7.0, 7.1, 8.0, 8.1, 9.0, 10.0
GPU mode used: swiftshader_indirect
I keep getting an exception popup regarding the GPU as follows:
GPU #1
Make: 1414
Model: Microsoft Basic Render Driver
Some users have experienced emulator stability issues with this driver version.
As a result we're selecting a compatability render.
Is it possible to run an Android Emulator on a Windows Azure VM?
According to the docs from Microsoft, Android Emulator only runs on the Hosted macOS agent.

Unity has stopped working / DirectX10 Card / D3D10Level9.dll caused an Access Violation

Unity won't start my existing Project, nor a new one.
Since my HD4870 was slowly dying, my Pc froze a few times while workig with Unity.
The Card died, r.i.p
Now I'm On an old HD4890#1gb, directX 10 card
(unity minimum requirements says directX 10 card are ok https://docs.unity3d.com/Manual/system-requirements.html)
What i tried so far:
-Uninstall Unity Hub & all existing Unity versions - > Reinstall
-starting unity with "-force-glcore" "-force-glcore" "-force-d3d11" "-force-d3d10"
ERROR LOG: https://textuploader.com/1l7hp!
Unity won't start under Windows 10 when you have an AMD Radeon HD4890 / 4800 Series.
because:
These graphics products must be installed using display driver version: 8.970.100.9001. This driver is provided as a courtesy and only available via Windows Update. Please enable Windows Update and allow it to detect and install the appropriate driver.
FIX:
Go to your Device Manager -> Graphics -> Right click on "ATI Radeon HD 4800 Series" -> properties -> Update drivers

Can't install HAXM with Hyper-V disabled, AMD processor

When I try to install HAXM I get the error:
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
But in Windows Features Hyper-V is disabled: hyper-v disabled in features
In my system info, I have "Hyper-V - Virtualization Enabled in Firmware" as "No"; does has something to do with the problem?: hyper-v system info
My processor is an AMD, can I even have HAXM in and AMD pc?
If not, what can I do to run an Android emulator? (With Android Studio).
https://developer.android.com/studio/
Requirements and recommendations
The Android Emulator has additional requirements beyond the basic system requirements for Android Studio, which are described below:
SDK Tools 26.1.1 or higher
64-bit processor
Windows: CPU with UG (unrestricted guest) support
HAXM 6.2.1 or later (HAXM 7.2.0 or later recommended)
The use of hardware acceleration has additional requirements on Windows and Linux:
Intel processor on Windows or Linux: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality
AMD processor on Linux: AMD processor with support for AMD Virtualization (AMD-V) and Supplemental Streaming SIMD Extensions 3 (SSSE3)
AMD processor on Windows: Android Studio 3.2 or higher and Windows 10 April 2018 release or higher for Windows Hypervisor Platform (WHPX) functionality
To work with Android 8.1 (API level 27) and higher system images, an attached webcam must have the capability to capture 720p frames.

I have got an AMD Ryzen CPU and Android emulator doesn't work

I have got an AMD Ryzen CPU and Android emulator doesn't work.
It doesn't start the emulator becouse the CPU doesn't support the x86 emulator
Update - My previous answer is no longer true. Google has added AMD and Hyper-V support into their latest beta. Thanks to ReverseCold for letting me know. Please see his answer below.
Update 2 - I had to set this up today. To save some googling, here is the powershell command to enable Hyper-V. Pulled from Microsoft's Docs
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Make sure to run powershell as an administrator.
Update 3 - Turns out there's a difference between Windows Hypervisor Platform and Hyper-V. You'll need to enable the first one for Android emulation to work. Just click start and type Turn Windows features on or off until you see the control panel option of the same name. Then enable the feature from the menu that pops up after clicking that.
According to This answer, AMD virtualization for Android is only supported on Linux. If Ryzen becomes hugely popular, maybe they'll write one for Windows, but I won't be holding my breath.
The latest beta has support for Ryzen. Source
The following is from the google blog post: If you have an AMD processor in your computer you need the following setup requirements to be in place:
AMD Processor - Recommended: AMD® Ryzen™ processors
Android Studio 3.2 Beta or higher - download via Android Studio Preview page
Android Emulator v27.3.8+ - download via Android Studio SDK Manager
x86 Android Virtual Device (AVD) - Create AVD
Windows 10 with April 2018 Update
Enable via Windows Features: "Windows Hypervisor Platform"
Here is a list of ways to get around it:
genymotion personal is free but you need to register
Visual studio android emulator is also free and is fast. I had issues with it disconnecting on android studio
Physical device. You will have a hard time trying to see the sqlite database if it isn't rooted.
With the physical device you can download Vysor on play store and install the extension on google chrome. Then you can have the physical device on your monitor.
I managed to run the Android emulator on Windows 10 (AMD Ryzen 5 2600) after installing the KB4505903 update.
In my case, only two configuration requirements were needed:
Windows 10 May 2019 Update (1903), OS Build 18362.267
Enable via Windows Features: "Windows Hypervisor Platform" ("Платформа низкоуровневой оболочки Windows")
Gennymotion should work for amd users. I emailed them and they said yes it should work.
check here to see their specific requirements.
Yeah I have AMD CPU somehow it works now.
I don't have x86 installed by HAXM and it still works strange.
Gigabyte CPU/AMD Ryzen 7 ->
MIT Settings -> frequency settings -> advanced -> have SVM enabled
Go to windows turn on and off feature
-> if you're using windows home, not pro edition, then you need to find "windows Hypervision platform" then check mark it.
Create a new AVD virtual device, the newest version may or may not work. You have to do trial and error with different API versions like 25, 26, or newest one.
Somehow on SDK Tools, i don't have x86 intel HAXM installed, and it works fine? Does anyone know why it works without intel x86 on my AMD CPU? When i uninstalled it and did everything else again, it finally worked... Strange..
If you have an AMD processor in your computer you need the following setup requirements to be in place:
AMD Processor - Recommended: AMD® Ryzen™ processors
Android Studio 3.2 Beta or higher - download via Android Studio
Preview page
Android Emulator v27.3.8+ - download via Android Studio SDK Manager
x86 Android Virtual Device (AVD) - Create AVD
Windows 10 with April 2018 Update
Enable via Windows Features: "Windows Hypervisor Platform"
**Note:There is Hyper-V features... You should enable Windows Hypervisor Platform not Hyper-V. Windows Hypervisor Platform is at the bottom of features **
I know I am a bit late to answer this but after a few hours of research and verification, here is what I have found. As of July 2018, if you run AMD Ryzen CPU/APU, you should be able to run Android emulator. (see link). It does not work on my old AMD Phenom II X6 because the CPU needs to support SSSE3 and SSE4.1 features. I guess it's time for me to upgrade :) The toast message I received was "Emulator: emulator: WARNING: Host CPU is missing the following feature(s) required for x86_64 emulation: SSSE3 SSE4.1"
You can follow the instructions in the link above, although I also had to do these in my Android Studio.
In the Tools menu > Android SDK > SDK Tools (tab) > Uncheck the option "Intel x86 Emulator Eccelerator (HAXM installer)".
Go to Tools menu > AVD Manager > Ceate a new virtual device (choose an image for the x86-64 platform)
A related question was asked here - Ryzen 3 with VS android emulator - I've responded there and so thought to cross-link in case others missed it.
This might help you:
https://www.reddit.com/r/Amd/comments/cgpaq4/ryzen_android_emulator_whpx_fix_for_windows/
The issue seems to be to do with Windows and has been fixed in the insider builds - you can get it working by following the link above, and without having to become a Windows Insider.
--
Unfortunately After turning on Windows Hypervisor Platform I can not change the resolution window. It was fixed at non resolution recommended. I do not like at all. Here is my computer's information

How to enable VT-x for a windows 7 guest running on KVM on RHEL

to run the emulator in the new Android Develop Studio, I need to turn on the virtualization support (VT-x) on my guest windows 7 running in KVM, which in turn is on RHEL6.
Google shows we need vmx & vme in the guest processor definition, which I have them as 'require' from dumpxml. But in Android Develop Studio in my guest win7, it still complains about missing virtualization support.
Cannot launch AVD in emulator.
Output:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I then download 'haxm-windows_r05' and run 'intelhaxm.exe' to install it, with error:
VT not supported
This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.
In summary, my guest (windows 7) on KVM (running on RHEL 6) can not turn on Intel Virtualization Technology (VT-x).
Thanks for any help
Andy
Unfortunately, RHEL6 lacks support for Nested Virtualization. RHEL7 does but it's still very premature and new changes keep getting added. Your best bet is to install the current upstream kernel. To enable Nested Virtualization, load kvm_intel with "modprobe kvm_intel nested=1".
And ofcourse, you need to advertise vmx in your cpu definition.