Raspberry pi. Brainstorming about potential problems

Page 1/3
| 2 | 3

By Daemos

Paragon (2008)

Daemos's picture

15-08-2022, 13:40

Here is the thing. Everything works so far. Its a good as the real thing but there are a few very tiny problems that spoil the emu mood so far and I am not talking about the fact that there is no physical medium to be inserted and such things but other minor problems which I shall list below.

1. Response feels not 100% perfect. This is minor though because I can finish zanac on the pi meaning that the emulation is near perfect but I can't help to notice the very minor delay. It does not feel as direct as the real thing. This is no placebo i can see it especially with horizontal scrolls. Something is different. Playing hero (activision) really reveals it. There is some chopiness that causes the game to be more difficult to finish. The fps counter stays at 60 all the time plain perfect so it is caused by something else. Not blaming the emulator at all just brainstorming what could be a potential cause.

2. Definetly not an openmsx problem but a pi problem. If you press more than 2 keys at the same time only the first two keys are read. Difficult problem as the games are still very playable but its just plain annoying. Problem does not exsist on pc so this has something to do with the pi itself. Kernel? Keyboard drivers? Or a firmware thingy in the pi?

3. Mouse does not work on the pi. Tried to connect it no avail. Need to test this in openmsx 18 though so no absolute conclusions possible yet.

These are no complaints. I like to find out if anyone has a lead in solving these very minor problems. Maybe confirm them or maybe we already know solutions. Big brainstorm.

Login or register to post comments

By Parn

Paladin (798)

Parn's picture

15-08-2022, 15:45

I tried OpenMSX on Raspberry Pi but was disappointed by its performance. I didn't spend much time trying to optimize things, though. Which RasPi model and Linux distro are you using? I'd like to try the same enviroment and see if we can help each other. I used RasPi 400 and plain Raspbian. Can't remember the version though.

About the keyboard problem: have you tried your PC keyboard in the Pi to see if it behaves the same?

By Daemos

Paragon (2008)

Daemos's picture

15-08-2022, 19:08

Ill send you the image ASAP. It is a pi4/pi400 image using the original raspian kernel and ubuntu debootstrap on top with custom init script to minimize the boottime.

You nailed it with the keyboard problem. The same keyboard causes the same trouble on PC so there are a few options here. 1 The keyboard sux. 2. The USB driver sux. Have to test that out

I managed to make the chopiness become significantly less by clocking the GPU to absolute minimum. Why it works though is a mystery.

@Manuel: If you are reading this thread. How do I get rid of that fading menu button that shows up in the top left of the screen. If it is not possible by commands or settings, about where to look in the source?

By Manuel

Ascended (18940)

Manuel's picture

15-08-2022, 20:50

There is a setting for it: osd_menu_button

See also https://msx.org/forum/msx-talk/openmsx/trouble-upgrading-ope... where I also answered that to your same question :P

By AxelStone

Prophet (3133)

AxelStone's picture

15-08-2022, 20:56

Daemos wrote:

2. Definetly not an openmsx problem but a pi problem. If you press more than 2 keys at the same time only the first two keys are read. Difficult problem as the games are still very playable but its just plain annoying. Problem does not exsist on pc so this has something to do with the pi itself. Kernel? Keyboard drivers? Or a firmware thingy in the pi?

Are you sure you are using a keyboard with No key rollover? Nowadays a lot of keyboard are sold like "anti ghosting" but they are a sh*t, they really have ghosting.

By Parn

Paladin (798)

Parn's picture

16-08-2022, 13:42

Daemos wrote:

You nailed it with the keyboard problem. The same keyboard causes the same trouble on PC so there are a few options here. 1 The keyboard sux. 2. The USB driver sux. Have to test that out

It's the keyboard alright. The USB driver doesn't have anything to do with it. A lot of PC keyboards don't work well with many three-key combinations, although they normally work with two-key combinations. You may try to work around the issue using the numeric keypad arrow keys instead of the default arrow keys. You can also try to bind the MSX space key to a different PC key, since some key combinations are more likely to work even on bad keyboards.

The good news is, you can just get a new keyboard. "Gamer" keyboards are specially made to support many keys pressed at once, so you can just pick one from a trusted brand. Avoid no-brand ones since they can be fake.

By Daemos

Paragon (2008)

Daemos's picture

16-08-2022, 14:28

To sum up: problem 2 solved. Will hunt down a proper keyboard. The local computer store sells them and will let me try them.

Its getting better and better. Will try the osd_menu_button setting and see how that comes out.

Edit: menu button finally gone thnx manuel

Another update on point 1: removing all extensions really help. It strongly depends on the running program. Programs that use msx2 videochip runs smooth no matter what the msx1 games somehow do choppy stuff when extensions are in. Still investigating that one. Its not the pi's speed since no framedrops are observed.

By Manuel

Ascended (18940)

Manuel's picture

16-08-2022, 14:37

Which extensions?

By Daemos

Paragon (2008)

Daemos's picture

16-08-2022, 16:22

Gfx9000 and moonblaster

Btw got a new keyboard tested about 5 of them and one indeed works flawlessly. So problem 2 is officially solved. Its a logitec k280e

By Manuel

Ascended (18940)

Manuel's picture

16-08-2022, 18:00

Moonsound you mean? It shouldn't use any CPU cycles if it isn't used by the MSX. Not sure about gfx9000.

By Daemos

Paragon (2008)

Daemos's picture

16-08-2022, 18:40

Was expecting the same indeed. Not a big deal though because the titles that do use any of these extensions do not give me that choppy feel.

Will test without gfx9000 and see what happens there.

Page 1/3
| 2 | 3