This is an AI agent for Street Fighter II Champion Edition.
6.3k
stars
1.36k
forks
source link
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory #54
Open
laozhuang727 opened 1 year ago
我的机器上有两个显卡,运行的时候报上面的这个错误 执行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
重启后再运行代码,问题得以解决