Troubleshooting

On Linux, the program crashes right from the start with a stack trace

You might be missing some dependencies. You can try:

ldd ./ArkosTracker2

to find the culprit, if you are Linux-savvy enough. If not:

On Mint 20.1, these dependencies might be missing (install one, then run the software, then install the next one if it doesn't work):

sudo apt-get -y install libx11-dev
sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install g++

Arkos Tracker requires all the following dependencies. You might already have most of them, so it shouldn't be needed to install all of them! If in doubt, there shouldn't be any problem if you install them all.

sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libx11-dev
sudo apt-get -y install libxinerama-dev
sudo apt-get -y install libxrandr-dev
sudo apt-get -y install libxcursor-dev
sudo apt-get -y install mesa-common-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install freeglut3-dev
sudo apt-get -y install libxcomposite-dev
sudo apt-get -y install g++

Another possibility is described by kalantaj in the forum (thanks!):

According to the stacktrace, such as:

...

/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f580246c3c0]
/lib/x86_64-linux-gnu/libGLX.so.0(+0xa679) [0x7f5801d58679]
/lib/x86_64-linux-gnu/libGLX.so.0(glXChooseVisual+0x17) [0x7f5801d51917]
...

 

Go to Synaptic ("sudo synaptic" in command line), enter the name of the library that is shown in the stacktrace and that is probably missing (libGLX for example) and install the missing packages.

 

All I see is a black screen!

You probably have a laptop with a crappy video controller. There is still hope for you. AT2 uses OpenGL by default to accelerate the display. You can disable it either via the File > Setup > General menu, but as you can not see it, you can use the command line:

ArkosTracker2 --useOpenGL 0

(yes, there are two "-". Use 1 instead of 0 to put OpenGL back).

This will probably make the pattern viewer slow, but then, blame your hardware.

 

There are strange freezes!

See the answer above. You might want to disable OpenGL.

 

On Linux, no file picker shows when I want to load/save a song or instrument!

Some Linux desktops don't have one (Manjaro or XFCE). Please install kdialog or zenith, and their file picker will be automatically used.

 

On Linux, loading/saving a file shows a custom file chooser. Can't I use the one from my OS, which I like?

Yes, it should be default, but some Linux desktops don't have one (Manjaro or XFCE for example). Please install kdialog or zenith, and their file picker will be automatically used.

 

 

On Linux, serial communication doesn't work, I'm sure the set-up is correct!

The serial port may be read-only. You can make it read-write using such command:.

sudo chmod 666 "port name"

The port is usually something like "dev/ttyUSB0", but you can get this list in the Serial setup.

 

 

I have a high latency on Windows, there is one second between pressing a key and hearing the sound!

This is related to your sound card and/or its drivers. Three possibilities:

  • In AT2, go to File>Setup>Audio, and decrease the "audio buffer size" as much as possible.
  • If it doesn't work, try changing the audio device type at the top of the same window.
  • Still not better? You will have to install a low-latency driver. A good sound card should allow ASIO (you should have seen it in the audio device type), but if not, install the ASIO4All drivers. Don't worry, it's harmless. Once it is done, don't forget to select this driver still in the audio device type list.

Exporting in binary fails!

Please make sure your export address is not too high! Your music may be too big, so the embedded assembler (Rasm) failed to compile it, because you've gone past &FFFF. Z80 binary export can only target a 16 bits memory range!

 

The command line tools only export one subsong!

This is the default behavior. Use the "-sp" or "--subsongsAndPsgs" option to set the subsongs to extract.

The music doesn't sound the same on the hardware!

Make sure you have selected the correct PSG frequency in the Song Properties, as well as the right PSG (AY/YM)!

The player crashed/doesn't work properly

Before sending me the music for me to test (mandatory!), please check that:

  • The stack is in a safe location.
  • You used the right player with the right song. Using the AKG player with a non-AKG generated song will crash, obviously.
  • To be on the safe side, make a test without the player configuration files.
  • To be on the safe side, make a test with the RAM player, not the ROM player, if possible.
  • If you were using Disark, try to make a test without, and only use Rasm and a non-relocatable binary of the player.
  • Remove the use of sound effects, if you were using some.
  • Did you use the right player configuration files? If you don't, the player will crash indeed. When using the player configuration feature, the player is tailored to a specific song(s), so using the same player with another song will surely crash!
  • According to your system, do the interruptions need to be disabled when calling the player (shouldn't be necessary, but do it just to test)?
  • Does the system of your OS require some registers to be saved? If yes, then do so (for example, on CPC, the system (SYSTEM, I said) interruption handler requires BC' and AF' to be saved).
  • Please bear in mind that the players, most of the time, modify ALL the registers, including IX, IY, and the auxiliary ones! Save them if needed!  Save them all if using the player in an interruption handler!

The app crashed!

This is unlikely. Really. However, logs may have been saved. Please copy and paste them to me. They should be found, depending on your platform, on these locations:

  • On Windows: c:\Users\<username>\AppData\Roaming\ArkosTracker2\crashlog.txt
  • On Linux: home/<username>/.config/ArkosTracker2/crashlog.txt
  • On Mac: ~/Library/Logs/ArkosTracker2/crashlog.txt

 

On this website, my mouse wheel accelerates too much!

This one comes from Grim, which also provided the answer (thanks!): use your favorite adblocker to block this and this JS script.

Lee Bee provided more explanations: Adblock Plus settings > Advanced > My filter list > Edit filters > paste the two urls into the box.