Amiberry: Start from CLI with config file no longer working after amiberry update

Created on 5 Oct 2020  路  9Comments  路  Source: midwan/amiberry

Describe the bug
I have a script that run's on boot of my Pi4, the contents of it is:

cd /home/pi/amiberry
./amiberry -f=./conf/A1200.uae -G

After updating from 3.1.3 to 3.3 using the binary files in releases (amiberry-v3.3-rpi4-sdl2-32bit.zip) when I boot the pi I just get the 1.3 kickstart install disk image. the config file doesn't seem to be loaded.

Contents of the A12000.uae config file:

config_description=PiMIGA
config_hardware=true
config_host=true
config_version=4.3.0
config_hardware_path=
config_host_path=
config_all_path=
amiberry.vertical_offset=0
config_all_path=
config_host_path=
config_hardware_path=
amiberry.rom_path=/opt/retropie/emulators/amiberry/kickstarts/
amiberry.floppy_path=/opt/retropie/emulators/amiberry/disks/
amiberry.hardfile_path=/opt/retropie/emulators/amiberry/
amiberry.cd_path=/opt/retropie/emulators/amiberry/cd32/
; 
; *** Controller/Input Configuration
; 
joyport0=mouse
joyport0_autofire=none
joyport0_friendlyname=Mouse
joyport0_name=MOUSE0
; 
joyport1=joy1
joyport1_autofire=none
joyport1_friendlyname=DragonRise Inc.   Generic   USB  Joystick  
joyport1_name=JOY1
; 
; 
; 
input.joymouse_speed_analog=2
input.joymouse_speed_digital=10
input.joymouse_deadzone=33
input.joystick_deadzone=33
input.analog_joystick_multiplier=15
input.analog_joystick_offset=-1
input.mouse_speed=100
input.autofire_speed=0
input.autoswitch=1
kbd_lang=us
; 
; *** Host-Specific
; 
amiberry.hide_idle_led=0
amiberry.gfx_correct_aspect=1
amiberry.kbd_led_num=-1
amiberry.kbd_led_scr=-1
amiberry.scaling_method=-1
amiberry.quit_amiberry=unknown key
amiberry.use_analogue_remap=false
amiberry.use_retroarch_quit=false
amiberry.use_retroarch_menu=false
amiberry.use_retroarch_reset=false
; 
; *** Common / Paths
; 
use_gui=no
kickstart_rom_file=/media/kick/kick31a1200.rom
kickstart_rom_file_id=1483A091,KS ROM v3.1 (A1200)
kickstart_ext_rom_file=
ide_mb_rom_file=:ENABLED
flash_file=
cart_file=
; 
; *** Floppy Drives
; 
floppy0=
floppy1=
floppy1type=-1
floppy2=
floppy3=
nr_floppies=1
floppy_speed=400
; 
; *** Hard Drives
; 
filesystem2=rw,DH0:System:/home/pi/pimiga/disks/System/,0
uaehf0=dir,rw,DH0:System:/home/pi/pimiga/disks/System/,0
filesystem2=rw,DH1:Demos:/home/pi/pimiga/disks/Demos/,-128
uaehf1=dir,rw,DH1:Demos:/home/pi/pimiga/disks/Demos/,-128
filesystem2=rw,DH2:Games:/home/pi/pimiga/disks/Games/,-128
uaehf2=dir,rw,DH2:Games:/home/pi/pimiga/disks/Games/,-128
filesystem2=rw,DH3:Work:/home/pi/pimiga/disks/Work/,-128
uaehf3=dir,rw,DH3:Work:/home/pi/pimiga/disks/Work/,-128
filesystem2=rw,DH4:Audio:/home/pi/pimiga/disks/Audio/,-128
uaehf4=dir,rw,DH4:Audio:/home/pi/pimiga/disks/Audio/,-128
; 
; *** CD / CD32
; 
cd_speed=100
; 
; *** Display / Screen Setup
; 
gfx_framerate=2
gfx_width=768
gfx_height=270
gfx_top_windowed=0
gfx_left_windowed=0
gfx_refreshrate=50
gfx_refreshrate_rtg=50
gfx_lores=false
gfx_resolution=hires
gfx_lores_mode=normal
gfx_linemode=none
gfx_fullscreen_amiga=true
gfx_fullscreen_picasso=true
gfx_center_horizontal=smart
gfx_center_vertical=smart
ntsc=false
; 
; *** CPU options
; 
cpu_speed=turbo
cpu_type=68020/68881
cpu_model=68020
fpu_model=68881
cpu_compatible=false
cpu_24bit_addressing=false
fpu_strict=true
compfpu=true
cachesize=16384
; 
; *** Memory
; 
chipmem_size=16
z3mapping=real
fastmem_size=0
a3000mem_size=0
mbresmem_size=0
z3mem_size=128
z3mem_start=0x40000000
bogomem_size=0
gfxcard_hardware_vblank=false
gfxcard_hardware_sprite=false
gfxcard_multithread=false
gfxcard_size=128
gfxcard_type=ZorroIII
rtg_modes=0x112
; 
; *** Chipset
; 
chipset=aga
chipset_refreshrate=50.000000
collision_level=playfields
chipset_compatible=Generic
fatgary=0
ramsey=15
immediate_blits=true
fast_copper=true
; 
; *** Sound Options
; 
sound_output=exact
sound_channels=mono
sound_stereo_separation=10
sound_stereo_mixing_delay=0
sound_frequency=44100
sound_interpol=none
sound_filter=off
sound_filter_type=enhanced
sound_volume_cd=0
; 
; *** Misc. Options
; 
bsdsocket_emu=true

Do I need to change something to get it working again?

Expected behavior
My config file gets loaded as expected.

can't recreate question

All 9 comments

That's because the command line syntax changed with that update. :)

The = sign is no longer needed, so it should work if you do ./amiberry -f conf/A1200.uae -G instead.

Cheers that resolved the issue

@midwan any idea why booting to workbench would have god significantly slower between the Pimiga amiberry which was 3.1.3 and your 3.3? by slower I means taking like 15 minutes to load workbench background and draw icons.

@BrianGilbert
It shouldn't be that slow, certainly!
Maybe try recreating the config from scratch? Sometimes there was junk there left from earlier versions, that would have unintended consequences.

I use Pimiga and the new version (3.3) boot goes as fast as the old one on workbench (PI3B).

@BrianGilbert
I cannot recreate such a behavior here - did you make any progress with this?

@midwan No so far, but changing the amiberrty executable back to the pimiga one resolves the issue straight away, I'll probably look at rebuilding building my own setup rather than trying to use PiMiga as a start point.

Given I have an 8GB version of the Pi4 are there any advantages to using the 64bit version of Amiberry?

@BrianGilbert
The 64-bit version is preferred actually. It runs faster, and if you use a distro like Manjaro (where you get the latest drivers and libraries out-of-the-box), you don't need to bother with the Dispmanx version at all. Which means you can use it under a full desktop and gain access to the Linux apps as well, using host-run from within Amiberry.

Closing this issue, since the mentioned problem is not valid anymore. Feel free to open a separate one if you run into anything else. ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

penx picture penx  路  4Comments

midwan picture midwan  路  10Comments

qqplayer picture qqplayer  路  10Comments

henrikstengaard picture henrikstengaard  路  7Comments

Fourdee picture Fourdee  路  4Comments