SMSQE on Raspberry pi 400

Please pop in here first just get the formalities out of the way.
Tinyfpga
Chuggy Microdrive
Posts: 72
Joined: Thu Sep 27, 2018 1:59 am

SMSQE on Raspberry pi 400

Postby Tinyfpga » Sun Mar 07, 2021 3:58 pm

I am in the process of printing (as in 3D) a number of Q68-in-keyboard cases and I wanted to see how well my efforts compare with a modern
mass produced system, so I bought a Raspberry pi 400.

Having bought the Pi I thought I would plug it into an HD TV and try it out with the supplied OS and desktop installation. I was surprised how slow it
was (a bit slower than my father's ancient PC running XP). It was not able to play many of my video files and it was unable to play any of my videos in HD.

I was thinking I could use the PI as a media box but now I am not so sure and so I thought I might use it to run SMSQE via the SMSQmulator.
I soon realised that I was unable to follow the various guides on how to install the JAVA runtime environment on a PI, so Instead I thought I would try and do this
on a PC.
This was much easier but I quickly discovered that JAVA11 is only available as an SDK so I installed the JAVA 8 version of SMSQmulator.
It took me a while to configure the system to my liking and displaying at HD resolutions. I found the configuration slightly flaky at HD resolutions but I was using a TV
as a monitor, connected as a second display device from my laptop. I think this might be confusing the display output of the Qmulator.

Having practiced running Qmulator on a laptop I returned to trying to do the same on my Pi 400. Still no joy and so I read through the Forum topic titled
"QL on the Raspberry Pi" and found the following quote:-

Sparrowhawk » Sat Jan 23, 2021 5:28 pm
I also now have SMSQmulator (Java 11 version) running. Very, very nice indeed.

Would Sparrowhawk be kind enough to post a step by step guide on how to do his on a PI for the less gifted members of this forum?


Tinyfpga
Chuggy Microdrive
Posts: 72
Joined: Thu Sep 27, 2018 1:59 am

Re: SMSQE on Raspberry pi 400

Postby Tinyfpga » Sun Mar 07, 2021 4:41 pm

I had great difficulty trying to start a new topic and have just noticed this topic is under the heading "The dreaded Rule book". I have no idea
how this happened and can only apologise for the error. Maybe the forum controller can correct this.

Further to my previous post; I had another go of outputting SMSQE at HD resolutions from a PC onto a TV. This time I was successful and the result is very nice. For multitasking systems the higher the resolution the better, in my opinion.

I would like to be able to do this from a PI 400.

The following is a screenshot of SMSQE in SMSQmulator running on my Lenovo laptop connected to a TV at full HD resolution.

Capture.jpg
Last edited by Tinyfpga on Sun Mar 07, 2021 9:26 pm, edited 1 time in total.


User avatar
ppe
Over Heated PSU
Posts: 131
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: SMSQE on Raspberry pi 400

Postby ppe » Sun Mar 07, 2021 9:22 pm

Tinyfpga wrote:just noticed this topic is under the heading "The dreaded Rule book"


It is now a rule that RPi 400 *must* run SMSQE! :D


Tinyfpga
Chuggy Microdrive
Posts: 72
Joined: Thu Sep 27, 2018 1:59 am

Re: SMSQE on Raspberry pi 400

Postby Tinyfpga » Sun Mar 07, 2021 9:37 pm

If the Raspberry Pi Foundation disobey this new rule they will be in big trouble.


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

Re: SMSQE on Raspberry pi 400

Postby vanpeebles » Mon Mar 08, 2021 1:13 pm

It's a good rule, I'm half tempted to leave this thread here :lol:


User avatar
Sparrowhawk
Gold Card
Posts: 377
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: SMSQE on Raspberry pi 400

Postby Sparrowhawk » Mon Mar 08, 2021 2:19 pm

Hi there, I will try to remember for you and post an update shortly, once I've figured out what I did :D


a.k.a. Jean-Yves !
User avatar
NormanDunbar
Forum Moderator
Posts: 1710
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: SMSQE on Raspberry pi 400

Postby NormanDunbar » Mon Mar 08, 2021 2:49 pm

This might help?
viewtopic.php?f=19&t=3478&p=40000#p40000

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
Sparrowhawk
Gold Card
Posts: 377
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: SMSQE on Raspberry pi 400

Postby Sparrowhawk » Mon Mar 08, 2021 3:07 pm

Caveat: This is all from memory, so things may break. Let me know if so and I'll try to fill in the blanks/correct anything

Also, I am using Ubuntu MATE 64bit - I assume you are using 32bit Raspian / Raspberyy Pi OS? This may have a bearing, I am not sure.

OK, so first off the version of the OpenJDK that I installed is:

Code: Select all

$ java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode)


I think I just used the default package to install it:

Code: Select all

$ sudo apt update
$ sudo apt install default-jdk


Then I downloaded SMSQmulator for Java 11 from https://www.wlenerz.com/SMSQmulator/

I created a folder in /opt and made it owned by the current user (which will probably be "pi" for you if using raspian, if so replace "ubuntu" in the 3rd commmand with "pi"

Code: Select all

$ cd /opt
$ sudo mkdir smsqmulator
$ sudo chown -R ubuntu:ubuntu smsqmulator


Copied over the file and unzipped it

Code: Select all

$ sudo cp ~/Downloads/SMSQmulator11229.zip /opt/smsqmulator/
$ cd smsqmulator
$ unzip SMSQmulator11229.zip

$ ls -lha
total 6.8M
drwxr-xr-x 3 ubuntu ubuntu 4.0K Mar  8 14:55 .
drwxr-xr-x 5 root   root   4.0K Jan 23 16:48 ..
-rw-r--r-- 1 ubuntu ubuntu 461K Apr 18  2020 README.pdf
-rw-r--r-- 1 ubuntu ubuntu 309K Apr 18  2020 SMSQE
-rw-r--r-- 1 ubuntu ubuntu 1.7M Apr 18  2020 SMSQmulator.jar
-rwxr-xr-x 1 ubuntu ubuntu 1.0M Apr 18  2020 SMSQmulator.win
-rw-r--r-- 1 root   root   2.8M Mar  8 15:11 SMSQmulator11229.zip
-rw-r--r-- 1 ubuntu ubuntu 477K Apr 18  2020 UserGuide.pdf
drwxr-xr-x 2 ubuntu ubuntu 4.0K Apr 18  2020 lib
-rw-rw-r-- 1 ubuntu ubuntu  738 Jan 23 17:11 smsqmulator.png



Test:

Code: Select all

$ java -jar ./SMSQmulator.jar



Let me know of any problems.

PS - MATE runs way better than Raspian IMO. They have optimized it for 64 bit ARM. Also the UI is much nicer.
Last edited by Sparrowhawk on Tue Mar 09, 2021 9:39 am, edited 4 times in total.


a.k.a. Jean-Yves !
User avatar
Sparrowhawk
Gold Card
Posts: 377
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: SMSQE on Raspberry pi 400

Postby Sparrowhawk » Mon Mar 08, 2021 3:12 pm

I had a few problems posting that reply - I got text repeating and missing etc. Have tidied it up and I hope it's now OK


a.k.a. Jean-Yves !
User avatar
NormanDunbar
Forum Moderator
Posts: 1710
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: SMSQE on Raspberry pi 400

Postby NormanDunbar » Mon Mar 08, 2021 4:37 pm

You missed cd from opt before unzipping.


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

Who is online

Users browsing this forum: No registered users and 1 guest