Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2021-01-07 Thread fredvs
Hello everybody.

The bridge of Johann Elsass (-dclass_bridge) solves everything with aarch64.

Adding that parameter at compilation (-dclass_bridge) for mseide for example
solves all the problems (.stat file not loaded, no access to files, problems
with threads, ...).

Maybe we may think to define class_bridge by default, I did not find problem
using it with other OS.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-25 Thread Fred van Stappen
Hello everybody.

Included mseide-msegui-aarch64.tar.gz2 that contains the source adapted for
aarch64 CPU.
Almost every widgets works but there can have problems with the db widgets
(not tested).

mseide-msegui-aarch64.bz2


There is also a screenshot of StrumPract compiled and running on aarch64 Ppi 3  
model.
In release was added the aarch64 binaries if you want to test it:
https://github.com/fredvs/strumpract/releases/tag/2.6.0



Happy new all.

Fre;D

___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-24 Thread fredvs
Hello everybody.

Included mseide-msegui-aarch64.tar.gz2 that contains the source adapted for
aarch64 CPU.
Almost every widgets works but there can have problems with the db widgets
(not tested).

mseide-msegui-aarch64.bz2

  

There is also a screenshot of StrumPract compiled and running on aarch64 Ppi
3  model.
In release was added the aarch64 binaries if you want to test it:
https://github.com/fredvs/strumpract/releases/tag/2.6.0

 

Happy new all.

Fre;D









--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-22 Thread fredvs
Hello Sieghard, hello Graeme.

Thanks for your lights.

Yes, I am excited to try FreeBSD on the Rpi aarch64.
But ... there is no fpc target for FreeBSD-aarch64.

About the problems with openfile() from clib, it is fixed now, and gives a
valid handle.

But there is problem also now with fstat(handle, _stat) from clib, it always
give a -1 result (in place of 0).
I have added the _stat table for aarch64 (taken from fpc 3.2.0 aarch64) and
use this one but without success, the result is always -1.
Sadly I am blocked, same result using stat(filename, _stat), I dont see what
is wrong.

> Maybe it's time to use more FPC standard methods for
> opening/reading/writing/savingdata.

I totally agree with Graeme about the mse-open/write/stat access to files
and data.
Martin wanted to be totally independent from sysutils and threads of fpc, it
is ok, but in fact it limits mse.

For my mse applications, I use now the standard fpc methods and all works
like charms for the  mse GUI widgets.

But mseide himself only uses the mse build-in methods and it is very
difficult to adapt it when a new release of fpc appears or a new OS target.

The positive is that it is absolutely possible to compile and run mse
applications for linux-aarch64.
But at the moment, for access files and data, better use the standard fpc
methods.

Happy, creative, different, sane, safe new year.

Fre;D 





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-22 Thread Sieghard
Hello fredvs,

you wrote on Mon, 21 Dec 2020 16:48:11 -0700 (MST):

> About Raspian 64 bit and aarch64 and fpc and msegui.
> After big fight I finally have a stable Raspian 64 bit on my Rpi 3.

Oh, fine, that'sa big advance then.

> About fpc aarch64 linux.
> Ok, it works and is easy to install.

And this is another one.

> About msegui on  aarch64 linux.
> After looong days and looong nights of hard exploration and tweak, nearly
> all works.
> Graphics, muti-threads and widgets are all ok.

So after the preconditions above were met, you were able to get it running?
Great. Sorry I didn't respond - I don't even have a fully running series 3
Raspberry available, what I have is just a loaner from a company I work
for, to be used for a specific, although hardly moving, project. And I
don't have a suffcient supply of SD cards - just 2 of them, and I already
(mis)used one for testing an alternative Linux distribution.
In  addition, I had the impression that the Raspberry 3 was still
restricted to 32 bit, but I learned that it has a Cortex A53 CPU, which
should be 64 bit capable.

> But there is something that I still cannot manage.
> 
> It is once again with the msestat files.
> It refuses to work, there is something that I dont catch.
> 
> It has something to do with 'openfile' from clib that is not working (but
> ok with cpu arm 32).

Interesting, if opening files wouldn't work, there should be many more
issues elsewhere, shouldn't they? So, how sure is this the origin of the
trouble? Or could it be only a minute moment after, when the file's data
are about to be processed, what is to be a process dependent heavily on
dynamic memory, and thus pointer manipulations? As far as I recall, there
were some problems with pointers also with the transition from 32 to 64 bit
an the "intel" PC version of mseide-msegui, which then prompted Martin even
to introduce a new type for some internal object field. Sadly, right now,
I cannot remember what it was, it was discussed on the list then. Maybe
you hit a similar issue again now?

> All that said, happy new year without masks.

Thanks, same to you, et joyeux noël! And take care of your health.

(Unfortunatly, without masks only inside, at home, here abouts...)

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-22 Thread Graeme Geldenhuys
On 21/12/2020 11:48 pm, fredvs wrote:
> I will surely take a look, thanks to note it.

No problems. I've been looking into getting a new RPi 4 myself,
for a similar goal. Testing fpGUI with AArch64. As I much
prefer FreeBSD over Linux, I've been keeping an eye (or ear)
on what others were saying about RPi + FreeBSD. It seems to
be in a good state.

> It has something to do with 'openfile' from clib that is not working (but ok
> with cpu arm 32).

Maybe it's time to use more FPC standard methods for 
opening/reading/writing/saving
data. I've never really understood why Martin diverted from standard FPC
feature or units. They always seems to be a cause of issues and extra effort.


> All that said, happy new year without masks.

That would indeed be a dream come true, but I'm afraid I don't see that
in our near future. The UK has just gone into total lockdown again. :-(

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-21 Thread fredvs
Hello Graeme.

Ho, nice, they did it.

I will surely take a look, thanks to note it.

About Raspian 64 bit and aarch64 and fpc and msegui.

After big fight I finally have a stable Raspian 64 bit on my Rpi 3.
Imho, it is absolutely not faster than the 32 bit version.

But it works now without problems , even after update.

About fpc aarch64 linux.
Ok, it works and is easy to install.

About msegui on  aarch64 linux.
After looong days and looong nights of hard exploration and tweak, nearly
all works.

Graphics, muti-threads and widgets are all ok.

But there is something that I still cannot manage.

It is once again with the msestat files.
It refuses to work, there is something that I dont catch.

It has something to do with 'openfile' from clib that is not working (but ok
with cpu arm 32).

All that said, happy new year without masks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-21 Thread Graeme Geldenhuys
On 20/12/2020 4:58 pm, fredvs wrote:
> So I have very sad news, I give it up at the moment for Rpi OS 64 bit.
> It is very rare that I take such a decision, I am a explorer_warrior after
> all.

If you still have the energy and passion, an alternative could be FreeBSD on
the RPi.

  
https://wiki.freebsd.org/action/show/arm/Raspberry%20Pi?action=show=FreeBSD%2Farm%2FRaspberry+Pi

I have heard some good things about it. Both FreeBSD 12.x and 13-CURRENT
apparently works well on RPi3 and RPi4.

FreeBSD installs can be made quite small, and you can get in minimalist 
development
system and desktop environment running without much effort. But then you should
know all about that - thanks to your experiences with polYdev. :-)

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-20 Thread fredvs
Hello Sieghard.

Thanks for your advice.

About Raspberry Pi OS 64 bit.

OK, I was able to install it on a Rpi 3 machine.
But...
It is highly unstable, if you do a apt-get update, after the Rpi does not
reboot.

Also many installed applications crash after few time and are much slower
that the 32 bit equivalent.

I was able to install fpc for aarch64 on the RPi 3.
But...
Only simple console application are working (application that uses threads
crash).
For GUI application, I was able to compile simple fpGUI and MSEgui
applications, but only with 1 main thread.

For Lazarus, like for the Raspberry OS 32 bit, I was not able to compile it
and install it on Rpi OS 64 bit.

So I have very sad news, I give it up at the moment for Rpi OS 64 bit.
It is very rare that I take such a decision, I am a explorer_warrior after
all.
But in that case I have to be realist, Rpi OS 64 bit and fpc aarch64 are too
unstable for the moment.

All that said, if people was able to compile+run lcl or fpGUI or MSEgui big
applications on Rpi OS 64 bit, I am more than interested to know how to do
and what to change.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-19 Thread Sieghard
Hello fredvs,

you wrote on Sat, 19 Dec 2020 11:01:20 -0700 (MST):

> I try to make MSEgui compatible with CPU 64 bit AARCH64, for the new Rpi
> for example.
> 
> MSEGui is already compatible for CPU ARM 32 bit but not yet for AARCH 64
> bit.

That's very intersting, although I've no current use for it yet.

> SIGSEGV segmentation fault in STHANDLE ( error reading variable/ cannot
> access memory at address 0x7f0008 )

Looks like an address calculation error - maybe an inadequate pointer size?
Or maybe a signed / unsigned issue?

> at ../mseide-msegui/lib/common/graphics/msegraphics.pas : 2468.
> 
> But this not help, line 2468 is a empty line and part of
> procedure tsimplebitmap.sethandle(const value: pixmapty);

Possibly an off-by-1 difference between line numbering schemata?
Could be cause by lines 2467 or 2469 then, does one of them contain a
suspicious statement?

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk