Broken GUI Rendering with nVIDIA 320M GPU on Windows 10 - windows

My laptop computer is MacBook Pro 13" 2010-mid with nVIDIA 320M GPU. My OS is Windows 10 x64 ver 1607. The nVIDIA driver version is 341.98.
I meet a broken GUI rendering problem. See the screenshot of Visual Studio 2017 RC GUI:
You can see the Solution Explorer pane in the left shows a broken rendering.
Actually, there are not only Visual Studio GUI, but also many application GUIs have the same broken rendering problem, for example, JabRef, Atlassian SourceTree, ...
And, there are not only Windows 10 but also Windows 8 having the same problem. Does anyone have a solution or workaround?

I find workarounds for several my frequently-used apps. These workarounds show the problem comes from the GPU hardware acceleration. Disable the acceleration for working around the broken rendering problem.
For Java apps (e.g., JabRef), the workaround is to set environment variable J2D_D3D to false. See:
Swing rendering appears broken in JDK 1.8, correct in JDK 1.7
For Windows Presentation Foundation (WPF) apps (e.g., SourceTree and Visual Studio 2017 RC), the workaround is to disable WPF acceleration by adding a registry value:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration
with data "1." See:
How does one disable hardware acceleration in wpf?

i had many problems with windows 10 on MBP Pro mid2010, i resolved all my problems by installing the upgrade to Build 1909 by downloading the upgrade utility:
https://www.microsoft.com/en-us/software-download/windows10
after that i installed BootCamp4.0.4033 and by magic all works fine.

Related

Emulator not opening in Visual Studio for Xamarin mobile app development

I am trying to develop a mobile app using Xamarin and Visual Studio 2019 on a Windows 8.1 Pro operating system. I installed the .NET desktop development, ASP.NET and web development, and Mobile development with .NET workloads, and I am trying to run the Pixel 2 Pie 9.0 - API 28 emulator in Visual Studio.
When I try to launch the emulator through the Android Device Manager, I get the following error:
Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.' properties are supported WARNING: unexpected '-prop' value ('emu.uuid=a7af4d97-19e3-499d-9c26-334ea3d7cfe0'), only 'qemu.' properties are supported
enter image description here
When I try to launch the emulator through the green triangle at the top of the Visual Studio user interface, I get the following performance warning:
Performance Warning: Launching the Android Emulator pixel 2 pie 90-api_28 on Hyper-V needs Windows Spring Creators Update (Redstone 4) or newer installed. Please update your system and retry.
enter image description here
My laptops
OS : Windows 8.1 pro
64-bit Operating System
Processor: Intel(R) Core(TM) i3-5005U CPU # 2.00GHz
RAM : 4.00 GB
enter image description here
I went through Android Device Manager and edited the emulator I had installed. There I changed its name and processor to x86_64 instead of x86 and downloaded it. Then I restarted the computer and ran the emulator. But there also the same double error message as mentioned earlier, no difference. My data is limited so I didn't waste it on more guesswork. But I will gladly accept any of your recommendations
I want to solve the above problems under this operating system. I am currently unable to upgrade my operating system to Windows 10 or 11. I want to work in Visual Studio with minimal error messages. Having to use another emulator or old technology is not a problem there.
What could be causing these errors, and how can I resolve them? Any help or suggestions would be greatly appreciated. Thank you in advance.
Although not directly related to this, I will mention the following issues.
When I installed the emulator in Visual Studio Xamarin I got a prompt to install intel HAXM. But its automatic installation failebd and I downloaded and installed it manually from Intel website there. After that I got the two errors in the screenshot above.
When doing that I had installed both the latest version of Visual Studio 2022 and this 2019 version. (I was able to install both in Windows 8.1 Pro) Then I uninstalled the 2022 version.
Also, even though I installed it under the update I received for version 16.11.25 of Visual Studio, over a day later, It's not updated in the Visual Studio installer or the versioned install in the IDE.
And in my Visual Studio installer, above the Modify button, under Total Space Required , 13MB of non-removable space is noted. I have run the Modify button several times but it won't go away. (That may have something to do with the note "System cache, tools, and SDKs with fixed locations - 13 MB" on the Installation locations tab in the installer.)
When opening ASP.NET and wed development and Mobile development with .NET (out of support) workloads for the first time, the nuget.org package source was not included in the package sources by default. So the packages got errors. I then solved the problem by adding the nuget.org package to the source.
You can check this Hardware acceleration for emulator performance (Hyper-V & HAXM) for more information.
In this article, you can see the minimum criterion of the Hyper-V.
Your computer hardware must meet the following requirements:
A 64-bit Intel or AMD Ryzen CPU with Second Level Address Translation
(SLAT).
CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs).
Minimum of 4-GB memory.
Virtualization Technology (may have a different label depending on
motherboard manufacturer).
Hardware Enforced Data Execution Prevention.
Verify that the Windows Version is at least 1803
To verify that your computer hardware and software is compatible with Hyper-V, open a command prompt and type the following command: systeminfo.
I unticked Hyper-V through the control panel and restarted the computer, where the emulator opened without error messages. But it takes a long time

What are the compatible versions of Flutter and Android Studio with Windows 11?

Are Flutter 2.2.3 and Android Studio Arctic Fox latest stable version (2020.3.1 patch1) optimized for Windows 11?
Is installing these two on the preview version of Windows 11 a problem?
On the Android Studio Website the following Windows operating systems are listed as System requirements:
64-bit Microsoft® Windows® 8/10
So technically this would mean you're outside of the system requirements and Android Studio is likely not optimized for Windows 11.
Dart has pretty much the same situation, listing only Windows 10 as supported.
From my personal experience, everything I've used in Windows 11 has worked the exact same way as it would have in 10, but there's always the possibility some issues will arise with unsupported software so staying within supported versions is always the better option if you don't want to deal with problems.
In short: It's not supported, you may run into issues, use it at your own risk. If you want to be safe, use it on Windows 10 until Windows 11 starts being supported by both tools and upgrade then.

Can Visual Studio 2017 be installed and used on Windows 10 on ARM (i.e. Asus NovaGo)?

I am struggling to find information on this. Of course certain features such as docker and hyper-v will not function, but will Visual Studio 2017 be able to be installed and run on a Windows 10 always-connected ARM device? Like, would typical desktop/web development scenarios with .NET/C++/Python work?
Cheers.
Yes, it is possible. I just got a Asus Nova Go and tried it. Compiling and running a basic .net Core app (with an Avalonia UI) worked just fine but there are some limitations and corner cases that hopefully will get fixed.
Visual Studio takes long to launch, and when lauched is not very performant.
I think the Lenovo Yoga C630 is snappier, because of the bigger 8GB RAM and the Snapdragon 850.
If you have any further questions let me know

Android studio and chrome sound sluggish performance

I code in android studio without emulator. I have 6gb ram. Athlon 2x 6000. Windows 8.1 64bit. Sometimes I have a music mix playing on chrome at the background. Whenever I do an action in android studio the music may pause briefly for some seconds depending on the heaviness of the task. If I build... ok then the music might pause for longer than that. I once found somewhere on the net it might be related to java 64 bit. I was using ubuntu 14.04 and it went so smoothly... But now I have windows 8.1 . Is there any solution without changing OS or hardware?
If you face my problem you can install jdk 32bit.

Windows Phone 7 emulator doesnt work properly and just flickers

Windows Phone 7 emulator doesn't work properly on my laptop.
It just flickers instead of starting my app. Clicking on any of the buttons has no effect. (None of the emulators work, tried 256MB, 512MB, and the ones installed by WP 7.8 SDK Update) WP 7.8 SDK Update didn't solve anything.
I'm using a Samsung NP300E5A-S06 notebook, and it has:
Core i5 3210M 2.5Ghz
Intel HD Graphics 4000 + GeForce GT 620M
6GB of RAM
Here is a video of what's happening on my machine.
I heard this can be caused by the Intel HD Graphics 4000. But we can't force WP Emulator to use the GeForce.
How can I make the WP7 emulator work properly?
If you have any idea or a working solution, please help me!
Thanks in advance!
First, download and install the latest GPU drivers for both GPUs. If it will help, you're lucky: I had something very similar on machine (dual GPU Intel + NVidia as well), and was unable to find a fix.
My advice - upgrade to Windows 8, install visual studio 2012, and WP8 SDK. Fortunately, with the recent version of the SDK you can still build for the previous WP 7.1 platform. And even if xde.exe still won't work on your laptop, you can test and debug the application you're building on new HyperV-based WP8 emulators.
sorry, I cant comment.
Did you try repairing the installation?
Also completely removing and then re-installing?
EDIT:
Also you can try running it on a virtual machine on your laptop (Maybe there is some problem in your Windows installation - after all its Windows ;) )
i think i have had series of problems with that emulator months ago, but now, all is just well. i have some questions for you.
1) Which version of Visual Studio are you using. i believe it should be visual studio 2010
2) have you installed visual studio 2010 service pack 1? if no, try to download it and install
3) which version of .net framework are you using? Visual Studio installs .net3.0 automatically but i guess you have to install the service pack 1 too. you can download it or get it from windows update. in the update settings, choose"check for updates but let me choose which to download and install" then check the two or three check boxes below. then click okay and check for updates. you will then install updates for visual studio 2010 and .net framework.
those should help.

Resources