We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的机器上有两个显卡,运行的时候报上面的这个错误 执行glxinfo |grep OpenGL 发现第一个显卡不是nvidia的主显卡
留一个解决方案给后人 sudo prime-select nvidia sudo reboot
再次执行glxinfo |grep OpenGL 发现第一个显卡已经是nvidia的主显卡 (StreetFighterAI) ➜ main git:(master) glxinfo |grep OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce RTX 4080 Laptop GPU/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 530.30.02 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6.0 NVIDIA 530.30.02 OpenGL shading language version string: 4.60 NVIDIA
重启后再运行代码,问题得以解决
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的机器上有两个显卡,运行的时候报上面的这个错误
执行glxinfo |grep OpenGL 发现第一个显卡不是nvidia的主显卡
留一个解决方案给后人
sudo prime-select nvidia
sudo reboot
再次执行glxinfo |grep OpenGL 发现第一个显卡已经是nvidia的主显卡
(StreetFighterAI) ➜ main git:(master) glxinfo |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4080 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 530.30.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 530.30.02
OpenGL shading language version string: 4.60 NVIDIA
重启后再运行代码,问题得以解决
The text was updated successfully, but these errors were encountered: