Compiling openMSX for Armbian 5.59 xenial

Page 3/6
1 | 2 | | 4 | 5 | 6

By geijoenr

Champion (275)

geijoenr's picture

21-10-2021, 21:55

I think you should also be able to cross compile from a Linux PC, armbian provides a toolchain for that purpose. Maybe you need to tweak openmsx Makefiles, but I would be surprised because is supported in many platforms.

After taking a quick look at the build system I see configuration variables like:
OPENMSX_TARGET_CPU
OPENMSX_TARGET_OS

I am not sure how it detects the toolchain, but there must be documentation somewhere.

Compiling on the target device can be sometimes a pain if the source is not intended for that...

By geijoenr

Champion (275)

geijoenr's picture

21-10-2021, 22:01

Well, I think you can ignore the previous comment. I just read the whole Makefile and I see the support for cross-compilation is just very rudimentary, you won't be able to do it.

By Shinobi

Master (198)

Shinobi's picture

21-10-2021, 23:38

My swapfile size was 500 mb... i increased it to 4 gb and start compilation again..and will inform you with the result

By Manuel

Ascended (18237)

Manuel's picture

22-10-2021, 00:33

geijoenr wrote:

Well, I think you can ignore the previous comment. I just read the whole Makefile and I see the support for cross-compilation is just very rudimentary, you won't be able to do it.

We use cross compilation a lot though, e.g. for Windows and Android.

By Shinobi

Master (198)

Shinobi's picture

22-10-2021, 12:53

It compiled successfully when resizing swapfile to 4gb... after installing .. i ran the emulator but it is very slow.. it is openmsx 17..
I disabled scale 2x and made it scale 1x...disabled blur..scanlines but still it is very slow even when i scroll through osd menu..any ideas??

By santiontanon

Paragon (1519)

santiontanon's picture

22-10-2021, 14:38

I don't know much about the openMSX internals, so, I can't help much about the slowness, but great news about being able to compile!!!

By ren

Paragon (1882)

ren's picture

22-10-2021, 15:27

Perhaps any of these may improve performance:

* turn vsync off: set vsync 0;
* disable reverse: reverse disable (+ perhaps set auto_enable_reverse off).

More in 6. Performance Tuning (openMSX Setup Guide).

Since some major changes happened @ v16, you may try v15 (SDL1 based) to see if that performs better.

If I'm not mistaken you've been running v12 from the distro repository before right? How did that perform?

By Shinobi

Master (198)

Shinobi's picture

22-10-2021, 15:32

The reason i compiled openmsx 17 is that to make openmsx goes fullscreen when i use scale 1x or 2x.. since i am making cheap computers like rpi0 or cheap android tv box .. i dont care about msx2 or scale 2x...
When using openmsx 13 or 12..when i use scale 1x or 2x it wont stretch it to the whole screen when i go fullscreen...
If openmsx 15 goes fullscreen (stretched) then i may compile it..

By Shinobi

Master (198)

Shinobi's picture

22-10-2021, 19:53

Now I downloaded openmsx armhf deb installable package, during the install, a message said that it needs libglew-dev, i installed it, when running openmsx, it says it needs libglew.so.2.0, and I can't find this anywhere..any ideas??

By Manuel

Ascended (18237)

Manuel's picture

23-10-2021, 00:00

It is of course available at the same location where you got that openMSX package.

Is the fullscreen stuff working now?

Page 3/6
1 | 2 | | 4 | 5 | 6