官方界面的程序,3D和QT 的例子都可以运行,但运行 SDK里的一个2D openg加速绘图 ,发现OPENGL 没启动?
显示为黑色,下面是打印信息。
过程 :
root@am335x-evm:/usr/share/qt5/examples/opengl/2dpainting# ./2dpainting
PVR: Hint: Setting WindowSystem to libpvrDRMWSEGL_FRONT.so
mode for connector 20 is 800x480
DRM SET CRTC: index: 0 fd: 6, crtc: 12, fb: 19, conn: 14, mode: 800x480
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
No such plugin for spec "Auto"
PVR: Hint: Setting DisableHWTQTextureUpload to 1
QEGLPlatformContext: Failed to make temporary surface current, format not updated
PVR: Hint: Setting DisableHWTQTextureUpload to 1
QEGLPlatformContext: Failed to make temporary surface current, format not updated
PVR: Hint: Setting DisableHWTQTextureUpload to 1
QEGLPlatformContext: Failed to make temporary surface current, format not updated
^CQEGLPlatformContext: eglMakeCurrent failed: 3009
QOpenGLWidget: Failed to make context current
PVR: Hint: Setting DisableHWTQTextureUpload to 1
QEGLPlatformContext: Failed to make temporary surface current, format not updated
QEGLPlatformContext: eglMakeCurrent failed: 3009
QOpenGLWidget: Failed to make context current
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::save: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
求指点下,看了processors.wiki.ti.com/.../Processor_Linux_SDK_Graphics_and_Display
不太明白,试了输入命令 kmscube ,发现系统没有这个命令 。。。不知道怎么办了,求大神指点 !!
其他几个opengl文件下的例子,倒是都可以运行

