AM5718: [ 263.181732] PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable.

Part Number: AM5718

root@TK-AQ-REC-XJT:~# ./openglwindow -platform eglfs
[  263.181732] PVR_K:(Error): BridgedDispatchKM: Initialisation failed.  Driver unusable.
PVR:(Error): PVRSRVBridgeCall: Failed to access device.  Function ID:3223086861 (strerror returns no value.). [0, ]
PVR:(Error): OpenServices: PVRSRVBridgeCall failed. [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services initialisation failed [0, ]
PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL global data [0, ]
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
failed to load swrast driver
Could not create GBM device (Bad address)
Could not open DRM device
Aborted (core dumped)

用opengl实现图形加速计算,出现了上述的错误,能否给出解决方法?

  • 已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

  • 另外我们主要想在offscreen的无显示平台下运行带有OpenGL组件的程序比如cube、2dpainting等等,但是出现下面的问题:

    root@TK-AQ-REC-XJT-AM5718:/usr/share/examples/opengl/cube# ./cube -platform offscreen
    QOpenGLWidget is not supported on this platform.
    This plugin does not support createPlatformOpenGLContext!
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context

    是否可以让offscreen平台支持OpenGL的组件?怎样做?谢谢!

  • 您好

    您使用的是哪个SDK版本?

  • 使用的是ti-processor-sdk-linux-am57xx-evm-08_02_01_00这个版本的SDK

  • 您好

    您可以更新到最新的9.03 SDK吗?8.2版本的GPU驱动程序已经过时,有许多错误可以通过更新到最新的SDK版本来避免。

  • 现在不能更新SDK,还是要在8.2版本的基础上解决,我们现在不用(eglfs)方式了,想先用(./cube -platform offscreen)这个方式执行程序,有什么办法可以解决一下的这个问题?

    root@TK-AQ-REC-XJT-AM5718:/usr/share/examples/opengl/cube# ./cube -platform offscreen
    QOpenGLWidget is not supported on this platform.
    This plugin does not support createPlatformOpenGLContext!
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context

  • 您好

    您是否能够通过运行systemctl stop weston来解决此错误,如本文所述?

    您对SDK文件系统进行了任何更改吗?您是否使用默认的SDK 8.02 KM和UM二进制文件?