RgaBlit(1360) RGA_BLIT fail: Invalid argument RgaBlit(1361) RGA_BLIT fail: Invalid argument

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official images

Please describe your issue below:

Hello khadas team.
I am using basler camera through its pylon library in yolov8n_cap. When i set reolution on max, below error appears in some runs:
RgaBlit(1360) RGA_BLIT fail: Invalid argument RgaBlit(1361) RGA_BLIT fail: Invalid argument
This error is printed for line 282 (imresize(src, dst)) in main.cpp. also imresize print this error:
Fatal error: Failed to call RockChipRga interface, query log to find the cause of failure.
These errors does not occur in every run. For example in 5 runs, 2 times the program run ok and in 3 times the error occurs.

Post a console log of your issue below:

RgaBlit(1360) RGA_BLIT fail: Invalid argument RgaBlit(1361) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[0, 0x7f19f0a040, (nil), (nil), 0]
rect[0, 0, 3840, 3840, 3840, 3840, 512, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f720b9010, (nil), (nil), 0]
rect[0, 0, 640, 640, 640, 640, 512, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
srect[x,y,w,h] = [0, 0, 0, 0] src[w,h,ws,hs] = [3840, 3840, 3840, 3840]

drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [640, 640, 640, 640]

usage[0x80000]
IM_STATUS_SUCCESS … Fatal error: Failed to call RockChipRga interface, query log to find the cause of failure.

Hi khadas team
any answer?