let's do some sanity checks
I'm on raspberry pi 3b+. I'm pretty sure it is a good unity, is quite new, and was being used on other machine.
i've downloaded the image from http://tinycorelinux.net/15.x/aarch64/releases/RPi/piCore64-15.0.0.zip
, my focus with this device is to work mainly with RPI3 maybe on Zero W2, and RPI4 on some rare ocasions.
I've removed every .tcz i've built and working with only the .tczs that are on the repository.
using uname-r i get 6.6.47-piCore-v8
when requesting kmsprint i get:
terminate called after throwing an instance of 'std::runtime_error'
what(): failed to find DRM cards
Aborted
but if i modprobe -r vc4 and then modprobe vc4, i get from kmsprint:
Connector 0 (32) HDMI-A-1 (connected)
Encoder 0 (31) TMDS
Crtc 3 (90) 1600x900@60.00 108.000 1600/24/80/96/+ 900/1/3/96/+ 60 (60.00) P|D
Plane 3 (80) fb-id: 292 (crtcs: 3) 0,0 1600x900 -> 0,0 1600x900 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
FB 292 1600x900 RG16
i believe this might be a hint:
after that, when i load love2d and request what drivers it is using it returns :
OpenGL 2.1 Mesa 24.2.5 Broadcom VC4 V3D 2.1
and i see my fps are quite low. it is using OpenGL2.1 instead OpenGL ES 2.0 ( which this might make some sense as i'm using the repo built not my custom built sdl) but atleast is using the video hardware.
my questions are, why i'm need to reload module vc4 by hand after built?
in the past I used to configure the desired video resolution on config.txt, and afaik these configs are legacy and barelly supported, what are the standards today? how can i force 720p for instance and maybe even ignore monitor EDID?
Thanks in advance!