Allegro.cc - Online Community
Post Reply

Allegro.cc Forums » Allegro Development » XWayland continued again ... since the threads close automatically

rss feed Print
XWayland continued again ... since the threads close automatically
Kev Callahan
Member #6,022
July 2005
avatar

** What is up with this site/forum..? It's so slow..... **

XWAYLAND on imx8 ARM -

Allegro 5.2.8.0 with SDL2-2.28.4 works (mostly)
Cannot (so far) get dialogs to work (I don't need them) but may look into that soon.
Maybe a GTK/GDK-3 thing that wasn't picked up during cmake..

Some Allegro examples don't run, a quick look eg ex_camera, there's an issue with requesting more than 4 for ALLEGRO_SAMPLES even if SUGGEST is set.

Other examples SEGFAULT - but that may be to do with dialog boxes,
eg ex_blend2, ex_color, ex_mouse, ex_record..

Happy days - apart from my dog had to be pts on Monday :(

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

DanielH
Member #934
January 2001
avatar

The site needs an overhaul. However, the cost out weighs the benefits. We've been meeting on IRC and/or Discord if you would like to chat.

It's been 12 years since we had to put down my baby. She was a gift to my wife, but she was my baby. Kids want to get another, but do I want to go through that again? Maybe.

{"name":"613366","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4a51414a7ca45b48c1e2c8619a67f271.png","w":403,"h":604,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4a51414a7ca45b48c1e2c8619a67f271"}613366

Kev Callahan
Member #6,022
July 2005
avatar

Thanks for that - yeah a major loss to our family - really can't see us going through it again but the house is so empty... maybe one day - I'm not far off (early) retirement so will see then I guess.

Ah GTK3 - I thought it may be along the lines of that - maybe I will take a look but at the moment all seems good.
Was running my program under weston and it was using the wayland driver..
I just did a cut-down yocto build without westo and once I'd copied across the libs I was missing, my program usesthe 'vivante' driver - guess wayland was just sitting above it not doing much...?

Is there likely to be anyone in the future porting what's needed from SDL2 for xwayland support to Allegro 5?
Not sure if I have the required expertise for such an endeavour and whether it's ethical.

Mmm.. I appear to have gtk3 - is there any way of seeing why the addon isn't built?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Kev Callahan
Member #6,022
July 2005
avatar

Cheers for the reply ER -

On Discord I think it was stated that as I'm using -DALLEGRO_SDL that native dialogs won't work..?

Seems to me that A5 may need EGL support rather than OPENGL to do this a bit cleaner, but I'm not an expert in this area by any means(!)

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Kev Callahan
Member #6,022
July 2005
avatar

;D, yes thanks very much

yes on the NXP ARM processors, X11 is no longer supported (imx8 onwards) so I'm having to use WAYLAND and the SDL bits to open a canvas for it..

I guess maybe my problem more relates to the lack of EGL support though -
I think that's where I'm at at the moment anyway but as I say, I'm not au fait with all this in any way.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Post Reply
Go to: