Tiny Core Base > Raspberry Pi
/dev/dri on piCore12.0
runningopenloop:
Mission effectively accomplished!
Looking for why the error of "The video driver did not add any displays" showed up in
https://github.com/libsdl-org/SDL/blob/main/src/video/raspberry/SDL_rpivideo.c
seemed to indicate a failure to the vc_dispmanx_display_open call.
https://github.com/juj/fbcp-ili9341/issues/100
Suggested that setting hdmi_group=2, hdmi_mode=??, and hdmi_force_hotplug=1 in the config.txt may solve the issue. I already had the hdmi_force_hotplug, but added the hdmi_group=2 and hdmi_mode=83 for my 1600x900 60 Hz screen... and it worked!
- Now my keyboard doesn't allow me to ctrl+C break from my program and the mouse doesn't appear to respond... maybe some SDL input handling issues, but it looks like I've made it over the hill!
Thanks much. So I think all I should need in my onboot.lst is:
rpi-vc.tcz
git.tcz
SDL2.tcz (I re-compiled this with RPi driver).
SDL2_image.tcz
SDL2_gfx.tcz (I compiled this).
If I were to submit a package for SDL, I suppose the best thing to do would be to build SDL2 with *all* the drivers vs. one SDL2 for RPi and one for X11/other. Don't think I'll be able to manage that in the near future, but perhaps I could submit an SDL2_gfx.
Thanks again.
73,
Timothy
Juanito:
I'd suggest you name your sdl2 rpi extension SDL2-rpi, which would have a dep on rpi-vc - that way we keep the existing SDL2 extension, which is everything except rpi-vc and SDL2-rpi, which is only rpi-vc.
Since sdl2-gfx is not in the repo, please go ahead and submit it - I take it that it doesn't depend on rpi-vc?
runningopenloop:
I think that is the only tricky part. SDL2_image and SDL2_gfx would then depend on either SDL2 or SDL2-rpi. Is there a way to handle that?
Juanito:
Unfortunately there isn't a way to fix that.
There's also another problem in that, if libEGL is loaded before rpi-vc, the symlink /tmp/tcloop/libEGL/usr/local/lib/libEGL.so -> /usr/local/lib/libEGL.so will not be overwritten by /tmp/tcloop/rpi-vc/usr/local/lib/libEGL.so -> /usr/local/lib/libEGL.so.
Navigation
[0] Message Index
[*] Previous page
Go to full version