stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Nvidia driver 522.25 dont let the gui start and driver 526.47 gives you blue screen of deaths in generating mode
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
so i had this bug some days ago, https://drive.google.com/file/d/15ANeWRqdvijZNjWwyMolvU1QBfNDiny0/view
Nvidia driver 522.25 dont let the gui start and driver 526.47 gives you blue screen of deaths in generating mode
Steps to reproduce the problem
- use an geforce 3060 12gig with nvidia driver 522.25.
- use windows 10 pro
- load the webui-user.bat with this commands @echo off set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= git pull origin master call webui.bat you get this text: `remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (2/2), done. remote: Total 5 (delta 3), reused 5 (delta 3), pack-reused 0 Unpacking objects: 100% (5/5), 599 bytes | 4.00 KiB/s, done. From https://github.com/AUTOMATIC1111/stable-diffusion-webui
- branch master -> FETCH_HEAD
fb39314..198a1ff master -> origin/master
Updating fb39314..198a1ff
Fast-forward
modules/api/api.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
venv "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: 198a1ffcfc963a3d74674fad560e87dbebf7949f
Installing torch and torchvision
Traceback (most recent call last):
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 248, in
prepare_enviroment() File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 169, in prepare_enviroment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch") File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 34, in run raise RuntimeError(message) RuntimeError: Couldn't install torch. Command: "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 Error code: 1 stdout: stderr: D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip
Drücken Sie eine beliebige Taste . . .`
- use driver 526.475 the gui now starts and can be used
- generate some proms with negative proms as well
- use generated picture in "inpaint" mark any section of the picture and only use positive promts no negatives
- get after some generating an "blue screen of death".
- to dont get it go back to 522.25 but than the gui dont work again...... repeat....... :(
What should have happened?
GUI should work normally and generating should not produce BSOD
Commit where the problem happens
i run the latest version of AUTOMATIC1111 / stable-diffusion-webui nothing else
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
no
Additional information, context and logs
???
Have you tried running the Nvidia drivers install using the custom option and using 'clean install'? It might be you have some old nvidia drivers left in causing issues. Clean install will make sure everything old is removed and drivers are uninstalled before installing the new ones.
Also if you're using a A111 build for a long time and have been using git pulls to update it could have introduced some issues with old packages over time. Try deleting the venv directory and let it completely rebuild from scratch using the webui-user.bat. This will install all the latest packages from requirements and ensure everything is compatible.
These are the only suggestions I have at the moment.
its always an clean install. i never ever install something over the old one.
i deleted the vent folder and this happens `From https://github.com/AUTOMATIC1111/stable-diffusion-webui
- branch master -> FETCH_HEAD
Already up to date.
Creating venv in directory venv using python "C:\Users\Admin\AppData\Local\Programs\Python\Python310\python.exe"
venv "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: 198a1ffcfc963a3d74674fad560e87dbebf7949f
Installing torch and torchvision
Traceback (most recent call last):
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 248, in
prepare_enviroment() File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 169, in prepare_enviroment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch") File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\launch.py", line 34, in run raise RuntimeError(message) RuntimeError: Couldn't install torch. Command: "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 Error code: 2 stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113 Requirement already satisfied: torch==1.12.1+cu113 in d:\ai\super sd 2.0 dependencies\stable-diffusion-webui\venv\lib\site-packages (1.12.1+cu113) Requirement already satisfied: torchvision==0.13.1+cu113 in d:\ai\super sd 2.0 dependencies\stable-diffusion-webui\venv\lib\site-packages (0.13.1+cu113)
stderr: ERROR: Exception: Traceback (most recent call last): File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 3021, in _dep_map return self._dep_map File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2815, in getattr raise AttributeError(attr) AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 3012, in _parsed_pkg_info return self.pkg_info File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2815, in getattr raise AttributeError(attr) AttributeError: _pkg_info
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\cli\base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\cli\req_command.py", line 247, in wrapper
return func(self, options, args)
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\commands\install.py", line 369, in run
requirement_set = resolver.resolve(
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 481, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 373, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 213, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 203, in _get_updated_criteria
for requirement in self._p.get_dependencies(candidate=candidate):
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\resolution\resolvelib\provider.py", line 237, in get_dependencies
return [r for r in candidate.iter_dependencies(with_requires) if r is not None]
File "D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\lib\site-packages\pip_internal\resolution\resolvelib\provider.py", line 237, in
[notice] A new release of pip available: 22.2.2 -> 22.3 [notice] To update, run: D:\AI\SUPER SD 2.0 Dependencies\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Drücken Sie eine beliebige Taste . . .`
Hrm I have drivers 31.0.15.2225 on a 3060, win 10 pro, and have no issues starting and using the web UI.
Closing as stale.