I have to run a small SDL2 application on a CM3. A small 800x480 screen is connected on the board.
Actually I have these lines in my config.txt:
All run fine, I've got gui but my application run at 3 fps...
Code: Select all
dtoverlay=dpi24 overscan_left=0 overscan_right=0 overscan_top=0 overscan_bottom=0 framebuffer_width=800 framebuffer_height=480 enable_dpi_lcd=1 display_default_lcd=1 dpi_group=2 dpi_mode=87 dpi_output_format=0x6f007 display_rotate=2 hdmi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6
I've installed the vc4 driver and add this line to my config.txt : dtoverlay=vc4-kms-v3d (do it with raspi-config). Now the system don't show anything (don't see the linux verbose lines before x11 start).
Someone can confirm to me that cm3 run well with opengl enabled ?
I am not an expert. I start with raspberry stretch lite, install gui + mesa driver.
run well on a standard raspberry 3 (+200 fps)
Maybe the problem come with the mix of touch screen (800x480) and vc4 driver.
Any idea ?