Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
weiby3 opened this issue Feb 2, 2019 · 1 comment
Open

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

weiby3 opened this issue Feb 2, 2019 · 1 comment

Comments

@weiby3
Copy link

weiby3 commented Feb 2, 2019

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

(重要!问题分类)

  • 测试开发环境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
类似情况的解决方案
可以尝试加一个option使用opengl软件渲染。

@yimelia
Copy link
Member

yimelia commented Feb 3, 2019

hi @weiby3 非常感谢你的反馈,这个解决方案我们之前有准备尝试,但是由于找不到合适的测试环境(在windows下的、脚本编辑器的黑屏,暂时没能找到可用的机器能重现这个问题)一直没能够进行测试,我们会在年后进行更多测试后尝试放出这个类似选项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants