Installing the G8JCFSDR on a Raspberry PI - Build 284 or Newer

Welcome to the G8JCFSDR Forum where users of the G8JCFSDR s/w meet up to discuss, ask questions, seek support and (hopefully) get to know each other.

Moderator: g8jcf

Post Reply
User avatar
g8jcf
Site Admin
Posts: 15
Joined: Thu 2023-09-14 15:08:48
Location: Scotland
Contact:

Installing the G8JCFSDR on a Raspberry PI - Build 284 or Newer

Post by g8jcf »

Build284RPI.png
Build284RPI.png (741.83 KiB) Viewed 124767 times
Installing the G8JCFSDR on a Raspberry PI, requires Build 284 or Newer

I used an RPI 4B with 4GB RAM running 32 bit Buster, and the same with 32 bit Bookworm. NB I found Bullseye to be very temperamental, and WINE64 wouldn't install at all on either 64 bit Bullseye or 64 bit Bookworm, so stick to 32 bit OS versions for now on RPI4B.

I have just managed to get Wine x64 working very well on an RPI 5 with 8GB RAM running 64bit Bookworm, and it works very nicely indeed especially with an NVME PCIE SSD.

Before you install WINE etc, you need to make sure that you have a proper working and configured ALSA audio system on your RPI.
The RPI doesn't have an onboard soundcard so an external USB soundcard is required, I used an ASUS XONAR 7, but I have also managed to get a Creative X-Fi working, but it was nowhere as easy as getting the ASUS XONAR to work. Once you have got a correctly working audio setup, you can proceed to installing WINE, g8jcfsdr etc, ie there's no point in trying WINE etc until there is a working LINUX ALSA setup.

The "secret sauce" to making WINE(x86) work consistenly on my RPI was to use pi-apps,
  • To Install pi-apps, see https://pi-apps.io
  • Open up a terminal session
  • At the command prompt enter
  •     cd ~\Downloads
  •     wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash
  •     pi-apps
Using pi-apps install WINE(x86)

The pi-apps method of installing WINE(x86) will install box86 and a whole load of dependencies, dlls, and other vital stuff in addition to WINE itself. I had tried the more usual methods of installing WINE(x86) on the rpi manually, but it was always hit and miss if things worked properly, but with the pi-apps method it just works !! If you use the usual sudo apt install wine method, you will install wine(armhf) which will only run Windows programs written for ARM processors which is not what is needed here, and indeed there are very few Windows programs compiled for ARM afaik.

After pi-apps has finished installing WINE - it took over an hour for me with a 12 Mbit VDSL, so just be patient - the first thing to do is set the sound configuration for WINE to ALSA using either the winetricks gui or in a terminal type

winetricks settings sound=alsa

For some reason the default sound setting for wine is pulseaudio which just doesn't work for pretty much anything I tried - rant over, it took me 4 hrs to figure out why nothing seemed to work - audio wise - under WINE

Now download the G8JCFSDR Build 284 installer, viewtopic.php?t=18 from the Downloads section of this forum. Build 284 has support for LINUX based environments.

Run the setup program and follow the onscreen instructions.

The main difference between the standard Windows installer and the LINUX installer is the addition of a step to add the user to the dialout group - required for access to serial ports, and then mapping LINUX serial ports, eg /dev/tty0 to WINE COM ports, eg com16, after that the standard windows installer is run.

Once the installer has finished, you should be able to run the G8JCFSDR and do all the usual stuff to configure, calibrate and other actions just as you would for a windows environment.
The Only Konstant is Change
Post Reply