Remix.run Logo
antisol 4 days ago

This is exactly right - you can get a framebuffer on just about anything, including pretty much any video card made since about 1990, and also more fun things like the little i2c display that your toaster has. No need to restrict relatively simple software like fbi/fim to running on less hardware by using drm.

anthk 4 days ago | parent [-]

I used to play videos with the framebuffer just fine and read PDF's with fbpdf2, among watching TV with fbtv and the like. I didn't miss nearly anything, as most games under SDL1/2 can render into FB with

      export SDL_VIDEODRIVER=fbcon 
or

      export SDL_VIDEODRIVER=kmsdrm
And tons of games too, such as Supertux2, Crispy Doom, SDLQuake, FreeCiv-SDL...
antisol 4 days ago | parent | next [-]

another fun one if you're in an exotic situation and don't have a framebuffer (or if you just want to have some fun by making your games to look worse):

export SDL_VIDEODRIVER=aalib

unfortunately it's only SDL1, though

capitainenemo 4 days ago | parent [-]

export SDL_VIDEODRIVER=caca is more usable for games

antisol 4 days ago | parent [-]

Oh nice! How did I not know it works with caca?!

capitainenemo 4 days ago | parent [-]

Works pretty well even. I wish there was a libchafa variant, and ideally for SDL2.

I've even played SC2, The Ur-Quan masters fairly successfully in an ssh session that way. And Frozen Bubble.

sylware 4 days ago | parent | prev [-]

This is what I meant: kmsdrm.