Post B2BblpiKc9Obea9gTQ by hp@mastodon.tmm.cx
 (DIR) More posts by hp@mastodon.tmm.cx
 (DIR) Post #B2BbW9OXfq1M3jQ9gG by foone@digipres.club
       2026-01-11T20:18:59Z
       
       0 likes, 0 repeats
       
       ugh. the version of pygame in the Raspberry Pi OS repo is the newer version that uses SDL2, meaning it no longer works with the fbcon driver.UGH
       
 (DIR) Post #B2BbYzdWPaZyf9mbSq by foone@digipres.club
       2026-01-11T20:19:26Z
       
       0 likes, 0 repeats
       
       lemme just rewrite my application to write to a buffer and write my own code to shove it into the framebuffer because WE CAN'T HAVE NICE THINGS
       
 (DIR) Post #B2BbhnPDFrYbKtHsxs by foone@digipres.club
       2026-01-11T20:21:08Z
       
       0 likes, 0 repeats
       
       alternatively maybe I just write a framebuffer driver for SDL2 and build my own pygame
       
 (DIR) Post #B2BblpiKc9Obea9gTQ by hp@mastodon.tmm.cx
       2026-01-11T20:20:54Z
       
       0 likes, 0 repeats
       
       @foone SDL2 still has directfb! That should work, right?
       
 (DIR) Post #B2BblqQHyiYdquimzQ by foone@digipres.club
       2026-01-11T20:21:48Z
       
       0 likes, 0 repeats
       
       @hp nope:pygame.error: directfb not available
       
 (DIR) Post #B2BbpGdOyt0u0yUFrU by foone@digipres.club
       2026-01-11T20:22:30Z
       
       0 likes, 0 repeats
       
       I just don't want to have to launch X11/waylandthis system is already too fucking slow to boot
       
 (DIR) Post #B2Bc2SlrAZolQ4jYbg by hp@mastodon.tmm.cx
       2026-01-11T20:23:38Z
       
       0 likes, 0 repeats
       
       @foone You probably only need to rebuild SDL2 for raspberry pi OS! It really is part of SDL2! https://wiki.libsdl.org/SDL2/README-directfb
       
 (DIR) Post #B2Bc2TlXTF9qVNaoka by foone@digipres.club
       2026-01-11T20:24:50Z
       
       0 likes, 0 repeats
       
       @hp maybe I should try compiling a simple SDL2 Hello World and seeing if it works
       
 (DIR) Post #B2Bcgt014YAKLgdFb6 by foone@digipres.club
       2026-01-11T20:32:06Z
       
       0 likes, 0 repeats
       
       trying to rebuild SDL2 and it is testing for a "Raspberry Pi 0-3 video driver". Interesting. I am running this on a Pi4, I wonder why it only supports Pis 0 through 3. I guess 4 is a different GPU and here's no driver for it yet?
       
 (DIR) Post #B2Bctas7mS4JtP04hM by foone@digipres.club
       2026-01-11T20:34:24Z
       
       0 likes, 0 repeats
       
       and there's no directfb packages for this version. FUCK
       
 (DIR) Post #B2BczWMHTVFvdCvq9g by foone@digipres.club
       2026-01-11T20:34:50Z
       
       0 likes, 0 repeats
       
       STOP TRYING TO MAKE X11/WAYLAND HAPPEN. THIS IS AN EMBEDDED DEVICE, I JUST NEED TO THROW PIXELS AT AN LCD SCREEN
       
 (DIR) Post #B2BdphMpmysYpj4SeG by foone@digipres.club
       2026-01-11T20:44:57Z
       
       0 likes, 0 repeats
       
       wait I have it working now and I don't know how. what fucking driver is this using?
       
 (DIR) Post #B2BdzPKVhsiZmqc6bY by foone@digipres.club
       2026-01-11T20:46:42Z
       
       0 likes, 0 repeats
       
       ahh, KMSDRM
       
 (DIR) Post #B2Be31ukhsnyK7IDC4 by foone@digipres.club
       2026-01-11T20:46:53Z
       
       0 likes, 0 repeats
       
       @hughcb yep, I just stumbled into that driver!
       
 (DIR) Post #B2Be5OtmDsMyBey0a8 by foone@digipres.club
       2026-01-11T20:47:29Z
       
       0 likes, 0 repeats
       
       isn't that the german industrial band or that movie about kpop demons?
       
 (DIR) Post #B2Bev8KF5Q5BqR0vZo by foone@digipres.club
       2026-01-11T20:57:06Z
       
       0 likes, 0 repeats
       
       oh good I have to rotate the screen myself. wonderful
       
 (DIR) Post #B2BfzykQDvJfXf8LiK by foone@digipres.club
       2026-01-11T21:09:13Z
       
       0 likes, 0 repeats
       
       I like my GUIs like I like my women: rotated 90 degrees
       
 (DIR) Post #B2BgRVtJ6bh29XQ33Q by foone@digipres.club
       2026-01-11T21:14:12Z
       
       0 likes, 0 repeats
       
       Now I've got it running the same code on Windows (for development) and the Pi!Touch input is broken, but I can hack that.
       
 (DIR) Post #B2BgZSzNmMU7T93MTA by cr1901@mastodon.social
       2026-01-11T21:13:33Z
       
       0 likes, 0 repeats
       
       @foone Great, now I have to rotate my monitor to view my floppies...
       
 (DIR) Post #B2BgZUSUJdMQ1hg7TU by foone@digipres.club
       2026-01-11T21:15:35Z
       
       0 likes, 0 repeats
       
       @cr1901 no need, floppies rotate themselves!
       
 (DIR) Post #B2BgjEycjNx6uHMJQ8 by gobborg@jorts.horse
       2026-01-11T21:17:08Z
       
       0 likes, 0 repeats
       
       @foone kierkegaard approves
       
 (DIR) Post #B2Bt2Bg4Q8j5ctTvIu by mmu_man@m.g3l.org
       2026-01-11T23:35:13Z
       
       0 likes, 0 repeats
       
       @foone use DisplayPostscript instead 😛
       
 (DIR) Post #B2BtcnxFaJGMlWyhEm by foone@digipres.club
       2026-01-11T23:41:54Z
       
       0 likes, 0 repeats
       
       @mmu_man my LCD doesn't speak that
       
 (DIR) Post #B2C1KpHWiAGjInOrzM by foone@digipres.club
       2026-01-12T01:08:03Z
       
       0 likes, 0 repeats
       
       @deadinside @mmu_man no!
       
 (DIR) Post #B2C1WI2u6i2HhL1jPM by foone@digipres.club
       2026-01-12T01:10:21Z
       
       0 likes, 0 repeats
       
       @deadinside @mmu_man this project already has multiple stupid porting elements I have to write (I'm using a VB6 GUI on a ARM linux system!)
       
 (DIR) Post #B2C2nNAYPaQqStJZXU by foone@digipres.club
       2026-01-12T01:24:37Z
       
       0 likes, 0 repeats
       
       @deadinside @mmu_man god damn you I've thought about it. this thing might take pictures, and if it takes pictures, of course I want to OCR them