Logo

dxgkrnl.sys Blue Screen Error in Windows

Dxgkrnl.sys is a file related to the Microsoft DirectX driver – a suite of technologies developed by Microsoft to provide hardware acceleration for heavy multimedia applications like 3D games as well as HD videos. However, there are times when you encounter Blue Screen errors for this system file which is quite a lot. So when you encounter a Blue Screen error that’s related to this file, then it could be that the dxgkrnl.sys file is infected with some virus or malware and this might go unnoticed since antivirus programs regard dxgkrnl.sys as a system file. Here are some Blue Screen errors related to the dxgkrnl.sys file:

  • SYSTEM_SERVICE_EXCEPTION .
  • BAD_POOL_HEADER
  • STOP 0x0000000A: IRQL_NOT_LESS_OR_EQUAL.
  • STOP 0x0000001E:

KMODE_EXCEPTION_NOT_HANDLED

  • STOP 0x00000050:

PAGE_FAULT_IN_NONPAGED_AREA

To fix the dxgkrnl.sys Blue Screen error, here are some suggestions you have to check out.

Option 1 – Try running the DirectX Diagnostic Tool

Since the dxgkrnl.sys error has something to do with the DirectX Graphics APIs, you can run the DirectX Diagnostic tool to resolve the problem.

Option 2 – Try updating or re-installing DirectX

If the DirectX Diagnostic tool didn’t work, you can try to update or reinstall DirectX instead. This can help in fixing the problem because when you reinstall or update DirectX, it will replace the incompatible or corrupted components of DirectX from your computer.

Option 3 – Try to run the DISM commands

You might want to repair potentially corrupted files in your system as having them could also trigger the dxgkrnl.sys Blue Screen error. To repair these corrupted system files, you can run the DISM commands:

  • Tap the Win + X keys and click on the “Command Prompt (Admin)” option.
  • After that, input each one of the commands listed below sequentially to execute them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth
  • Once you’ve executed the commands given above, restart your computer and check if the dxgkrnl.sys Blue Screen error is now fixed.

Option 4 – Try updating or reinstalling your Graphics drivers

Updating or reinstalling the Graphics drivers in your computer can also help in resolving compatibility issues between the operating system and the driver that also cause this kind of BSOD error.

  • First, boot your computer into Safe Mode.
  • After that, tap the Win + R keys to launch Run.
  • Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
  • After that, a list of device drivers will be displayed. From there, look for the Display Adapters and click on them.
  • After that, right-click on each entry under the Display Adapters and select the “Uninstall Device” option from the menu.
  • Now restart your computer.
  • After restarting your computer, go to the Settings app and Check for Updates in the Windows Update section.

Note: You also have the option to go directly to the website of your graphics card manufacturers like NVIDIA, Intel, or AMD and go to the section called Drivers then check if there’s a new available update – if there is, download and install it.

Option 5 – Try to run the Blue Screen Troubleshooter

As you know, the Blue Screen troubleshooter is a built-in tool in Windows 10 that helps users in fixing BSOD errors like dxgkrnl.sys. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:

  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.

Option 6 – Try disabling the SLI Technology in NVIDIA Control Panel

In case you don’t know, there is a technology called SLI that comes with the NVIDIA graphics cards. With the help of this technology, the usage of various GPUs is allowed on a computer and hence helps in triggering the Alternate Frame Rendering and boosts the Graphics Performance directly. This is why this option to disable the SLI technology is suitable in fixing the problem if you are using an NVIDIA Graphics card.

  • Search for NVIDIA Control Panel in the Cortana Search box and then click on the related search result or you can also right-click on the NIVIA icon located in the system tray and then select the NVIDIA Control Panel to open it.
  • After that, navigate to the 3D settings section.
  • Then select the “Set SLI Configuration” option and click on the “Do Not Use SLI Technology” option.
  • Now click on Apply located at the bottom-right corner of the window to save the changes made.
  • Restart your computer.

Option 7 – Try turning off NVIDIA Surround

Note that this option is only applicable if your computer is using the NVIDIA Graphics card.

  • In the Cortana Search box, search for NVIDIA Control Panel and click on the related search result.
  • After opening the NVIDIA Control Panel, go to 3D Settings > Configure Surround, PhysX.
  • Now uncheck the “Span displays with Surround” option and then click on the Apply and OK buttons to save the changes made.
  • Restart your computer.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

How to Resolve Error Code 0x80070422 on Windows 10

Error Code 0x80070422

Error code 0x80070422 is a Windows-based error code occurring in various versions of Windows including Windows 7, Windows 8 and Windows 8.1, and Windows 10. It usually occurs when users attempt to update Windows. A message box will appear stating that the error code has occurred.  Users will notice the following common symptoms:

  • Inability to complete Windows updates
  • Error message occurring during use of Windows Update service

The error code, if left unresolved, can cause serious problems for PC users as they will be unable to access the latest updates to the Windows operating system. Such a situation can expose their system to vulnerabilities. Thus, fixing Windows 10 error code is of utmost importance.

Solution

Restoro box imageError Causes

Among the many reasons Error code 0x80070422  is encountered includes:

  • Corrupted or missing registry and DLL files
  • Badly or poorly installed software. The software could also be infected by a virus or Trojan
  • Outdated or poorly installed drivers

Further Information and Manual Repair

Fixing Windows-based error codes can be a simple process. However, in some cases, it requires specialized skills. In the case of Windows 10 error code 0x80070422 consider the two (2) main solutions available through manual repair. You may also need to consider help from a certified Windows repair technician or the use of an automated tool if you are not confident you have the skills to perform the solutions below.

Method 1: Check if Windows Update is Running Properly

One of the main reasons for error code 0x80070422 is a Windows Update service that is not running on the right settings. To verify if an issue with your Windows Update service is the source of the problem applies the following steps:

  1. Type “Windows Update” in the search bar near the Windows home button.
  2. Select “Windows Update settings” when this option appears. (You may also click the home button, then “Settings” followed by “Update and Security”.)
  3. Select “Advanced Options”
  4. (You will be given an option to choose how updates are installed.) Select Automatic.
  5. Save settings and restart the computer.

Once these settings are in place Windows will be able to download updates automatically. This enables your machine to run more smoothly. However, if after applying the steps above, Windows 10 error code 0x80070422 is not resolved, you may proceed to solution two (2).

Method 2: Disable Internet Protocol Version 6 (IPv6)

IPv6 is the latest or most current version of Internet Protocol (IP). This provides your machine with an IP address, a crucial aspect of all communications related to the Internet. By disabling this IP some users have been able to successfully resolve Windows 10 error code 0x80070422.

Like many tasks involving Windows, there are more than one ways in which you can attempt to disable IPv6. These require different types of skills and must be approached with care, as mistakes can lead to serious issues with your machine. Methods include using Command Prompt, Registry Editor, or Control Panel.

If your experience with Windows 10 is quite limited and you are not certain of your skills choose the simplest approach as listed below.

  1. Select Control Panel.
  2. Choose “Network and Internet”, then “Network and Sharing Center”.
  3. Right-click your Internet Connection. The name of your connection will be listed underneath the heading – “View your basic network connection and set up connections”.
  4. Select “Properties” then uncheck Internet Protocol version 6 (IPv6)
  5. Save settings by clicking OK.
  6. Restart the computer and check if the 0x80070422 error code has been corrected.

Method 3: Using An Automated Tool

If the issue persists despite following the solutions above, the best step to take is to use an automated tool. This may not be your preferred course of action, especially since it can be difficult to ascertain the safety of certain tools found online. For this reason, choose a reputable source offering automated tools which are designed to specifically fix Windows 10 error code including error code 0x80070422.

Download and install a powerful automated tool to access the best Windows 10 error code solutions. The process is simple and includes clear instructions which enable even average Windows users to completely resolve complicated errors on their machine.

How to Stop Future Error Codes from Occurring

Though it is hard to predict when an error code will occur, each Windows 10 user can take precautionary steps to prevent other errors from occurring. This includes the following:

  • Ensure you download software from reputable sources to avoid viruses and other forms of malware.
  • Clean your registry often. The registry stores settings across all applications. Regular cleaning will your machine function more efficiently as it reduces the likelihood of issues such as crashes or system errors.
Read More
Disable or Enable App Launch Tracking
The Windows 10 operating system utilizes a variety of measures in order to track your app launches so that it can boost both your start and search results. It can personalize the start menu based on the apps that you use the most on the Start menu as well as the search results. This way, the App Launch Tracking is definitely useful especially when you want to access your favorite and frequently used apps quickly in the Start menu and search results on your Windows 10 computer. On the other hand, Windows 10 provides users with the ability to control their privacy settings in order to protect the privacy of users. Windows 10 users can either opt to enable the app launch tracking to improve the start menu and search menu or opt to disable the app launch tracking in order to prevent the Windows operating system from tracking that you open if you really value your privacy that much. Whichever setting you prefer, you need to change the privacy control settings as well as make some tweaks in the Windows Registry in order to turn on or turn off the app launch tracking feature.

Option 1 – Turn off or turn on app launch tracking via Settings

  • Go to Settings and click on Privacy.
  • After that, toggle On the “Let Windows track app launches to improve Start and search results” option on the right side of the page under the General Settings to enable the app launch tracking feature.
  • And of course, if you wish to disable the app launch tracking feature, simply toggle Off the “Let Windows track app launches to improve Start and search results” option on the very same page under General Settings.
  • After that, close the Settings window.
Note: Keep in mind that when you disable the app launch tracking feature, the “Show most used app” setting will either be grayed out or labeled as “Disable” on your Windows 10 computer. Thus, if you want to keep viewing the most used apps, just re-enable the app launch tracking feature if you have disabled it.

Option 2 – Turn off or turn on app launch tracking via Windows Registry

Before you proceed, make sure to create a System Restore point
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and hit Enter or click OK to open the Registry Editor.
  • Next, navigate to the following path:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
  • After that, right-click on the Advanced folder and then click on New to create a new 32-bit DWORD value.
  • Name the newly created DWORD as “Start TrackProgs” and set its value to “1” to enable the app launch tracking feature.
  • If you want to disable the app launch feature, set “0” as the value instead of 1.
  • Now click OK and restart your computer.
Take note that you still have to create a 32-bit DWORD value even if you are using a 64-bit Windows computer.
Read More
A Quick Fix Guide to Error 0x8004060c

What's Error 0x8004060c?

If you use Ms-Outlook. You may experience the malfunction 0x8004060c sooner or later. This malfunction was proven to arise in nearly every MS Outlook variation be it 2010 or 2,000, 2007. The malfunction 0x8004060c hinders your capacity to deliver and get e-mails from and your MS-Outlook account and happens without any forewarning. The error happens when the PST file grows too big and there's almost no memory to handle the increase (Which is rather rare nowadays). Generally, the PST file has about 2 gigabytes upper limit and when you reach that, this error is unavoidable. This error happens when you attempt incorporating data that is fresh into your MS-OUTLOOK Account.

Solution

Restoro box imageError Causes

This malfunction might generate difficulties for you personally as your e-mails vanish and can happen suddenly. The system could also crash at times unpredictably. You may not be able to see fresh notifications and attachments in your e-mail. Also, it's also possible to drop significant contact details. What's more, this malfunction could stop e-mails that are fresh to arrive in your inbox. Therefore, it is undoubtedly a significant issue that has to be repaired immediately. The following may be some of the causes for error 0x8004060c:-
  • This error might occur when OST/PST file got corrupt.
  • OST file becomes inaccessible due to Exchange connectivity or synchronization issue.
  • OST/PST file exceeded its default maximum file size.

Further Information and Manual Repair

In the event that you find the malfunction 0x8004060c at any stage, you should do the repair instead of risking dropping connections and all the significant data in your account. The easiest way to repair this malfunction and to handle this issue would be to download the Restoro. Click here to obtain this fix tool on your computer. After installing, click your mouse's left button after which can use the application. It repairs the error code 0x8004060c in the least period and walks you through the entire repair procedure quickly.
Read More
Fix CHKDSK is not available for RAW drives
One of the most useful tools you can use to repair bad or corrupted sectors in the hard disk of your computer is the CHKDSK utility. However, there are also instances when this Disk Checking tool could encounter some issues and one of them is the error that states, “The type of the file system are RAW, CHKDSK is not available for RAW drives”. This kind of issue is due to the RAW file format which is not recognized by the Windows operating system that you’ve installed which explains why you’re getting this error when running the CHKDSK utility. You can also encounter this error in case there is something wrong with the drive encryption. To fix this error, you have to change the File System of the drive. How? Refer to the steps given below. Step 1: The first thing you need to do is create a bootable Windows 10 media. Step 2: After that, click on Repair your computer on the first Windows 10 installation setup window. Step 3: Next, you have to select the operating system partition from the given options and then click on Next. Step 4: Now select Command Prompt from the System Recovery Options box and then type the following command and tap Enter to initiate the Diskpart utility inside Command Prompt.
diskpart
Step 5: Afterwards, type in either of the following commands to help you in either listing all the Disk connects or all the partitions on those disks formed.
diskpart or list volume
Step 6: Next, you need to select any of the two given commands below depending on the list you entered on the previous step.
select disk # or select volume #
Step 7: After you enter the command, it will select the Disk or the Partition you want to select. Now you have to type and enter the following command to clean your drive.
clean
Step 8: Now enter any of the two following commands.
list disk or list volume
Step 9: Then type the next command below to create a specified partition.
create partition primary
Step 10: Once done, type in the following command to select the newly created partition.
select partition 1
Step 11: Next, type the following command to mark the selected partition as active.
active
Step 12: Finally, restart your computer to successfully apply the changes made and then see if it has fixed the problem or not.
Read More
What is and how to Remove Shortcut Virus
Shortcut virus is an easily spreadable and annoying combination of Worm and Trojan that hides all of your files and folders and then replaces them with shortcuts that look identical to replaced files and folders. Shortcut virusOnce disguised it will wait patiently for a user's click and once that happens it will replicate itself and further infect the system. This rapid spread can lead to stolen personal data, some system hick-ups, and other system-related issues. This malware mainly affects physical file transfer devices like for example and most USB drives, hard drives, and SD memory cards and it can easily transfer itself to the computer. The advantage of this shortcut virus comparing it to others is that it is mostly undetected by a vast variety of antivirus software. So running just anti-virus software maybe not be enough to remove it from your system. Luckily for all unfortunate users that have caught this annoyance, it can be easily removed fully manually in a short time.

How to Remove Virus from USB and other removable media

Firstly plugin USB, SD, or removable drive. The infection will transfer to your computer when the infected drive is plugged in so before we go to clean the computer itself, clean each removable drive that you have. Also know that infection will spread from computers into removable devices as well if it is not cleaned. Open the File Explorer and remember under which letter is removable drive registered. Open Command prompt but with administrator privileges and go to infected rive by typing its letter followed with “:” (for example D:) and press ENTER Once you have successfully gone to infected drive type in command prompt: Attrib -s -r -h /s /d *.* This will unlock all original files back into removable storage, next copy all files to your computer, and format the removable drive. Once the format is complete, unplug the removable device. Continue to clean all devices with the same method.

How to Permanently Remove a Shortcut Virus from Your PC

Now once we have cleaned all removable devices it is time to fully clean the PC Firstly open the task manager ( CTRL + SHIFT + ESC ), in the process tab find wscript.exe or wscript.vbs, right-click on it (or both if present), and select End Task. Now close the task manager and press Start. Inside start typing in registry editor to search for it and once found open it. Find the following key inside the registry editor: HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Run In the right panel, look for any strange-looking key names, such as odwcamszas, WXCKYz, OUzzckky, etc. For each one, run a Google search to see if it's related to shortcut viruses. If any returns a positive match, right-click on them and select Delete. !!! Accidentally deleting an important key can cause Windows to become unstable, so double-check everything !!!. Close the Registry Editor Now press ⊞ WINDOWS + R to open the run dialog and type in it Msconfig followed by ENTER. Once the System Configuration window opens go to the Startup tab. In the Startup tab, look for any strange-looking .EXE or .VBS programs, select each one and click Disable. Close the Window. Once again open the run dialog and type inside %TEMP% and press ENTER in order to open the Windows temp folder. Inside this folder delete everything. Next in the File explorer go to C:\Users\[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Look for any strange-looking .EXE or .VBS files and delete them.
Read More
Fix Logitech Blue Yeti mic not working in W11
Blue Yeti has gained popularity among streamers and users that want a high-quality mic for their setup. Without going into details of the hardware itself I will say it is a pretty good mic. Now the issues that have been reported with it are that Windows 11 can have issues with it resulting in the microphone not being recognized by the operating system. If you are one of the unfortunate Blue Yeti users and have this issue, do not despair because we have a solution for you, several to be more precise so you can easily fix the issue and get back to talking.

logitech blue yetiCheck cables

Sometimes it is not a software problem at all. First thing is to check if by any chance cable of the mic is disconnected, damaged, or similar. If the cable seems fine next step is to plug in the mic into another port in order to eliminate faulty jack on the computer. If nothing happened the last thing to try is to connect the mic to another computer so we can be sure that the mic itself is in working order so we can focus on software. If by any chance mic is not working on another computer that some hardware inspection of it will be required.

Set Blue Yeti as a default device

There is a chance that Windows 11 has not set Blue Yeti as a default audio device for recording and therefore you can not use it. In order to eliminate and fix this issue, right-click on the speaker icon on the taskbar in the far-right part of it and choose sound settings. Go down to the input section and pick Blue Yeti beside Choose device for speaking or recording.

Update driver

More often than not device not working is tied to malfunctioning or a bad driver. In order to eliminate and resolve this issue right click on the Start icon and choose device manager. Inside device manager expand the Sound, video and game controllers section. Right-click on each device in the section and choose update driver. Wait for the update to complete and restart your system.

Run the troubleshooter

Press ⊞ WINDOWS + I to open Windows settings. Go to System in the left pane and click on it. In the right panel choose and click on troubleshoot. Inside troubleshoot click on Other. Scroll down and locate the Recording Audio troubleshooter and then click on Run next to it. Wait for the troubleshooter to finish and follow on-screen instructions to resolve the issue.

Check Blue Yeti microphone privacy setting

Not very often, but sometimes privacy settings can be the issue even when everything else is working perfectly. In order to check privacy settings press ⊞ WINDOWS + I to open Windows settings and go to Privacy & Security on the left panel and click on it. On the right panel click on the microphone. Make sure that toggle next to Let apps access your microphone is ON.
Read More
Fix High CPU usage by IAStorDataSvc in Windows
If your Windows 10 computer is currently experiencing high CPU usage because of the IAStorDataSvc, read on as this post will show you what you can do to resolve the issue. The high CPU usage of IAStorDataSvc is because of the Intel Rapid Storage Technology. It appears as a Service that may not only result in high CPU usage but also high disk and memory usage, as well as slow computer performance and overheating of your PC. This problem usually occurs on HP computers and on any computers that are using the Intel Rapid Storage Technology. You might also notice that your fan runs at high speed each time this issue occurs with the average CPU usage spiking up to 50%. Take note that this service is used to speed up file access. However, if you are not using an SSD on your computer, then it’s not really necessary for you to have the IAStorDataSvc installed. To resolve this issue, here are some options you can try.

Option 1 – Update or reinstall or remove the IAStorDataSvc driver

Before you proceed, you need to decide first if you want to update, reinstall or remove the IAStorDataSvc driver. To make things easier for you, you can try downloading the latest driver from the Intel Download Centre and then install it on your computer. If it works, good, but if not, you might want to consider removing the driver completely and just let the Windows Update look for the right driver for your computer after you restart it. There are times when the drivers installed are incompatible with the latest Windows update which results in issues like high CPU usage.
  • Tap the Win + X + M combination on your keyboard to open the Device Manager.
  • After that, look for the Intel Rapid Storage Technology driver, right-click on it and then select Uninstall.
  • Now restart your computer for the changes to take effect.
Note: You might also have to go to the list of installed programs and uninstall a program that is listed as “Intel Rapid Storage Technology driver”. To do so, refer to these steps:
  • In the Cortana Search box, type “control panel” and from the search results that appear, click on Control Panel.
  • After opening Control Panel, select Programs > Programs and Features which will open the list of installed programs on your computer.
  • From there, look for Intel Rapid Storage Technology and uninstall it.

Option 2 – Try to disable the IAStorDataSvc via Services Manager

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “services.msc” in the field and hit Enter to open Services.
  • Next, look for the Intel Rapid Storage Technology services from the list of services and then double-click it.
  • Then change its Startup type to “Disabled”.
  • After that click on the Apply button and then OK to save the changes made.
  • Now exit the Services window and check if the problem’s resolved.
Read More
Troubleshooting Error 106

What Is Error 106?

Error 106 is a common error experienced by Windows 7 users. Generating as a result of Misconfigured, damaged or corrupt system files on the computer, this is not a critical error. However, troubleshooting this error is important to keep any undesired inconvenience at bay. Essentially, error 106 is one of the error codes employed by Windows and other compatible driver and software vendors. The 106 in this error is essentially the memory address or location where the instructions reside when the error was generated.

Solution

Restoro box imageError Causes

Primarily, error 106 is caused by the damaged, Misconfigured or corrupt system files. The error may appear harmless at first. However, if allowed to persist, it can lead to grave consequences. Allowing an error to thrive on your system is synonymous with putting the well-being of your system at risk. As far as the events, conditions, or scenarios are concerned that lead to the generation of error 106, they are listed below as follows. It is important to understand that these conditions lead to the corruption of system files in most cases.
  • An improper or incomplete installation or uninstallations
  • Improper or incomplete deletion of hardware or applications
  • Improper, unintentional or sudden system shutdown
  • Existence of adware, spyware, malware, or virus on your computer
It is worth mentioning that any of the conditions listed above can lead to the corruption of system files or registry entries in the system. Since the system needs correct and complete files for proper functioning which the system will be unable to find, it will result in unexplained behavior. This also happens because the system will be lead to wrongly linked or missing information.

Further Information and Manual Repair

There are different ways to rectify this error but two of the most useful ones are briefly listed below as follows.
  • This solution is for the advanced user. First and foremost, turn on your system. Log on to it as the Administrator. Now click on the start button and follow this sequence: All Programs -> Accessories -> System Tools -> System Restore.A new window will appear in front of you. On this window, choose the option, ‘Restore my computer to an earlier time’. Now click Next.A list of restore points will appear in front of you. From this list, choose the most recent Restore Point and click Next. Click Next on the confirmation windows. Restart the computer when the restoration is complete.
  • This solution for the novice user. Download an error 106 windows repair utility. Now install this program on your computer and use it to scan your computer. Try to locate the option for fixing errors as soon as the scan complete. Make use of this option. Once all the errors have been fixed, restart your computer once again. You will now realize that the error has vanished and your computer is now free of error 106.
Use any of the solutions listed above according to your skill level.
Read More
Make AI images on your local PC

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".

stable diffusion

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.

Hardware and software requirements

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:

  • A GPU with at least 4GB of VRAM
  • 10GB of hard disk space
  • Python and libraries (Miniconda3 installer will install everything you need)
  • The Stable Diffusion files
  • Git
  • Any OS (Windows, Linux, macOS)

Installing components

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.

GIT

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").

Miniconda3

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.

Stable Diffusion

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.

Running Stable Diffusion

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

Read More
Fix 0x80071AC3, Volume is dirty error message
If you are trying to copy a folder or a file but encountered an error that says, “An unexpected error is keeping you from copying the folder. If you continue to receive this error, you can use the error code to search for help with this problem”, read on as this post will guide you on how you can fix this error. This kind of error is a CHKDSK error. It is the “Volume is dirty” error message with error code 0x80071AC3 which indicates that the CHKDSK operation on your computer did not go through due to some corrupted sector of your hard drive, data corruption, corrupted system files, malware infection, as well as improper installation of an application that left some residual folders and files and many more. To fix the Error 0x80071AC3, here are some potential fixes you can check out to resolve it:

Option 1 – Run the Check Disk utility

You can also run the Check Disk utility to fix the error when you connect your USB or external device.
  • In the Windows Search box, type “command prompt” and from the search results, right-click on Command Prompt and select “Run as administrator”.
  • After opening Command Prompt, type this command and tap Enter: chkdsk /r /f <PARTITION LETTER>
  • The command you entered will start to check for errors and fix them automatically. Else, it will throw an error message saying, “Chkdsk cannot run because the volume is in use by another process. Would you like the schedule this volume to be checked the next time the system restarts? (Y/N)”.
  • Tap the Y key to schedule Disk Check the next time your computer restarts.

Option 2 – Try to check if a particular volume is dirty and exclude it

The next thing you can do to fix the problem is to check if the particular volume is dirty and exclude it. To do so, follow these steps:
  • In the Start Search, type “command prompt” in the field and right-click on Command Prompt from the search results, and then select the “Run as administrator” option.
  • After opening Command Prompt with admin privileges, execute this command: fsutil dirty query <PARTITION LETTER>
  • After that, you will see either of the following results of the command you just executed:
    • “Volume <PARTITION LETTER> is dirty”
    • “Volume <PARTITION LETTER> is not dirty”
  • If you see the “Volume <PARTITION LETTER> is dirty” message, then you can just skip checking the drive for errors by executing this command: CHKNTFS /X <PARTITION LETTER>

Option 3 – Try to format the destination drive

If the first two options above didn’t work, then you might want to try formatting the drive can also help you resolve the error. To format it, follow these steps:
  • To get started formatting your drive, tap the Win + E keys and then go to the access page of the drive.
  • Next, right-click on the drive and select Format.
  • After that, uncheck the “Quick Format” option and then format your drive properly.
  • Now once the formatting process is finished, unplug the drive and plug it back in afterward.
  • Check if the error is already fixed. If the drive is not initialized, tap the Win + R keys and hit Enter.
  • After opening the Run dialog box, type “diskmgmt.msc” and hit Enter to open Disk Management.
  • From there, right-click on the drive volume and select initialize disk.
  • Next, select the correct partition type and proceed.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status