dispmanx_vnc icon indicating copy to clipboard operation
dispmanx_vnc copied to clipboard

dispmanx_vncserver: main.c:605: main: Assertion `image' failed.

Open estivalet opened this issue 5 years ago • 9 comments

got this in retropie 4.5 Any tips?

estivalet avatar Jul 29 '19 16:07 estivalet

This assert means that it cannot allocate enough memory for display buffer. What is the resolution of display you want to show? And what RPI model is it? Some other program taking a lot of memory?

hanzelpeter avatar Jul 29 '19 16:07 hanzelpeter

no, I found the issue right now, the hdmi cable was loose on the raspberry PI and so I think it was not generating a signal for HDMI image

estivalet avatar Jul 29 '19 17:07 estivalet

I have the same issue, but I don't have any monitors connected. Someone from kodi forums said that this application might help if there is no monitor but I don't know if it is true

jakubiakdev avatar Apr 29 '20 17:04 jakubiakdev

Hello.

Could you please add first lines of output when program is run.

When it is something like Display size is 4 x 46446656

I saw this on some firmware version and I needed to change display ID from 0 to 8 in open dispmanx display. I also need to get rpi4 and check on it. There I need probably t o add display ID parameter.

hanzelpeter avatar Apr 29 '20 18:04 hanzelpeter

Added -d option to specify dispmanx display ID. Headless I use 0, but 3 can be tried. Please pull and recompile if you wish.

hanzelpeter avatar Apr 30 '20 15:04 hanzelpeter

Hello, I'm having the same issue I believe. Here's the error message: Open display[0]... Display is 4 x 1053349172 Rotate is 67108864 dispmanx_vncserver: main.c:669: main: Assertion `image' failed. Aborted

I tried adding -d option as mentioned in the help but this didn't change the output.

This is on a raspberry pi 4 running retropie

John-Duh avatar Jan 23 '22 09:01 John-Duh

Same thing on RPi3 running latest OSMC.

./dispmanx_vncserver  -d 0
Open display[0]...
Display is 4 x 1053650496
Rotate is 67108864
dispmanx_vncserver: main.c:669: main: Assertion `image' failed.
Aborted

Tested with -d set to 0, 2, 3 and 7 - always the same. Maybe it's related to this?

$ /opt/vc/bin/tvservice -o  
/opt/vc/bin/tvservice is not supported when using the vc4-kms-v3d driver.
Similar features are available with standard linux tools
such as modetest from libdrm-tests.

jose1711 avatar Oct 19 '22 12:10 jose1711

Hello.

I think this is related to vc4-kms-v3d. I also use raspi-config and use vc4-fkms-v3d driver.

hanzelpeter avatar Oct 19 '22 12:10 hanzelpeter

Thank you, you were right. Switching to fkms solved it. Maybe you could it add it to README.md?

jose1711 avatar Oct 19 '22 13:10 jose1711