English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.FS-UAE (http://eab.abime.net/forumdisplay.php?f=122)
-   -   FS-UAE 3.X on Raspberry Pi 3/4 (http://eab.abime.net/showthread.php?t=97979)

Lord 03 July 2019 10:47

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.

daxb 03 July 2019 17:16

The maintainer of the package should be responsible for the available version on the repo. So ask Frode.

Lord 03 July 2019 23:51

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

FrodeSolheim 05 July 2019 23:28

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.

daxb 06 July 2019 17:15

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

alkis 06 July 2019 19:13

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

FrodeSolheim 06 July 2019 20:43

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).

alkis 07 July 2019 07:09

Quote:

Originally Posted by FrodeSolheim (Post 1331014)
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!

quantum8 08 July 2019 02:06

It would be interesting to know how the performance of this compares to Amiberry.

Retroplay 08 July 2019 02:44

Quote:

Originally Posted by FrodeSolheim (Post 1330897)
The exception might be Raspberry Pi 4.

Benchmarks in MagPi #83 and they don't disappoint.
https://www.raspberrypi.org/magpi/issues/83/

Lord 08 July 2019 09:41

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.

MrGimper 08 July 2019 14:55

Quote:

Originally Posted by quantum8 (Post 1331247)
It would be interesting to know how the performance of this compares to Amiberry.

Me too as Amiberry is awesome!

amiga1200gamer 08 July 2019 17:45

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.

Lord 08 July 2019 20:53

@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

amiga1200gamer 08 July 2019 21:50

Quote:

Originally Posted by alkis (Post 1331076)
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)

Lord 09 July 2019 20:35

@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?

cthulhu 04 October 2019 22:16

HI
I am not an expert at all however I wrote this procedure which is working for me.
fs-uae-3.0 works OK for me on Raspbian running on PI4 4Gb
here it is :

1)
git clone -b fs-uae-3.0 https://github.com/FrodeSolheim/fs-uae.git --single-branch

2)
sudo apt-get install autoconf automake libtool gettext

3)
./bootstrap

4)
sudo apt-get install libsdl2-dev libglib2.0-dev libpng-dev gettext \
libfreetype6-dev build-essential libopenal-dev libxi-dev zip \
libmpeg2-4-dev


5)
./configure --without-libmpeg2 --disable-jit --build=arm-pc-linux-gnueabihf

6)
make


7)test if fs-uae start OK
./fs-uae


8)download fs-uae-launcher-3.0.0.tar.gz and decompress


9)sudo apt install python3 python3-pyqt5 python3-pyqt5.qtopengl \ python3-requests

10)
sudo apt install python3-opengl

11)
pip3 install lhafile

12)
sudo make install

13)test
fs-uae-launcher

looks like FS-UAE and FS-UAE-LAUCHER-3.0.0 folder need to be on the same folder.

Enjoy

DrFruit 15 October 2019 01:23

Looking forward to the next amiberry release on my pi4 but for now fs is pretty solid for me


All times are GMT +2. The time now is 16:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.

Page generated in 0.04640 seconds with 11 queries