I’ve been working on a project involving the PocketBeagle running as a miniature arcade cabinet, but I’m running into a brick wall getting MAME to run. I have the device tree overlay set up so that it will output to an Adafruit 1.8" TFT screen over SPI (based on the dts file here: https://www.hackster.io/65300/pocketbeagle-simple-gaming-demo-f96db4), but I can only get as far as having the terminal showing on the screen.
I’m ssh into the PB, and have installed AdvMAME per the instructions here: https://github.com/notro/fbtft/wiki/MAME
However, I receive error messages when I invoke the specified command to set the display mode
FRAMEBUFFER=/dev/fb1 advv
No active video driver is able to program your video board.
Ensure to use the 'device_video_output auto' option.
Ensure to have a Frame Buffer driver (other than VESA) in your Linux kernel.
Try to run this program in a TERM=linux terminal.
Or to start AdvMAME (using circus ROM as an example)
FRAMEBUFFER=/dev/fb1 advmame circus
Unable to initialize the video driver. The errors are:
fb: Works only with TERM=linux terminals.
sdl: Unable to intialize the SDL library, Unable to open a console terminal.
Now, it has been a while since I used Debian from the command line, so I admit that I am rusty (and likely missing something rather obvious--
other than simply not being able to initialize a graphical output from the terminal emulator), but I can't--for the life of me--figure out what I'm
doing wrong. I've even tried to run the program via a shell script on boot, but I still only get the login prompt on the display. I've been working on
various permutations of this workflow for a few days now, and haven't made it past this point.
Any help is appreciated, thank you!