Qt5.6只能用wayland显示不能用eglfs显示的问题
平台: Ti AM437x SDK3.01
用eglfs显示的时候出现下面的错误:
root@am437x-evm:~# ./myApp -platform eglfs
...
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Permission denied [0, ]
EGL Error : Could not create the egl surface: error = 0x3003
Aborted (core dumped)
root@am437x-evm:~#
用wayland显示就可以:
root@am437x-evm:~# ./myApp -platform wayland
...
Using Wayland-EGL
wlpvr: PVR Services Initialised
...
root@am437x-evm:~#
我有好几个问题想麻烦大家帮忙看一下:
1. eglfs显示的这个错误有可能是什么原因造成的?
2. wayland对我来说有点复杂的感觉,我有没有办法把这种方式给remove掉?
3. 如果一定要用到wayland,那我想知道如何配置wayland,比如让自己的app全屏显示、旋转180度等等。
谢谢大家了:)