AirtestProject / AirtestProject/AirtestIDE

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

Abierto
#314 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
236
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

**(重要!问题分类)**
* 测试开发环境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软件渲染。

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.