sQLux Foibles

Discussion and advice about emulating the QL on other machines.
User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Mon Nov 23, 2020 10:15 pm

Image

Should be a familiar game running on pi0


Sent from my iPhone using Tapatalk


User avatar
vanpeebles
Commissario Pebbli
Posts: 2603
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: sQLux Foibles

Postby vanpeebles » Mon Nov 23, 2020 10:20 pm

Woo! 8-)


Derek_Stewart
Font of All Knowledge
Posts: 2323
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: sQLux Foibles

Postby Derek_Stewart » Tue Nov 24, 2020 9:55 am

Hi,

I did have sQLux running on a Pi0 v1.2, with no WIFI or camera connector, under X11.

Can the new changes work without X11 and SDL2 installed?


Regards,

Derek
User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Tue Nov 24, 2020 10:20 am

Derek_Stewart wrote:Hi,

I did have sQLux running on a Pi0 v1.2, with no WIFI or camera connector, under X11.

Can the new changes work without X11 and SDL2 installed?


Yes, the screenshots shown are working without X11, the OpenGL acceleration must be set to Legacy in raspi-config (SDL2 seems to be broken in KMS mode and segfaults)

BUT annoyingly to run it in X11 at decent speed the OpenGL acceleration needs to be set to KMS mode, so you need to choose!


User avatar
NormanDunbar
Forum Moderator
Posts: 1585
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: sQLux Foibles

Postby NormanDunbar » Tue Nov 24, 2020 10:52 am

Whatever you did has made a huge difference to running in the command line. Loading is almost instant and performance is absolutely belting! Better than my original QLs that's for sure.

I did try running in the GUI under X11, but that was slow. Attempting to change the OpenGL settings in raspi-config was interesting as they are not there any more! Currently running an update to see if a later version brings them back.

Thanks for fixing this.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Tue Nov 24, 2020 10:58 am

NormanDunbar wrote:Whatever you did has made a huge difference to running in the command line. Loading is almost instant and performance is absolutely belting! Better than my original QLs that's for sure.


The main differences are

1) updating the screen directly from the 68k emulator, so its updated per word write rather than as a block of the whole screen.
2) only moving the screen surface to window if there has been a write as the above.

So if there are any QL arcade games I expect their performance to vary greatly depending on the amount of stuff moving on screen.


User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Tue Nov 24, 2020 5:33 pm

Image

Seems to work quite nicely on a Pi3 too.


Sent from my iPhone using Tapatalk


User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Tue Nov 24, 2020 9:15 pm

I have tested on Pi4 but because that uses KMS you need to add your user to the input group (/etc/gro.up without dot, forum breaks with proper name) before you run sQLux otherwise you won't get any keyboard/mouse working.

You also need to log out/in again after editing that file!


User avatar
NormanDunbar
Forum Moderator
Posts: 1585
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: sQLux Foibles

Postby NormanDunbar » Tue Nov 24, 2020 10:40 pm

I built it on a Pi4 this mornimg. Worked fine for me in X11 mode. Very speedy indeed, but I have not tried it in non-X11 mode yet. If I get time tomorrow, I'll do so.

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
XorA
Aurora
Posts: 779
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux Foibles

Postby XorA » Thu Nov 26, 2020 4:07 pm

Image

Is this the first native QL emulator on OSX?


Sent from my iPhone using Tapatalk



Who is online

Users browsing this forum: No registered users and 1 guest