English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 03 August 2011, 19:01   #41
Rasi
 
Posts: n/a
I am getting this when puae starts (latest git pull)

http://paste.xinu.at/nXy/

Arch Linux 64bit with lib32-puae-git package built from aur.

It always crashes when trying to load a kick.rom file. Starting it without works fine, but even then the GUI options are mostly not working (e.g. cannot select a different rom file, the select button is greyed out)

Last edited by Rasi; 04 August 2011 at 03:19.
 
Old 04 August 2011, 03:11   #42
Vairn
The Grim-Button
 
Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 43
Posts: 414
The GUI doesn't work for me either, with the NOJIT build, no idea about the QT one though.

Last edited by Vairn; 04 August 2011 at 03:32.
Vairn is offline  
Old 05 August 2011, 01:36   #43
Vairn
The Grim-Button
 
Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 43
Posts: 414
Ubuntu Build, may have JIT, but the GUI doesn't work, and NO-SCSI emulation.
http://dragotech.net/pUAE_JIT.zip

If this doesn't work for you, it means I need to make a package, so if there is an easy way to do this, let me know.
Vairn is offline  
Old 07 August 2011, 00:15   #44
zzarko
 
Posts: n/a
Quote:
Originally Posted by Rasi View Post
I am getting this when puae starts (latest git pull)
http://paste.xinu.at/nXy/
I have the same error on Ubuntu 32-bit. If I erase .uaerc file, then the error is gone (it happens only if .uaerc is found).
EDIT: I also have the same error with Vairn's executable.

Last edited by zzarko; 07 August 2011 at 00:22.
 
Old 07 August 2011, 05:22   #45
smuj
Registered User
 
Join Date: Apr 2011
Location: over here
Posts: 11
Same situation here as Rasi & zzarko above. With a .uaerc file containing anything it crashes. Without the .uaerc file uae runs but can't be configured because both (GTK & Qt) GUIs can't set any settings.

Also, building with --enable-scsi-device fails due to missing mp3decoder.h.
smuj is offline  
Old 07 August 2011, 07:45   #46
zzarko
 
Posts: n/a
WOW, GnoStiC, that was a fast fix! Now, I have no problems with munmap_chunk(), but the new problem arises: it seems that something is wrong with path generation, as I get errors like this:
Failed to open './ROMs\/Kickstart v1.3 (A500,A1000,A2000) rev 34.5 (256k).rom'
My rom line in .uaerc is like this (and it worked with 2.3.1):
kickstart_rom_file=$(FILE_PATH)/Kickstart v1.3 (A500,A1000,A2000) rev 34.5 (256k).rom
I guess, the "/" character is replaced with "\/", and it became the part of the name, not the separator between directory and filename. Specifying absolute path works. The same is for floppy0= option, but I don't get any error for it.

Also, I'm unable to send any mouse/joystick commands to Amiga (clicking mouse/pressing emulated joystick buttons doesn't work).
 
Old 07 August 2011, 22:26   #47
tomaswoj
 
Posts: n/a
Hi All,

i've just recomplied the PUAE for Android. It links fine, it starts [probably] fine, im getting these nice messages about version, authors, etc, SDLGFX finds proper gfx mode, it scans through gfx mode 3 times (just as the Linux version ive compiled before), it does a hardreset, starts m68k, and then nothing, simply black screen .

I did some additional login in the blitting/video part, and it seems that screen gets updated frequently, so it looks that the emulation is working (no core dumps, etc.), but the only thing i can see is a black screen. My suspicion is, that it is the moment where it shows this 'insert disk to drive' animation/splash, but how to check it? I mean, how to check, that the actual emulation is working (and that is only a problem with display/rendering of some kind)? Also any suggestions, what might went wrong that the screen is simple black? I chosen to compile with no gui. Maybe a dumb type of questions, but I dont know PUAE internals that much.

Any hints appreciated .
 
Old 07 August 2011, 23:49   #48
Vairn
The Grim-Button
 
Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 43
Posts: 414
If it can't find a rom you get a black screen. Can you post the log?
Vairn is offline  
Old 08 August 2011, 01:01   #49
zzarko
 
Posts: n/a
For those interested in trying P-UAE on Linux (Ubuntu, specifically, but I guess it should work on other distros), I made a Nautilus script/action for easy starting of P-UAE. All you need to do is to right-click on an adf file and select P-UAE from the menu.
Also, you can select up to 4 adf files, and they will be placed in DF0-DF3.

Limitations: As I was unable to make several 2.3.3/2.3.2 versions to accept mouse and/or keyboard input, I compiled 2.3.1 version with GTK (many options in QT are not working for me). This version doesn't work well with A1200 settings (at least, I didn't had luck with that), so only A500 is supported (for now).

To install this, just unpack the archive anywhere you want and run installscript. This will add nautilus script to Scripts submenu, and also place a nice launcher on the desktop for launching last selected adf.

launch.py can also be used as Nautilus action (you'll need nautilus actions package installed), but you'll need to setup it manually:
Path: path to launch.py
Parameters: %F
Basename filter: *.adf

I made template.uaerc to suit my needs, you may need to alter some values in it (opengl settings, keyboard mapping, ...).
Also, you'll need to place kick.rom file in the same directory as other files from the archive. This file should be A500's kickstart rom.

The archive can be found at:
http://www.2shared.com/file/OYHYaN3V/P-UAE231tar.html
 
Old 08 August 2011, 06:48   #50
tomaswoj
 
Posts: n/a
@Vairn, holly crap! thanks for the tip, once I have changed the path to the right one (hardcoded for now), i got this legendary insert disk splash . You've made my day .
 
Old 08 August 2011, 11:13   #51
Vairn
The Grim-Button
 
Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 43
Posts: 414
Cool, glad to help? To get it to work on android did you change the build script to use the gcc from the ndk, our make your own android.mk. I have a mixture of both, couldn't get the cross compiler to work.

Didn't know there was an sdl port for android.
Vairn is offline  
Old 08 August 2011, 22:33   #52
tomaswoj
 
Posts: n/a
Vairn,
I have my own Android.mk, plus a 'trick' for a bunch of files that were not needed for the compilation (so I renamed them to *._c). Its kind of a brute force approach, that is very quick and dirty, just to make it work. Definitely nothing to be shared or be proud of .

I did not generate these gen68k UAE CPU/emu sources under Android [NDK], but did a full build of PUAE on Linux, and then just copied the generated files.

And yes, SDL is there on the Android. I'm using some home grown version of Pelya's 1.2 port, with support for sliding window, oversize/page modes, etc.

I just got Workbench 1.3 loaded, mouse working too. On the other hand the whole Amiga screen is shifted, and not fully visible :| Strange as on my other ports [MacOS, Hatari] it worked straight away. And colors are broken, but this is expected Something to fix during my vacation (when children are sleeping).
 
Old 10 August 2011, 12:05   #53
ipp0
Registered User
 
ipp0's Avatar
 
Join Date: May 2010
Location: Bonn
Posts: 37
GTK problems

First of all, thanks for this nice piece of software.

I encounter some gtk-errors when starting it (see bold output):

Code:
[ipp0@Oma-Rheinholz ~]$ uae
------------------------------------------------------------------------------------
P-UAE 2.3.3
Git Commit: not git
Build date: Aug 10 2011 10:38:37
------------------------------------------------------------------------------------
Copyright 1995-2002 Bernd Schmidt
          1999-2011 Toni Wilen
          2003-2007 Richard Drummond
          2006-2011 Mustafa 'GnoStiC' Tufan

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.
------------------------------------------------------------------------------------
Found 1 joystick(s)
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.13.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1600x900.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1280x768.
SDLGFX: Found screenmode: 1152x864.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 1024x480.
SDLGFX: Found screenmode: 848x480.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 720x576.
SDLGFX: Found screenmode: 720x480.
SDLGFX: Found screenmode: 640x480.
SDLGFX: Found screenmode: 640x400.
SDLGFX: Found screenmode: 512x384.
SDLGFX: Found screenmode: 400x300.
SDLGFX: Found screenmode: 320x240.
SDLGFX: Found screenmode: 320x200.
Max Z3FastRAM 1536M. Total physical RAM 2026 0M
load config '/home/ipp0/././.uaerc':0
Opening cfgfile '/home/ipp0/././.uaerc': OK
Testing the RDTSC instruction ... done.
TSC frequency: 2012.000000 MHz
Thread 'GTK-GUI' started (183341528)
NATMEM: Our special area: 0x9b97d000-0xb397d000 (18000000 384M)
NATMEM: P96 special area: 0x9b17a000-0x9b97a000 (00800000 8M)
RTAREA located at 00F00000
VirtualAlloc 00F00000 - 00F10000 10000 (64k) ok (9C87D000)
uaegfx.card magic code: 00F01850-00F0198E ABI=00000000
scsidev_install(): 0xf01a7c
diskdev_install(): 0xf01b1e
VirtualAlloc 00200000 - 00600020 400020 (4096k) ok (9BB7D000)
VirtualAlloc 10000000 - 18000020 8000020 (131072k) ok (AB97D000)
SHMAddr: ff7fd000 = 0x9b17a000 - 0x9b97d000   gfx from NATMEM identified
VirtualAlloc 00F80000 - 01000020 80020 (512k) ok (9C8FD000)
Entered action_replay_load ()
VirtualAlloc 00000000 - 00200000 200000 (2048k) ok (9B97D000)
ROM loader.. (<none>)
ROM KEY '/home/ipp0/.e-uae/roms/rom.key' 2069 bytes loaded
Known ROM 'KS ROM v3.1 (A4000)(Cloanto)' loaded
ROM loader end
memory init end
bsdsocked.library installed
Multimonitor detection disabled
SDLGFX: Added P96 mode: 320x200x32
SDLGFX: Added P96 mode: 320x240x32
SDLGFX: Added P96 mode: 320x256x32
SDLGFX: Added P96 mode: 320x400x32
SDLGFX: Added P96 mode: 640x350x32
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x512x32
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1152x864x32
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=16383.
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!
JIT: Enabled direct memory access.
JIT: Allocated 16383 KB translation cache.
Resetting frame rate hack
scsidev_start_threads()
memory init end
Reset at 00000000
00000000    2048K/1 =    2048K Chip memory
00200000    8192K/0 =    8192K <none>
00A00000    2048K/0 =    2048K CIA
00C00000    1536K/0 =    1536K Custom chipset
00D80000     256K/0 =     256K Gayle (low)
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    4080M/0 =    4080M <none>
P96FREQ: 312 * 50 = 0 / 1087272960 = 50
PAL mode V=50,0000Hz H=15600,0000Hz (227x312+1)
Multimonitor detection disabled
SDLGFX: Added P96 mode: 320x200x32
SDLGFX: Added P96 mode: 320x240x32
SDLGFX: Added P96 mode: 320x256x32
SDLGFX: Added P96 mode: 320x400x32
SDLGFX: Added P96 mode: 640x350x32
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x512x32
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1152x864x32
hardreset, memory cleared
Thread 'Sound' started (183190912)
SDL: sound driver found and configured at 44100 Hz, buffer is 91 ms (0 bytes).
 
(UAE:12462): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox'

(UAE:12462): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed

(UAE:12462): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox'

(UAE:12462): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
  
P96FREQ: 312 * 49,9201 = 960535817 / 1087269770 = 50
PAL mode V=49,9201Hz H=15575,0799Hz (227x312+1)
Fastcard: mapped @$200000: 4MB fast memory
   Card 1 (ZorroII) done.
Z3MEM (32bit): mapped @$10000000: 128 MB Zorro III fast memory
   Card 2 remapped 40000000 -> 10000000
   Card 2 (ZorroIII) done.
UAEGFX-card: mapped @$ff7f0000, 8 MB RTG RAM
   Card 3 remapped 48000000 -> ff7f0000
   Card 3 (ZorroIII) done.
Filesystem: mapped memory @$e90000.
   Card 4 (ZorroII) done.
Memory map after autoconfig:
00000000    2048K/1 =    2048K Chip memory
00200000    4096K/1 =    4096K Fast memory
00600000    4096K/0 =    4096K <none>
00A00000    2048K/0 =    2048K CIA
00C00000    1536K/0 =    1536K Custom chipset
00D80000     256K/0 =     256K Gayle (low)
00DC0000      64K/0 =      64K Battery backed up clock (RF5C01A)
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 <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     240M/0 =     240M <none>
10000000     128M/1 =     128M ZorroIII Fast RAM
18000000    3703M/0 =    3703M <none>
FF7F0000       8M/1 =       8M RTG RAM
FFFF0000       0M/0 =       0M <none>
scsidev_startup(0x100000e6)
Thread 'Trap' started (-1875900192)
Creating UAE bsdsocket.library 4.1
uaescsi.device init
Thread 'Trap' started (-1875898464)
Multimonitor detection disabled
uaegfx.card 3.3 init @1000E47C
P96 RESINFO: 1000E506-1000E876 (18,880)
DMACON: 03d0 INTENA: 602c (602c) INTREQ: 0060 (0060) VPOS: 0 HPOS: 0
COP1LC: 00001020, COP2LC: 0002e858 COPPTR: 0002ecac
DIWSTRT: 6395 DIWSTOP: f4ad DDFSTRT: 0040 DDFSTOP: 00d0
BPLCON 0: b000 1: 0044 2: 0024 3: 0c00 4: 0011 LOF=1/1 HDIW=0 VDIW=0
Average frame time: 46185912,42 ms [frames: 71 time: -1015767514]
BSDSOCK: cleanup start..
BSDSOCK: cleanup end
BSDSOCK: cleanup finished
Does anyone have a plan about that?

Greetings

ipp0
ipp0 is offline  
Old 12 August 2011, 14:04   #54
smyp
 
Posts: n/a
Segfault

Thanks for keeping UAE alive on Linux!

The current linux build crashes when loading the .uarc file. gdb tells me that it crashes at line 2875 of cfgfile.c, the line just below //FIXME ;-)

Code:
//FIXME:
free (str);
Removing the free() in this line makes the build work, but I assume it will produce a (small) memory leak. Maybe I can investigate this next week. I would like to contribute to the code if I can (and find the time).
 
Old 14 August 2011, 18:32   #55
Mequa
Registered User
 
Join Date: Nov 2009
Location: UK
Posts: 497
Does this work as a temporary fix (and solve any potential memory leak issues)?

Code:
if (str != NULL)
   free (str);
Edit: I don't think this will work, it appears in this case the pointer is not valid but also not set to NULL (0).
(smyp's solution above would work, though.)

Last edited by Mequa; 15 August 2011 at 12:51.
Mequa is offline  
Old 15 August 2011, 00:52   #56
Mequa
Registered User
 
Join Date: Nov 2009
Location: UK
Posts: 497
I'm wondering how long it will be before a stable build of PUAE is able to make it into the Ubuntu repositories?
Mequa is offline  
Old 15 August 2011, 17:01   #57
chiark
Needs a life
 
chiark's Avatar
 
Join Date: Jan 2008
Location: England
Posts: 1,707
Just a small update on the state of play of the OSX build: it seems that xcode 4.1 has introduced some issues; trying to work out what these are...
chiark is offline  
Old 19 August 2011, 16:17   #58
Mequa
Registered User
 
Join Date: Nov 2009
Location: UK
Posts: 497
I just downloaded build 65b99a5 (in both tar.gz and zip format). It appears the ./configure file to generate the makefiles is missing.

P.S.
On trying the AROS ROM with PUAE (with both ROM files set in .uaerc), or on booting the AROS boot floppy with Kickstart 3.1 ROM, I get this error, and a blank screen:

Illegal instruction: 4e7a at 001184B4 -> 001184C6

Last edited by Mequa; 19 August 2011 at 22:21.
Mequa is offline  
Old 22 August 2011, 11:39   #59
mrmcphisto
 
Posts: n/a
Hi all... i've an iMac with osx Lion.... PUAE seems to hang the system when i try to open menus, selecting kicks, and so on... any suggestion? (i've put the sdl.framework to /Library and tried the stable build also...)
 
Old 22 August 2011, 14:29   #60
chiark
Needs a life
 
chiark's Avatar
 
Join Date: Jan 2008
Location: England
Posts: 1,707
I've ditched xcode4, and am back on 3.2.6... I can't seem to get a decent build right now; same error as before with the damn thing. It builds, but doesn't run successfully.

Will get to the bottom of this ASAP.
chiark 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
PUAE 2.5.1 beta series GnoStiC support.OtherUAE 3 07 February 2016 20:09
PUAE 2.4.0 beta series GnoStiC support.OtherUAE 74 26 January 2016 12:37
PUAE 2.3.0 beta series GnoStiC support.OtherUAE 222 28 January 2011 06:09
PUAE 2.2.0 beta series GnoStiC support.OtherUAE 65 15 September 2010 16:24
PUAE 2.2.1 beta series GnoStiC support.OtherUAE 36 23 August 2010 16:32

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 01:00.

Top

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