Skip to content

rk3588测试提示找不到显示位置xcb错误 #55

@zhjygit

Description

@zhjygit

(venv) orangepi@orangepi5plus:~/rknn-multi-threaded-python$ python3.9 main.py
I RKNN: [12:13:27.682] RKNN Runtime Information: librknnrt version: 1.5.2 (c6b7b351a@2023-08-23T15:28:22)
I RKNN: [12:13:27.682] RKNN Driver Information: version: 0.8.8
I RKNN: [12:13:27.682] RKNN Model Information: version: 2, toolkit version: 1.4.1-source_code(compiler version: 1.4.1b12 (c6f5b0be6@2022-11-01T01:48:10)), target: RKNPU v2, target platform: rk3588, framework name: PyTorch, framework layout: NCHW, model inference type: static_shape
./rknnModel/yolov5s_relu_tk2_RK3588_i8.rknn done
W RKNN: [12:13:27.839] Output(172): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
W RKNN: [12:13:27.839] Output(173): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
W RKNN: [12:13:27.839] Output(174): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
W RKNN: [12:13:27.907] Output(172): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
W RKNN: [12:13:27.907] Output(173): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
W RKNN: [12:13:27.907] Output(174): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/orangepi/.local/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

我用的是python3.9,安装的是1.4.0的rknn库。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions