In case you don’t know, there is a feature in Windows 10 computers that allows them to function a lot better. This feature is called Full-Screen optimization and it is enabled by default for several applications such as games and video players. If enabled, the Full-Screen optimization feature enhances the video playback and gaming by simply putting the CPU and GPU process as a priority. However, there are times when it can also result to a drop in the frame rate or FPS while in full-screen mode. And of course, the obvious solution to this dilemma is by disabling the Full-Screen optimization feature which is why Microsoft took action and removed this feature themselves in the recent Windows 10 Update releases. However, there is another way for you to enable it back or disable it yourself if you haven’t installed the recent updates yet and there are plenty of ways you can do both. All you have to do is follow the options given below carefully.
If you haven’t installed the recent updates yet and all you have are the earlier releases, then this method would suit you.
If the first two options didn’t work, the next thing you can do is to run the application in a Compatibility Mode. Follow the steps below to do so:
Stable Diffusion is a machine learning model developed by Stability AI to generate digital images from natural language descriptions. The model can be used for different tasks like generating image-to-image translations guided by text prompts and upscaling images.
Unlike competing models like DALL-E, Stable Diffusion is open source and does not artificially limit the images it produces. Stable diffusion was trained on a subset of the LAION-Aesthetics V2 data set. It can run on most consumer hardware equipped with a modest GPU and was hailed by PC World as "the next killer app for your PC".
Since Stable Diffusion is run locally and not in the cloud, as mentioned there is no limit to the number of images that you can produce but in order to use it you will have to get down a little dirty with setting your PC environment for it since it is not really an application, it is a command line text based descriptor that will use python to generate your images, so there is no install nor GUI.
In this guide, we will show you how to both install and run Stable Diffusion on your local PC so you can start producing some cool images all by yourself.
Make no mistake, Stable Diffusion will not run on a potato PC, in order to harvest the power of AI-generated imagery this is what you will need:
For this tutorial, we are covering the installation and running of Stable Diffusion on Windows PC. The steps presented here are presented in a way that installation can be performed on any operating system but precise instructions will be for Windows OS.
The first thing to do is to install GIT. It is a tool that will let you easily maintain and install repos from the internet. to install it go to: https://git-scm.com/ and click on download. Follow the instructions for your version of the operating system. If you are a developer you are familiar with GIT and if you already have it installed you can skip this step.
One thing that is important when installing GIT locally is to select to use it via the command line (the second option that says "Git from the command line and also from 3rd-party software").
Now when we have GIT installed, next thing is to use Miniconda3 to install python and all required libraries that are needed. Get the installer at: https://docs.conda.io/en/latest/miniconda.html
Miniconda3 is basically an easy installer so you do not have to install tons of stuff manually from different websites and sources, it is nicely packaged in the installer that will take care of everything.
After the previous two steps, we are ready now to actually install Stable Diffusion. Go to https://huggingface.co/CompVis/stable-diffusion#model-access and install the latest library (as of the writing of this article currently it is stable-diffusion-v1-4-original, the last one on the right), the library is almost 5GB in size so be prepared for big download.
After installing stable diffusion's latest library it is time to update it to the newest version. You can download ZIP from GIT HUB https://github.com/CompVis/stable-diffusion
Once downloaded click on the Windows start button and type in Miniconda3 and click on open. Create a folder and name it how you want on a drive of your choice. For this example, we will install it all in disk C under folder AI_art, follow the instructions below but use your own names and destination instead. Do not close Minicoda3 after typing commands!!!
cd c:/
mkdir AI_art
cd AI_art
Extract GitHub files that you have downloaded into your new folder and get back to Minicoda3 and type the next commands:
cd C:\AI_art\stable-diffusion-main
conda env create -f environment.yaml
conda activate ldm
mkdir models\ldm\stable-diffusion-v1
Let the whole process finish, some files are large and it might take a while. After the whole process is finished and completed, copy the checkpoint file that you have downloaded into: C:\AI_art\stable-diffusion-main\models\ldm\stable-diffusion-v1
After the file is copied rename it to model.ckpt and you are finished.
The created environment is needed in order to actually use Stable Diffusion to create images. Each time you want to use it you will have to run it, so go into Miniconda3, and inside it type:
conda activate ldm
cd C:\AI_art\stable-diffusion-main
after we are inside the folder call the script with the parameters:
python scripts/txt2img.py --prompt "TXT DESCRIPTION OF IMAGE THAT YOU WANT TO CREATE" --plms --n_iter 5 --n_samples 1
and that's it, your image is created and it is located in C:\AI_art\stable-diffusion-main\outputs\txt2img-samples\samples
net stop wuauserv net start cryptSvc net start bits net start msiserver
net start wuauserv net start cryptSvc net start bits net start msiserver
Windows 10 error code 0x80072EE2 usually occurs as a result of a disruption during the upgrade process when users attempt to upgrade their operating system using Windows Update. The disruption may be caused by a loss of Internet connection. Error code 0x80072EE2 may also occur due to problems related to one’s firewall. Common symptoms of this error code include the following:
Upgrade error codes like error code 0x80072EE2 usually occur when disruptions or problems related to system files, or third-party apps prevent Windows Update from completing an upgrade. In the case of error code 0x80072EE2, the most likely cause is a bad Internet connection.
Windows 10 error codes are numerous and so are the solutions to fixing these problems. In most cases, Windows users have access to several manual repair solutions depending on the error code present on their device. These manual repair methods are usually easy to implement, with the exception of a few solutions that require technical knowledge and skills. In such cases, you may need to consider using an effective automated tool or you may contact a Windows repair technician to assist you.
In terms of error code 0x80072EE2, however, no technical skills are required. Manual repair solutions for this error code involve checking and troubleshoot network problems if your connection was disrupted. Also, you may need to check your firewall settings and disable it temporarily to verify whether or not your firewall is preventing you from accessing the upgrade. Further details are provided below.
If for whatever reason you lost Internet connection while attempting to upgrade your operating system via Windows Update, your upgrade will time out and error code 0x80072EE2 in Windows 10 may occur. For this reason, it is important for you to check your connection once you notice the presence of error code 0x80072EE2 on your device.
There are many ways you can verify your Internet connection but one of the simplest ways is to first open your preferred Internet browser and type the web address of a site you normally visit. Once you are able to access the website, you will know for sure that your connection is not an issue. Simply restart your PC and reattempt the upgrade.
If you are unable to complete the upgrade process, however, this simply means that there is another issue causing error code 0x80072EE2 to occur. Proceed to the next manual repair method. This method may also apply if you were unable to connect to the Internet.
Though you may be able to access a website or open your Internet browser, there may be other issues affecting your network that are causing the error code to occur. To verify for certain whether or not the issue causing error code 0x80072EE2 in Windows 10 is related to your network, troubleshoot your network using the Network Troubleshooter tool found on your PC.
Once the issue has been resolved, it is time to verify if the error code is fixed. Open Windows Update then select the option which enables you to access the latest upgrades to your machine. Wait to see if the error code reoccurs or if you can now access the upgrade to your operating system. If the error code reoccurs, move to the next manual repair method.
Another issue that may be causing an error code to occur is your firewall. To verify if your firewall is preventing you from accessing the upgrade, disable your firewall. If you are using third-party security software, simply open the security app and check its firewall settings. Select disable or turn off the firewall.
Restart your computer, then open Windows Update to reattempt to upgrade your device. If this proves successful, you will be able to access the upgrade. Error code 0x80072EE2 in Windows 10 will no longer be present.
If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.
“0x80070BC9 – ERROR_FAIL_REBOOT_REQUIRED. The requested operation failed. A system reboot is required to roll back changes made.”This kind of Windows Update error is most likely caused by a newly installed problematic software, corrupted Windows Update files, or policies that restrict the behavior of the Windows Module Installer. The Windows Module Installer, also known as “WMIW” or “TiWorker.exe”, is the one that checks for new updates from the Windows server and installs them on your computer. This is why you need to make sure that you do not have any policies that control the start behavior of the Windows Module Installer since this service must not be hardened to any start value and should be managed by the operating system. To resolve the Windows Update error code 0x80070BC9, you can check out the options provided below.
“There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80096004).”To fix Windows Update error 0x80096004, you can check out the options provided below.
net stop wuauserv net start cryptSvc net start bits net start msiserver
net start wuauserv net start cryptSvc net start bits net start msiserver