AirtestProject / AirtestProject/AirtestIDE

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

Aberta
#314 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Sem dados de linguagem
Estrelas
236
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.