├── .github └── ISSUE_TEMPLATE │ ├── 87-bug-wgame-arcAndXe.yml │ ├── 88-bug-wapp-arcAndXe.yml │ ├── 89-bug-wgame-legacy.yml │ ├── 90-bug-wapp-legacy.yml │ ├── 99-feature-request.yml │ └── config.yml ├── .gitignore ├── .gitmodules ├── CHANGELOG.md ├── IGCIT Driver Switch ├── CMakeLists.txt ├── ExtractDriverForInstallThread.h ├── GetDriversListThread.h ├── IGCIT-logo-dswitch.png ├── IGCITDriverSwitch.qrc ├── IGCITDriverSwitch.rc ├── InstallerProcessWaitThread.h ├── README.md ├── RestoreDriverWaitThread.h ├── icon1.ico ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h └── mainwindow.ui ├── IGCIT Helper ├── CMakeLists.txt ├── ExtractDumpsCompressThread.h ├── IGCITHelper.rc ├── icon1.ico ├── igcithelper-resource.qrc ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h ├── mainwindow.ui └── resources │ └── IGCIT-logo.ico ├── LICENSE ├── README.md └── img ├── IGCIT-logo-256.png ├── about.jpg ├── cpuname.jpg ├── dxdiag.jpg ├── dxdiagDisplay.jpg ├── dxdiagDriverVer.jpg ├── intelgpucenter.jpg ├── intelgpucenterDriverVer.jpg ├── intelgpucenterGpus.jpg ├── intelgpucenterSys.jpg ├── lightshotOpts.jpg ├── lightshotOptsSet.jpg ├── lightshotTray.jpg ├── run.jpg ├── startBtn.jpg ├── sysSettings.jpg ├── winBuildVer.jpg ├── windowsSettings.jpg ├── windowsSettingsEOA.jpg ├── windowsSettingsKbd.jpg └── windowsSettingsShot.jpg /.github/ISSUE_TEMPLATE/87-bug-wgame-arcAndXe.yml: -------------------------------------------------------------------------------- 1 | name: "[Bug Report] Windows Game - Intel® Arc™ & Iris® Xe Graphics" 2 | description: "Intel® Arc™ A-Series, Arc™ B-Series, Iris® Xe Graphics and Intel® Core™ Ultra Processors with Intel® Arc™ Graphics." 3 | labels: 'Info: Needs Replication' 4 | assignees: 'Felipe-Intel' 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | > [!IMPORTANT] 10 | > Fields marked with asterisk (*) are required. 11 | - type: markdown 12 | attributes: 13 | value: '---' 14 | - type: checkboxes 15 | attributes: 16 | label: Requirements 17 | options: 18 | - label: Device is using the [latest drivers](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/Intel-driver-updates) 19 | required: true 20 | - label: Game is not cracked, modded and use the latest patch 21 | required: true 22 | - type: markdown 23 | attributes: 24 | value: '---' 25 | - type: input 26 | attributes: 27 | label: Game 28 | description: "Full name of the game" 29 | validations: 30 | required: true 31 | - type: input 32 | attributes: 33 | label: Game acquisition link 34 | description: "Store page or official site where it is possible to acquire the game" 35 | validations: 36 | required: true 37 | - type: markdown 38 | attributes: 39 | value: '---' 40 | - type: dropdown 41 | attributes: 42 | label: Game Platform 43 | options: 44 | - Steam 45 | - Microsoft Store / Gamepass 46 | - GOG Galaxy 47 | - Ubisoft Connect 48 | - Battle.net 49 | - Epic Games 50 | - Rockstar Games Launcher 51 | - EA app 52 | - Amazon Games app 53 | - Other (please specify) 54 | default: 0 55 | validations: 56 | required: true 57 | - type: input 58 | attributes: 59 | label: Other game platform 60 | description: "Specify your game platform if not present on the list" 61 | - type: markdown 62 | attributes: 63 | value: '---' 64 | - type: input 65 | attributes: 66 | label: Processor / Processor Number 67 | validations: 68 | required: true 69 | - type: input 70 | attributes: 71 | label: Graphic Card 72 | validations: 73 | required: true 74 | - type: markdown 75 | attributes: 76 | value: '---' 77 | - type: dropdown 78 | attributes: 79 | label: GPU Driver Version 80 | options: 81 | - 32.0.101.6881 82 | - 32.0.101.6877 83 | - 32.0.101.6876 84 | - 32.0.101.6874 85 | - 32.0.101.6795 86 | - 32.0.101.6793 87 | - 32.0.101.6790 88 | - 32.0.101.6739 89 | - 32.0.101.6737 90 | - 32.0.101.6734 91 | - 32.0.101.6732 92 | - 32.0.101.6651 93 | - 32.0.101.6647 94 | - Other (Please specify) 95 | default: 0 96 | validations: 97 | required: true 98 | - type: input 99 | attributes: 100 | label: Other GPU Driver version 101 | description: "Specify your GPU driver version, if not present on the list" 102 | - type: markdown 103 | attributes: 104 | value: '---' 105 | - type: dropdown 106 | attributes: 107 | label: Rendering API 108 | options: 109 | - Vulkan 110 | - OpenGL 111 | - DirectX 12 112 | - DirectX 11 113 | - DirectX 10 114 | - DirectX 9 115 | - DirectX 8 116 | - Older (DirectX 7 and lower) 117 | - Not applicable 118 | default: 0 119 | validations: 120 | required: true 121 | - type: markdown 122 | attributes: 123 | value: '---' 124 | - type: dropdown 125 | attributes: 126 | label: Windows Build 127 | options: 128 | - Windows 11 24H2 129 | - Windows 11 23H2 130 | - Windows 11 22H2 131 | - Windows 11 21H2 132 | - Windows 10 22H2 133 | - Windows 10 21H2 134 | - Other (Please specify) 135 | default: 0 136 | validations: 137 | required: true 138 | - type: input 139 | attributes: 140 | label: Other Windows build 141 | description: "Specify your Windows build number if not present on the list" 142 | - type: markdown 143 | attributes: 144 | value: '---' 145 | - type: textarea 146 | attributes: 147 | label: Intel System Support Utility report 148 | description: | 149 | Please generate and attach the output of Intel® System Support Utility here. 150 | 151 | See: [How to generate Intel System Support Utility report - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-generate-Intel-System-Support-Utility-report) 152 | validations: 153 | required: true 154 | - type: markdown 155 | attributes: 156 | value: '---' 157 | - type: textarea 158 | attributes: 159 | label: Description and steps to reproduce 160 | description: | 161 | Make sure you describe the issue and steps to reproduce accurately. 162 | 163 | In addition, if possible, please attach a video showing the following: 164 | 165 | * The start of the game from Windows 166 | * Your game settings 167 | * The issue you encountered 168 | validations: 169 | required: true 170 | - type: markdown 171 | attributes: 172 | value: '---' 173 | - type: checkboxes 174 | attributes: 175 | label: Game graphic quality * 176 | options: 177 | - label: Low 178 | - label: Medium 179 | - label: High 180 | - label: Ultra 181 | - type: markdown 182 | attributes: 183 | value: '---' 184 | - type: input 185 | attributes: 186 | label: Game resolution 187 | description: "Specify your game resolution (1280x720, 1920x1080, ...)" 188 | validations: 189 | required: true 190 | - type: markdown 191 | attributes: 192 | value: '---' 193 | - type: dropdown 194 | attributes: 195 | label: Game VSync 196 | options: 197 | - "On" 198 | - "Off" 199 | validations: 200 | required: true 201 | - type: markdown 202 | attributes: 203 | value: '---' 204 | - type: dropdown 205 | attributes: 206 | label: Game display mode 207 | options: 208 | - Fullscreen 209 | - Windowed 210 | - Borderless Windowed 211 | default: 0 212 | validations: 213 | required: true 214 | - type: markdown 215 | attributes: 216 | value: '---' 217 | - type: textarea 218 | attributes: 219 | label: Detailed game settings 220 | description: | 221 | Please, share your game settings. 222 | 223 | You can attach screenshots of the game setting screens or list them. 224 | validations: 225 | required: true 226 | - type: markdown 227 | attributes: 228 | value: '---' 229 | - type: input 230 | attributes: 231 | label: Device / Platform name 232 | description: "Share your device / platform name. It could be there is a specific constructor issue. [Recommended]" 233 | - type: markdown 234 | attributes: 235 | value: '---' 236 | - type: textarea 237 | attributes: 238 | label: Crash dumps 239 | description: "For more help see: [How to obtain crash dumps - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-obtain-crash-dumps)" 240 | - type: markdown 241 | attributes: 242 | value: '---' 243 | - type: textarea 244 | attributes: 245 | label: Save game files 246 | description: "If available, can help Intel engineers to reproduce and fix the issue faster." 247 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/88-bug-wapp-arcAndXe.yml: -------------------------------------------------------------------------------- 1 | name: "[Bug Report] Windows Application - Intel® Arc™ & Iris® Xe Graphics" 2 | description: "Intel® Arc™ A-Series, Arc™ B-Series, Iris® Xe Graphics and Intel® Core™ Ultra Processors with Intel® Arc™ Graphics." 3 | labels: 'Info: Needs Replication' 4 | assignees: 'Felipe-Intel' 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | > [!IMPORTANT] 10 | > Fields marked with asterisk (*) are required. 11 | - type: markdown 12 | attributes: 13 | value: '---' 14 | - type: checkboxes 15 | attributes: 16 | label: Requirements 17 | options: 18 | - label: Device is using the [latest drivers](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/Intel-driver-updates) 19 | required: true 20 | - label: Application is not cracked 21 | required: true 22 | - type: markdown 23 | attributes: 24 | value: '---' 25 | - type: input 26 | attributes: 27 | label: Application 28 | description: "Full name of the application" 29 | validations: 30 | required: true 31 | - type: markdown 32 | attributes: 33 | value: '---' 34 | - type: input 35 | attributes: 36 | label: Processor / Processor Number 37 | validations: 38 | required: true 39 | - type: input 40 | attributes: 41 | label: Graphic Card 42 | validations: 43 | required: true 44 | - type: markdown 45 | attributes: 46 | value: '---' 47 | - type: dropdown 48 | attributes: 49 | label: GPU Driver Version 50 | options: 51 | - 32.0.101.6881 52 | - 32.0.101.6877 53 | - 32.0.101.6876 54 | - 32.0.101.6874 55 | - 32.0.101.6795 56 | - 32.0.101.6793 57 | - 32.0.101.6790 58 | - 32.0.101.6739 59 | - 32.0.101.6737 60 | - 32.0.101.6734 61 | - 32.0.101.6732 62 | - 32.0.101.6651 63 | - 32.0.101.6647 64 | - Other (Please specify) 65 | default: 0 66 | validations: 67 | required: true 68 | - type: input 69 | attributes: 70 | label: Other GPU Driver version 71 | description: "Specify your GPU driver version, if not present on the list" 72 | - type: markdown 73 | attributes: 74 | value: '---' 75 | - type: dropdown 76 | attributes: 77 | label: Rendering API 78 | options: 79 | - Vulkan 80 | - OpenGL 81 | - DirectX 12 82 | - DirectX 11 83 | - DirectX 10 84 | - DirectX 9 85 | - DirectX 8 86 | - Older (DirectX 7 and lower) 87 | - Not applicable 88 | default: 0 89 | validations: 90 | required: true 91 | - type: markdown 92 | attributes: 93 | value: '---' 94 | - type: dropdown 95 | attributes: 96 | label: Windows Build 97 | options: 98 | - Windows 11 24H2 99 | - Windows 11 23H2 100 | - Windows 11 22H2 101 | - Windows 11 21H2 102 | - Windows 10 22H2 103 | - Windows 10 21H2 104 | - Other (Please specify) 105 | default: 0 106 | validations: 107 | required: true 108 | - type: input 109 | attributes: 110 | label: Other Windows build 111 | description: "Specify your Windows build number, if not present on the list" 112 | - type: markdown 113 | attributes: 114 | value: '---' 115 | - type: textarea 116 | attributes: 117 | label: Intel System Support Utility report 118 | description: | 119 | Please generate and attach the output of Intel® System Support Utility here. 120 | 121 | See: [How to generate Intel System Support Utility report - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-generate-Intel-System-Support-Utility-report) 122 | validations: 123 | required: true 124 | - type: markdown 125 | attributes: 126 | value: '---' 127 | - type: textarea 128 | attributes: 129 | label: Description and steps to reproduce 130 | description: | 131 | Make sure you describe the issue and steps to reproduce accurately. 132 | 133 | In addition, if possible, please attach a video showing the issue. 134 | validations: 135 | required: true 136 | - type: markdown 137 | attributes: 138 | value: '---' 139 | - type: input 140 | attributes: 141 | label: Device / Platform 142 | description: "Share your device / platform name. It could be there is a specific constructor issue. [Recommended]" 143 | - type: markdown 144 | attributes: 145 | value: '---' 146 | - type: textarea 147 | attributes: 148 | label: Crash dumps 149 | description: "For more help see: [How to obtain crash dumps - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-obtain-crash-dumps)" 150 | - type: markdown 151 | attributes: 152 | value: '---' 153 | - type: textarea 154 | attributes: 155 | label: Application / Windows logs 156 | description: "If available, can help Intel engineers to identify and fix the issue faster" 157 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/89-bug-wgame-legacy.yml: -------------------------------------------------------------------------------- 1 | name: "[Bug Report] Windows Game - Intel® Integrated Graphics ( 7th - 10th Gen )" 2 | description: "Report issues in Windows games for 7th-10th Gen Intel® Core™ Processor Graphics, and related Intel Atom®, Pentium®, and Celeron® processors." 3 | labels: 'Info: Needs Replication' 4 | assignees: 'Felipe-Intel' 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | > [!IMPORTANT] 10 | > Fields marked with asterisk (*) are required. 11 | - type: markdown 12 | attributes: 13 | value: '---' 14 | - type: checkboxes 15 | attributes: 16 | label: Requirements 17 | options: 18 | - label: Device is using the [latest drivers](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/Intel-driver-updates) 19 | required: true 20 | - label: Game is not cracked, modded and use the latest patch 21 | required: true 22 | - type: markdown 23 | attributes: 24 | value: '---' 25 | - type: input 26 | attributes: 27 | label: Game 28 | description: "Full name of the game" 29 | validations: 30 | required: true 31 | - type: input 32 | attributes: 33 | label: Game acquisition link 34 | description: "Store page or official site where it is possible to acquire the game" 35 | validations: 36 | required: true 37 | - type: markdown 38 | attributes: 39 | value: '---' 40 | - type: dropdown 41 | attributes: 42 | label: Game Platform 43 | options: 44 | - Steam 45 | - Microsoft Store / Gamepass 46 | - GOG Galaxy 47 | - Ubisoft Connect 48 | - Battle.net 49 | - Epic Games 50 | - Rockstar Games Launcher 51 | - EA app 52 | - Amazon Games app 53 | - Other (please specify) 54 | default: 0 55 | validations: 56 | required: true 57 | - type: input 58 | attributes: 59 | label: Other game platform 60 | description: "Specify your game platform if not present on the list" 61 | - type: markdown 62 | attributes: 63 | value: '---' 64 | - type: input 65 | attributes: 66 | label: Processor / Processor Number 67 | validations: 68 | required: true 69 | - type: markdown 70 | attributes: 71 | value: '---' 72 | - type: dropdown 73 | attributes: 74 | label: GPU Driver Version 75 | options: 76 | - 31.0.101.2135 77 | - 31.0.101.2134 78 | - 31.0.101.2130 79 | - 31.0.101.2128 80 | - 31.0.101.2127 81 | - 31.0.101.2125 82 | - 31.0.101.2121 83 | - Other (Please specify) 84 | default: 0 85 | validations: 86 | required: true 87 | - type: input 88 | attributes: 89 | label: Other GPU Driver version 90 | description: "Specify your GPU driver version, if not present on the list" 91 | - type: markdown 92 | attributes: 93 | value: '---' 94 | - type: dropdown 95 | attributes: 96 | label: Rendering API 97 | options: 98 | - Vulkan 99 | - OpenGL 100 | - DirectX 12 101 | - DirectX 11 102 | - DirectX 10 103 | - DirectX 9 104 | - DirectX 8 105 | - Older (DirectX 7 and lower) 106 | - Not applicable 107 | default: 0 108 | validations: 109 | required: true 110 | - type: markdown 111 | attributes: 112 | value: '---' 113 | - type: dropdown 114 | attributes: 115 | label: Windows Build 116 | options: 117 | - Windows 11 24H2 118 | - Windows 11 23H2 119 | - Windows 11 22H2 120 | - Windows 11 21H2 121 | - Windows 10 22H2 122 | - Windows 10 21H2 123 | - Other (Please specify) 124 | default: 0 125 | validations: 126 | required: true 127 | - type: input 128 | attributes: 129 | label: Other Windows build 130 | description: "Specify your Windows build number if not present on the list" 131 | - type: markdown 132 | attributes: 133 | value: '---' 134 | - type: textarea 135 | attributes: 136 | label: Intel System Support Utility report 137 | description: | 138 | Please generate and attach the output of Intel® System Support Utility here. 139 | 140 | See: [How to generate Intel System Support Utility report - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-generate-Intel-System-Support-Utility-report) 141 | validations: 142 | required: true 143 | - type: markdown 144 | attributes: 145 | value: '---' 146 | - type: textarea 147 | attributes: 148 | label: Description and steps to reproduce 149 | description: | 150 | Make sure you describe the issue and steps to reproduce accurately. 151 | 152 | In addition, if possible, please attach a video showing the following: 153 | 154 | * The start of the game from Windows 155 | * Your game settings 156 | * The issue you encountered 157 | validations: 158 | required: true 159 | - type: markdown 160 | attributes: 161 | value: '---' 162 | - type: checkboxes 163 | attributes: 164 | label: Game graphic quality * 165 | options: 166 | - label: Low 167 | - label: Medium 168 | - label: High 169 | - label: Ultra 170 | - type: markdown 171 | attributes: 172 | value: '---' 173 | - type: input 174 | attributes: 175 | label: Game resolution 176 | description: "Specify your game resolution (1280x720, 1920x1080, ...)" 177 | validations: 178 | required: true 179 | - type: markdown 180 | attributes: 181 | value: '---' 182 | - type: dropdown 183 | attributes: 184 | label: Game VSync 185 | options: 186 | - "On" 187 | - "Off" 188 | validations: 189 | required: true 190 | - type: markdown 191 | attributes: 192 | value: '---' 193 | - type: dropdown 194 | attributes: 195 | label: Game display mode 196 | options: 197 | - Fullscreen 198 | - Windowed 199 | - Borderless Windowed 200 | default: 0 201 | validations: 202 | required: true 203 | - type: markdown 204 | attributes: 205 | value: '---' 206 | - type: textarea 207 | attributes: 208 | label: Detailed game settings 209 | description: | 210 | Please, share your game settings. 211 | 212 | You can attach screenshots of the game setting screens or list them. 213 | validations: 214 | required: true 215 | - type: markdown 216 | attributes: 217 | value: '---' 218 | - type: input 219 | attributes: 220 | label: Device / Platform name 221 | description: "Share your device / platform name. It could be there is a specific constructor issue. [Recommended]" 222 | - type: markdown 223 | attributes: 224 | value: '---' 225 | - type: textarea 226 | attributes: 227 | label: Crash dumps 228 | description: "For more help see: [How to obtain crash dumps - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-obtain-crash-dumps)" 229 | - type: markdown 230 | attributes: 231 | value: '---' 232 | - type: textarea 233 | attributes: 234 | label: Save game files 235 | description: "If available, can help Intel engineers to reproduce and fix the issue faster." 236 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/90-bug-wapp-legacy.yml: -------------------------------------------------------------------------------- 1 | name: "[Bug Report] Windows Application - Intel® Integrated Graphics ( 7th - 10th Gen )" 2 | description: "Report issues in your applications, or Windows itself, for 7th-10th Gen Intel® Core™ Processor Graphics, and related Intel Atom®, Pentium®, and Celeron® processors." 3 | labels: 'Info: Needs Replication' 4 | assignees: 'Felipe-Intel' 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | > [!IMPORTANT] 10 | > Fields marked with asterisk (*) are required. 11 | - type: markdown 12 | attributes: 13 | value: '---' 14 | - type: checkboxes 15 | attributes: 16 | label: Requirements 17 | options: 18 | - label: Device is using the [latest drivers](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/Intel-driver-updates) 19 | required: true 20 | - label: Application is not cracked 21 | required: true 22 | - type: markdown 23 | attributes: 24 | value: '---' 25 | - type: input 26 | attributes: 27 | label: Application 28 | description: "Full name of the application" 29 | validations: 30 | required: true 31 | - type: markdown 32 | attributes: 33 | value: '---' 34 | - type: input 35 | attributes: 36 | label: Processor / Processor Number 37 | validations: 38 | required: true 39 | - type: markdown 40 | attributes: 41 | value: '---' 42 | - type: dropdown 43 | attributes: 44 | label: GPU Driver Version 45 | options: 46 | - 31.0.101.2135 47 | - 31.0.101.2134 48 | - 31.0.101.2130 49 | - 31.0.101.2128 50 | - 31.0.101.2127 51 | - 31.0.101.2125 52 | - 31.0.101.2121 53 | - Other (Please specify) 54 | default: 0 55 | validations: 56 | required: true 57 | - type: input 58 | attributes: 59 | label: Other GPU Driver version 60 | description: "Specify your GPU driver version, if not present on the list" 61 | - type: markdown 62 | attributes: 63 | value: '---' 64 | - type: dropdown 65 | attributes: 66 | label: Rendering API 67 | options: 68 | - Vulkan 69 | - OpenGL 70 | - DirectX 12 71 | - DirectX 11 72 | - DirectX 10 73 | - DirectX 9 74 | - DirectX 8 75 | - Older (DirectX 7 and lower) 76 | - Not applicable 77 | default: 0 78 | validations: 79 | required: true 80 | - type: markdown 81 | attributes: 82 | value: '---' 83 | - type: dropdown 84 | attributes: 85 | label: Windows Build 86 | options: 87 | - Windows 11 24H2 88 | - Windows 11 23H2 89 | - Windows 11 22H2 90 | - Windows 11 21H2 91 | - Windows 10 22H2 92 | - Windows 10 21H2 93 | - Other (Please specify) 94 | default: 0 95 | validations: 96 | required: true 97 | - type: input 98 | attributes: 99 | label: Other Windows build 100 | description: "Specify your Windows build number if not present on the list" 101 | - type: markdown 102 | attributes: 103 | value: '---' 104 | - type: textarea 105 | attributes: 106 | label: Intel System Support Utility report 107 | description: | 108 | Please generate and attach the output of Intel® System Support Utility here. 109 | 110 | See: [How to generate Intel System Support Utility report - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-generate-Intel-System-Support-Utility-report) 111 | validations: 112 | required: true 113 | - type: markdown 114 | attributes: 115 | value: '---' 116 | - type: textarea 117 | attributes: 118 | label: Description and steps to reproduce 119 | description: | 120 | Make sure you describe the issue and steps to reproduce accurately. 121 | 122 | In addition, if possible, please attach a video showing the issue. 123 | validations: 124 | required: true 125 | - type: markdown 126 | attributes: 127 | value: '---' 128 | - type: input 129 | attributes: 130 | label: Device / Platform 131 | description: "Share your device / platform name. It could be there is a specific constructor issue. [Recommended]" 132 | - type: markdown 133 | attributes: 134 | value: '---' 135 | - type: textarea 136 | attributes: 137 | label: Crash dumps 138 | description: "For more help see: [How to obtain crash dumps - IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-obtain-crash-dumps)" 139 | - type: markdown 140 | attributes: 141 | value: '---' 142 | - type: textarea 143 | attributes: 144 | label: Application / Windows logs 145 | description: "If available, can help Intel engineers to identify and fix the issue faster" 146 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/99-feature-request.yml: -------------------------------------------------------------------------------- 1 | name: Feature request 2 | description: Request a feature. 3 | labels: 'Type: Feature Request' 4 | assignees: 'Felipe-Intel' 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | > [!IMPORTANT] 10 | > Fields marked with asterisk (*) are required. 11 | - type: input 12 | attributes: 13 | label: Application 14 | description: "Full name of the application that requires the feature" 15 | validations: 16 | required: true 17 | - type: markdown 18 | attributes: 19 | value: '---' 20 | - type: input 21 | attributes: 22 | label: Processor / Processor Number [Required] 23 | validations: 24 | required: true 25 | - type: input 26 | attributes: 27 | label: Graphic Card 28 | validations: 29 | required: true 30 | - type: markdown 31 | attributes: 32 | value: '---' 33 | - type: checkboxes 34 | attributes: 35 | label: Rendering API 36 | options: 37 | - label: Vulkan 38 | - label: OpenGL 39 | - label: DirectX 12 40 | - label: DirectX 11 41 | - label: DirectX 10 42 | - label: DirectX 9 43 | - label: Not applicable 44 | validations: 45 | required: true 46 | - type: markdown 47 | attributes: 48 | value: '---' 49 | - type: dropdown 50 | attributes: 51 | label: Windows Build 52 | options: 53 | - Windows 11 24H2 54 | - Windows 11 23H2 55 | - Windows 11 22H2 56 | - Windows 11 21H2 57 | - Windows 10 22H2 58 | - Windows 10 21H2 59 | - Other (Please specify) 60 | default: 0 61 | validations: 62 | required: true 63 | - type: input 64 | attributes: 65 | label: Other Windows build 66 | description: "Specify your Windows build number if not present on the list" 67 | - type: markdown 68 | attributes: 69 | value: '---' 70 | - type: textarea 71 | attributes: 72 | label: Describe the feature 73 | validations: 74 | required: true 75 | - type: markdown 76 | attributes: 77 | value: '---' 78 | - type: textarea 79 | attributes: 80 | label: Additional notes 81 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Ww][Ii][Nn]32/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Ll]og/ 33 | [Ll]ogs/ 34 | 35 | # Visual Studio 2015/2017 cache/options directory 36 | .vs/ 37 | # Uncomment if you have tasks that create the project's static files in wwwroot 38 | #wwwroot/ 39 | 40 | # Visual Studio 2017 auto generated files 41 | Generated\ Files/ 42 | 43 | # MSTest test Results 44 | [Tt]est[Rr]esult*/ 45 | [Bb]uild[Ll]og.* 46 | 47 | # NUnit 48 | *.VisualState.xml 49 | TestResult.xml 50 | nunit-*.xml 51 | 52 | # Build Results of an ATL Project 53 | [Dd]ebugPS/ 54 | [Rr]eleasePS/ 55 | dlldata.c 56 | 57 | # Benchmark Results 58 | BenchmarkDotNet.Artifacts/ 59 | 60 | # .NET Core 61 | project.lock.json 62 | project.fragment.lock.json 63 | artifacts/ 64 | 65 | # ASP.NET Scaffolding 66 | ScaffoldingReadMe.txt 67 | 68 | # StyleCop 69 | StyleCopReport.xml 70 | 71 | # Files built by Visual Studio 72 | *_i.c 73 | *_p.c 74 | *_h.h 75 | *.ilk 76 | *.meta 77 | *.obj 78 | *.iobj 79 | *.pch 80 | *.pdb 81 | *.ipdb 82 | *.pgc 83 | *.pgd 84 | *.rsp 85 | *.sbr 86 | *.tlb 87 | *.tli 88 | *.tlh 89 | *.tmp 90 | *.tmp_proj 91 | *_wpftmp.csproj 92 | *.log 93 | *.tlog 94 | *.vspscc 95 | *.vssscc 96 | .builds 97 | *.pidb 98 | *.svclog 99 | *.scc 100 | 101 | # Chutzpah Test files 102 | _Chutzpah* 103 | 104 | # Visual C++ cache files 105 | ipch/ 106 | *.aps 107 | *.ncb 108 | *.opendb 109 | *.opensdf 110 | *.sdf 111 | *.cachefile 112 | *.VC.db 113 | *.VC.VC.opendb 114 | 115 | # Visual Studio profiler 116 | *.psess 117 | *.vsp 118 | *.vspx 119 | *.sap 120 | 121 | # Visual Studio Trace Files 122 | *.e2e 123 | 124 | # TFS 2012 Local Workspace 125 | $tf/ 126 | 127 | # Guidance Automation Toolkit 128 | *.gpState 129 | 130 | # ReSharper is a .NET coding add-in 131 | _ReSharper*/ 132 | *.[Rr]e[Ss]harper 133 | *.DotSettings.user 134 | 135 | # TeamCity is a build add-in 136 | _TeamCity* 137 | 138 | # DotCover is a Code Coverage Tool 139 | *.dotCover 140 | 141 | # AxoCover is a Code Coverage Tool 142 | .axoCover/* 143 | !.axoCover/settings.json 144 | 145 | # Coverlet is a free, cross platform Code Coverage Tool 146 | coverage*.json 147 | coverage*.xml 148 | coverage*.info 149 | 150 | # Visual Studio code coverage results 151 | *.coverage 152 | *.coveragexml 153 | 154 | # NCrunch 155 | _NCrunch_* 156 | .*crunch*.local.xml 157 | nCrunchTemp_* 158 | 159 | # MightyMoose 160 | *.mm.* 161 | AutoTest.Net/ 162 | 163 | # Web workbench (sass) 164 | .sass-cache/ 165 | 166 | # Installshield output folder 167 | [Ee]xpress/ 168 | 169 | # DocProject is a documentation generator add-in 170 | DocProject/buildhelp/ 171 | DocProject/Help/*.HxT 172 | DocProject/Help/*.HxC 173 | DocProject/Help/*.hhc 174 | DocProject/Help/*.hhk 175 | DocProject/Help/*.hhp 176 | DocProject/Help/Html2 177 | DocProject/Help/html 178 | 179 | # Click-Once directory 180 | publish/ 181 | 182 | # Publish Web Output 183 | *.[Pp]ublish.xml 184 | *.azurePubxml 185 | # Note: Comment the next line if you want to checkin your web deploy settings, 186 | # but database connection strings (with potential passwords) will be unencrypted 187 | *.pubxml 188 | *.publishproj 189 | 190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 191 | # checkin your Azure Web App publish settings, but sensitive information contained 192 | # in these scripts will be unencrypted 193 | PublishScripts/ 194 | 195 | # NuGet Packages 196 | *.nupkg 197 | # NuGet Symbol Packages 198 | *.snupkg 199 | # The packages folder can be ignored because of Package Restore 200 | **/[Pp]ackages/* 201 | # except build/, which is used as an MSBuild target. 202 | !**/[Pp]ackages/build/ 203 | # Uncomment if necessary however generally it will be regenerated when needed 204 | #!**/[Pp]ackages/repositories.config 205 | # NuGet v3's project.json files produces more ignorable files 206 | *.nuget.props 207 | *.nuget.targets 208 | 209 | # Microsoft Azure Build Output 210 | csx/ 211 | *.build.csdef 212 | 213 | # Microsoft Azure Emulator 214 | ecf/ 215 | rcf/ 216 | 217 | # Windows Store app package directories and files 218 | AppPackages/ 219 | BundleArtifacts/ 220 | Package.StoreAssociation.xml 221 | _pkginfo.txt 222 | *.appx 223 | *.appxbundle 224 | *.appxupload 225 | 226 | # Visual Studio cache files 227 | # files ending in .cache can be ignored 228 | *.[Cc]ache 229 | # but keep track of directories ending in .cache 230 | !?*.[Cc]ache/ 231 | 232 | # Others 233 | ClientBin/ 234 | ~$* 235 | *~ 236 | *.dbmdl 237 | *.dbproj.schemaview 238 | *.jfm 239 | *.pfx 240 | *.publishsettings 241 | orleans.codegen.cs 242 | 243 | # Including strong name files can present a security risk 244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 245 | #*.snk 246 | 247 | # Since there are multiple workflows, uncomment next line to ignore bower_components 248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 249 | #bower_components/ 250 | 251 | # RIA/Silverlight projects 252 | Generated_Code/ 253 | 254 | # Backup & report files from converting an old project file 255 | # to a newer Visual Studio version. Backup files are not needed, 256 | # because we have git ;-) 257 | _UpgradeReport_Files/ 258 | Backup*/ 259 | UpgradeLog*.XML 260 | UpgradeLog*.htm 261 | ServiceFabricBackup/ 262 | *.rptproj.bak 263 | 264 | # SQL Server files 265 | *.mdf 266 | *.ldf 267 | *.ndf 268 | 269 | # Business Intelligence projects 270 | *.rdl.data 271 | *.bim.layout 272 | *.bim_*.settings 273 | *.rptproj.rsuser 274 | *- [Bb]ackup.rdl 275 | *- [Bb]ackup ([0-9]).rdl 276 | *- [Bb]ackup ([0-9][0-9]).rdl 277 | 278 | # Microsoft Fakes 279 | FakesAssemblies/ 280 | 281 | # GhostDoc plugin setting file 282 | *.GhostDoc.xml 283 | 284 | # Node.js Tools for Visual Studio 285 | .ntvs_analysis.dat 286 | node_modules/ 287 | 288 | # Visual Studio 6 build log 289 | *.plg 290 | 291 | # Visual Studio 6 workspace options file 292 | *.opt 293 | 294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 295 | *.vbw 296 | 297 | # Visual Studio 6 auto-generated project file (contains which files were open etc.) 298 | *.vbp 299 | 300 | # Visual Studio 6 workspace and project file (working project files containing files to include in project) 301 | *.dsw 302 | *.dsp 303 | 304 | # Visual Studio 6 technical files 305 | *.ncb 306 | *.aps 307 | 308 | # Visual Studio LightSwitch build output 309 | **/*.HTMLClient/GeneratedArtifacts 310 | **/*.DesktopClient/GeneratedArtifacts 311 | **/*.DesktopClient/ModelManifest.xml 312 | **/*.Server/GeneratedArtifacts 313 | **/*.Server/ModelManifest.xml 314 | _Pvt_Extensions 315 | 316 | # Paket dependency manager 317 | .paket/paket.exe 318 | paket-files/ 319 | 320 | # FAKE - F# Make 321 | .fake/ 322 | 323 | # CodeRush personal settings 324 | .cr/personal 325 | 326 | # Python Tools for Visual Studio (PTVS) 327 | __pycache__/ 328 | *.pyc 329 | 330 | # Cake - Uncomment if you are using it 331 | # tools/** 332 | # !tools/packages.config 333 | 334 | # Tabs Studio 335 | *.tss 336 | 337 | # Telerik's JustMock configuration file 338 | *.jmconfig 339 | 340 | # BizTalk build output 341 | *.btp.cs 342 | *.btm.cs 343 | *.odx.cs 344 | *.xsd.cs 345 | 346 | # OpenCover UI analysis results 347 | OpenCover/ 348 | 349 | # Azure Stream Analytics local run output 350 | ASALocalRun/ 351 | 352 | # MSBuild Binary and Structured Log 353 | *.binlog 354 | 355 | # NVidia Nsight GPU debugger configuration file 356 | *.nvuser 357 | 358 | # MFractors (Xamarin productivity tool) working folder 359 | .mfractor/ 360 | 361 | # Local History for Visual Studio 362 | .localhistory/ 363 | 364 | # Visual Studio History (VSHistory) files 365 | .vshistory/ 366 | 367 | # BeatPulse healthcheck temp database 368 | healthchecksdb 369 | 370 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 371 | MigrationBackup/ 372 | 373 | # Ionide (cross platform F# VS Code tools) working folder 374 | .ionide/ 375 | 376 | # Fody - auto-generated XML schema 377 | FodyWeavers.xsd 378 | 379 | # VS Code files for those working on multiple tools 380 | .vscode/* 381 | !.vscode/settings.json 382 | !.vscode/tasks.json 383 | !.vscode/launch.json 384 | !.vscode/extensions.json 385 | *.code-workspace 386 | 387 | # Local History for Visual Studio Code 388 | .history/ 389 | 390 | # Windows Installer files from build outputs 391 | *.cab 392 | *.msi 393 | *.msix 394 | *.msm 395 | *.msp 396 | 397 | # JetBrains Rider 398 | *.sln.iml 399 | 400 | .idea/ 401 | 402 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider 403 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 404 | 405 | # CMake 406 | cmake-build-*/ 407 | 408 | # File-based project format 409 | *.iws 410 | 411 | # IntelliJ 412 | out/ 413 | 414 | # mpeltonen/sbt-idea plugin 415 | .idea_modules/ 416 | 417 | # JIRA plugin 418 | atlassian-ide-plugin.xml 419 | 420 | # Crashlytics plugin (for Android Studio and IntelliJ) 421 | com_crashlytics_export_strings.xml 422 | crashlytics.properties 423 | crashlytics-build.properties 424 | fabric.properties 425 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "IGCIT Helper/external/bit7z"] 2 | path = IGCIT Helper/external/bit7z 3 | url = https://github.com/rikyoz/bit7z 4 | [submodule "IGCIT Driver Switch/external/bit7z"] 5 | path = IGCIT Driver Switch/external/bit7z 6 | url = https://github.com/rikyoz/bit7z 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | #### IGCIT Helper v2.0.1 2 | * Remove _Net Connection ID_ from logs (closes [552](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/issues/552)) 3 | * Update bit7z to latest 4 | 5 | #### IGCIT Helper v2.0.0 6 | * Fix crash dumps enable option when some keys are missing 7 | * Improve SSU anonimyze option, also apply Pokechu22 suggestions 8 | * List all available/enabled Intel GPUs in the system in Device info 9 | * Rewrite from scratch with QT and C++ 10 | 11 | #### IGCIT Helper v1.5.1 12 | * Remove leftover used to test compression 13 | 14 | #### IGCIT Helper v1.5.0 15 | * Remove export option 16 | * Remove Small memory dumps option 17 | * Add Crash Dumps menu under Tools 18 | * Add option to set Intel recommended settings for crash dumps under Crash Dumps 19 | * Add option to extract and generate an encrypted compress archive of your dumps under Crash Dumps 20 | * Add option to delete all old dump files from your system under Crash Dumps 21 | * Add option to restore default crash dumps settings under Crash Dumps 22 | * Add option to fix WATCHDOG dumps generation under Crash Dumps 23 | * Add Anonymize SSU report option under Tools 24 | * Minor code clean up 25 | 26 | #### IGCIT Helper v1.4.0 27 | * Add Edit TDR delay values option under Tools 28 | * Minor code clean up 29 | 30 | #### IGCIT Helper v1.3.0 31 | * Add a new Tools menu 32 | * Add Enable Small Memory Dump option under Tools 33 | 34 | #### IGCIT Helper v1.2.0 35 | * Add device name and manufacturer 36 | * Add memory information 37 | * Add copy button to all values 38 | * Add menu option to take screenshot of Helper window 39 | 40 | #### IGCIT Helper v1.1.0 41 | * Fix typo 42 | * Add link to IGCIT repo 43 | * More robust code 44 | 45 | --- 46 | 47 | #### IGCIT Driver Switch v4.0.1 48 | * Update bit7z to latest 49 | * Update drivers link 50 | 51 | #### IGCIT Driver Switch v4.0.0 52 | * Add support for new drivers package (exe) 53 | * Remove old drivers package support (zip and igfxpin) 54 | * Remove PowerShell requirement 55 | * Rewrite from scratch with QT and C++ 56 | 57 | #### IGCIT Driver Switch v3.0.0 58 | * Add full support for new driver installer 59 | * Fix application freeze in some cases 60 | * Fix restore point creation on latest Windows builds 61 | * Add advanced options 62 | 63 | #### IGCIT Driver Switch v2.0.0 64 | * Add loading icon (let the user know the application is not stuck when doing something that requires a few minutes) 65 | * New application menu 66 | * Add option to manually scan intel_drivers folder in Options menu 67 | * Add Help to application menu (it redirects to Driver Switch Wiki page) 68 | * Cache the extracted driver version (this avoids unneeded extraction when loading the same driver multiple times) 69 | * Improve logs 70 | * Code improvements 71 | 72 | #### IGCIT Driver Switch v1.0.0 73 | * Initial release 74 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | project(IGCITDriverSwitch VERSION 4.0.1 LANGUAGES CXX) 4 | 5 | set(CMAKE_AUTOUIC ON) 6 | set(CMAKE_AUTOMOC ON) 7 | set(CMAKE_AUTORCC ON) 8 | 9 | set(CMAKE_CXX_STANDARD 17) 10 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 11 | 12 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 13 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 14 | 15 | enable_language("RC") 16 | set (WIN32_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/IGCITDriverSwitch.rc) 17 | 18 | set(PROJECT_SOURCES 19 | main.cpp 20 | mainwindow.cpp 21 | mainwindow.h 22 | ExtractDriverForInstallThread.h 23 | GetDriversListThread.h 24 | InstallerProcessWaitThread.h 25 | RestoreDriverWaitThread.h 26 | 27 | mainwindow.ui 28 | IGCITDriverSwitch.qrc 29 | ) 30 | 31 | if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) 32 | qt_add_executable(IGCITDriverSwitch 33 | MANUAL_FINALIZATION 34 | ${PROJECT_SOURCES} 35 | ${WIN32_RESOURCES} 36 | ) 37 | else() 38 | add_executable(IGCITDriverSwitch 39 | ${PROJECT_SOURCES} 40 | ${WIN32_RESOURCES} 41 | ) 42 | endif() 43 | 44 | add_subdirectory(external/bit7z) 45 | 46 | target_link_libraries(IGCITDriverSwitch PRIVATE Qt${QT_VERSION_MAJOR}::Widgets bit7z) 47 | 48 | set_target_properties(IGCITDriverSwitch PROPERTIES 49 | WIN32_EXECUTABLE TRUE 50 | ) 51 | 52 | install(TARGETS IGCITDriverSwitch 53 | BUNDLE DESTINATION . 54 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 55 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 56 | ) 57 | 58 | if(QT_VERSION_MAJOR EQUAL 6) 59 | qt_finalize_executable(IGCITDriverSwitch) 60 | endif() 61 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/ExtractDriverForInstallThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | class ExtractDriverForInstallthread: public QThread { 9 | Q_OBJECT 10 | 11 | private: 12 | QString exePath; 13 | QString extractPath; 14 | 15 | public: 16 | explicit ExtractDriverForInstallthread(QObject *parent = nullptr): QThread(parent) {} 17 | 18 | void setPaths(const QString &filePath, const QString &extractDirPath) { 19 | exePath = filePath; 20 | extractPath = extractDirPath; 21 | } 22 | 23 | void run() override { 24 | try { 25 | bit7z::Bit7zLibrary lib {"7za.dll"}; 26 | bit7z::BitFileExtractor extractor {lib, bit7z::BitFormat::SevenZip}; 27 | uint64_t totalSz = 1; 28 | 29 | extractor.setTotalCallback([&totalSz](uint64_t total_size) { 30 | totalSz = total_size; 31 | } 32 | ); 33 | 34 | extractor.setProgressCallback([this, &totalSz](uint64_t processed_size) { 35 | emit progressUpdated(static_cast((100.f * static_cast(processed_size)) / static_cast(totalSz))); 36 | return true; 37 | } 38 | ); 39 | 40 | emit logMessageWritten("Extracting driver..", Qt::blue); 41 | extractor.extract(exePath.toStdString(), extractPath.toStdString()); 42 | 43 | emit resultReady(true); 44 | return; 45 | 46 | } catch (const bit7z::BitException &e) { 47 | emit logMessageWritten(e.what(), Qt::red); 48 | } 49 | 50 | emit resultReady(false); 51 | } 52 | 53 | signals: 54 | void resultReady(bool res); 55 | void logMessageWritten(const QString &msg, const QColor &color); 56 | void progressUpdated(int progress); 57 | }; 58 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/GetDriversListThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | class GetDriversListThread: public QThread { 12 | Q_OBJECT 13 | 14 | private: 15 | const QRegularExpression archiveVerStrRex {R"(SoftwareComponentId=\"([\d\.]+)\")", QRegularExpression::CaseInsensitiveOption}; 16 | QString driverDirPath; 17 | 18 | public: 19 | explicit GetDriversListThread(QObject *parent = nullptr): QThread(parent) {} 20 | 21 | void setPaths(const QString &driversDir) { 22 | driverDirPath = driversDir; 23 | } 24 | 25 | void run() override { 26 | QDir driversDir {driverDirPath}; 27 | QStringList filesList = driversDir.entryList(QDir::Files); 28 | QList driverList; 29 | QList versionList; 30 | 31 | if (driverDirPath.isEmpty() || !QDir(driverDirPath).exists() || filesList.isEmpty()) { 32 | emit resultReady({}, {}); 33 | return; 34 | } 35 | 36 | try { 37 | bit7z::Bit7zLibrary lib {"7za.dll"}; 38 | 39 | versionList.append(""); 40 | 41 | for (const QString &fileName : filesList) { 42 | QString filePath {QString("%1/%2").arg(driverDirPath, fileName)}; 43 | 44 | try { 45 | bit7z::BitArchiveReader arc {lib, filePath.toStdString(), bit7z::BitFormat::SevenZip}; 46 | std::vector items = arc.items(); 47 | 48 | for (const bit7z::BitArchiveItemInfo &item : items) { 49 | if (item.name().compare("igcc_dch.inf") != 0) 50 | continue; 51 | 52 | bit7z::BitFileExtractor extractor {lib, bit7z::BitFormat::SevenZip}; 53 | QRegularExpressionMatch match; 54 | std::vector buf; 55 | QString versionStr; 56 | std::string bufStr; 57 | QString fileCont; 58 | 59 | extractor.extractMatching(filePath.toStdString(), item.path(), buf); 60 | 61 | bufStr = std::string(buf.begin(), buf.end()); 62 | QTextStream ts {QByteArray(bufStr.c_str(), static_cast(bufStr.length()))}; 63 | 64 | fileCont = ts.readAll(); 65 | match = archiveVerStrRex.match(fileCont); 66 | 67 | if (!match.hasMatch() || !match.hasCaptured(1)) { 68 | emit logMessageWritten(QString("Unable to find driver version in %1").arg(item.name().c_str()), Qt::red); 69 | break; 70 | } 71 | 72 | versionStr = match.captured(1); 73 | 74 | if (!versionList.contains(versionStr)) { 75 | versionList.append(versionStr); 76 | driverList.append(fileName); 77 | } 78 | } 79 | } catch (const bit7z::BitException &e) { 80 | emit logMessageWritten(e.what(), Qt::red); 81 | } 82 | } 83 | } catch (const bit7z::BitException &e) { 84 | emit logMessageWritten(e.what(), Qt::red); 85 | } 86 | 87 | emit resultReady(driverList, versionList); 88 | } 89 | 90 | signals: 91 | void resultReady(const QList &driverList, const QList &versionList); 92 | void logMessageWritten(const QString &msg, const QColor &color); 93 | }; 94 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/IGCIT-logo-dswitch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Driver Switch/IGCIT-logo-dswitch.png -------------------------------------------------------------------------------- /IGCIT Driver Switch/IGCITDriverSwitch.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | IGCIT-logo-dswitch.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/IGCITDriverSwitch.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Driver Switch/IGCITDriverSwitch.rc -------------------------------------------------------------------------------- /IGCIT Driver Switch/InstallerProcessWaitThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include 5 | #include 6 | 7 | class InstallerProcessWaitThread: public QThread { 8 | Q_OBJECT 9 | 10 | private: 11 | HANDLE hproc = nullptr; 12 | 13 | public: 14 | explicit InstallerProcessWaitThread(QObject *parent = nullptr): QThread(parent) {} 15 | 16 | void setProcesshandle(HANDLE handle) { 17 | hproc = handle; 18 | } 19 | 20 | void run() override { 21 | DWORD ret = WaitForSingleObject(hproc, 900000); // 15 minutes 22 | 23 | CloseHandle(hproc); 24 | emit resultReady(ret); 25 | } 26 | 27 | signals: 28 | void resultReady(DWORD code); 29 | }; 30 | 31 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/README.md: -------------------------------------------------------------------------------- 1 | Credits 2 | 3 | CiphRay: driver_swap.bat 4 | 5 | 6 | License GPLv3 7 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/RestoreDriverWaitThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class RestoreDriverWaitThread: public QThread { 7 | Q_OBJECT 8 | 9 | private: 10 | HANDLE hproc = nullptr; 11 | 12 | public: 13 | explicit RestoreDriverWaitThread(QObject *parent = nullptr): QThread(parent) {} 14 | 15 | void setProcessHandle(HANDLE handle) { 16 | hproc = handle; 17 | } 18 | 19 | void run() override { 20 | WaitForSingleObject(hproc, 480000); // 8 minnutes 21 | CloseHandle(hproc); 22 | emit resultReady(); 23 | } 24 | 25 | signals: 26 | void resultReady(); 27 | }; -------------------------------------------------------------------------------- /IGCIT Driver Switch/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Driver Switch/icon1.ico -------------------------------------------------------------------------------- /IGCIT Driver Switch/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | QApplication a(argc, argv); 8 | MainWindow w; 9 | w.show(); 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #define _WIN32_DCOM 10 | #include 11 | #include 12 | #pragma comment(lib, "wbemuuid.lib") 13 | 14 | #include "mainwindow.h" 15 | #include "./ui_mainwindow.h" 16 | 17 | MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWindow) { 18 | ui->setupUi(this); 19 | setWindowIcon(QIcon(":/IGCITDriverSwitch/IGCIT-logo-dswitch.ico")); 20 | 21 | QList downloadMenu = ui->menuDownloads->actions(); 22 | QList helpMenu = ui->menuHelp->actions(); 23 | QPointer menuDwnlSrc = downloadMenu.at(0); 24 | QPointer menuDwnlStableArcXe = downloadMenu.at(2); 25 | QPointer menuHelpWiki = helpMenu.at(0); 26 | QPointer menuHelpAbout = helpMenu.at(1); 27 | QString driverVer; 28 | 29 | QObject::connect(menuDwnlSrc, &QAction::triggered, this, &MainWindow::onMenuDwnlSrcTriggered); 30 | QObject::connect(menuDwnlStableArcXe, &QAction::triggered, this, &MainWindow::onMenuDwnlStableArcXeTriggered); 31 | QObject::connect(menuHelpWiki, &QAction::triggered, this, &MainWindow::onMenuHelpWikiTriggered); 32 | QObject::connect(menuHelpAbout, &QAction::triggered, this, &MainWindow::onMenuHelpAboutTriggered); 33 | QObject::connect(ui->driversListCombo, &QComboBox::currentIndexChanged, this, &MainWindow::onDriverComboIndexChanged); 34 | QObject::connect(ui->restoreBtn, &QPushButton::clicked, this, &MainWindow::onRestoreBtnClicked); 35 | QObject::connect(ui->loadBtn, &QPushButton::clicked, this, &MainWindow::onLoadBtnClicked); 36 | 37 | writeLog("Getting device info..", Qt::blue); 38 | 39 | idList = getDeviceIDs(); 40 | for (const QString &id: idList) 41 | writeLog(QString("Found device:\n%1").arg(id), Qt::magenta); 42 | 43 | if (idList.isEmpty()) { 44 | writeLog("No device found", Qt::red); 45 | return; 46 | } 47 | 48 | writeLog("Scanning drivers..", Qt::blue); 49 | runGetDriversListThread(); 50 | 51 | driverVer = getCurrentDriverVersion(); 52 | 53 | ui->curGpuDrvLbl->setText(driverVer.isEmpty() ? "Unknown" : driverVer); 54 | 55 | if (!QDir(driverDirPath).exists() && !QDir().mkdir(driverDirPath)) { 56 | writeLog(QString("Failed to create %1 folder, auto-scan disabled").arg(driverDirPath), Qt::red); 57 | 58 | } else { 59 | fsWatcher = QSharedPointer::create(); 60 | 61 | writeLog(QString("%1: auto-scan enabled").arg(driverDirPath), Qt::magenta); 62 | 63 | fsWatcher->addPath(driverDirPath); 64 | QObject::connect(fsWatcher.get(), &QFileSystemWatcher::directoryChanged, this, &MainWindow::onDirectoryChanged); 65 | } 66 | 67 | unlockUI(); 68 | } 69 | 70 | MainWindow::~MainWindow() { 71 | delete ui; 72 | } 73 | 74 | QString MainWindow::getCurrentDriverVersion() const { 75 | DWORD maxValueNameinKeyLen; 76 | DWORD maxValueDataInKeyLen; 77 | LPBYTE valueDataBuf; 78 | LPSTR valueNameBuf; 79 | DWORD valuesCount; 80 | QString versionStr; 81 | LSTATUS ret; 82 | HKEY rkey; 83 | 84 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(HARDWARE\DEVICEMAP\VIDEO)", 0, KEY_READ, &rkey); 85 | if (ret != ERROR_SUCCESS) { 86 | writeLog(QString("Failed to open devmap/video key: %1").arg(ret), Qt::red); 87 | return {}; 88 | } 89 | 90 | ret = RegQueryInfoKeyA(rkey, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, &valuesCount, &maxValueNameinKeyLen, &maxValueDataInKeyLen, nullptr, nullptr); 91 | if (ret != ERROR_SUCCESS) { 92 | writeLog(QString("Failed to query devmap/video: %1").arg(ret), Qt::red); 93 | RegCloseKey(rkey); 94 | return {}; 95 | } 96 | 97 | // add space for terminators 98 | ++maxValueNameinKeyLen; 99 | ++maxValueDataInKeyLen; 100 | 101 | valueDataBuf = new byte[maxValueDataInKeyLen]; 102 | valueNameBuf = new char[maxValueNameinKeyLen]; 103 | 104 | for (DWORD i=0; i MainWindow::getDeviceIDs() const { 163 | IEnumWbemClassObject *queryEnum = nullptr; 164 | IWbemServices *wbemSvc = nullptr; 165 | IWbemLocator *wbemLoc = nullptr; 166 | QList devIdList; 167 | HRESULT ret; 168 | 169 | ret = CoCreateInstance(CLSID_WbemLocator, nullptr, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID*) &wbemLoc); 170 | if (FAILED(ret)) { 171 | writeLog(QString("Failed to create com instance: %1").arg(ret), Qt::red); 172 | return {}; 173 | } 174 | 175 | ret = wbemLoc->ConnectServer(BSTR(L"ROOT\\cimv2"), nullptr, nullptr, nullptr, 0, nullptr, nullptr, &wbemSvc); 176 | if (FAILED(ret)) { 177 | writeLog(QString("Failed to connect to com server: %1").arg(ret), Qt::red); 178 | wbemLoc->Release(); 179 | return {}; 180 | } 181 | 182 | ret = CoSetProxyBlanket(wbemSvc, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, nullptr, RPC_C_AUTHN_LEVEL_CALL, RPC_C_IMP_LEVEL_IMPERSONATE, nullptr, EOAC_NONE); 183 | if (FAILED(ret)) { 184 | writeLog(QString("Failed to set svc proxy security: %1").arg(ret), Qt::red); 185 | wbemSvc->Release(); 186 | wbemLoc->Release(); 187 | return {}; 188 | } 189 | 190 | ret = wbemSvc->ExecQuery(BSTR(L"WQL"), BSTR(L"SELECT DeviceID FROM Win32_PnPSignedDriver WHERE DeviceName LIKE '%Intel%' AND DeviceClass = 'display'"), WBEM_FLAG_RETURN_IMMEDIATELY | WBEM_FLAG_FORWARD_ONLY, nullptr, &queryEnum); 191 | if (FAILED(ret)) { 192 | writeLog(QString("Failed to exec deviceId query: %1").arg(ret), Qt::red); 193 | wbemSvc->Release(); 194 | wbemLoc->Release(); 195 | return {}; 196 | } 197 | 198 | if (queryEnum == nullptr) { 199 | writeLog(QString("Failed to enumerate deviceId query results: %1").arg(ret), Qt::red); 200 | wbemSvc->Release(); 201 | wbemLoc->Release(); 202 | return {}; 203 | } 204 | 205 | while (true) { 206 | IWbemClassObject *wbemObj = nullptr; 207 | char buf[256] = {0}; 208 | VARIANT vaVar {}; 209 | ULONG eret; 210 | 211 | ret = queryEnum->Next(WBEM_INFINITE, 1, &wbemObj, &eret); 212 | if (FAILED(ret)) { 213 | writeLog(QString("Failed to get next deviceId query obj: %1").arg(ret), Qt::red); 214 | break; 215 | } 216 | 217 | if (eret == 0) 218 | break; 219 | 220 | ret = wbemObj->Get(L"DeviceID", 0, &vaVar, nullptr, nullptr); 221 | if (FAILED(ret)) { 222 | writeLog(QString("Failed to get device id: %1").arg(ret), Qt::red); 223 | wbemObj->Release(); 224 | break; 225 | } 226 | 227 | wcstombs_s(nullptr, buf, vaVar.bstrVal, sizeof(buf) - 1); 228 | VariantClear(&vaVar); 229 | wbemObj->Release(); 230 | 231 | devIdList.append(buf); 232 | } 233 | 234 | queryEnum->Release(); 235 | wbemSvc->Release(); 236 | wbemLoc->Release(); 237 | 238 | return devIdList; 239 | } 240 | 241 | void MainWindow::runGetDriversListThread() { 242 | ui->driversListCombo->setEnabled(false); 243 | 244 | if (!getDriversListThd.isNull() && getDriversListThd->isRunning()) { 245 | QObject::disconnect(getDriversListThd, &GetDriversListThread::resultReady, this, &MainWindow::onGetDriversListThdResultReady); 246 | QObject::disconnect(getDriversListThd, &GetDriversListThread::logMessageWritten, this, &MainWindow::writeLog); 247 | getDriversListThd->quit(); 248 | } 249 | 250 | getDriversListThd = new GetDriversListThread(this); 251 | 252 | getDriversListThd->setPaths(driverDirPath); 253 | 254 | QObject::connect(getDriversListThd, &GetDriversListThread::resultReady, this, &MainWindow::onGetDriversListThdResultReady); 255 | QObject::connect(getDriversListThd, &GetDriversListThread::logMessageWritten, this, &MainWindow::writeLog); 256 | QObject::connect(getDriversListThd, &GetDriversListThread::finished, getDriversListThd, &QObject::deleteLater); 257 | 258 | getDriversListThd->start(); 259 | } 260 | 261 | void MainWindow::runExtractDriverForInstallThread(const QString &fileName) { 262 | extractDriverForinstallThd = new ExtractDriverForInstallthread(this); 263 | 264 | extractDriverForinstallThd->setPaths(QString("%1/%2").arg(driverDirPath, fileName), tmpExtractDirPath); 265 | 266 | QObject::connect(extractDriverForinstallThd, &ExtractDriverForInstallthread::finished, extractDriverForinstallThd, &QObject::deleteLater); 267 | QObject::connect(extractDriverForinstallThd, &ExtractDriverForInstallthread::logMessageWritten, this, &MainWindow::writeLog); 268 | QObject::connect(extractDriverForinstallThd, &ExtractDriverForInstallthread::progressUpdated, this, &MainWindow::onExtractDriverForInstallThdProgressUpdated); 269 | QObject::connect(extractDriverForinstallThd, &ExtractDriverForInstallthread::resultReady, this, &MainWindow::onExtractDriverForInstallThdResultReady); 270 | 271 | extractDriverForinstallThd->start(); 272 | } 273 | 274 | std::wstring MainWindow::getInstallerArgStr() const { 275 | std::wstring args {L"-s -o"}; 276 | 277 | if (ui->argCleanInstChk->isChecked()) 278 | args.append(L" -f"); 279 | 280 | if (ui->argNoSigChk->isChecked()) 281 | args.append(L" --unsigned"); 282 | 283 | if (ui->argNoExtraChk->isChecked()) 284 | args.append(L" --noExtras"); 285 | 286 | if (ui->argRebootAfiChk->isChecked()) 287 | args.append(L" -b"); 288 | 289 | if (ui->argSaveReportChk->isChecked()) 290 | args.append(L" --report ../installLog/drvinst.log"); 291 | 292 | return args; 293 | } 294 | 295 | void MainWindow::writeLog(const QString &msg, const QColor &color) const { 296 | ui->logtxtEdit->setTextColor(color); 297 | ui->logtxtEdit->insertPlainText(QString("%1\n").arg(msg)); 298 | ui->logtxtEdit->setTextColor(Qt::black); 299 | } 300 | 301 | void MainWindow::unlockUI() const { 302 | ui->driversListCombo->setEnabled(!idList.isEmpty()); 303 | ui->restoreBtn->setEnabled(!idList.isEmpty()); 304 | } 305 | 306 | void MainWindow::lockUI() const { 307 | ui->driversListCombo->setEnabled(false); 308 | ui->restoreBtn->setEnabled(false); 309 | ui->progressBar->setValue(0); 310 | } 311 | 312 | void MainWindow::onMenuDwnlSrcTriggered() { 313 | QDesktopServices::openUrl(QUrl("https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT")); 314 | } 315 | 316 | void MainWindow::onMenuDwnlStableArcXeTriggered() { 317 | QDesktopServices::openUrl(QUrl("https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html")); 318 | } 319 | 320 | void MainWindow::onMenuHelpWikiTriggered() { 321 | QDesktopServices::openUrl(QUrl("https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/IGCIT-Driver-Switch")); 322 | } 323 | 324 | void MainWindow::onMenuHelpAboutTriggered() { 325 | QMessageBox::information(this, "IGCIT Driver Switch", "v4.0.1, Author IGCIT - GPLv3", QMessageBox::Ok); 326 | } 327 | 328 | void MainWindow::onDirectoryChanged(const QString &path) { 329 | lockUI(); 330 | ui->driversListCombo->setEnabled(false); 331 | writeLog("Directory changed, updating drivers list..", Qt::blue); 332 | runGetDriversListThread(); 333 | unlockUI(); 334 | } 335 | 336 | void MainWindow::onGetDriversListThdResultReady(const QList &list, const QList &versionList) { 337 | QSignalBlocker sblock {ui->driversListCombo}; 338 | 339 | ui->driversListCombo->clear(); 340 | 341 | if (list.isEmpty()) { 342 | writeLog("No driver found", Qt::red); 343 | return; 344 | } 345 | 346 | this->driverList = list; 347 | 348 | writeLog(QString("Loaded: %1 drivers").arg(list.size()), Qt::darkGreen); 349 | ui->driversListCombo->addItems(versionList); 350 | ui->driversListCombo->setCurrentIndex(0); 351 | ui->driversListCombo->setEnabled(true); 352 | } 353 | 354 | void MainWindow::onRestoreBtnClicked() { 355 | QMessageBox::StandardButton res = QMessageBox::question(this, "Restore driver", "Do you want to restore the driver?"); 356 | SHELLEXECUTEINFO ShExecInfo {}; 357 | QString removecmd; 358 | std::wstring args; 359 | 360 | if (res == QMessageBox::No) 361 | return; 362 | 363 | lockUI(); 364 | ui->driversListCombo->setCurrentIndex(0); 365 | 366 | for (const QString &id: idList) 367 | removecmd.append(QString("pnputil /remove-device \"%1\" && ").arg(id)); 368 | 369 | args = QString("/c %1 timeout 2 && pnputil /scan-devices").arg(removecmd).toStdWString(); 370 | ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); 371 | ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; 372 | ShExecInfo.hwnd = nullptr; 373 | ShExecInfo.lpVerb = L"runas"; 374 | ShExecInfo.lpFile = L"cmd.exe"; 375 | ShExecInfo.lpParameters = args.c_str(); 376 | ShExecInfo.lpDirectory = nullptr; 377 | ShExecInfo.nShow = SW_SHOWNORMAL; 378 | ShExecInfo.hInstApp = nullptr; 379 | 380 | ShellExecuteEx(&ShExecInfo); 381 | 382 | if (ShExecInfo.hProcess != nullptr) { 383 | restoreDriverWaitThd = new RestoreDriverWaitThread(this); 384 | 385 | restoreDriverWaitThd->setProcessHandle(ShExecInfo.hProcess); 386 | QObject::connect(restoreDriverWaitThd, &RestoreDriverWaitThread::resultReady, this, &MainWindow::onRestoreDriverWaitThdResultReady); 387 | QObject::connect(restoreDriverWaitThd, &RestoreDriverWaitThread::finished, restoreDriverWaitThd, &QObject::deleteLater); 388 | restoreDriverWaitThd->start(); 389 | ui->progressBar->setValue(50); 390 | 391 | } else { 392 | ui->progressBar->setValue(0); 393 | unlockUI(); 394 | } 395 | } 396 | 397 | void MainWindow::onDriverComboIndexChanged(int idx) { 398 | QString selected = ui->driversListCombo->currentText(); 399 | QList advOpts { 400 | ui->argCleanInstChk, 401 | ui->argNoExtraChk, 402 | ui->argNoSigChk, 403 | ui->argRebootAfiChk, 404 | ui->argSaveReportChk 405 | }; 406 | 407 | for (QCheckBox *chk: advOpts) 408 | chk->setCheckState(Qt::Unchecked); 409 | 410 | ui->loadBtn->setEnabled(!selected.isEmpty()); 411 | ui->advOptsGroup->setEnabled(!selected.isEmpty()); 412 | } 413 | 414 | void MainWindow::onLoadBtnClicked() { 415 | QString selected = ui->driversListCombo->currentText(); 416 | QString fileName; 417 | int selectedIdx; 418 | 419 | if (selected.isEmpty() || QMessageBox::question(this, "Load driver", "Do you want to load the driver?") == QMessageBox::No) 420 | return; 421 | 422 | lockUI(); 423 | 424 | if (QDir(tmpExtractDirPath).exists() && !QDir(tmpExtractDirPath).removeRecursively()) { 425 | writeLog("Failed to delete old tmp folder", Qt::red); 426 | unlockUI(); 427 | return; 428 | } 429 | 430 | selectedIdx = ui->driversListCombo->currentIndex(); 431 | if (selectedIdx == -1) { 432 | writeLog("Failed to get selected option index", Qt::red); 433 | unlockUI(); 434 | return; 435 | } 436 | 437 | fileName = driverList.at(static_cast(selectedIdx) - 1); 438 | 439 | writeLog(QString("Selected: %1 (%2)").arg(selected, fileName), Qt::darkBlue); 440 | runExtractDriverForInstallThread(fileName); 441 | } 442 | 443 | void MainWindow::onInstallerProcWaitResultReady(DWORD code) { 444 | QString driverVer = getCurrentDriverVersion(); 445 | 446 | ui->curGpuDrvLbl->setText(driverVer.isEmpty() ? "Unknown" : driverVer); 447 | ui->progressBar->setValue(100); 448 | 449 | if (code != WAIT_OBJECT_0) 450 | writeLog("Installer exited early, may not be successful", Qt::red); 451 | else 452 | writeLog("Success", Qt::darkGreen); 453 | 454 | unlockUI(); 455 | } 456 | 457 | void MainWindow::onRestoreDriverWaitThdResultReady() { 458 | QString driverVer = getCurrentDriverVersion(); 459 | 460 | ui->curGpuDrvLbl->setText(driverVer.isEmpty() ? "Unknown" : driverVer); 461 | ui->progressBar->setValue(100); 462 | unlockUI(); 463 | } 464 | 465 | void MainWindow::onExtractDriverForInstallThdProgressUpdated(int progress) { 466 | ui->progressBar->setValue(progress); 467 | } 468 | 469 | void MainWindow::onExtractDriverForInstallThdResultReady(bool res) { 470 | SHELLEXECUTEINFO ShExecInfo {}; 471 | WCHAR *tmpDirPath = nullptr; 472 | DWORD bufLen = 256; 473 | std::wstring args; 474 | DWORD ret; 475 | 476 | if (!res) { 477 | unlockUI(); 478 | return; 479 | } 480 | 481 | writeLog("Loading driver...\nthis may take some minutes and the screen may flicker", Qt::blue); 482 | ui->progressBar->setValue(0); 483 | 484 | tmpDirPath = new wchar_t[bufLen]; 485 | ret = GetFullPathNameW(tmpExtractDirPath.toStdWString().c_str(), bufLen, tmpDirPath, nullptr); 486 | 487 | if (ret == 0) { 488 | writeLog("Failed to get tmp folder path", Qt::red); 489 | delete[] tmpDirPath; 490 | unlockUI(); 491 | return; 492 | } 493 | 494 | args = getInstallerArgStr(); 495 | ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); 496 | ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; 497 | ShExecInfo.hwnd = nullptr; 498 | ShExecInfo.lpVerb = L"open"; 499 | ShExecInfo.lpFile = L"Installer.exe"; 500 | ShExecInfo.lpParameters = args.c_str(); 501 | ShExecInfo.lpDirectory = tmpDirPath; 502 | ShExecInfo.nShow = SW_SHOWNORMAL; 503 | ShExecInfo.hInstApp = nullptr; 504 | 505 | if (args.find(L"report") != std::string::npos) { 506 | if (!QDir("installLog").exists() && !QDir().mkdir("installLog")) { 507 | writeLog("Failed to create install log directory", Qt::red); 508 | delete[] tmpDirPath; 509 | unlockUI(); 510 | return; 511 | } 512 | 513 | writeLog("Install log output: installLog/drvinst.log", Qt::blue); 514 | } 515 | 516 | ui->driversListCombo->setCurrentIndex(0); 517 | ui->progressBar->setValue(50); 518 | ShellExecuteEx(&ShExecInfo); 519 | 520 | if (ShExecInfo.hProcess != nullptr) { 521 | installerProcWaitThd = new InstallerProcessWaitThread(this); 522 | 523 | installerProcWaitThd->setProcesshandle(ShExecInfo.hProcess); 524 | QObject::connect(installerProcWaitThd, &InstallerProcessWaitThread::resultReady, this, &MainWindow::onInstallerProcWaitResultReady); 525 | QObject::connect(installerProcWaitThd, &InstallerProcessWaitThread::finished, installerProcWaitThd, &QObject::deleteLater); 526 | installerProcWaitThd->start(); 527 | 528 | } else { 529 | writeLog("Failed to run Installer", Qt::red); 530 | ui->progressBar->setValue(0); 531 | unlockUI(); 532 | } 533 | 534 | delete[] tmpDirPath; 535 | } 536 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/mainwindow.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | #include "GetDriversListThread.h" 11 | #include "InstallerProcessWaitThread.h" 12 | #include "ExtractDriverForInstallThread.h" 13 | #include "RestoreDriverWaitThread.h" 14 | 15 | QT_BEGIN_NAMESPACE 16 | namespace Ui { class MainWindow; } 17 | QT_END_NAMESPACE 18 | 19 | class MainWindow : public QMainWindow { 20 | Q_OBJECT 21 | 22 | public: 23 | MainWindow(QWidget *parent = nullptr); 24 | ~MainWindow(); 25 | 26 | private: 27 | const QString driverDirPath {"intel_drivers"}; 28 | const QString tmpExtractDirPath {"extracted_tmp"}; 29 | QPointer extractDriverForinstallThd; 30 | QPointer installerProcWaitThd; 31 | QPointer restoreDriverWaitThd; 32 | QPointer getDriversListThd; 33 | QSharedPointer fsWatcher; 34 | Ui::MainWindow *ui; 35 | QList driverList; 36 | QList idList; 37 | 38 | [[nodiscard]] 39 | QString getCurrentDriverVersion() const; 40 | 41 | [[nodiscard]] 42 | QList getDeviceIDs() const; 43 | 44 | [[nodiscard]] 45 | std::wstring getInstallerArgStr() const; 46 | 47 | void runGetDriversListThread(); 48 | void runExtractDriverForInstallThread(const QString &fileName); 49 | void writeLog(const QString &msg, const QColor &color) const; 50 | void unlockUI() const; 51 | void lockUI() const; 52 | 53 | private slots: 54 | void onMenuDwnlSrcTriggered(); 55 | void onMenuDwnlStableArcXeTriggered(); 56 | void onMenuHelpWikiTriggered(); 57 | void onMenuHelpAboutTriggered(); 58 | void onDirectoryChanged(const QString &path); 59 | void onGetDriversListThdResultReady(const QList &list, const QList &versionList); 60 | void onRestoreBtnClicked(); 61 | void onDriverComboIndexChanged(int idx); 62 | void onLoadBtnClicked(); 63 | void onInstallerProcWaitResultReady(DWORD code); 64 | void onRestoreDriverWaitThdResultReady(); 65 | void onExtractDriverForInstallThdProgressUpdated(int progress); 66 | void onExtractDriverForInstallThdResultReady(bool res); 67 | }; 68 | -------------------------------------------------------------------------------- /IGCIT Driver Switch/mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 534 10 | 500 11 | 12 | 13 | 14 | IGCIT Driver Switch 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | QLayout::SetDefaultConstraint 25 | 26 | 27 | 0 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 0 36 | 0 37 | 38 | 39 | 40 | 41 | 0 42 | 0 43 | 44 | 45 | 46 | :/IGCITDriverSwitch/IGCIT-logo-dswitch.png 47 | 48 | 49 | false 50 | 51 | 52 | 0 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 0 61 | 0 62 | 63 | 64 | 65 | <html><head/><body><p><span style=" font-size:20pt; font-style:italic;">Driver Switch</span></p></body></html> 66 | 67 | 68 | 69 | 70 | 71 | 72 | Qt::Horizontal 73 | 74 | 75 | 76 | 40 77 | 20 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 0 88 | 89 | 90 | 91 | 92 | 93 | 0 94 | 0 95 | 96 | 97 | 98 | Driver version: 99 | 100 | 101 | 102 | 103 | 104 | 105 | Qt::Horizontal 106 | 107 | 108 | QSizePolicy::Fixed 109 | 110 | 111 | 112 | 40 113 | 20 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | false 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | QFrame::Box 131 | 132 | 133 | QFrame::Plain 134 | 135 | 136 | Qt::ScrollBarAlwaysOff 137 | 138 | 139 | true 140 | 141 | 142 | 143 | 144 | 145 | 146 | 0 147 | 148 | 149 | 150 | 151 | 152 | 0 153 | 0 154 | 155 | 156 | 157 | Current GPU driver: 158 | 159 | 160 | 161 | 162 | 163 | 164 | #curGpuDrvLbl{color:blue;} 165 | 166 | 167 | Unknown 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | Qt::Vertical 177 | 178 | 179 | 180 | 20 181 | 40 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 0 190 | 191 | 192 | 193 | 194 | 195 | 196 | Qt::Vertical 197 | 198 | 199 | QSizePolicy::Fixed 200 | 201 | 202 | 203 | 20 204 | 5 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 0 213 | 214 | 215 | 216 | 217 | false 218 | 219 | 220 | Restore driver 221 | 222 | 223 | 224 | 225 | 226 | 227 | false 228 | 229 | 230 | Load driver 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 0 242 | 243 | 244 | 245 | 246 | false 247 | 248 | 249 | 250 | 0 251 | 0 252 | 253 | 254 | 255 | 256 | 0 257 | 0 258 | 259 | 260 | 261 | Advanced Options 262 | 263 | 264 | 265 | 266 | 267 | Clean install 268 | 269 | 270 | 271 | 272 | 273 | 274 | No signature verification 275 | 276 | 277 | 278 | 279 | 280 | 281 | Skip additional components 282 | 283 | 284 | 285 | 286 | 287 | 288 | Reboot after install 289 | 290 | 291 | 292 | 293 | 294 | 295 | Save install log (drvinst.log) 296 | 297 | 298 | 299 | 300 | 301 | 302 | Qt::Vertical 303 | 304 | 305 | 306 | 20 307 | 40 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | <html><head/><body><p><span style=" color:#aa0000;">Do not enable unless you know what you are doing!</span></p></body></html> 316 | 317 | 318 | Qt::AlignCenter 319 | 320 | 321 | true 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 0 336 | 0 337 | 534 338 | 22 339 | 340 | 341 | 342 | false 343 | 344 | 345 | 346 | Downloads 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | Help 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | IGCIT Driver Switch sources 365 | 366 | 367 | 368 | 369 | Intel drivers 370 | 371 | 372 | 373 | 374 | Wiki 375 | 376 | 377 | 378 | 379 | About 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | -------------------------------------------------------------------------------- /IGCIT Helper/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | project(IGCITHelper VERSION 2.0.1 LANGUAGES CXX) 4 | 5 | set(CMAKE_AUTOUIC ON) 6 | set(CMAKE_AUTOMOC ON) 7 | set(CMAKE_AUTORCC ON) 8 | 9 | set(CMAKE_CXX_STANDARD 17) 10 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 11 | 12 | enable_language("RC") 13 | set (WIN32_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/IGCITHelper.rc) 14 | 15 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 16 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 17 | 18 | set(PROJECT_SOURCES 19 | main.cpp 20 | mainwindow.cpp 21 | mainwindow.h 22 | ExtractDumpsCompressThread.h 23 | 24 | mainwindow.ui 25 | igcithelper-resource.qrc 26 | ) 27 | 28 | if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) 29 | qt_add_executable(IGCITHelper 30 | MANUAL_FINALIZATION 31 | ${PROJECT_SOURCES} 32 | ${WIN32_RESOURCES} 33 | ) 34 | else() 35 | add_executable(IGCITHelper 36 | ${PROJECT_SOURCES} 37 | ${WIN32_RESOURCES} 38 | ) 39 | endif() 40 | 41 | add_subdirectory(external/bit7z) 42 | 43 | target_link_libraries(IGCITHelper PRIVATE Qt${QT_VERSION_MAJOR}::Widgets bit7z) 44 | 45 | set_target_properties(IGCITHelper PROPERTIES 46 | WIN32_EXECUTABLE TRUE 47 | ) 48 | 49 | install(TARGETS IGCITHelper 50 | BUNDLE DESTINATION . 51 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 52 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 53 | ) 54 | 55 | if(QT_VERSION_MAJOR EQUAL 6) 56 | qt_finalize_executable(IGCITHelper) 57 | endif() 58 | -------------------------------------------------------------------------------- /IGCIT Helper/ExtractDumpsCompressThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | class ExtractDumpsCompressThread: public QThread { 10 | Q_OBJECT 11 | 12 | private: 13 | QString outPath; 14 | bool cancelled = false; 15 | 16 | public: 17 | explicit ExtractDumpsCompressThread(QObject *parent = nullptr): QThread(parent) {} 18 | 19 | [[nodiscard]] 20 | bool isCancelled() const { return cancelled; } 21 | 22 | [[nodiscard]] 23 | QString getOutputPath() const { return outPath; } 24 | 25 | void setOutputPath(const QString &path) { outPath = path; } 26 | 27 | void run() override { 28 | try { 29 | bit7z::Bit7zLibrary lib {"7z.dll"}; 30 | bit7z::BitArchiveWriter bwriter {lib, bit7z::BitFormat::SevenZip}; 31 | uint64_t totalSz = 1; 32 | 33 | bwriter.setTotalCallback([&totalSz](uint64_t total_size) { 34 | totalSz = total_size; 35 | }); 36 | 37 | bwriter.setProgressCallback([this, &totalSz](uint64_t processed_size) { 38 | if (this->isInterruptionRequested()) { 39 | cancelled = true; 40 | return false; 41 | } 42 | 43 | emit progressUpdated(static_cast((100.f * processed_size) / totalSz)); 44 | return true; 45 | }); 46 | 47 | if (QDir(R"(C:\AppCrashDumps)").exists()) 48 | bwriter.addDirectory(R"(C:\AppCrashDumps)"); 49 | 50 | if (QDir(R"(C:\Windows\Minidump)").exists()) 51 | bwriter.addDirectory(R"(C:\Windows\Minidump)"); 52 | 53 | if (QDir(R"(C:\Windows\LiveKernelReports\WATCHDOG)").exists()) 54 | bwriter.addDirectory(R"(C:\Windows\LiveKernelReports\WATCHDOG)"); 55 | 56 | bwriter.setCompressionLevel(bit7z::BitCompressionLevel::Max); 57 | bwriter.compressTo(outPath.toStdString()); 58 | 59 | emit resultReady(true, outPath); 60 | return; 61 | 62 | } catch (const bit7z::BitException &e) { 63 | emit logMessageWritten(e.what()); 64 | } 65 | 66 | emit resultReady(false, outPath); 67 | } 68 | 69 | signals: 70 | void resultReady(bool res, const QString &path); 71 | void logMessageWritten(const QString &msg); 72 | void progressUpdated(int progress); 73 | }; 74 | -------------------------------------------------------------------------------- /IGCIT Helper/IGCITHelper.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Helper/IGCITHelper.rc -------------------------------------------------------------------------------- /IGCIT Helper/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Helper/icon1.ico -------------------------------------------------------------------------------- /IGCIT Helper/igcithelper-resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | resources/IGCIT-logo.ico 4 | 5 | 6 | -------------------------------------------------------------------------------- /IGCIT Helper/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | QApplication a(argc, argv); 8 | MainWindow w; 9 | w.show(); 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /IGCIT Helper/mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #define SECURITY_WIN32 14 | #include 15 | #pragma comment(lib, "Secur32.lib") 16 | 17 | #include "./ui_mainwindow.h" 18 | 19 | MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWindow) { 20 | ui->setupUi(this); 21 | ui->tabWidget->setCurrentIndex(0); 22 | 23 | QObject::connect(ui->tabWidget, &QTabWidget::currentChanged, this, &MainWindow::onTabWidgetTabChange); 24 | QObject::connect(ui->applyTdrBtn, &QPushButton::clicked, this, &MainWindow::onApplyTdrBtnClicked); 25 | QObject::connect(ui->restoreTdrBtn, &QPushButton::clicked, this, &MainWindow::onRestoreTdrBtnClicked); 26 | QObject::connect(ui->dumpsEnableBtn, &QPushButton::clicked, this, &MainWindow::onDumpsEnableBtnClicked); 27 | QObject::connect(ui->dumpsFixWchdBtn, &QPushButton::clicked, this, &MainWindow::onDumpsFixWatchdogDumpsClicked); 28 | QObject::connect(ui->dumpsRestoreBtn, &QPushButton::clicked, this, &MainWindow::onDumpsRestoreDefaultsClicked); 29 | QObject::connect(ui->dumpsExtrBtn, &QPushButton::clicked, this, &MainWindow::onDumpsExtractDumpsClicked); 30 | QObject::connect(ui->dumpsAbortCompressBtn, &QPushButton::clicked, this, &MainWindow::onDumpsCancelExtractBtnClicked); 31 | QObject::connect(ui->dumpsClearBtn, &QPushButton::clicked, this, &MainWindow::onDumpsClearBtnClicked); 32 | QObject::connect(ui->ssuAnonBtn, &QPushButton::clicked, this, &MainWindow::onSsuAnonBtnClicked); 33 | 34 | setWindowsBuildLbl(); 35 | setProcessorLbl(); 36 | setMemoryLbl(); 37 | setInfoFromBios(); 38 | setGpusInfo(); 39 | } 40 | 41 | MainWindow::~MainWindow() { 42 | delete ui; 43 | } 44 | 45 | void MainWindow::setWindowsBuildLbl() const { 46 | ui->winbuildLbl->setText(QString("%1 (build %2)").arg(QSysInfo::prettyProductName(), QSysInfo::kernelVersion())); 47 | } 48 | 49 | void MainWindow::setProcessorLbl() const { 50 | char procNameBuf[255] = {0}; 51 | DWORD procNameBufLen = 255; 52 | LSTATUS ret; 53 | HKEY regKey; 54 | 55 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(HARDWARE\DESCRIPTION\System\CentralProcessor\0)", 0, KEY_READ, ®Key); 56 | if (ret != ERROR_SUCCESS) { 57 | writeLog(QString("Failed to open processor registry key: %1").arg(ret)); 58 | return; 59 | } 60 | 61 | ret = RegGetValueA(regKey, nullptr, "ProcessorNameString", RRF_RT_REG_SZ, nullptr, &procNameBuf, &procNameBufLen); 62 | if (ret != ERROR_SUCCESS) { 63 | writeLog(QString("Failed to get processor key value: %1").arg(ret)); 64 | RegCloseKey(regKey); 65 | return; 66 | } 67 | 68 | ui->procNameLbl->setText(procNameBuf); 69 | RegCloseKey(regKey); 70 | } 71 | 72 | void MainWindow::setMemoryLbl() const { 73 | MEMORYSTATUSEX memStat {}; 74 | 75 | memStat.dwLength = sizeof(memStat); 76 | 77 | if (GlobalMemoryStatusEx(&memStat) == 0) { 78 | writeLog(QString("Failed to query memory status: %1").arg(GetLastError())); 79 | return; 80 | } 81 | 82 | ui->memoryLbl->setText(getFormattedMemorySize(memStat.ullTotalPhys)); 83 | } 84 | 85 | void MainWindow::setInfoFromBios() const { 86 | char sysManufBuf[255] = {0}; 87 | char sysModelBuf[255] = {0}; 88 | DWORD sysManufBufLen = 255; 89 | DWORD sysModelBufLen = 255; 90 | LSTATUS ret; 91 | HKEY regKey; 92 | 93 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(HARDWARE\DESCRIPTION\System\BIOS)", 0, KEY_READ, ®Key); 94 | if (ret != ERROR_SUCCESS) { 95 | writeLog(QString("Failed to open bios registry key: %1").arg(ret)); 96 | return; 97 | } 98 | 99 | ret = RegGetValueA(regKey, nullptr, "SystemManufacturer", RRF_RT_REG_SZ, nullptr, &sysManufBuf, &sysManufBufLen); 100 | if (ret != ERROR_SUCCESS) { 101 | writeLog(QString("Failed to get manufacturer key value: %1").arg(ret)); 102 | RegCloseKey(regKey); 103 | return; 104 | } 105 | 106 | ret = RegGetValueA(regKey, nullptr, "SystemProductName", RRF_RT_REG_SZ, nullptr, &sysModelBuf, &sysModelBufLen); 107 | if (ret != ERROR_SUCCESS) { 108 | writeLog(QString("Failed to get model key value: %1").arg(ret)); 109 | RegCloseKey(regKey); 110 | return; 111 | } 112 | 113 | ui->modelLbl->setText(sysModelBuf); 114 | ui->manufLbl->setText(sysManufBuf); 115 | RegCloseKey(regKey); 116 | } 117 | 118 | void MainWindow::setGpusInfo() const { 119 | QList> gpusInfo; 120 | QSet gpusSet; 121 | DWORD maxValueNameinKeyLen; 122 | DWORD maxValueDataInKeyLen; 123 | LPBYTE valueDataBuf; 124 | LPSTR valueNameBuf; 125 | DWORD valuesCount; 126 | LSTATUS ret; 127 | int rowIdx; 128 | HKEY rkey; 129 | 130 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(HARDWARE\DEVICEMAP\VIDEO)", 0, KEY_READ, &rkey); 131 | if (ret != ERROR_SUCCESS) { 132 | writeLog(QString("Failed to open devmap/video key: %1").arg(ret)); 133 | return; 134 | } 135 | 136 | ret = RegQueryInfoKeyA(rkey, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, &valuesCount, &maxValueNameinKeyLen, &maxValueDataInKeyLen, nullptr, nullptr); 137 | if (ret != ERROR_SUCCESS) { 138 | writeLog(QString("Failed to query devmap/video: %1").arg(ret)); 139 | RegCloseKey(rkey); 140 | return; 141 | } 142 | 143 | // add space for terminators 144 | ++maxValueNameinKeyLen; 145 | ++maxValueDataInKeyLen; 146 | 147 | valueDataBuf = new byte[maxValueDataInKeyLen]; 148 | valueNameBuf = new char[maxValueNameinKeyLen]; 149 | 150 | for (DWORD i=0; i gpuInfo; 156 | std::string valueStr; 157 | HKEY videoKey; 158 | 159 | std::memset(valueNameBuf, 0, maxValueNameinKeyLen * sizeof(char)); 160 | std::memset(valueDataBuf, 0, maxValueDataInKeyLen * sizeof(byte)); 161 | 162 | ret = RegEnumValueA(rkey, i, valueNameBuf, &valueNameWrittenLen, nullptr, nullptr, valueDataBuf, &valueDataWrittenLen); 163 | if (ret != ERROR_SUCCESS || std::strstr(valueNameBuf, "Video") == nullptr) 164 | continue; 165 | 166 | valueStr.assign(LPCSTR(valueDataBuf)); 167 | valueStr.erase(0, strlen(R"(\Registry\Machine\)")); // should be the same for all, so no parse but remove 168 | 169 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, valueStr.c_str(), 0, KEY_READ, &videoKey); 170 | if (ret != ERROR_SUCCESS) 171 | continue; 172 | 173 | ret = RegGetValueA(videoKey, nullptr, "DriverDesc", RRF_RT_REG_SZ, nullptr, &tmpBuf, &tmpBufLen); 174 | if (ret != ERROR_SUCCESS || std::strstr(tmpBuf, "Intel") == nullptr || gpusSet.contains(tmpBuf)) { 175 | RegCloseKey(videoKey); 176 | continue; 177 | } 178 | 179 | gpuInfo.first = tmpBuf; 180 | 181 | gpusSet.insert(tmpBuf); 182 | std::memset(tmpBuf, 0, sizeof(tmpBuf)); 183 | tmpBufLen = 255; 184 | 185 | ret = RegGetValueA(videoKey, nullptr, "DriverVersion", RRF_RT_REG_SZ, nullptr, &tmpBuf, &tmpBufLen); 186 | if (ret != ERROR_SUCCESS) { 187 | RegCloseKey(videoKey); 188 | continue; 189 | } 190 | 191 | gpuInfo.second = tmpBuf; 192 | 193 | gpusInfo.append(gpuInfo); 194 | RegCloseKey(videoKey); 195 | } 196 | 197 | RegCloseKey(rkey); 198 | delete[] valueDataBuf; 199 | delete[] valueNameBuf; 200 | 201 | rowIdx = 0; 202 | for (const QPair &info: gpusInfo) 203 | addGpuInfoRow(rowIdx++, info.first, info.second); 204 | } 205 | 206 | void MainWindow::updateToolsTab() const { 207 | DWORD tdrDdiDelaySz = sizeof(DWORD); 208 | DWORD tdrDelaySz = sizeof(DWORD); 209 | DWORD tdrDelay, tdrDdiDelay; 210 | LSTATUS ret; 211 | HKEY rkey; 212 | 213 | // defaults if no key is present or errors 214 | ui->tdrdVal->setValue(2); 215 | ui->tdrddiVal->setValue(5); 216 | 217 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\GraphicsDrivers)", 0, KEY_READ, &rkey); 218 | if (ret != ERROR_SUCCESS) { 219 | writeLog(QString("Failed to open graphicsdrivers key: %1").arg(ret)); 220 | return; 221 | } 222 | 223 | ret = RegGetValueA(rkey, nullptr, "TdrDelay", RRF_RT_DWORD, nullptr, &tdrDelay, &tdrDelaySz); 224 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 225 | writeLog(QString("Failed to get tdrDelay: %1").arg(ret)); 226 | RegCloseKey(rkey); 227 | return; 228 | 229 | } else if (ret == ERROR_SUCCESS) { 230 | ui->tdrdVal->setValue(static_cast(tdrDelay)); 231 | } 232 | 233 | ret = RegGetValueA(rkey, nullptr, "TdrDdiDelay", RRF_RT_DWORD, nullptr, &tdrDdiDelay, &tdrDdiDelaySz); 234 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 235 | writeLog(QString("Failed to get tdrDdiDelay: %1").arg(ret)); 236 | RegCloseKey(rkey); 237 | return; 238 | 239 | } else if (ret == ERROR_SUCCESS) { 240 | ui->tdrddiVal->setValue(static_cast(tdrDdiDelay)); 241 | } 242 | 243 | RegCloseKey(rkey); 244 | } 245 | 246 | void MainWindow::writeLog(const QString &msg) const { 247 | if (ui->tabWidget->currentIndex() != Tabs::Logs) 248 | ui->tabWidget->setTabText(Tabs::Logs, "Logs*"); 249 | 250 | ui->logTxBox->appendPlainText(msg); 251 | } 252 | 253 | QString MainWindow::getFormattedMemorySize(DWORDLONG bytes) const { 254 | char sizeStr[][8] = {"bytes", "KB", "MB", "GB"}; 255 | double sz = static_cast(bytes); 256 | int sizeIdx = 0; 257 | 258 | while (static_cast(sz / 1024.f) > 0) { 259 | sz /= 1024.f; 260 | ++sizeIdx; 261 | 262 | if (sizeIdx >= 4) 263 | return "Unknown"; 264 | } 265 | 266 | return QString("%1 %2").arg(QString::number(sz, 'g', 3), sizeStr[sizeIdx]); 267 | } 268 | 269 | void MainWindow::addGpuInfoRow(int gpuIdx, const QString &name, const QString &driver) const { 270 | int layoutChildrenCount = ui->verticalLayout_4->count(); 271 | QHBoxLayout *driverHlyt = new QHBoxLayout(); 272 | QHBoxLayout *nameHlyt = new QHBoxLayout(); 273 | QLabel *driverStrLbl = new QLabel(driver); 274 | QLabel *nameStrLbl = new QLabel(name); 275 | 276 | nameStrLbl->setAlignment(Qt::AlignRight); 277 | nameStrLbl->setTextInteractionFlags(Qt::TextSelectableByMouse); 278 | 279 | driverStrLbl->setAlignment(Qt::AlignRight); 280 | driverStrLbl->setTextInteractionFlags(Qt::TextSelectableByMouse); 281 | 282 | nameHlyt->addWidget(new QLabel(QString("GPU%1:").arg(gpuIdx))); 283 | nameHlyt->addWidget(nameStrLbl); 284 | 285 | driverHlyt->addWidget(new QLabel(QString("GPU%1 Driver:").arg(gpuIdx))); 286 | driverHlyt->addWidget(driverStrLbl); 287 | 288 | ui->verticalLayout_4->insertLayout(layoutChildrenCount - 1, nameHlyt); 289 | ui->verticalLayout_4->insertLayout(layoutChildrenCount, driverHlyt); 290 | } 291 | 292 | void MainWindow::tryReboot() const { 293 | QMessageBox::StandardButton ret = QMessageBox::question(ui->tabWidget, "Reboot required", "A reboot is required to apply the changes.\nDo you want to reboot now?"); 294 | TOKEN_PRIVILEGES tkp; 295 | HANDLE hToken; 296 | DWORD dret; 297 | BOOL res; 298 | 299 | if (ret == QMessageBox::No) 300 | return; 301 | 302 | if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken)) { 303 | writeLog("Failed to get process token, unable to reboot"); 304 | return; 305 | } 306 | 307 | LookupPrivilegeValue(nullptr, SE_SHUTDOWN_NAME, &tkp.Privileges[0].Luid); 308 | 309 | tkp.PrivilegeCount = 1; 310 | tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; 311 | 312 | AdjustTokenPrivileges(hToken, FALSE, &tkp, 0, nullptr, nullptr); 313 | 314 | dret = GetLastError(); 315 | if (dret != ERROR_SUCCESS) { 316 | writeLog(QString("Failed to set privileges, unable to reboot: %1").arg(dret)); 317 | return; 318 | } 319 | 320 | res = ExitWindowsEx(EWX_REBOOT | EWX_FORCEIFHUNG, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_RECONFIG | SHTDN_REASON_FLAG_PLANNED); 321 | if (res == FALSE) 322 | writeLog(QString("Failed to start reboot: %1").arg(ret)); 323 | } 324 | 325 | int MainWindow::isAdmin() const { 326 | SID_IDENTIFIER_AUTHORITY NtAuthority = SECURITY_NT_AUTHORITY; 327 | PSID AdministratorsGroup; 328 | BOOL isAdm, ret; 329 | 330 | ret = AllocateAndInitializeSid(&NtAuthority, 2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &AdministratorsGroup); 331 | if (ret == FALSE) { 332 | writeLog("Failed to alloc and init sid"); 333 | return -1; 334 | } 335 | 336 | ret = CheckTokenMembership(nullptr, AdministratorsGroup, &isAdm); 337 | if (ret == FALSE) { 338 | writeLog("Failed to check token membership"); 339 | FreeSid(AdministratorsGroup); 340 | return -1; 341 | } 342 | 343 | FreeSid(AdministratorsGroup); 344 | return isAdm; 345 | } 346 | 347 | bool MainWindow::canPerformAdminOP() const { 348 | int ret = isAdmin(); 349 | 350 | if (ret < 0) { 351 | writeLog("Failed to check Admin rights, cancelled"); 352 | return false; 353 | 354 | } else if (ret == 0) { 355 | tryRunAsAdmin(); 356 | return false; 357 | } 358 | 359 | return true; 360 | } 361 | 362 | void MainWindow::tryRunAsAdmin() const { 363 | QMessageBox::StandardButton bret {QMessageBox::question(this->window(), "Run as Admin", "This operation requires Admin rights, do you want to restart IGCIT Helper in Admin mode?")}; 364 | SHELLEXECUTEINFO ShExecInfo {}; 365 | WCHAR exePath[MAX_PATH] = {0}; 366 | DWORD ret; 367 | 368 | if (bret == QMessageBox::No) 369 | return; 370 | 371 | ret = GetModuleFileNameW(nullptr, exePath, sizeof(exePath)); 372 | if (ret == 0) { 373 | writeLog("Failed to get IGCIT Helper path"); 374 | return; 375 | } 376 | 377 | ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); 378 | ShExecInfo.fMask = 0; 379 | ShExecInfo.hwnd = nullptr; 380 | ShExecInfo.lpVerb = L"runas"; 381 | ShExecInfo.lpFile = exePath; 382 | ShExecInfo.lpParameters = nullptr; 383 | ShExecInfo.lpDirectory = nullptr; 384 | ShExecInfo.nShow = SW_SHOWNORMAL; 385 | ShExecInfo.hInstApp = nullptr; 386 | 387 | ShellExecuteEx(&ShExecInfo); 388 | QApplication::quit(); 389 | } 390 | 391 | void MainWindow::onTabWidgetTabChange(int idx) { 392 | switch (idx) { 393 | case Tabs::Tools: 394 | updateToolsTab(); 395 | break; 396 | case Tabs::Logs: 397 | ui->tabWidget->setTabText(Tabs::Logs, "Logs"); 398 | break; 399 | default: 400 | break; 401 | } 402 | } 403 | 404 | void MainWindow::onApplyTdrBtnClicked() { 405 | DWORD tdrV = ui->tdrdVal->value(); 406 | DWORD tdrDdiV = ui->tdrddiVal->value(); 407 | LSTATUS ret; 408 | HKEY rkey; 409 | 410 | if (!canPerformAdminOP()) 411 | return; 412 | 413 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\GraphicsDrivers)", 0, KEY_SET_VALUE, &rkey); 414 | if (ret != ERROR_SUCCESS) { 415 | writeLog(QString("Failed to open graphicsdrivers key: %1").arg(ret)); 416 | return; 417 | } 418 | 419 | ret = RegSetValueExA(rkey, "TdrDelay", 0, REG_DWORD, reinterpret_cast(&tdrV), sizeof(DWORD)); 420 | if (ret != ERROR_SUCCESS) { 421 | writeLog(QString("Failed to set tdr value: %1").arg(ret)); 422 | RegCloseKey(rkey); 423 | return; 424 | } 425 | 426 | ret = RegSetValueExA(rkey, "TdrDdiDelay", 0, REG_DWORD, reinterpret_cast(&tdrDdiV), sizeof(DWORD)); 427 | if (ret != ERROR_SUCCESS) { 428 | writeLog(QString("Failed to set tdr ddi value: %1").arg(ret)); 429 | RegCloseKey(rkey); 430 | return; 431 | } 432 | 433 | RegCloseKey(rkey); 434 | tryReboot(); 435 | } 436 | 437 | void MainWindow::onRestoreTdrBtnClicked() { 438 | LSTATUS ret; 439 | HKEY rkey; 440 | 441 | if (!canPerformAdminOP()) 442 | return; 443 | 444 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\GraphicsDrivers)", 0, KEY_SET_VALUE, &rkey); 445 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 446 | writeLog(QString("Failed to open graphicsdrivers key: %1").arg(ret)); 447 | return; 448 | } 449 | 450 | if (ret != ERROR_FILE_NOT_FOUND) { 451 | ret = RegDeleteValueA(rkey, "TdrDelay"); 452 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) 453 | writeLog(QString("Failed to restore tdr value: %1").arg(ret)); 454 | 455 | ret = RegDeleteValueA(rkey, "TdrDdiDelay"); 456 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) 457 | writeLog(QString("Failed to restore tdr ddi value: %1").arg(ret)); 458 | 459 | RegCloseKey(rkey); 460 | } 461 | 462 | ui->tdrdVal->setValue(2); 463 | ui->tdrddiVal->setValue(5); 464 | tryReboot(); 465 | } 466 | 467 | void MainWindow::onDumpsEnableBtnClicked() { 468 | std::tuple createRegKeys[] { 469 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting)", "LocalDumps", KEY_CREATE_SUB_KEY | KEY_WOW64_64KEY, KEY_SET_VALUE | KEY_WOW64_64KEY, "local dumps"), 470 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl)", "LiveKernelReports", KEY_CREATE_SUB_KEY, KEY_SET_VALUE, "live kernel reports"), 471 | }; 472 | std::tuple regKeys[] { 473 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting)", "Disabled", KEY_SET_VALUE, 1, "lm windows error report"), 474 | std::make_tuple(HKEY_CURRENT_USER, R"(Software\Microsoft\Windows\Windows Error Reporting)", "Disabled", KEY_SET_VALUE, 1, "user windows error report"), 475 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting\LocalDumps)", "DumpType", KEY_SET_VALUE | KEY_WOW64_64KEY, 2, "local dumps"), 476 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl\LiveKernelReports)", "DeleteLiveMiniDumps", KEY_SET_VALUE, 0, "live kernel reports"), 477 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl)", "CrashDumpEnabled", KEY_SET_VALUE, 1, "crash control"), 478 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl)", "FilterPages", KEY_SET_VALUE, 1, "filter pages") 479 | }; 480 | const char dumpFolder[] {R"("C:\AppCrashDumps")"}; 481 | LSTATUS ret; 482 | HKEY rkey; 483 | 484 | if (!canPerformAdminOP()) 485 | return; 486 | 487 | for (const auto ®Key: createRegKeys) { 488 | HKEY ckey; 489 | 490 | ret = RegOpenKeyExA(std::get<0>(regKey), std::get<1>(regKey), 0, std::get<3>(regKey), &rkey); 491 | if (ret != ERROR_SUCCESS) { 492 | writeLog(QString("Failed to open %1 key: %2").arg(std::get<5>(regKey)).arg(ret)); 493 | return; 494 | } 495 | 496 | ret = RegCreateKeyExA(rkey, std::get<2>(regKey), 0, nullptr, 0, std::get<4>(regKey), nullptr, &ckey, nullptr); 497 | if (ret != ERROR_SUCCESS) { 498 | writeLog(QString("Failed to create %1 key: %2").arg(std::get<4>(regKey)).arg(ret)); 499 | RegCloseKey(rkey); 500 | return; 501 | } 502 | 503 | RegCloseKey(ckey); 504 | } 505 | 506 | for (const auto ®Key: regKeys) { 507 | DWORD val = std::get<4>(regKey); 508 | 509 | ret = RegOpenKeyExA(std::get<0>(regKey), std::get<1>(regKey), 0, std::get<3>(regKey), &rkey); 510 | if (ret != ERROR_SUCCESS) { 511 | writeLog(QString("Failed to open %1 key: %2").arg(std::get<5>(regKey)).arg(ret)); 512 | return; 513 | } 514 | 515 | ret = RegSetValueExA(rkey, std::get<2>(regKey), 0, REG_DWORD, reinterpret_cast(&val), sizeof(DWORD)); 516 | if (ret != ERROR_SUCCESS) { 517 | writeLog(QString("Failed to set %1 value: %2").arg(std::get<5>(regKey)).arg(ret)); 518 | RegCloseKey(rkey); 519 | return; 520 | } 521 | 522 | RegCloseKey(rkey); 523 | } 524 | 525 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting\LocalDumps)", 0, KEY_SET_VALUE | KEY_WOW64_64KEY, &rkey); 526 | if (ret != ERROR_SUCCESS) { 527 | writeLog(QString("Failed to open dump folder key: %1").arg(ret)); 528 | return; 529 | } 530 | 531 | ret = RegSetValueExA(rkey, "DumpFolder", 0, REG_EXPAND_SZ, reinterpret_cast(dumpFolder), static_cast(strlen(dumpFolder) + 1)); 532 | if (ret != ERROR_SUCCESS) { 533 | writeLog(QString("Failed to set dump folder value: %1").arg(ret)); 534 | RegCloseKey(rkey); 535 | return; 536 | } 537 | 538 | RegCloseKey(rkey); 539 | 540 | if (!ui->dumpsAdvPagefileChk->isChecked()) { 541 | const char pagefileVal[] {"C:\\pagefile.sys 17400 17400\0"}; 542 | DWORD valSz = static_cast(strlen(pagefileVal) + 2); 543 | 544 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management)", 0, KEY_SET_VALUE, &rkey); 545 | if (ret != ERROR_SUCCESS) { 546 | writeLog(QString("Failed to open mem management key: %1").arg(ret)); 547 | return; 548 | } 549 | 550 | ret = RegSetValueExA(rkey, "PagingFiles", 0, REG_MULTI_SZ, reinterpret_cast(pagefileVal), valSz); 551 | if (ret != ERROR_SUCCESS) { 552 | writeLog(QString("Failed to set pagefile value: %1").arg(ret)); 553 | RegCloseKey(rkey); 554 | return; 555 | } 556 | 557 | RegCloseKey(rkey); 558 | } 559 | 560 | tryReboot(); 561 | } 562 | 563 | void MainWindow::onDumpsFixWatchdogDumpsClicked() { 564 | LSTATUS ret; 565 | HKEY rkey; 566 | 567 | if (!canPerformAdminOP()) 568 | return; 569 | 570 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl\LiveKernelReports)", 0, KEY_SET_VALUE, &rkey); 571 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 572 | writeLog(QString("Failed to open live kernel reports key: %1").arg(ret)); 573 | return; 574 | } 575 | 576 | if (ret != ERROR_FILE_NOT_FOUND) { 577 | ret = RegDeleteTreeA(rkey, "WATCHDOG"); 578 | 579 | if (ret != ERROR_SUCCESS) 580 | writeLog(QString("Failed to reset watchdog dumps: %1").arg(ret)); 581 | 582 | RegCloseKey(rkey); 583 | } 584 | 585 | QMessageBox::information(this, "Success", "Done!"); 586 | } 587 | 588 | void MainWindow::onDumpsRestoreDefaultsClicked() { 589 | std::tuple regKeys[] { 590 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting)", "Disabled", KEY_SET_VALUE, "lm windows error report"), 591 | std::make_tuple(HKEY_CURRENT_USER, R"(Software\Microsoft\Windows\Windows Error Reporting)", "Disabled", KEY_SET_VALUE, "user windows error report"), 592 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(Software\Microsoft\Windows\Windows Error Reporting\LocalDumps)", "DumpType", KEY_SET_VALUE | KEY_WOW64_64KEY, "local dumps"), 593 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl\LiveKernelReports)", "DeleteLiveMiniDumps", KEY_SET_VALUE, "live kernel reports"), 594 | std::make_tuple(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl)", "FilterPages", KEY_SET_VALUE, "filter pages") 595 | }; 596 | DWORD three = 3; 597 | LSTATUS ret; 598 | HKEY rkey; 599 | 600 | if (!canPerformAdminOP()) 601 | return; 602 | 603 | for (const auto ®Key: regKeys) { 604 | ret = RegOpenKeyExA(std::get<0>(regKey), std::get<1>(regKey), 0, std::get<3>(regKey), &rkey); 605 | if (ret != ERROR_SUCCESS) { 606 | if (ret != ERROR_FILE_NOT_FOUND) 607 | writeLog(QString("Failed to open %1 key: %2").arg(std::get<4>(regKey)).arg(ret)); 608 | 609 | continue; 610 | } 611 | 612 | ret = RegDeleteValueA(rkey, std::get<2>(regKey)); 613 | if (ret != ERROR_SUCCESS) 614 | writeLog(QString("Failed to set %1 value: %2").arg(std::get<4>(regKey)).arg(ret)); 615 | 616 | RegCloseKey(rkey); 617 | } 618 | 619 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\CrashControl)", 0, KEY_SET_VALUE, &rkey); 620 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 621 | writeLog(QString("Failed to open crash control key: %1").arg(ret)); 622 | return; 623 | } 624 | 625 | if (ret != ERROR_FILE_NOT_FOUND) { 626 | ret = RegSetValueExA(rkey, "CrashDumpEnabled", 0, REG_DWORD, reinterpret_cast(&three), sizeof(DWORD)); 627 | if (ret != ERROR_SUCCESS) { 628 | writeLog(QString("Failed to set crash control value: %1").arg(ret)); 629 | RegCloseKey(rkey); 630 | return; 631 | } 632 | 633 | RegCloseKey(rkey); 634 | } 635 | 636 | if (!ui->dumpsAdvPagefileChk->isChecked()) { 637 | const char pagefileVal[] {"?:\\pagefile.sys\0"}; 638 | DWORD valSz = static_cast(strlen(pagefileVal) + 2); 639 | 640 | ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, R"(SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management)", 0, KEY_SET_VALUE, &rkey); 641 | if (ret != ERROR_SUCCESS && ret != ERROR_FILE_NOT_FOUND) { 642 | writeLog(QString("Failed to open mem management key: %1").arg(ret)); 643 | return; 644 | } 645 | 646 | if (ret != ERROR_FILE_NOT_FOUND) { 647 | ret = RegSetValueExA(rkey, "PagingFiles", 0, REG_MULTI_SZ, reinterpret_cast(pagefileVal), valSz); 648 | if (ret != ERROR_SUCCESS) { 649 | writeLog(QString("Failed to set pagefile value: %1").arg(ret)); 650 | RegCloseKey(rkey); 651 | return; 652 | } 653 | 654 | RegCloseKey(rkey); 655 | } 656 | } 657 | 658 | tryReboot(); 659 | } 660 | 661 | void MainWindow::onDumpsExtractDumpsClicked() { 662 | QString outD {QFileDialog::getExistingDirectory(this, "Select output folder", QStandardPaths::writableLocation(QStandardPaths::DesktopLocation))}; 663 | QString outPath {QString("%1/compressed_dumps.7z").arg(outD)}; 664 | QFile outf(outPath); 665 | 666 | if (outD.isEmpty()) 667 | return; 668 | 669 | extractDumpsCompressThd = new ExtractDumpsCompressThread(this); 670 | 671 | QObject::connect(extractDumpsCompressThd, &ExtractDumpsCompressThread::progressUpdated, this, &MainWindow::onProgressUpdated); 672 | QObject::connect(extractDumpsCompressThd, &ExtractDumpsCompressThread::logMessageWritten, this, &MainWindow::writeLog); 673 | QObject::connect(extractDumpsCompressThd, &ExtractDumpsCompressThread::resultReady, this, &MainWindow::onExtractDumpsCompressedThdResultready); 674 | QObject::connect(extractDumpsCompressThd, &ExtractDumpsCompressThread::finished, this, &MainWindow::onExtractDumpsCompressedFinished); 675 | 676 | if (outf.exists()) 677 | outf.remove(); 678 | 679 | ui->dumpsExtrBtn->setEnabled(false); 680 | ui->dumpsExtractProgbar->setValue(0); 681 | extractDumpsCompressThd->setOutputPath(outPath); 682 | extractDumpsCompressThd->start(); 683 | ui->dumpsAbortCompressBtn->setEnabled(true); 684 | } 685 | 686 | void MainWindow::onExtractDumpsCompressedFinished() { 687 | if (extractDumpsCompressThd->isCancelled()) 688 | QFile(extractDumpsCompressThd->getOutputPath()).remove(); 689 | 690 | extractDumpsCompressThd->deleteLater(); 691 | ui->dumpsExtractProgbar->setValue(0); 692 | ui->dumpsExtrBtn->setEnabled(true); 693 | } 694 | 695 | void MainWindow::onProgressUpdated(int progress) { 696 | ui->dumpsExtractProgbar->setValue(progress); 697 | } 698 | 699 | void MainWindow::onExtractDumpsCompressedThdResultready(bool res, const QString &outPath) { 700 | QFile outF(outPath); 701 | 702 | ui->dumpsAbortCompressBtn->setEnabled(false); 703 | ui->dumpsExtractProgbar->setValue(0); 704 | ui->dumpsExtrBtn->setEnabled(true); 705 | 706 | if (res && outF.exists()) 707 | QMessageBox::information(this, "Success", QString("Dumps compressed to %1").arg(outPath)); 708 | else if (res && !outF.exists()) 709 | QMessageBox::information(this, "Success", "No dumps have been found"); 710 | else 711 | QMessageBox::warning(this, "Error", "Failed to extract and compress dumps"); 712 | } 713 | 714 | void MainWindow::onDumpsCancelExtractBtnClicked() { 715 | QObject::disconnect(extractDumpsCompressThd, &ExtractDumpsCompressThread::progressUpdated, this, &MainWindow::onProgressUpdated); 716 | QObject::disconnect(extractDumpsCompressThd, &ExtractDumpsCompressThread::logMessageWritten, this, &MainWindow::writeLog); 717 | QObject::disconnect(extractDumpsCompressThd, &ExtractDumpsCompressThread::resultReady, this, &MainWindow::onExtractDumpsCompressedThdResultready); 718 | 719 | extractDumpsCompressThd->quit(); 720 | extractDumpsCompressThd->requestInterruption(); 721 | ui->dumpsAbortCompressBtn->setEnabled(false); 722 | } 723 | 724 | void MainWindow::onDumpsClearBtnClicked() { 725 | if (!canPerformAdminOP()) 726 | return; 727 | 728 | QDir appCrash {R"(C:\AppCrashDumps)"}; 729 | QDir miniDump {R"(C:\Windows\Minidump)"}; 730 | QDir watchdog {R"(C:\Windows\LiveKernelReports\WATCHDOG)"}; 731 | 732 | if (appCrash.exists() && !appCrash.removeRecursively()) 733 | writeLog(R"(Failed to clean C:\AppCrashDumps)"); 734 | 735 | if (miniDump.exists() && !miniDump.removeRecursively()) 736 | writeLog(R"(Failed to clean C:\Windows\Minidump)"); 737 | 738 | if (watchdog.exists() && !watchdog.removeRecursively()) 739 | writeLog(R"(Failed to clean C:\Windows\LiveKernelReports\WATCHDOG)"); 740 | 741 | QDir().mkdir(R"(C:\AppCrashDumps)"); 742 | QDir().mkdir(R"(C:\Windows\Minidump)"); 743 | QDir().mkdir(R"(C:\Windows\LiveKernelReports\WATCHDOG)"); 744 | 745 | QMessageBox::information(this, "Success", "done!"); 746 | } 747 | 748 | void MainWindow::onSsuAnonBtnClicked() { 749 | QString ssu = QFileDialog::getOpenFileName(this, "Open SSU Report", QStandardPaths::writableLocation(QStandardPaths::DesktopLocation), "Text files (*.txt)"); 750 | QFile ssuFile {ssu}; 751 | QString outPath {QString("%1/igcit_ssu.txt").arg(QFileInfo(ssuFile).absolutePath())}; 752 | QFile ssuOut {outPath}; 753 | char username[UNLEN + 1] = {0}; 754 | char samUname[UNLEN + 1] = {0}; 755 | DWORD usernameLen = UNLEN + 1; 756 | DWORD samUnameLen = UNLEN + 1; 757 | QString ssuCont; 758 | BOOL bret; 759 | 760 | if (ssu.isEmpty()) 761 | return; 762 | 763 | if (!ssuFile.open(QIODevice::ReadOnly)) { 764 | writeLog("Failed to read ssu report file"); 765 | return; 766 | 767 | } else if (!ssuOut.open(QIODevice::WriteOnly)) { 768 | writeLog(QString("Failed to create output file: %1").arg(outPath)); 769 | ssuFile.close(); 770 | return; 771 | } 772 | 773 | ssuCont = ssuFile.readAll(); 774 | 775 | for (const QRegularExpression &rex: ssuRexList) 776 | ssuCont.replace(rex, ""); 777 | 778 | bret = GetUserNameExA(EXTENDED_NAME_FORMAT::NameSamCompatible, samUname, &samUnameLen); 779 | if (bret > 0) 780 | ssuCont.replace(samUname, ""); 781 | 782 | bret = GetUserNameA(username, &usernameLen); 783 | if (bret > 0) 784 | ssuCont.replace(username, ""); 785 | 786 | if (ssuOut.write(ssuCont.toUtf8()) == -1) 787 | writeLog(QString("Failed to write %1").arg(outPath)); 788 | else 789 | QMessageBox::information(this, "Anonimyze SSU", QString("output: %1").arg(outPath)); 790 | 791 | ssuOut.close(); 792 | ssuFile.close(); 793 | } 794 | -------------------------------------------------------------------------------- /IGCIT Helper/mainwindow.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #include "ExtractDumpsCompressThread.h" 9 | 10 | QT_BEGIN_NAMESPACE 11 | namespace Ui { class MainWindow; } 12 | QT_END_NAMESPACE 13 | 14 | class MainWindow : public QMainWindow { 15 | Q_OBJECT 16 | 17 | public: 18 | MainWindow(QWidget *parent = nullptr); 19 | ~MainWindow(); 20 | 21 | private: 22 | enum Tabs { 23 | Device = 0, 24 | Tools, 25 | Logs, 26 | About 27 | }; 28 | 29 | QList ssuRexList { 30 | QRegularExpression {R"((\s+MAC\sAddress:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 31 | QRegularExpression {R"((\s+IP\s(Address|Subnet):\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 32 | QRegularExpression {R"((\s+Default\sIP\sGateway:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 33 | QRegularExpression {R"((\s+Access\sPoint:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 34 | QRegularExpression {R"((\s+Serial\sNumber:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 35 | QRegularExpression {R"((\s+Machine\sname:.*$))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 36 | QRegularExpression {R"((\s+Machine\sId:.*$))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 37 | QRegularExpression {R"((\s+Network\sName:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 38 | QRegularExpression {R"((\s+Profile:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption}, 39 | QRegularExpression {R"((\s+Net\sConnection\sID:\".*\"))", QRegularExpression::CaseInsensitiveOption | QRegularExpression::MultilineOption} 40 | }; 41 | QPointer extractDumpsCompressThd; 42 | Ui::MainWindow *ui; 43 | 44 | [[nodiscard]] 45 | QString getFormattedMemorySize(DWORDLONG bytes) const; 46 | 47 | [[nodiscard]] 48 | int isAdmin() const; 49 | 50 | [[nodiscard]] 51 | bool canPerformAdminOP() const; 52 | 53 | void setWindowsBuildLbl() const; 54 | void setProcessorLbl() const; 55 | void setMemoryLbl() const; 56 | void setInfoFromBios() const; 57 | void setGpusInfo() const; 58 | void writeLog(const QString &msg) const; 59 | void addGpuInfoRow(int gpuIdx, const QString &label, const QString &value) const; 60 | void updateToolsTab() const; 61 | void tryReboot() const; 62 | void tryRunAsAdmin() const; 63 | 64 | private slots: 65 | void onTabWidgetTabChange(int idx); 66 | void onApplyTdrBtnClicked(); 67 | void onRestoreTdrBtnClicked(); 68 | void onDumpsEnableBtnClicked(); 69 | void onDumpsFixWatchdogDumpsClicked(); 70 | void onDumpsRestoreDefaultsClicked(); 71 | void onDumpsExtractDumpsClicked(); 72 | void onProgressUpdated(int progress); 73 | void onExtractDumpsCompressedThdResultready(bool res, const QString &outPath); 74 | void onExtractDumpsCompressedFinished(); 75 | void onDumpsCancelExtractBtnClicked(); 76 | void onDumpsClearBtnClicked(); 77 | void onSsuAnonBtnClicked(); 78 | }; 79 | -------------------------------------------------------------------------------- /IGCIT Helper/mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 500 10 | 400 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | 21 | 500 22 | 400 23 | 24 | 25 | 26 | 27 | 500 28 | 400 29 | 30 | 31 | 32 | IGCIT Helper 33 | 34 | 35 | 36 | 37 | 38 | 39 | 3 40 | 41 | 42 | 43 | Device 44 | 45 | 46 | 47 | 48 | 49 | #deviceScrollArea,#deviceScrollAreaWidgetContents {background-color:transparent;} 50 | 51 | 52 | QFrame::NoFrame 53 | 54 | 55 | QFrame::Plain 56 | 57 | 58 | Qt::ScrollBarAlwaysOff 59 | 60 | 61 | true 62 | 63 | 64 | 65 | 66 | 0 67 | 0 68 | 152 69 | 178 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 0 80 | 0 81 | 82 | 83 | 84 | 85 | 0 86 | 0 87 | 88 | 89 | 90 | OS version: 91 | 92 | 93 | 94 | 95 | 96 | 97 | Unknown 98 | 99 | 100 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 101 | 102 | 103 | Qt::TextSelectableByMouse 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 0 116 | 0 117 | 118 | 119 | 120 | 121 | 0 122 | 0 123 | 124 | 125 | 126 | Processor: 127 | 128 | 129 | 130 | 131 | 132 | 133 | Unknown 134 | 135 | 136 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 137 | 138 | 139 | Qt::TextSelectableByMouse 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 0 152 | 0 153 | 154 | 155 | 156 | 157 | 0 158 | 0 159 | 160 | 161 | 162 | Memory: 163 | 164 | 165 | 166 | 167 | 168 | 169 | Unknown 170 | 171 | 172 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 173 | 174 | 175 | Qt::TextSelectableByMouse 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 0 188 | 0 189 | 190 | 191 | 192 | 193 | 0 194 | 0 195 | 196 | 197 | 198 | Model: 199 | 200 | 201 | 202 | 203 | 204 | 205 | Unknown 206 | 207 | 208 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 209 | 210 | 211 | Qt::TextSelectableByMouse 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 0 224 | 0 225 | 226 | 227 | 228 | 229 | 0 230 | 0 231 | 232 | 233 | 234 | Manufacturer: 235 | 236 | 237 | 238 | 239 | 240 | 241 | Unknown 242 | 243 | 244 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 245 | 246 | 247 | Qt::TextSelectableByMouse 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | Qt::Vertical 257 | 258 | 259 | QSizePolicy::Fixed 260 | 261 | 262 | 263 | 20 264 | 40 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | Tools 278 | 279 | 280 | 281 | 282 | 283 | #toolsScrollArea, #toolsScrollAreaWidgetContents{background-color:transparent;} 284 | 285 | 286 | QFrame::NoFrame 287 | 288 | 289 | QFrame::Plain 290 | 291 | 292 | true 293 | 294 | 295 | 296 | 297 | 0 298 | 0 299 | 441 300 | 493 301 | 302 | 303 | 304 | 305 | 306 | 307 | TDR delay 308 | 309 | 310 | 311 | 312 | 313 | <html><head/><body><p><a href="https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/GPU-drivers-crash-with-long-computations"><span style=" text-decoration: underline; color:#0000ff;">Help</span></a></p></body></html> 314 | 315 | 316 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 317 | 318 | 319 | true 320 | 321 | 322 | Qt::TextBrowserInteraction 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | TdrDelay (seconds) 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | TdrDdiDelay (seconds) 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | Qt::Vertical 358 | 359 | 360 | QSizePolicy::Fixed 361 | 362 | 363 | 364 | 20 365 | 5 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | Restore defaults 376 | 377 | 378 | 379 | 380 | 381 | 382 | Apply 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | Crash dumps 395 | 396 | 397 | 398 | 399 | 400 | Enable 401 | 402 | 403 | 404 | 405 | 406 | 407 | <html><head/><body><p>Reset watchdog dumps generation</p></body></html> 408 | 409 | 410 | Fix watchdog dumps 411 | 412 | 413 | 414 | 415 | 416 | 417 | Options 418 | 419 | 420 | 421 | 422 | 423 | <html><head/><body><p>Do not change Pagefile settings when enabling or restoring crash dumps settings.</p><p>Only useful for custom setups, Intel recommends a value of at least 17400 MB.</p></body></html> 424 | 425 | 426 | Skip pagefile changes (Advanced users only) 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | Restore defaults 437 | 438 | 439 | 440 | 441 | 442 | 443 | Clear dump folders 444 | 445 | 446 | 447 | 448 | 449 | 450 | Extract (compressed) 451 | 452 | 453 | 454 | 455 | 456 | 457 | false 458 | 459 | 460 | Cancel 461 | 462 | 463 | 464 | 465 | 466 | 467 | Qt::Vertical 468 | 469 | 470 | QSizePolicy::Fixed 471 | 472 | 473 | 474 | 20 475 | 10 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 0 484 | 485 | 486 | 487 | 488 | 489 | 490 | <html><head/><body><p><a href="https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-obtain-crash-dumps"><span style=" text-decoration: underline; color:#0000ff;">Help</span></a></p></body></html> 491 | 492 | 493 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 494 | 495 | 496 | true 497 | 498 | 499 | Qt::TextBrowserInteraction 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | SSU report 510 | 511 | 512 | 513 | 514 | 515 | <html><head/><body><p><a href="https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/How-to-generate-Intel-System-Support-Utility-report"><span style=" text-decoration: underline; color:#0000ff;">Help</span></a></p></body></html> 516 | 517 | 518 | Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 519 | 520 | 521 | true 522 | 523 | 524 | Qt::TextBrowserInteraction 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | Anonymize 534 | 535 | 536 | 537 | 538 | 539 | 540 | Qt::Horizontal 541 | 542 | 543 | QSizePolicy::Fixed 544 | 545 | 546 | 547 | 10 548 | 20 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 0 558 | 0 559 | 560 | 561 | 562 | This function may not remove all data, please check the output before posting online. 563 | 564 | 565 | false 566 | 567 | 568 | true 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | Logs 586 | 587 | 588 | 589 | 590 | 591 | false 592 | 593 | 594 | QFrame::Plain 595 | 596 | 597 | true 598 | 599 | 600 | 601 | 602 | 603 | 604 | 0 605 | 606 | 607 | 608 | 609 | Qt::Horizontal 610 | 611 | 612 | 613 | 40 614 | 20 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | Clear 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | About 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | Qt::Horizontal 641 | 642 | 643 | 644 | 40 645 | 20 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 0 655 | 0 656 | 657 | 658 | 659 | 660 | 0 661 | 0 662 | 663 | 664 | 665 | 666 | 160 667 | 160 668 | 669 | 670 | 671 | 672 | 673 | 674 | :/icons/resources/IGCIT-logo.ico 675 | 676 | 677 | true 678 | 679 | 680 | 681 | 682 | 683 | 684 | <html><head/><body><p><span style=" font-size:26pt; font-weight:700; font-style:italic; color:#55aaff;">IGCIT Helper</span></p></body></html> 685 | 686 | 687 | 688 | 689 | 690 | 691 | Qt::Horizontal 692 | 693 | 694 | 695 | 40 696 | 20 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | Qt::Vertical 707 | 708 | 709 | QSizePolicy::Fixed 710 | 711 | 712 | 713 | 20 714 | 10 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 0 723 | 724 | 725 | 726 | 727 | <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700;">Version 2.0.1</span></p><p align="center"><span style=" font-size:12pt; font-weight:700;">Author: IGCIT</span></p><p align="center"><span style=" font-size:12pt; font-weight:700;">License: GPLv3</span></p><p align="center"><a href="https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/IGCIT-Helper"><span style=" font-size:12pt; text-decoration: underline; color:#0000ff;">Wiki</span></a> - <a href="https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT"><span style=" font-size:12pt; text-decoration: underline; color:#0000ff;">Sources</span></a></p></body></html> 728 | 729 | 730 | true 731 | 732 | 733 | Qt::TextBrowserInteraction 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | Qt::Vertical 743 | 744 | 745 | 746 | 20 747 | 40 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | Sources 761 | 762 | 763 | 764 | 765 | Help 766 | 767 | 768 | 769 | 770 | About 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | -------------------------------------------------------------------------------- /IGCIT Helper/resources/IGCIT-logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/IGCIT Helper/resources/IGCIT-logo.ico -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Intel GPU Community Issue Tracker (IGCIT) 2 | 3 | ![](img/IGCIT-logo-256.png) 4 | 5 | **IGCIT** is a Community-driven issue tracker for Intel GPUs. 6 | 7 | All the issues here will be reported directly to Intel. 8 | 9 | Please, do **not** ping Intel employees in your issues. 10 | 11 | We collect issues for **Windows only**, everything else, like Linux, must be reported to the respective developers. 12 | We also collect issues from **emulator developers**, if you find a bug in Intel **Windows drivers**, you can report it here. 13 | 14 | You can report Mesa issues [here](https://gitlab.freedesktop.org/mesa/mesa). 15 | 16 | --- 17 | 18 | ## IGCIT Wiki 19 | 20 | IGCIT Wiki contains how-tos, links to latest drivers and release notes, and more.. 21 | 22 | [Open IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki) 23 | 24 | --- 25 | 26 | ## How to report a bug 27 | 28 | To get access to our issue forms, please follow these steps in this exact order: 29 | 30 | * Login to GitHub, or create a new account and login. 31 | * Go to **Issues** and click **New issue** 32 | * You should now see the list of _IGCIT_ issue forms 33 | 34 | --- 35 | 36 | ## IGCIT Tools 37 | 38 | 39 | ### IGCIT Helper 40 | 41 | This is a small utility to easily extract all the required information about your device. 42 | 43 | See more in [IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/IGCIT-Helper). 44 | 45 | Download latest release [here](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/releases/tag/igcit-help2.0.0). 46 | 47 | ### IGCIT Driver Switch 48 | 49 | A tool to switch your _**Intel GPU driver**_ on the fly, based on Ciphray switch_driver.bat. 50 | 51 | Its aim is to help to identify regressions quickly and easily. 52 | 53 | See more in [IGCIT Wiki](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/wiki/igcit-driver-switch). 54 | 55 | Download latest release [here](https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/releases/tag/drv-switch-v4). 56 | 57 | --- 58 | 59 | ## FAQs 60 | 61 | > **Q**: How can I help? 62 | > 63 | > **A**: Test games and find issues! 64 | 65 | > **Q**: Should I update my issue if it has been fixed by a driver update? 66 | > 67 | > **A**: Yes, add more info if you find something new, or, if your issue has been fixed, please close it. 68 | 69 | --- 70 | 71 | 72 | ## Credits 73 | 74 | * A big thanks to _**BenjaminLSR**_ for reporting issues to Intel! 75 | * Ciphray: switch_driver.bat code. 76 | -------------------------------------------------------------------------------- /img/IGCIT-logo-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/IGCIT-logo-256.png -------------------------------------------------------------------------------- /img/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/about.jpg -------------------------------------------------------------------------------- /img/cpuname.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/cpuname.jpg -------------------------------------------------------------------------------- /img/dxdiag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/dxdiag.jpg -------------------------------------------------------------------------------- /img/dxdiagDisplay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/dxdiagDisplay.jpg -------------------------------------------------------------------------------- /img/dxdiagDriverVer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/dxdiagDriverVer.jpg -------------------------------------------------------------------------------- /img/intelgpucenter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/intelgpucenter.jpg -------------------------------------------------------------------------------- /img/intelgpucenterDriverVer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/intelgpucenterDriverVer.jpg -------------------------------------------------------------------------------- /img/intelgpucenterGpus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/intelgpucenterGpus.jpg -------------------------------------------------------------------------------- /img/intelgpucenterSys.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/intelgpucenterSys.jpg -------------------------------------------------------------------------------- /img/lightshotOpts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/lightshotOpts.jpg -------------------------------------------------------------------------------- /img/lightshotOptsSet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/lightshotOptsSet.jpg -------------------------------------------------------------------------------- /img/lightshotTray.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/lightshotTray.jpg -------------------------------------------------------------------------------- /img/run.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/run.jpg -------------------------------------------------------------------------------- /img/startBtn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/startBtn.jpg -------------------------------------------------------------------------------- /img/sysSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/sysSettings.jpg -------------------------------------------------------------------------------- /img/winBuildVer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/winBuildVer.jpg -------------------------------------------------------------------------------- /img/windowsSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/windowsSettings.jpg -------------------------------------------------------------------------------- /img/windowsSettingsEOA.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/windowsSettingsEOA.jpg -------------------------------------------------------------------------------- /img/windowsSettingsKbd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/windowsSettingsKbd.jpg -------------------------------------------------------------------------------- /img/windowsSettingsShot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/565689d8e84a7e1fa8a3f0df0b77f13fec711d40/img/windowsSettingsShot.jpg --------------------------------------------------------------------------------