1 Nvidia GeForce GTX 1650不支持OpenGL4.6
更新Nvidia GeForce GTX 1650显卡驱动到最新的NVIDIA 512.15
C:\Users\pgjgg>nvidia-smi
Tue Apr 12 19:36:58 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 512.15 Driver Version: 512.15 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... WDDM | 00000000:01:00.0 Off | N/A |
| N/A 44C P8 4W / N/A | 453MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 5128 C+G ...ge\Application\msedge.exe N/A |
| 0 N/A N/A 11092 C+G ...es.TextInput.InputApp.exe N/A |
| 0 N/A N/A 12424 C+G ...cw5n1h2txyewy\LockApp.exe N/A |
| 0 N/A N/A 12908 C+G ...virus\ui\RAVAntivirus.exe N/A |
| 0 N/A N/A 13148 C+G ...ekyb3d8bbwe\YourPhone.exe N/A |
| 0 N/A N/A 17280 C+G ...kyb3d8bbwe\Calculator.exe N/A |
| 0 N/A N/A 19008 C+G ...tracted\WechatBrowser.exe N/A |
| 0 N/A N/A 20168 C+G ...n64\EpicGamesLauncher.exe N/A |
+-----------------------------------------------------------------------------+
设置显卡类型,并查看OpenGL版本。
实际效果:
Renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
Vendor: NVIDIA Corporation
Memory: 4095 MB
Version: 4.4.0 NVIDIA 512.15
Shading language version: 4.40 NVIDIA via Cg compiler
官网宣传:
This release supports the following APIs:
- Open Computing Language (OpenCL software) 3.0 for NVIDIA Maxwell and later GPUs
- OpenGL 4.6
- Vulkan 1.3
- DirectX 11
- DirectX 12Software Module Versions
- NVIDIA RTX Desktop Manager - 202.59
- HD Audio Driver - 1.3.39.3
- NVIDIA PhysX System Software - 9.21.0713
- GeForce Experience - 3.24.0.126
- CUDA - 11.6
- DCH NVIDIA Control Panel - 8.1.962.0
2 安装cuda_11.5.1_496.13_windows.exe后,仍然不支持opengl4.6
3 参考链接
OpenGL Driver Support | NVIDIA Developerhttps://developer.nvidia.com/opengl-driver
在Ubuntu 18.04中将OpenGL版本更新为4.6 | 码农俱乐部 - Golang中国 - Go语言中文社区 (mlog.club)https://mlog.club/article/2083553
Download NVIDIA STUDIO Graphics Driver 512.15 for Windows 10 64 bit, Windows 11 (softpedia.com)https://drivers.softpedia.com/get/GRAPHICS-BOARD/NVIDIA/NVIDIA-STUDIO-Graphics-Driver-512-15.shtml