English Amiga Board


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

 
 
Thread Tools
Old 13 May 2012, 19:50   #1
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
Performance issue with high-end Amiga on Linux computer

I tried JIT 1.3.5 version, I don't see performance improvement

Maybe I missed something !

edit : here's my config file :


[config]
amiga_model = A4000/040
uae_cachesize = 8192

kickstart_file = /home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom
hard_drives_dir = /home/dimitri/Documents/FS-UAE/Hard Drives/
hard_drive_0 = /home/dimitri/Documents/FS-UAE/Hard Drives/System/
hard_drive_1 = /home/dimitri/Documents/FS-UAE/Hard Drives/Work/

chip_memory = 4096
zorro_iii_memory = 131072
uae_gfxcard_size = 32
fullscreen = 1
fsaa = 0
video_sync = off
accuracy = 0
bsdsocket_library = 1



I don't know if it's the best I can create for my purpose (emulating a high end classic aga+rtg amiga)...
demether is offline  
Old 13 May 2012, 23:11   #2
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
No, I'm running the 32bit version. I don't know, I remember on winuae that video buffering were slowering the whole thing heavily, maybe some similar options are implied in fsuae causing that lack of performance.

The workbench itself take about half a minute to launch, when it takes 2 or 3secs on e-uae or winuae. Something (probably a hidden option) is slowering it.

I'll keep watching the project.
demether is offline  
Old 13 May 2012, 23:19   #3
nexusle
Banned
 
Join Date: Jul 2010
Location: Earth
Age: 42
Posts: 500
@demether

Do you read my post about JIT?
nexusle is offline  
Old 14 May 2012, 11:05   #4
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
@Nexusle :

Yes I readed it and tried your tip, with no success.

@Frodesolheim : here's my log file. (first part)



Code:
FS-UAE VERSION 1.3.5
Copyright 1995-2002 Bernd Schmidt
          1999-2012 Toni Wilen
          2003-2007 Richard Drummond
          2006-2011 Mustafa 'GnoStiC' Tufan
          2011-2012 Frode Solheim

See the source for a full list of contributors.
This is free software; see the file COPYING for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

current directory is /home/dimitri
libamiga (based on WinUAE 2.4.1) initialized

----------------------------------------------------------------------------
libfsemu init
----------------------------------------------------------------------------

locale is set to fr_FR.UTF-8
fs_emu_init
calling fs_ml_init
LINUX
initialize dialog module
load config file
WARNING: fs_get_application_exe_path not implemented
WARNING: fs_get_application_exe_path failed
using $exe directory ""
checking config file Config.fs-uae
checking config file Config.fs-uae
checking config file fs-uae.conf
checking config file /home/dimitri/.config/fs-uae/fs-uae.conf
using documents directory "/home/dimitri/Documents"
using base ($fsuae) directory "/home/dimitri/Documents/FS-UAE"
resolve_path /home/dimitri/Documents/FS-UAE/Configurations (absolute)
using "Configurations" directory "/home/dimitri/Documents/FS-UAE/Configurations"
checking config file /home/dimitri/Documents/FS-UAE/Configurations/Default.fs-uae
loading config from /home/dimitri/Documents/FS-UAE/Configurations/Default.fs-uae

----------------------------------------------------------------------------
config (/home/dimitri/Documents/FS-UAE/Configurations/Default.fs-uae)
----------------------------------------------------------------------------

amiga_model = A4000/040
uae_cachesize = 8192
uae_cpu_speed = max
kickstart_file = /home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom
hard_drives_dir = /home/dimitri/Documents/FS-UAE/Hard Drives/
hard_drive_0 = /home/dimitri/Documents/FS-UAE/Hard Drives/System/
hard_drive_1 = /home/dimitri/Documents/FS-UAE/Hard Drives/Work/
chip_memory = 4096
zorro_iii_memory = 131072
uae_gfxcard_size = 32
fullscreen = 0
checking config file /home/dimitri/Documents/FS-UAE/Configurations/Host.fs-uae

----------------------------------------------------------------------------
fs-uae init
----------------------------------------------------------------------------

resolve_path /home/dimitri/Documents/FS-UAE/Kickstarts (absolute)
using "Kickstarts" directory "/home/dimitri/Documents/FS-UAE/Kickstarts"
resolve_path /home/dimitri/Documents/FS-UAE/Floppies (absolute)
using "Floppies" directory "/home/dimitri/Documents/FS-UAE/Floppies"
resolve_path /home/dimitri/Documents/FS-UAE/CD-ROMs (absolute)
using "CD-ROMs" directory "/home/dimitri/Documents/FS-UAE/CD-ROMs"
resolve_path /home/dimitri/Documents/FS-UAE/Hard Drives/ (absolute)
using "Hard Drives" directory "/home/dimitri/Documents/FS-UAE/Hard Drives/"
fs_uae_configure_amiga_model
using PAL mode (50Hz)
config match for "A4000/040"
ignoring accuracy for this model
this model / accuracy combination is a "fastest possibly" mode
fastest possible mode - disabling frame throttling
fastest possible mode - disallowing full sync
resolve_path /home/dimitri/Documents/FS-UAE/Flash Memory (absolute)
using "Flash Memory" directory "/home/dimitri/Documents/FS-UAE/Flash Memory"
resolve_path /home/dimitri/Documents/FS-UAE/Save States (absolute)
using "Save States" directory "/home/dimitri/Documents/FS-UAE/Save States"
resolve_path /home/dimitri/Documents/FS-UAE/Floppy Overlays (absolute)
using "Floppy Overlays" directory "/home/dimitri/Documents/FS-UAE/Floppy Overlays"
resolve_path /home/dimitri/Documents/FS-UAE/Controllers (absolute)
using "Controllers" directory "/home/dimitri/Documents/FS-UAE/Controllers"
resolve_path /home/dimitri/Documents/FS-UAE/Logs (absolute)
using "Logs" directory "/home/dimitri/Documents/FS-UAE/Logs"
switch to log file /home/dimitri/Documents/FS-UAE/Logs/FS-UAE.log
fs_emu_init_2
initializing SDL
fs_emu_init
fs_emu_video_init
full-scene anti-aliasing is not requested
detected refresh rate: 50
xrandr is lying about about refresh rates; ignoring result
current display mode is 0x0@0hz
checking video sync mode
not specified: using automatic video sync mode
auto sync mode is enabled
frame rate (50) does not equal screen refresh (0)
will sync video output only to vblank (no tearing)
using default video format BGRA
using default texture format RGB
fs_emu_init_render
scale: -1.00 -1.00 align: 0.50 0.50
calling fs_ml_init_2
detected refresh rate: 50
xrandr is lying about about refresh rates; ignoring result
assuming refresh rate: 0 (0 usec per frame)
init_input
calling fs_ml_video_init
creating condition
creating mutex
calling fs_ml_input_init
fs_ml_input_init
read config
fs_emu_input_init
init_input_configs
reading input device configs from /usr/share/fs-uae/input
reading input device configs from /home/dimitri/Documents/FS-UAE/Controllers
initializing devices for menu
0 KEYBOARD
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find menu config for device "keyboard_0_0_0_0_linux"
get system config for device: keyboard
read config for keyboard for menu (from /usr/share/fs-uae/input/generic/keyboard.ini)
key_down (28946) => action "down" (4)
did not find action for "skip_left"
key_left (28948) => action "left" (1)
key_right (28947) => action "right" (2)
did not find action for "(primary)"
key_up (28945) => action "up" (3)
did not find action for "skip_right"
key_backspace (28680) => action "back" (6)
did not find action for "secondary"
did not find action for "(back)"
key_return (28685) => action "primary" (5)
fs_emu_audio_init
openal devices:
- PulseAudio Software
- ALSA Software
- PortAudio Software
openal default device: PulseAudio Software
openal device opened: PulseAudio Software
openal: created context
openal: made context current
fs_ml_video_create_window
*** SDL_GL_SWAP_CONTROL is enabled ***
using windowed mode
setting (windowed) video mode 960 540
requesting dark window manager theme
setting _NET_WM_ICON from icon images
did not find icon for 128x128
did not find icon for 64x64
did not find icon for 48x48
did not find icon for 32x32
did not find icon for 16x16
opengl vendor: NVIDIA Corporation
opengl renderer: GeForce 7600 GT/AGP/SSE/3DNOW!
opengl version: 2.1.2 NVIDIA 270.41.06
opengl shading language version: 1.20 NVIDIA via Cg compiler
opengl extensions: GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shading_language_include GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
opengl max texture size (estimate): 4096x4096
init_opengl
setup_opengl
loading texture "/usr/share/fs-uae/atlas.png"
initializing menu
load font title_font
loading image "/usr/share/fs-uae/title_font.png"
font height: 32 pixels
256 characters
load font menu_font
loading image "/usr/share/fs-uae/menu_font.png"
font height: 32 pixels
512 characters
create windows is done
initializing audio stream 0
frequency: 44100, buffers: 48 buffer size: 1024 bytes
initializing audio stream 1
frequency: 44100, buffers: 48 buffer size: 28224 bytes
adding rtg resolution 960x540
adding rtg resolution 1440x900
fs_uae_init_video
fs_uae_configure_menu
fs_emu_set_menu 0xc819de8
fs_emu_run, main_function at 0x8050310
checking OpenGL capabilities
GL_NV_fence extension found 
deciding video sync method
- using default sync method
- SYNC_FINISH_SWAP_FINISH
emulation thread started
amiga_main
KB: keyboard_settrans
init_joystick
 -- stub -- init_kb 
target_default_options p=0xa5901c0 type=0
target_default_options: enabling floppy sounds
 -- stub -- target_save_options zfile=? p=0xa5901c0

built_in_chipset_prefs

 -- stub -- target_fixup_options 
graphics_setup
Max Z3FastRAM 1536M. Total physical RAM 2012M
 -- stub -- target_cfgfile_load 

built_in_chipset_prefs

 -- stub -- target_fixup_options 
target_default_options p=0xa5901c0 type=1
target_default_options: enabling floppy sounds

built_in_chipset_prefs


----------------------------------------------------------------------------
uae configuration
----------------------------------------------------------------------------

fs_uae_configure_amiga_model
using PAL mode (50Hz)
config match for "A4000/040"
ignoring accuracy for this model
this model / accuracy combination is a "fastest possibly" mode
fs_uae_configure_amiga_hardware
fs_uae_load_rom_files /home/dimitri/Documents/FS-UAE/Kickstarts
ROM KEY '/home/dimitri/Documents/FS-UAE/Kickstarts/rom.key' 750 bytes loaded
found file "amiga-os-310.rom"
amiga_add_rom_file /home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom
*: /home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom:524288 = KS ROM v3.1 (A4000)(Cloanto) rev 40.68 (512k)
CRC32=43B6DD22 SHA1=C3C481160866E60D085E436A24DB3617FF60B5F9
done
configuring "Amiga 4000/040", accuracy=1
amiga_quickstart model=6 config=1 compa=0 (accuracy 1)
target_default_options p=0xa5901c0 type=1
target_default_options: enabling floppy sounds

built_in_chipset_prefs

set option "cachesize" to "0" (result: 1)
set option "comp_trustbyte" to "indirect" (result: 1)
set option "comp_trustword" to "indirect" (result: 1)
set option "comp_trustlong" to "indirect" (result: 1)
set option "comp_trustnaddr" to "indirect" (result: 1)
setting cpu_idle = 2
resolve_path /home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom (absolute)
set option "kickstart_rom_file" to "/home/dimitri/Documents/FS-UAE/Kickstarts/amiga-os-310.rom" (result: 1)
set option "chipmem_size" to "8" (result: 1)
set option "z3mem_size" to "128" (result: 1)
amiga_enable_serial_port
configure_floppies
value for option floppy_drive_0: (null)
value for option floppy_drive_1: (null)
value for option floppy_drive_2: (null)
value for option floppy_drive_3: (null)
automatically set num_drives to 1
set option "nr_floppies" to "1" (result: 1)
set option "floppy1type" to "-1" (result: 1)
set option "floppy2type" to "-1" (result: 1)
set option "floppy3type" to "-1" (result: 1)
set option "diskimage0" to "" (result: 1)
set option "diskimage1" to "" (result: 1)
set option "diskimage2" to "" (result: 1)
set option "diskimage3" to "" (result: 1)
set option "diskimage4" to "" (result: 1)
set option "diskimage5" to "" (result: 1)
set option "diskimage6" to "" (result: 1)
set option "diskimage7" to "" (result: 1)
set option "diskimage8" to "" (result: 1)
set option "diskimage9" to "" (result: 1)
set option "diskimage10" to "" (result: 1)
set option "diskimage11" to "" (result: 1)
set option "diskimage12" to "" (result: 1)
set option "diskimage13" to "" (result: 1)
set option "diskimage14" to "" (result: 1)
set option "diskimage15" to "" (result: 1)
set option "diskimage16" to "" (result: 1)
set option "diskimage17" to "" (result: 1)
set option "diskimage18" to "" (result: 1)
set option "diskimage19" to "" (result: 1)
configure_cdrom
fs_uae_configure_hard_drives
resolve_path /home/dimitri/Documents/FS-UAE/Hard Drives/System/ (absolute)
hard drive mount: /home/dimitri/Documents/FS-UAE/Hard Drives/System/
device: DH0
mount name: System
read/write: rw
boot priority: 0
set option "filesystem2" to "rw,DH0:System:/home/dimitri/Documents/FS-UAE/Hard Drives/System/,0" (result: 1)
resolve_path /home/dimitri/Documents/FS-UAE/Hard Drives/Work/ (absolute)
hard drive mount: /home/dimitri/Documents/FS-UAE/Hard Drives/Work/
device: DH1
mount name: Work
read/write: rw
boot priority: -1
set option "filesystem2" to "rw,DH1:Work:/home/dimitri/Documents/FS-UAE/Hard Drives/Work/,-1" (result: 1)
configuring joystick ports:
set option "joyport0" to "none" (result: 1)
set option "joyport1" to "none" (result: 1)
configuring joystick port 0 (mouse)
configuring joystick port 1 (auto)
trying to auto-configure joystick 1 in port 1
configure joystick "JOYSTICK" for "amiga"
did not match device #0 (KEYBOARD)
could not auto-configure joystick 1, using keyboard emulation
configuring joystick port 2 (nothing)
nothing connected to port
configuring joystick port 3 (nothing)
nothing connected to port
set option "statefile_name" to "/home/dimitri/Documents/FS-UAE/Save States/fs-uae-state.uss" (result: 1)
amiga_set_save_image_dir /home/dimitri/Documents/FS-UAE/Floppy Overlays
set option "sound_auto" to "false" (result: 1)
set option "gfx_gamma" to "40" (result: 1)
fs_uae_set_uae_paths
read_custom_uae_options
WARNING: custom uae_* options used! Your warranty is now void! ;)
(not that there was any warranty before...)
set option "cachesize" to "8192" (result: 1)
set option "cpu_speed" to "max" (result: 1)
set option "gfxcard_size" to "32" (result: 1)
writing uae config to /home/dimitri/Documents/FS-UAE/Logs/LastConfig.uae
 -- stub -- target_save_options zfile=? p=0xa5901c0

----------------------------------------------------------------------------
end of uae configuration
----------------------------------------------------------------------------
demether is offline  
Old 14 May 2012, 11:08   #5
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
2nd part of the log file :

Code:
init_joystick
 -- stub -- init_kb 
 -- stub -- gui_init 
 -- stub -- logging_init 
NATMEM: Our special area: 0x0x96d92000-0x0xaed92000 (18000000 384M)
NATMEM: P96 special area: 0x0x94d8f000-0x0x96d8f000 (02000000 32M)

built_in_chipset_prefs

 -- stub -- target_fixup_options 
 -- stub -- target_run 
RTAREA located at 00F00000
shmget of size 65536 (64k) for rtarea
VirtualAlloc 00F00000 - 00F10000 10000 (64k) ok (97C92000)
uaegfx.card magic code: 00F019B0-00F01AEE ABI=00000000
shmget of size 134217728 (131072k) for z3
VirtualAlloc 10000000 - 18000020 8000020 (131072k) ok (A6D92000)
shmget of size 33554432 (32768k) for z3_gfx
SHMAddr: fdffd000 = 0x94d8f000 - 0x96d92000   z3_gfx from NATMEM identified
shmget of size 65536 (64k) for filesys
shmget of size 524288 (512k) for kick
VirtualAlloc 00F80000 - 01000020 80020 (512k) ok (97D12000)
Entered action_replay_load ()
shmget of size 4194304 (4096k) for chip
VirtualAlloc 00000000 - 00400020 400020 (4096k) ok (96D92000)
shmget of size 8388608 (8192k) for ramsey_low
VirtualAlloc 07800000 - 08000000 800000 (8192k) ok (9E592000)
ROM loader.. (<none>)
Known ROM 'KS ROM v3.1 (A4000)(Cloanto)' loaded
ROM loader end
memory init end
bsdsocked.library installed
gfx_set_picasso_state 0
Error: Could not open Device 
drive_insert drv=0x96cae00 dnum=0 fname=df0.adf fake=0
gui_disk_image_change drive 0 name df0.adf write protected 0
 -- stub -- gui_filename num=0 name=""
gui_disk_image_change drive 0 <no disk>
drive_insert drv=0x96ed3f8 dnum=1 fname=df1.adf fake=0
gui_disk_image_change drive 1 name df1.adf write protected 0
 -- stub -- gui_filename num=1 name=""
gui_disk_image_change drive 1 <no disk>
drive_insert drv=0x970f9f0 dnum=2 fname=df2.adf fake=0
gui_disk_image_change drive 2 name df2.adf write protected 0
 -- stub -- gui_filename num=2 name=""
gui_disk_image_change drive 2 <no disk>
drive_insert drv=0x9731fe8 dnum=3 fname=df3.adf fake=0
gui_disk_image_change drive 3 name df3.adf write protected 0
 -- stub -- gui_filename num=3 name=""
gui_disk_image_change drive 3 <no disk>
No disk in drive 0.
Resetting frame rate hack
Building CPU table for configuration: 68040/68040
1879 CPU functions
Building CPU, 46224 opcodes (4 0 0)
CPU=68040, FPU=68040, MMU=0, JIT=CPU/FPU=8192.
CPUID level=1, Family=6, Model=10, Mask=0, Vendor=AuthenticAMD [2]
JIT: Setting signal handler
JIT: Building Compiler function table
JIT: Supposedly 42381 compileable opcodes!
graphics_init
calling reset_drawing
init_colors
currprefs.m68k_speed is -1, not allowing full sync
init_sound
Resetting frame rate hack
 -- stub -- target_reset 
my_getvolumeinfo /home/dimitri/Documents/FS-UAE/Hard Drives/System/
my_getvolumeinfo /home/dimitri/Documents/FS-UAE/Hard Drives/Work/
 -- stub -- filesys_addexternals 
memory init end
uae_start_tread "filesys" function at 0x8106160 arg 0xa584020
uae_start_tread "filesys" function at 0x8106160 arg 0xa5842e4
Reset at 00000000
00000000    4096K/1 =    4096K Chip memory
00400000    8128K/0 =    8128K <none>
00BF0000      64K/0 =      64K CIA
00C00000    1024K/0 =    1024K Custom chipset
00D00000     768K/0 =     768K <none>
00DC0000      64K/0 =      64K Battery backed up clock (none)
00DD0000      64K/0 =      64K Gayle (low)
00DE0000      64K/0 =      64K Motherboard Resources
00DF0000      64K/0 =      64K Custom chipset
00E00000     512K/1 =     512K Kickstart ROM (43B6DD22)
=KS ROM v3.1 (A4000)(Cloanto) rev 40.68 (512k)
00E80000      64K/0 =      64K Autoconfig
00E90000     448K/0 =     448K <none>
00F00000      64K/1 =      64K UAE Boot ROM
00F10000     448K/0 =     448K <none>
00F80000     512K/1 =     512K Kickstart ROM (43B6DD22)
=KS ROM v3.1 (A4000)(Cloanto) rev 40.68 (512k)
01000000     104M/0 =     104M <none>
07800000       8M/1 =       8M RAMSEY memory (low)
08000000    3968M/0 =    3968M <none>
drive_insert drv=0x96cae00 dnum=0 fname= fake=0
gui_disk_image_change drive 0 <no disk>
 -- stub -- gui_filename num=0 name=""
gui_disk_image_change drive 0 <no disk>
drive_insert drv=0x96ed3f8 dnum=1 fname= fake=0
gui_disk_image_change drive 1 <no disk>
 -- stub -- gui_filename num=1 name=""
gui_disk_image_change drive 1 <no disk>
drive_insert drv=0x970f9f0 dnum=2 fname= fake=0
gui_disk_image_change drive 2 <no disk>
 -- stub -- gui_filename num=2 name=""
gui_disk_image_change drive 2 <no disk>
drive_insert drv=0x9731fe8 dnum=3 fname= fake=0
gui_disk_image_change drive 3 <no disk>
 -- stub -- gui_filename num=3 name=""
gui_disk_image_change drive 3 <no disk>
DTR off.
 -- stub -- target_graphics_buffer_update 
PAL mode V=50.0000Hz H=15600.0000Hz (227x312+1) IDX=10 (PAL)
FIXME: setting p96vblank to 50.0
P96FREQ: 312*50.0000 = 15600.0000 / 50.0 = 312
gfx_set_picasso_state 0
 -- stub -- fpux_restore 
hardreset, memory cleared
init_sound
init_sound_thread
uae_start_tread "Sound" function at 0x80553b0 arg (nil)
initialize drivesound
open_sound returning 1
restarting audio stream 0 (buffer underrun)
fs_uae_reconfigure_input_ports_amiga
sending event to set port 0 to mode 1
sending event to set port 1 to mode 2
sending event to set port 2 to mode 0
sending event to set port 3 to mode 0
***** amiga_set_joystick_port_mode port=0 mode=1
fs_uae_reconfigure_input_ports_host
configuring joystick port 0
* amiga mouse
* using host mouse
mapping mouse to port 0
fs_emu_configure_mouse
configuring joystick port 1
* nothing in port
* FIXME
configuring joystick port 2
* nothing in port
* FIXME
configuring joystick port 3
* nothing in port
* FIXME
map_custom_keyboard_actions
map_custom_joystick_actions
map_custom_joystick_actions for KEYBOARD
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
***** amiga_set_joystick_port_mode port=1 mode=2
fs_uae_reconfigure_input_ports_host
configuring joystick port 0
* amiga mouse
* using host mouse
mapping mouse to port 0
fs_emu_configure_mouse
configuring joystick port 1
* amiga joystick
* using device KEYBOARD
configure joystick "KEYBOARD" for "amiga"
matched device #0
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for amiga (from /usr/share/fs-uae/input/generic/keyboard.ini)
key_down (28946) => action "down" (63)
key_up (28945) => action "up" (62)
key_left (28948) => action "left" (60)
key_right (28947) => action "right" (61)
key_rctrl (28977) => action "1" (68)
key_ralt (28979) => action "1" (68)
configuring joystick port 2
* nothing in port
* FIXME
configuring joystick port 3
* nothing in port
* FIXME
map_custom_keyboard_actions
map_custom_joystick_actions
map_custom_joystick_actions for KEYBOARD
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
***** amiga_set_joystick_port_mode port=2 mode=0
fs_uae_reconfigure_input_ports_host
configuring joystick port 0
* amiga mouse
* using host mouse
mapping mouse to port 0
fs_emu_configure_mouse
configuring joystick port 1
* amiga joystick
* using device KEYBOARD
configure joystick "KEYBOARD" for "amiga"
matched device #0
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for amiga (from /usr/share/fs-uae/input/generic/keyboard.ini)
key_down (28946) => action "down" (63)
key_up (28945) => action "up" (62)
key_left (28948) => action "left" (60)
key_right (28947) => action "right" (61)
key_rctrl (28977) => action "1" (68)
key_ralt (28979) => action "1" (68)
configuring joystick port 2
* nothing in port
* FIXME
configuring joystick port 3
* nothing in port
* FIXME
map_custom_keyboard_actions
map_custom_joystick_actions
map_custom_joystick_actions for KEYBOARD
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
***** amiga_set_joystick_port_mode port=3 mode=0
fs_uae_reconfigure_input_ports_host
configuring joystick port 0
* amiga mouse
* using host mouse
mapping mouse to port 0
fs_emu_configure_mouse
configuring joystick port 1
* amiga joystick
* using device KEYBOARD
configure joystick "KEYBOARD" for "amiga"
matched device #0
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for amiga (from /usr/share/fs-uae/input/generic/keyboard.ini)
key_down (28946) => action "down" (63)
key_up (28945) => action "up" (62)
key_left (28948) => action "left" (60)
key_right (28947) => action "right" (61)
key_rctrl (28977) => action "1" (68)
key_ralt (28979) => action "1" (68)
configuring joystick port 2
* nothing in port
* FIXME
configuring joystick port 3
* nothing in port
* FIXME
map_custom_keyboard_actions
map_custom_joystick_actions
map_custom_joystick_actions for KEYBOARD
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
config name "keyboard_0_0_0_0_linux"
get system config for device: keyboard_0_0_0_0_linux
config file for keyboard_0_0_0_0_linux was not found
did not find generic gamepad config for device "keyboard_0_0_0_0_linux"
config name "keyboard"
get system config for device: keyboard
read config for keyboard for universal (from /usr/share/fs-uae/input/generic/keyboard.ini)
no config for platform universal
did not find generic gamepad config for device "keyboard"
uaesrand(0d)
seed=12345678
Display Size: 640x480 Offset: 74x36
First: 26 Last: 0 MinV: 0 MaxV: 0 Min: 26
>  74  36 640 480
 -- stub -- target_graphics_buffer_update 
PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) IDX=10 (PAL)
FIXME: setting p96vblank to 50.0
P96FREQ: 312*49.9201 = 15575.0799 / 50.0 = 311
 -- stub -- updatedisplayarea 
restarting audio stream 0 (buffer underrun)
Display Size: 640x480 Offset: 74x36
First: 26 Last: 0 MinV: 0 MaxV: 0 Min: 26
restarting audio stream 0 (buffer underrun)
Filesystem: mapped memory @$e90000.
   Card 1 (ZorroII) done.
Z3MEM (32bit): mapped @$10000000: 128 MB Zorro III fast memory 
   Card 2 remapped 40000000 -> 10000000
   Card 2 (ZorroIII) done.
Z3UAEGFX-card: mapped @$fdff0000, 32 MB RTG RAM
   Card 3 remapped 48000000 -> fdff0000
   Card 3 (ZorroIII) done.
Memory map after autoconfig:
00000000    4096K/1 =    4096K Chip memory
00400000    8128K/0 =    8128K <none>
00BF0000      64K/0 =      64K CIA
00C00000    1024K/0 =    1024K Custom chipset
00D00000     768K/0 =     768K <none>
00DC0000      64K/0 =      64K Battery backed up clock (RF5C01A)
00DD0000      64K/0 =      64K A4000 IDE
00DE0000      64K/0 =      64K Motherboard Resources
00DF0000      64K/0 =      64K Custom chipset
00E00000     512K/1 =     512K Kickstart ROM (43B6DD22)
=KS ROM v3.1 (A4000)(Cloanto) rev 40.68 (512k)
00E80000      64K/0 =      64K <none>
00E90000      64K/0 =      64K Filesystem Autoconfig Area
00EA0000     384K/0 =     384K <none>
00F00000      64K/1 =      64K UAE Boot ROM
00F10000     448K/0 =     448K <none>
00F80000     512K/1 =     512K Kickstart ROM (43B6DD22)
=KS ROM v3.1 (A4000)(Cloanto) rev 40.68 (512k)
01000000     104M/0 =     104M <none>
07800000       8M/1 =       8M RAMSEY memory (low)
08000000     128M/0 =     128M <none>
10000000     128M/1 =     128M ZorroIII Fast RAM
18000000    3679M/0 =    3679M <none>
FDFF0000      32M/1 =      32M RTG RAM
FFFF0000       0M/0 =       0M <none>
demether is offline  
Old 14 May 2012, 11:08   #6
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
last part (sorry to post multiple posts, but I cannot post the entire file)

Code:
restarting audio stream 0 (buffer underrun)
RTS set.
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 32 (0x0420)
 - bit 5
BEAMCON0 v = 32 (0x0420)
 - bit 5
restarting audio stream 0 (buffer underrun)
Mounting uaehf.device 0 (0):
FS: mounted virtual unit DH0 (/home/dimitri/Documents/FS-UAE/Hard Drives/System/)
restarting audio stream 0 (buffer underrun)
Mounting uaehf.device 1 (0):
FS: mounted virtual unit DH1 (/home/dimitri/Documents/FS-UAE/Hard Drives/Work/)
uae_start_tread "(fast)" function at 0x8140c10 arg 0xc9bcc00
uaegfx.card 3.3 init @0780DAEC
P96 RESINFO: 0780DB76-0780EA56 (79,3808)
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 32 (0x0420)
 - bit 5
restarting audio stream 0 (buffer underrun)
FS: System (flags=00000002,E=0,ED=1,EF=0,native='/home/dimitri/Documents/FS-UAE/Hard Drives/System/') starting..
restarting audio stream 0 (buffer underrun)
FS: Work (flags=00000002,E=0,ED=1,EF=0,native='/home/dimitri/Documents/FS-UAE/Hard Drives/Work/') starting..
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 32 (0x0420)
 - bit 5
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 32 (0x0420)
 - bit 5
restarting audio stream 0 (buffer underrun)
restarting audio stream 0 (buffer underrun)
RTG mode mask: 212
P96: Hardware sprite support disabled
uaegfx.card magic code: 00F019B0-00F01AEE ABI=0790012C
 1: 50001000  320x 200 UAE: 320x 200
 2: 50011000  320x 240 UAE: 320x 240
 3: 50091000  320x 256 UAE: 320x 256
P96: Non-unique mode 640x360
 4: 50FF1000  640x 360 UAE: 640x 360
 5: 50021000  640x 400 UAE: 640x 400
 6: 50031000  640x 480 UAE: 640x 480
 7: 500A1000  640x 512 UAE: 640x 512
P96: Non-unique mode 800x450
 8: 50FE1000  800x 450 UAE: 800x 450
P96: Non-unique mode 800x500
 9: 50FD1000  800x 500 UAE: 800x 500
10: 50041000  800x 600 UAE: 800x 600
P96: Non-unique mode 960x540
11: 50FC1000  960x 540 UAE: 960x 540
12: 508B1000 1024x 576 UAE:1024x 576
P96: Non-unique mode 1024x600
13: 50FB1000 1024x 600 UAE:1024x 600
14: 50051000 1024x 768 UAE:1024x 768
15: 508E1000 1280x 720 UAE:1280x 720
16: 50071000 1280x1024 UAE:1280x1024
17: 50941000 1440x 900 UAE:1440x 900
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 32 (0x0420)
 - bit 5
restarting audio stream 0 (buffer underrun)
SetGC(1024,576,32,1)
gfx_set_picasso_modeinfo 1024 576 32 0
gfx_set_picasso_colors 0
FIXME: setting p96vblank to 50.0
P96FREQ: 312*49.9201 = 15575.0799 / 50.0 = 311
gfx_set_picasso_colors 9
RTG conversion: Depth=0 HostRGBF=6 P96RGBF=9 Mode=0
SetSwitch() - Picasso96 1024x576x32 (0x0x0)
gfx_set_picasso_state 1
gfx_set_picasso_colors 9
 -- stub -- setupcursor 
P96: rtg.library 40.3994 detected
 -- stub -- target_graphics_buffer_update 
PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) IDX=-1 (<?>)
restarting audio stream 0 (buffer underrun)
BEAMCON0 v = 0 (0x040)
FIXME: adding bit 5 of write to BEAMCON0
restarting audio stream 0 (buffer underrun)
>   0   0 1024 576
gfx_set_picasso_colors 9
 -- stub -- setupcursor 
restarting audio stream 0 (buffer underrun)
SetSwitch() - amiga
BEAMCON0 v = 32 (0x0420)
 - bit 5
gfx_set_picasso_state 0
 -- stub -- target_graphics_buffer_update 
PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) IDX=10 (PAL)
restarting audio stream 0 (buffer underrun)
>  74  36 640 480
Display Size: 724x400 Offset: 6x92
First: 72 Last: 272 MinV: 50 MaxV: 313 Min: 26
>   6  92 724 400
restarting audio stream 0 (buffer underrun)
Display Size: 640x400 Offset: 74x92
First: 72 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  92 640 400
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
grab input mode: 0
restarting audio stream 0 (buffer underrun)
lost keyboard focus
- did not have input grab
restarting audio stream 0 (buffer underrun)
Display Size: 640x400 Offset: 74x92
First: 72 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  92 640 400
restarting audio stream 0 (buffer underrun)
got keyboard focus
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)

Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x400 Offset: 74x92
First: 72 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  92 640 400
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
Display Size: 640x442 Offset: 74x50
First: 51 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  50 640 442
restarting audio stream 0 (buffer underrun)
Display Size: 640x444 Offset: 74x48
First: 50 Last: 272 MinV: 26 MaxV: 313 Min: 26
>  74  48 640 444
restarting audio stream 0 (buffer underrun)
intercepted SDL_QUIT
fs_ml_quit called
libfsemu:on_quit
restarting audio stream 0 (buffer underrun)
calling amiga_quit
 -- stub -- target_quit 
 -- stub -- close_kb 
 -- stub -- gui_exit 
 -- stub -- machdep_free 
real_main returned
calling filesys_flush_cache
amiga_main returned
fs_ml_quit already called
calling fs_ml_stop because emu thread is done
fs_emu_run: main loop is done
fs_emu_run: waiting for emulation thread to stop
fs_emu_run: emulation thread stopped
fs_emu_run: returning
fs-uae shutting down

I removed some lines to make it smaller (multiple kickstarts lines, for example).

I notice 3 weird things :

multiple errors during the entire running process. I remove HUNDREDS of lines of it to make the log file smaller. Each one you see this line :

'restarting audio stream 0 (buffer underrun)'


Imagine that in the real log file, you've got dozens of similar lines behind it.


The 2nd thing is :


'set option "cachesize" to "0" (result: 1)'

audio cache is also only 48. On e-uae or winuae, I put 100ms for it (with success).


The audio error seems to be the worst. I removed thousands of lines.
demether is offline  
Old 14 May 2012, 12:58   #7
nexusle
Banned
 
Join Date: Jul 2010
Location: Earth
Age: 42
Posts: 500
Maybe you should insert the "accuracy" config option. Don't know, if this help, but this config entry is in my config file.

"accuracy = 1

You can lower the accuracy of the emulation to run it on lower-spec machines (not recommended unless needed). Valid values (1, 0, -1, -2) range from 1 (most accurate), to -2 (fastest, least accurate). The default value is 1."
nexusle is offline  
Old 14 May 2012, 21:08   #8
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,634
Quote:
Originally Posted by demether View Post
last part (sorry to post multiple posts, but I cannot post the entire file)
It is possible to attaching files to posts instead

Quote:
Originally Posted by demether View Post
'restarting audio stream 0 (buffer underrun)'
Imagine that in the real log file, you've got dozens of similar lines behind it.
This basically indicates that frames are not emulated fast enough, and as a result, the audio buffer is emptied regularly.

Quote:
Originally Posted by demether View Post
The 2nd thing is :
'set option "cachesize" to "0" (result: 1)'
This is normal as JIT is initially forcibly disabled, but as you see later in the log, it is changed to 8192 (as you configured).

Quote:
Originally Posted by demether View Post
audio cache is also only 48. On e-uae or winuae, I put 100ms for it (with success).
No, it is not 48 ms, it is 48 buffers at 1 KB each = 48 KB. This is the max amount of buffered audio data. FS-UAE uses dynamic audio buffer management to keep the actually used buffer size at a more reasonable value.

Anyway, I did not find any good explanation in the log file for your problem. Neither audio problems or video rendering problems should slow down emulation itself (unless running in full video sync mode, of course, where too slow video rendering will cause slowdowns, but this is not the case here).
FrodeSolheim is offline  
Old 14 May 2012, 21:17   #9
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,634
Quote:
Originally Posted by demether View Post
No, I'm running the 32bit version. I don't know, I remember on winuae that video buffering were slowering the whole thing heavily, maybe some similar options are implied in fsuae causing that lack of performance.

The workbench itself take about half a minute to launch, when it takes 2 or 3secs on e-uae or winuae. Something (probably a hidden option) is slowering it.

I'll keep watching the project.
Since you have audio buffer underruns, the most likely explanation is this: your computer struggles to achieve 50 fps, and this means that no spare CPU time will be available to actually emulate a fast m86k CPU. If E-UAE and WinUAE can emulate 68040 with reasonable speed on the same computer, it is possible that FS-UAE uses too much CPU overall on your computer so too little CPU is left for emulation.

I suggest you try out some different options:
- try using option video_sync=off (this will use less system resources overall).
- does it run better without using RTG modes? RTG is not implemented very efficiently yet. Not a problem for reasonable fast computers, but could be an issue with slower computer.
- JIT vs no JIT?
- How does A1200/020 mode work with accuracy = -1 (this is not a fastest possible-mode)?
FrodeSolheim is offline  
Old 16 May 2012, 19:13   #10
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
First, thank you for your help.


I made the tests you gave me. Using vsync off and aga mode instead of rtg improves the things a little, but not so much.

When I launch Starstruck (my "benchmark"), wich is a aga demo, it stills really slow and choppy.


By the way, on the terminal I launch FSUAE, I've got some error messages, so I post them here :


Code:
logging to /home/dimitri/.local/share/fs-uae/fs-uae.log
libamiga (based on WinUAE 2.4.1) initialized
locale is set to fr_FR.UTF-8
/usr/share/fs-uae/share-dir
/usr/share/locale
logging to /home/dimitri/Documents/FS-UAE/Logs/FS-UAE.log
xrandr: Failed to get size of gamma for output default
xrandr: Failed to get size of gamma for output default
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
bt_audio_service_open: connect() failed: Connexion refus?e (111)
bt_audio_service_open: connect() failed: Connexion refus?e (111)
bt_audio_service_open: connect() failed: Connexion refus?e (111)
bt_audio_service_open: connect() failed: Connexion refus?e (111)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server socket
jack server is not running or cannot be started
ignoring
ignoring
ignoring
ignoring
ignoring

This week end I'll try another PC with another linux distribution, to see if there is any difference. I'll probably use xubuntu or lubuntu 12.
demether is offline  
Old 16 May 2012, 22:13   #11
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 39
Posts: 3,634
Quote:
Originally Posted by demether View Post
By the way, on the terminal I launch FSUAE, I've got some error messages, so I post them here (...)
These messages are just from OpenAL probing for available audio devices, and nothing to worry about.

Quote:
Originally Posted by demether View Post
This week end I'll try another PC with another linux distribution, to see if there is any difference. I'll probably use xubuntu or lubuntu 12.
Good. It would also be useful to know the specs of the computer have tested on until now.

And if you wondered what has happened here, I got prowler's help to extract these posts and create a separate thread for your issue
FrodeSolheim is offline  
Old 18 May 2012, 10:49   #12
demether
Registered User
demether's Avatar
 
Join Date: Apr 2012
Location: france
Posts: 104
the current PC for testing is :

athlon 2800+
2gb ram
nvidia gforce 7600GT 256mb
linux mint 11 (gnome)




This week end I plan to install Xubuntu 12, and I'll come back with results here.

Thanks !
demether is offline  
Old 07 June 2012, 10:33   #13
rofl0r
Registered User
 
Join Date: Jun 2012
Location: madrid / spain
Posts: 25
compile fs-uae with CFLAGS=-pg CXXFLAGS=-pg LDFLAGS=-pg

then you can run your benchmark once and afterwards run
gprof fs-uae

this will spit out the function names where much cpu time is spent ( so called "profiling" )

(optionally put -O0 in CFLAGS, enabled optimization can make profiling a bit messed up. it'll be a bit slower, but its still very useful to detect the CPU-hogs)
rofl0r 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
Using a high-end Android phone/tablet as replacement for laptop+WinUAE Photon support.OtherUAE 11 03 May 2013 17:51
WinUAE high-end demo bug Ted1969 support.WinUAE 3 04 February 2013 16:14
Unity / Ubuntu performance problems (was: mouse issue) [Solved] DaveMB support.FS-UAE 11 25 November 2012 20:38
Performance Issue - ClassicWB Large Hard Drive Support (> 4GB) dabone project.ClassicWB 10 13 May 2010 21:15
Selling my "high-end" Amiga 3000 astuermer MarketPlace 11 01 August 2007 01:44

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 09:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.08224 seconds with 13 queries