AirtestProject / AirtestProject/AirtestIDE

通过X11转发访问时主窗口黑屏

未关闭
#314 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
236
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。**否则直接关闭。**)

**(重要!问题分类)**
* 测试开发环境AirtestIDE使用问题(本软件) -> 这里

**描述问题bug**
服务器为Ubuntu16.04,本地通过ssh+X11转发打开时主窗口黑屏,但右击窗口时出现的选项界面正常

**截屏**
log信息如下:
```
(xenial)kq@localhost:~$ /usr/lib/AirtestIDE
Info: filter not set, use raven.filter.FullPassFilter instead.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kq'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kq'
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version
loading config from : ['/home/kq/.local/share/AirtestIDE/AirtestIDE/user.json']
Unrecognized OpenGL version
Unrecognized OpenGL version
QQuickWidget: Failed to make context current
QQuickWidget::resizeEvent() no OpenGL context
QQuickWidget: Failed to make context current
QQuickWidget: Attempted to render scene with no context
Unrecognized OpenGL version
Unrecognized OpenGL version
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
QQuickWidget::invalidateRenderControl could not make context current
QXcbClipboard: Unable to receive an event from the clipboard manager in a reasonable time
```

**复现步骤**
1. 服务器上安装airtest
2. 通过ssh+X11转发打开airtestide

**预期效果**
正常窗口界面

**python 版本:**

**操作系统:** `Ubuntu 16.04`

**设备:**

**其他信息**
谷歌相关错误log之后发现跟qt相关,类似的情况可见这个[issue](https://github.com/spyder-ide/spyder/issues/7447)
类似情况的解决[方案](https://github.com/spyder-ide/spyder/pull/7700)
可以尝试加一个option使用opengl软件渲染。

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。