larsbrinkhoff / terminal-simulator

Simulation of VT52 and VT100 terminal hardware.
GNU General Public License v3.0
113 stars 17 forks source link

Issues on my PI 4 #41

Closed ronaldlw closed 1 year ago

ronaldlw commented 1 year ago

I've just installed this as follow:

I end up with screens like this: 0923221917

0923221918

Note the video is running off the left of the screen and for some reason there's a mouse cursor that shows up while it's running.

I'm confused on so many levels, lol I thought this project was specifically created to use with the 2/3 scale VT100 project which uses a PI4, so I'm surprised it doesn't seem to work at all without disabling openGL and lowering the refresh rate so low. And I'm surprised the PI4 has any difficulty at all emulating an 8080 processor.

Anyway, any suggestions on how to get this working better would be much appreciated!

ronaldlw commented 1 year ago

I found -f fixes the issue with text off the screen and the presence of the mouse cursor!

larsbrinkhoff commented 1 year ago

It looks like without -f the window is too large for the display you have.

Yes, the project is primarily targeting the VT100 replica. But it turns out even a Raspberry Pi 4 isn't fast enough to render the video at full speed. Possibly there could be a bottleneck in the SDL library, not sure. Emulating the 8080 is no problem, just the video.

ronaldlw commented 1 year ago

what resolution is it trying to render at by default? I have the 8" 1024 x 768 lcd display from Digikey mentioned in the VT100 replica project.

larsbrinkhoff commented 1 year ago

The default is 810x490. So if you don't use the -2 option, that would not explain why the window doesn't fit.

larsbrinkhoff commented 1 year ago

Solution or workaround: use -f.