Last active
April 11, 2020 13:33
-
-
Save GarnetSunset/b0fedd52a59dfaa3cf46c2dc7cd4d455 to your computer and use it in GitHub Desktop.
vulkanUpdate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registryFront = "Windows Registry Editor Version 5.00\n\n[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers]\n\"C:\\\\Windows\\\\System32\\\\DriverStore\\\\FileRepository\\\\" | |
registryEnd = "\\\\nv-vk64.json\"=dword:00000000\n\n" | |
import os, time | |
cwd = os.getcwd() | |
os.chdir("C:/Windows/System32/DriverStore/FileRepository") | |
all_subdirs = [d for d in os.listdir('.') if os.path.isdir(d) and "nv_dispi.inf_amd64_" in d ] | |
latest_subdir = max(all_subdirs, key=os.path.getmtime) | |
os.chdir(cwd) | |
regFile = open("vulkanUpdate.reg", "w") | |
regFile.write(registryFront+latest_subdir+registryEnd) | |
regFile.close() | |
print("Double click \"vulkanUpdate.reg\" to install the registry key") | |
time.sleep(5) |
Author
GarnetSunset
commented
Apr 11, 2020
via email
Reinstall your drivers mate
I don't fix drivers sorry
…On Sat, Apr 11, 2020 at 9:01 AM AndreaFranco22 ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
[image: Cattura]
<https://user-images.githubusercontent.com/63497354/79044410-4c007300-7c05-11ea-8ef7-e25e162a44fd.PNG>
thisis what happens when i open vulkaninfo
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://gist.github.com/b0fedd52a59dfaa3cf46c2dc7cd4d455#gistcomment-3250056>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGO5IXEJDFPWJO2QT7WVGTRMBS4JANCNFSM4IJFPODQ>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment