[Open3D ERROR] GLFW Error: WGL: Failed to make context current解决方案
[Open3D ERROR] GLFW Error: WGL: Failed to make context current的解决方案
- 报错问题
- 相关现象
- 解决方案
- 具体步骤
- 总结
报错问题
在Python环境下import open3d库,运行含有如下代码时
o3d.visualization.draw_geometries()
当使用鼠标移动点云模型会闪退,并出现如图所示的两种错误:
[Open3D ERROR] GLFW Error: WGL: Failed to make context current:句柄无效
[Open3D ERROR] GLFW Error: WGL: Failed to make context current:不支持请求的转换操作
这类报错偶尔出现,有的时候会自动消失,有的时候有会浮现出来。
相关现象
在寻求解决方案的过程中,笔者发现在openCV和openGL中也会出现类似问题;并且问题不局限与python语言环境中,在C++环境下也会出现类似的问题。
在反复查看open3d源代码的情况下,基本可以排除是open3d源代码的问题。考虑是GLFW和WGL拓展的问题。
解决方案
在花费一段时间综合考虑各方面的情形后,笔者将视线转移到了硬件上。
将可视化处理时,显卡是重要因素。
具体步骤
- 升级显卡驱动至最新版本。
- 运行python和pycharm时强制使用更高性能的显卡,避免使用集成显卡。
至此,问题解决,可以正常使用
总结
进行图像数据及其可视化时尽量使用支持openGL的高性能设备;
出现 ERROR 时也应该适当考虑硬件问题
[Open3D ERROR] GLFW Error: WGL: Failed to make context current解决方案相关推荐
- Error Some file crunching failed, see logs for details 解决方案
报错Bug: Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching f ...
- 解决 ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)异常
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) 解决方案: 在java_opts="-Xd ...
- [error] OpenEvent(Global\ngx_stop_25184) failed (2: The system cannot find the file specified)
windows下nginx报错! nginx: [error] OpenEvent("Global\ngx_reload_23212") failed (2: The syste ...
- Original error was: DLL load failed: 找不到指定的模块。--解决办法
问题描述:今天装了一下pytorch,在pycharm中运行代码时显示下面错误:Original error was: DLL load failed: 找不到指定的模块.查找原因后发现是在pycha ...
- 成功解决urllib.error.URLError urlopen error Errno 11004 getaddrinfo failed
成功解决urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed> 目录 解决问题 解决思路 解决方法 ...
- Python运行异常 Original error was: DLL load failed:
完整报错: ImportError: Importing the multiarray numpy extension module failed. Most likely you are tryin ...
- IntelliJ IDEA 编译错误,提示 Compilation failed: internal java compiler error或java compiler failed
一般遇到Compilation failed: internal java compiler error 或 java compiler failed,都是java版本设置有问题.需要做如下设置: ...
- springboot七牛云---报{“error“:“download token auth failed“}错误
使用七牛云下载时报{"error":"download token auth failed"}错误 在官方文档找到的解决方案: https://develope ...
- 安装 | MatlabR2019b: License Manager Error -8. License checkout failed.
博主github:https://github.com/MichaelBeechan 博主CSDN:https://blog.csdn.net/u011344545 最近在安装MATLAB2019b, ...
- vue报错:Module build failed: Error: Node Sass does not yet support your current environment: Windows
Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit ...
最新文章
- [leetcode] Construct Binary Tree from Preorder and Inorder Traversal
- React Native基础入门教程:初步使用Flexbox布局
- 今晚直播 | 微软亚洲研究院徐毅恒:预训练时代下的文档智能
- VS2010+WinXP+MFC程序 无法定位程序输入点于动态链接库
- 2007cad多个文件窗口上部排列_【中考信息技术总复习讲义】模块三 操作系统与文件管理...
- 详细介绍jQuery.outerWidth() 函数具体用法
- Jenkins部署Web项目到远程tomcat
- IBM宣布:成功研制出了量子计算机原型机,量子计算机商业化正在加速!
- 一步一步学ios UITextView(多行文本框)控件的用法详解(五5.8)
- chrome应用商店打不开_Chrome 浏览器必备“扩展管理工具”,一键管理 Chrome 扩展...
- Openlayers + Vue实现GIS地图的一些常见问题(整理)
- 初探springboot的荆棘之路
- 微信小程序-猜拳小游戏
- UltraISO刻录系统光盘或刻录U启系统
- lego loam 安装过程与问题处理
- codec engine 编译
- 【Hive+MySQL+Python】淘宝用户购物行为数据分析项目
- 计算机系统权限授权,win 7 期间版操作系统的权限说明
- 计算机三级网络技术笔记
- 室内定位技术(三)——自有定位技术
热门文章
- Linux_29_Linux-Vsftpd
- Leetcode 500:键盘行
- Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
- Matlab如何在一个窗口绘制多张子图
- 我不想加班,您看我还有机会吗?
- win7计算机系统还原,使用Win7系统自带的系统还原功能将电脑恢复到正常状态
- 微信在服务器上发不了图片大小,为什么微信发不了图片?这四招教你解决难题...
- phalapi可以依赖注入么_PhalApi:[2.11] 核心思想:DI依赖注入 让资源更可控
- 堆溢出-unlink
- Exploring Pre-trained Language Models for Event Extraction and Generation 论文阅读