Log In  

I did try to start PICO-8 from console on a 32Bit debian linux, but failed on different PCs which havent installed a desktop-environment (on a 32bit installation with desktop-environment PICO-8 does start).

libsdl2-2.0-0 is as package installed.

I want to start PICO-8 like on my Raspberry Pi from the Framebuffer-Console.

I tested the follwoing commands:

dmesg:
[ 17.824130] fbcon: inteldrmfb (fb0) is primary device
[ 18.877747] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

dpkg -l|grep -i sdl
libsdl2-2.0-0:i386 2.0.9+dfsg1-1 i386 Simple DirectMedia Layer

./pico8_32bit_dyn
SDL Error: No available video device
** FATAL ERROR: Unable to initialize SDL

export SDL_FBDEV=/dev/fb0
export SDL_VIDEODRIVER=fbcon

./pico8_32bit_dyn
SDL Error: fbcon not available
** FATAL ERROR: Unable to initialize SDL

./pico8_32bit
SDL Error: fbcon not available
** FATAL ERROR: Unable to initialize SDL

I also got the same error on a 64Bit Ubuntu with the 64Bit version of PICO-8 where is also only libsdl2 and no desktop environment installed.

Is linux missung a OpenGL part like the Raspberry Pi has?

P#71686 2020-01-02 10:21

:: guidol

On a 600Mhz Celeron ULV (with 1GB Ram) I installed the LX-Desktop (LXDE).
And inside the LX-Terminal I can start PICO-8 - but not from console only.
On the 600Mhz Celeron PICO-8 takes about 24-46% of the CPU for itself ;)
But from the 1GB the LXDE takes only 276MB incl. running PICO-8 :)

P#71703 2020-01-02 18:33
:: merwok

It is possible that the libsdl you have is not compiled with framebuffer support; I have seen articles explaining how to build and install a custom libsdl on raspberry pi, but that being the right solution depends on your specific OS versions and screen type.

P#71705 2020-01-02 19:07
:: guidol

I did try to compile for Linux x86, but fbcon doesnt seems to be supported by sdl2 anymore, because they didnt know the argument (unknown option):
--enable-video-fbcon

For the Raspberry Pi I hadnt to compile SDL.
With the RPi Zero I did use the legacy version out of raspi-config and with a RPi3 I used one of the newer options and it worked right out of the box ;)

P#71709 2020-01-02 20:12

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-09-24 16:48 | 0.010s | 2097k | Q:19