English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 03 July 2019, 09:47   #1
Lord
Registered User
 
Join Date: Oct 2017
Location: Herzberg / Germany
Posts: 6
FS-UAE 3.X on Raspberry Pi 3/4

Hello,

I would like to get running the current 3.X version of FS-UAE under Rasbian Buster on the Rasberry Pi 4.

I only get packages for version 2.8 here. How do you get the current ans running, who can write a little how to maybe? Unfortunately, I'm not that familiar with Linux and I think there's one or the other here who is also interested in the topic.
Lord is offline  
Old 03 July 2019, 16:16   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,284
The maintainer of the package should be responsible for the available version on the repo. So ask Frode.
daxb is offline  
Old 03 July 2019, 22:51   #3
Lord
Registered User
 
Join Date: Oct 2017
Location: Herzberg / Germany
Posts: 6
Hi daxb,

have i do, in the meantime a step forward, fs-launcher and & Arcarde is now version 3.01 , have installed a debian package. Runs fine give me a Info: FS-Launcher is 3.01 awaitet Version 2.84. The only Problem is the emulator himself is the old version. I Hope Frode have Time to make a Package for Raspberry Pi/Arm
Lord is offline  
Old 05 July 2019, 22:28   #4
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 38
Posts: 3,537
Hi, I have never provided packages for Rasberry, and I'm not the maintainer for the packages in the Debian repo either (I do provide Debian packages for x86/x86-64 via build.opensuse.org, which are not the same as in the official Debian repo).

Compiling FS-UAE yourself is not hard. There is even official instructions for Debian-based systems; see https://github.com/FrodeSolheim/fs-u...s/compiling.md.

I do not know how well FS-UAE runs on Raspberry Pi. I would imagine that the hardware is too slow, and FS-UAE is not well enough optimized for it.

The exception might be Raspberry Pi 4. I have ordered a unit and will probably try to get FS-UAE running on it, and evaluate whether I want to spend time optimizing FS-UAE more for that device.
FrodeSolheim is offline  
Old 06 July 2019, 16:15   #5
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,284
Sorry Lord and Frode. The maintainer is John Paul Adrian Glaubitz. You can get the info (who/address/...) e.g. with:
Code:
apt-cache show fs-uae | grep Maintainer
daxb is offline  
Old 06 July 2019, 18:13   #6
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 48
Posts: 490
Compilation, on rp3, breaks at:
Code:
make
make  all-recursive
make[1]: Entering directory '/home/pi/t/fs-uae'
make[2]: Entering directory '/home/pi/t/fs-uae'
depbase=`echo src/drawing.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.  -DLINUX -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLUA_USE_POSIX -I/usr/include/AL -I/usr/include/libdrm -I/usr/include/libpng16 -D_REENTRANT -I/usr/include/SDL2   -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden -I/usr/include/mpeg2dec -g -O2 -MT src/drawing.o -MD -MP -MF $depbase.Tpo -c -o src/drawing.o src/drawing.cpp &&\
mv -f $depbase.Tpo $depbase.Po
src/drawing.cpp: In function ‘void pfield_doline64_1(uae_u64*, int, int)’:
src/drawing.cpp:2533:33: error: ‘do_put_mem_quad’ was not declared in this scope
   do_put_mem_quad(pixels + 0, b0);
run configure like

Code:
./configure --disable-jit --build=arm-pc-linux-gnueabihf
alkis is offline  
Old 06 July 2019, 19:43   #7
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 38
Posts: 3,537
Probably master branch, I fixed the same problem for PPC a little while ago. If you want to compile 3.0, use the fs-uae-3-0 branch (this compilation error should not occur on that branch).
FrodeSolheim is offline  
Old 07 July 2019, 06:09   #8
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 48
Posts: 490
Quote:
Originally Posted by FrodeSolheim View Post
Probably master branch, I fixed the same problem for PPC a little while ago. If you want to compile 3.0, use the fs-uae-3-0 branch (this compilation error should not occur on that branch).
Indeed that was the problem.
After switching to fs-uae-3.0 branch, it built correctly. It took 45 minutes to compile (on pi 3, single thread make invocation)

Thanks!
alkis is offline  
Old 08 July 2019, 01:06   #9
quantum8
Registered User

 
Join Date: Jun 2019
Location: BNE AU
Posts: 72
It would be interesting to know how the performance of this compares to Amiberry.
quantum8 is offline  
Old 08 July 2019, 01:44   #10
Retroplay
Lemon Curry ?

Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 44
Posts: 3,337
Quote:
Originally Posted by FrodeSolheim View Post
The exception might be Raspberry Pi 4.
Benchmarks in MagPi #83 and they don't disappoint.
https://www.raspberrypi.org/magpi/issues/83/
Retroplay is offline  
Old 08 July 2019, 08:41   #11
Lord
Registered User
 
Join Date: Oct 2017
Location: Herzberg / Germany
Posts: 6
In the Moment i use, Launcher 3.01 and FS-UAE Emulator 2.8.4, this combination runs great, Performance is good und stable on Raspberry pi 4.

I follow config:
Raspi 4 with 4gb Ram and 128gb Samsung Extreme SDcard /Rasbian Buster
OS3.9 CLWB Advanced / PFS3
Zorro 3 Graphics 4mb
030 with 129mb Fast
uaenet device
Speedlink Competition USB Joystick


Can anyone make a Step by Step How To to bring ist on actually version 3.0 on Rasbian Buster? I am not Familiär with Linux and compiling.

@Frode
Raspi4 ist fast enough to run fs-uae. The only problem is in the moment when i use two mouse, i can not play settlers in splitt screen. Mousepointer regnozing only one mouse or other:Both mouse steering the same pointer.

Last edited by Lord; 08 July 2019 at 08:47.
Lord is offline  
Old 08 July 2019, 13:55   #12
MrGimper
Registered User
 
Join Date: Sep 2010
Location: Basingstoke / UK
Posts: 65
Quote:
Originally Posted by quantum8 View Post
It would be interesting to know how the performance of this compares to Amiberry.
Me too as Amiberry is awesome!
MrGimper is offline  
Old 08 July 2019, 16:45   #13
amiga1200gamer
Registered User

 
Join Date: Jan 2014
Location: England
Posts: 53
Im running 2.8.4 on a Pi4 straight from the raspbian/buster repo
apt install fs-uae fs-uae-launcher

Performance is quite good in general use/ windowed mode- emulating a 1200 (low accuracy) with 8mb fast ram and using a HDF.
The pi struggles to keep up with AGA demos- im testing Nexus7 whdload version which is pushing from 90% cpu load to 140% single core, causing big slowdowns.
Due to the single core use the PI is sitting around 77C, so no thermal throttling is kicking in.
Interestingly, increasing the window size or going full screen 1080 increases the cpu load, I was hoping the GL driver would be offloading the scaling to the videocore and not affecting performance in any way.
amiga1200gamer is offline  
Old 08 July 2019, 19:53   #14
Lord
Registered User
 
Join Date: Oct 2017
Location: Herzberg / Germany
Posts: 6
@Amiga1200gamer
My Pi is active cooled with a small heatsik and a little fan
Clocked at 1750mhz CPU and 600 mhz gpu 512mb graphics ram, i use fullscreen with rtg 1024x768 (Fullhd Screen) 4mb and 128mb fastram, HDF with PFS3.
CPU 030 with high accuracy setting, all things i have testet runs smooth. Have Play IT2000 AGA fror a While and settlers and the good old Turrican2.
Temperature are 64C in Fullscreen when i play Turrican

Last edited by Lord; 08 July 2019 at 20:00.
Lord is offline  
Old 08 July 2019, 20:50   #15
amiga1200gamer
Registered User

 
Join Date: Jan 2014
Location: England
Posts: 53
Quote:
Originally Posted by alkis View Post
Indeed that was the problem.
After switching to fs-uae-3.0 branch, it built correctly. It took 45 minutes to compile (on pi 3, single thread make invocation)

Thanks!

Same here, Thanks Frode.


Im checking out with

Code:
git clone -b fs-uae-3.0 https://github.com/FrodeSolheim/fs-uae.git --single-branch
configuring with
Code:
./configure --without-libmpeg2 --disable-jit --build=arm-pc-linux-gnueabihf
Haven't delved deep into compiler optimisations for the PI4 yet, so basing on a working config for the PI3 (hopefully adjusting for the new a72 core), im passing the following extra CFLAGS/CXXFLAGS as environment variables.
Code:
 "CFLAGS="-O2 -pipe -march=armv8-a+crc -mcpu=cortex-a72 -mtune=cortex-a72 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations"
All compiling fine, and definitely running smoother than the 2.8 in the Buster repositories (which is probably not optimised for v7/neon FPU for backwards compatibility)
amiga1200gamer is offline  
Old 09 July 2019, 19:35   #16
Lord
Registered User
 
Join Date: Oct 2017
Location: Herzberg / Germany
Posts: 6
@a1200gamer
I have download from github go to the fs-uae directory and see no ./configure file
I can not compile, can you make a better howto for linux beginner?
Lord is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga and Raspberry pi kolla Hardware mods 27 12 November 2018 21:56
Raspberry Pi Zero emulation LizardKing support.OtherUAE 8 14 August 2016 11:39
Raspberry Pi 3 out Retroplay Retrogaming General Discussion 63 11 March 2016 18:05
Raspberry Pi 2 amigafreak68k support.FS-UAE 67 31 October 2015 22:52
Embedded Raspberry Pi? wXR Hardware mods 2 29 July 2012 17:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.08026 seconds with 14 queries