BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
663 stars 89 forks source link

Performance Issues in amd64 #1132

Closed Chandler-Kluser closed 1 year ago

Chandler-Kluser commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Follow the build steps

  2. Run amiberry in any situation

  3. Notice framerate drops

Expected behavior A smooth audio and video performance

Screenshots Screenshots cannot present the problem

Desktop (please complete the following information):

Additional options: -0 Insert specified ADF image into emulated floppy drive 0-3. -1
-2
-3

-diskswapper=d1.adf,d2.adf Comma-separated list of disk images to pre-load to the Disk Swapper. -r Load main ROM from the specified path. -K Load extended ROM from the specified path. -m VOLNAME:mount_point Attach a volume directly to the specified mount point. -W DEVNAME:hardfile Attach a hardfile with the specified device name. -S Sound parameter specification. -R Output framerate in frames per second. -i Enable illegal memory. -J Specify joystick 0 (x) and 1 (y). Possible values: 0/1 for joystick, M for mouse, and a/b/c. -w CPU emulation speed. Possible values: 0 (Cycle Exact), -1 (Max). -G Don't show the GUI, start emulation directly. -n Enable Immediate Blits. Only available when illegal memory is not enabled. -v Set Chipset. Possible values: 0 (OCS), 1 (ECS Agnus), 2 (ECS Denise), 3 (Full ECS), 4 (AGA). -C Set CPU specs. -Z Z3 FastRAM size, value in 1MB blocks, i.e. 2=2MB. -U RTG Memory size, value in 1MB blocks, i.e. 2=2MB. -F Fastmem size, value in 1MB blocks, i.e. 2=2MB. -b Bogomem size, value in 256KB blocks, i.e. 2=512KB. -c Size of chip memory (in number of 512 KBytes chunks). -I Set keyboard layout language. Possible values: de, dk, us, se, fr, it, es. -O Set graphics specs. -H Color mode. -o = Set Amiberry configuration parameter with value. See: https://github.com/midwan/amiberry/wiki/Amiberry.conf-options

Example 1: amiberry --model A1200 -G This will use the A1200 default settings as found in the QuickStart panel. Additionally, it will override 'use_gui' to 'no', so that it enters emulation directly.

Example 2: amiberry --config conf/A500.uae --statefile savestates/game.uss -s use_gui=no This will load the conf/A500.uae configuration file, with the save state named game. It will override 'use_gui' to 'no', so that it enters emulation directly.



**Additional context**
I have used some old releases and I have not noticed any performance drop, but now I am...

Love Amiberry? Please consider supporting it:
👉  https://ko-fi.com/midwan
solskogen commented 1 year ago

When do you notice this?

Chandler-Kluser commented 1 year ago

when I switched my operating system from EndeavourOS to Arch Linux, it is important to notice that the old release was kept during the system transition so I did build it from source again to test if it was something like shared object issue or something like that.

Chandler-Kluser commented 1 year ago

in a clean build using Amiga1200 core with workbench I noticed this issue by opening AmigaAMP:

image

I don't know if it is something related to the performance...

I have also tested different sound/video configuration specs, but the problem persists (I have never noticed any performance issues in older times, by the way)

solskogen commented 1 year ago

What do you means by performance, then? It might look like you have a problem with the sound. Make sure that works.

Chandler-Kluser commented 1 year ago

it is not only the sound, the video is laggy and the emulation itself too

solskogen commented 1 year ago

You have to provide more and better information. It seems to be a problem with your system and not amiberry itself (amiberry is just the symptom) - moving over to discussions.