运行程序时,使用Pangolin显示,pangolin界面黑屏,电脑卡住,之后程序崩溃。
解决办法:
执行下面命令后,再执行程序。
export LIBGL_ALWAYS_SOFTWARE=1
如果还不好用:可以按照下面这个方式配置:
1. sudo vim /etc/default/grub
2. find GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
3. Then add "nomodeset" at the end, save, and exit.
for example, GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
5. sudo update-grub
6. reboot
After these operations, all programs can be executed well on my PC.
You can check it on your PC. If it works well, maybe you can add
this tip to the document, which could be helpful.