AirtestProject / AirtestProject/AirtestIDE

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

オープン
#314 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。