Release Daphne WIP


hi mcobit-


firstly, thank you for all of your work for the pandora. between daphne, gocl and panmame, you have helped me much get enjoyment out of my pandora.


here are the files that you requested. this is with the panora running SZ Final.


with SZ Final as well as with SZ b5a, daphne works well booting into the earlier kernel but not with the 3.2 kernel.


if there's anything else i can do, please let me know!


thanks again!


daphne.log

--DAPHNE version 1.0.7


--Command line is: ./daphne.bin lair vldp -framefile /mnt/utmp/daphne/framefile/lair.txt -fullscreen -homedir . -useoverlaysb 1 -sound_buffer 2048


--CPU : UnknownCPU 0 MHz || Mem : 0 megs


--OS : Linux 3.2 || Video : Unknown video


--OpenGL: Not Compiled In


--RGB2YUV Function: C


--Line Blending Function: C


--Audio Mixing Function: C


Setting alternate home dir:


.


Setting sound buffer size to 2048


Set 640x480 at 16 bpp with flags: 80000021


Initializing sound system ...


GI Sound chip initialized at 2000000 Hz


No joysticks detected


Loading compressed ROM image dl_f2_u1.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u2.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u3.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u4.bin...8192 bytes read.


Framefile parse succeeded. Video/Audio directory is: /mnt/utmp/daphne/framefile/../games/lair/


YUV overlay is done in software (ie unaccelerated).


Booting ROM ...


Shutting down sound system...


Shutting down video display...



pndrun_daphne.out

=======================================================================================


PND : /media/PANDORA64/pandora/desktop/daphne.pnd


PND_FSTYPE : Squashfs


APPDATADIR : /media/PANDORA64/pandora/appdata/daphne


APPDD_FSTYPE : vfat


PND_CPUSPEED : 870


EXENAME : scripts/daphne.bin.sh


ARGUMENTS : <unset>


=======================================================================================


[ START ]--- Mount the PND ----------


Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/daphne"


Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA64/pandora/appdata/daphne=rw+nolwh":"/mnt/pnd/daphne=rr" none "/mnt/utmp/daphne"


[sUCCESS]--- Mount the PND ----------


[ START ]--- Set CPU speed ----------


cpu_mhz_max set to 870


current CPU clock is 870000


[sUCCESS]--- Set CPU speed ----------


[ START ]--- Starting the application (scripts/daphne.bin.sh ) ----------


mkdir: cannot create directory `framefile': File exists


mkdir: cannot create directory `roms': File exists


mkdir: cannot create directory `mpeg': File exists


mkdir: cannot create directory `mpeg/lair': File exists


mkdir: cannot create directory `ram': File exists


ls: cannot access /proc/kcore: No such file or directory


ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured


--DAPHNE version 1.0.7


--Command line is: ./daphne.bin lair vldp -framefile /mnt/utmp/daphne/framefile/lair.txt -fullscreen -homedir . -useoverlaysb 1 -sound_buffer 2048


--CPU : UnknownCPU 0 MHz || Mem : 0 megs


--OS : Linux 3.2 || Video : Unknown video


--OpenGL: Not Compiled In


--RGB2YUV Function: C


--Line Blending Function: C


--Audio Mixing Function: C


Setting alternate home dir:


.


Setting sound buffer size to 2048


omapsdl: opened tslib touchscreen


omapsdl: in_evdev: found "keypad" with 84 events (type 00100013)


omapsdl: found 2 evdev device(s).


omapsdl: detected 800x480 'lcd' (0) screen attached to fb 1 and overlay 1


switching to 640x480@16


/dev/fb1: 640x480@16


fbdev initialized.


xenv: X vendor: The X.Org Foundation, rel: 10704000, display: :0.0, protocol ver: 11.0


xenv: display is 800x480


Set 640x480 at 16 bpp with flags: 80000021


Initializing sound system ...


GI Sound chip initialized at 2000000 Hz


Error opening joystick!


Loading compressed ROM image dl_f2_u1.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u2.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u3.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u4.bin...8192 bytes read.


Framefile parse succeeded. Video/Audio directory is: /mnt/utmp/daphne/framefile/../games/lair/


YUV overlay is done in software (ie unaccelerated).


Booting ROM ...


Play


LDP : disc is already playing, play command ignored


Play


Display disable received


Search to 323 received - [25] Attract Mode, Sequence 0 Attract Mode


search succeeded d0


Play


Display disable received


Search to 306 received - [25] Attract Mode, Sequence 0 Attract Mode


search succeeded d0


LDP NOTE: ignoring seek because we're already on that frame


search succeeded d0


LDP NOTE: ignoring seek because we're already on that frame


search succeeded d0


Search to 1424 received - [ 0] Introduction, Sequence 0


search succeeded d0


Play


Search to 1823 received - [ 0] Introduction, Sequence 3


search succeeded d0


Play


Search to 9181 received - [ b] Closing Wall, Sequence 0


search succeeded d0


Play


Search to 9301 received - [ b] Closing Wall, Sequence 4 Death Scene


search succeeded d0


Play


Search to 316 received - [ b] Closing Wall, Sequence 6 Death Scene


search succeeded d0


Search to 3561 received - [ 3] Flaming Ropes, Sequence 0


search succeeded d0


Play


Search to 3963 received - [ 3] Flaming Ropes, Sequence 8 Death Scene


search succeeded d0


Play


Search to 316 received - [ 3] Flaming Ropes, Sequence 11 Death Scene


search succeeded d0


Search to 16488 received - [16] Flying Horse Barding (Mirrored), Sequence 1 Resurrection Scene


search succeeded d0


Play


Search to 16544 received - [16] Flying Horse Barding (Mirrored), Sequence 2


search succeeded d0


Play


Search to 16976 received - [16] Flying Horse Barding (Mirrored), Sequence 9 Death Scene


search succeeded d0


Play


Search to 316 received - [16] Flying Horse Barding (Mirrored), Sequence 12 Death Scene


search succeeded d0


Search to 18226 received - [18] Drink Me, Sequence 1 Resurrection Scene


search succeeded d0


Play


Search to 18282 received - [18] Drink Me, Sequence 2


search succeeded d0


Play


Search to 18486 received - [18] Drink Me, Sequence 5 Death Scene


search succeeded d0


Play


Search to 316 received - [18] Drink Me, Sequence 6 Death Scene


search succeeded d0


Freeing memory used to store audio stream...


Shutting down sound system...


Shutting down video display...


ls: cannot access /proc/kcore: No such file or directory


--DAPHNE version 1.0.7


--Command line is: ./daphne.bin lair vldp -framefile /mnt/utmp/daphne/framefile/lair.txt -fullscreen -homedir . -useoverlaysb 1 -sound_buffer 2048


--CPU : UnknownCPU 0 MHz || Mem : 0 megs


--OS : Linux 3.2 || Video : Unknown video


--OpenGL: Not Compiled In


--RGB2YUV Function: C


--Line Blending Function: C


--Audio Mixing Function: C


Setting alternate home dir:


.


Setting sound buffer size to 2048


omapsdl: opened tslib touchscreen


omapsdl: in_evdev: found "keypad" with 84 events (type 00100013)


omapsdl: found 2 evdev device(s).


omapsdl: detected 800x480 'lcd' (0) screen attached to fb 1 and overlay 1


switching to 640x480@16


/dev/fb1: 640x480@16


fbdev initialized.


xenv: X vendor: The X.Org Foundation, rel: 10704000, display: :0.0, protocol ver: 11.0


xenv: display is 800x480


Set 640x480 at 16 bpp with flags: 80000021


Initializing sound system ...


GI Sound chip initialized at 2000000 Hz


No joysticks detected


Loading compressed ROM image dl_f2_u1.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u2.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u3.bin...8192 bytes read.


Loading compressed ROM image dl_f2_u4.bin...8192 bytes read.


Framefile parse succeeded. Video/Audio directory is: /mnt/utmp/daphne/framefile/../games/lair/


YUV overlay is done in software (ie unaccelerated).


Booting ROM ...


Shutting down sound system...


Shutting down video display...


BANK0="false"


BANK0SET=""


BANK1="false"


BANK1SET=""


BANK2="false"


BANK2SET=""


BANK3="false"


BANK3SET=""


ENABLE_CHEATS="false"


FRAME="/mnt/utmp/daphne/framefile/lair.txt"


FULLSCREEN="true"


OVERLAY="1"


OVERLAY_DISABLED="false"


ROM="/mnt/utmp/daphne/roms/lair.zip"


SOUND_BUFFER="2048"


SOUND_DISABLED="false"


EXIT="Cancel"


[sUCCESS]--- Starting the application (scripts/daphne.bin.sh ) ----------


[ START ]--- Reset CPU speed to 800 ----------


cpu_mhz_max set to 800


current CPU clock is 800000


[sUCCESS]--- Reset CPU speed to 800 ----------


[ START ]--- Restoring the frame buffer status ----------


[sUCCESS]--- Restoring the frame buffer status ----------


[ START ]--- uMount the PND ----------


[ START ]--- Waiting the Union to be available ----------


[sUCCESS]--- Waiting the Union to be available ----------


auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device


rmdir: failed to remove `/mnt/utmp/daphne': Device or resource busy


[ START ]--- Waiting the PND mount dir to be free ----------


[sUCCESS]--- Waiting the PND mount dir to be free ----------


cleanup done


[sUCCESS]--- uMount the PND ----------


=======================================================================================


Return code is : 4
 
Thanks!


There is nothing suspicious i can find here. As it works on the older kernel, but not on the newer, I would guess that there might be a problem with the new kernel, maybe with the way it handles sdwrites or something. Strange thing is though, that the inputs don't work correctly.


Hope notaz might see this, as I have no clue where the problem is :(
 
Yeah right, as if the programs never have bugs that rely on some obscure system behavior?


With such amount of info here I can't really help you, it should be something like "write call blocks for 10ms when writing to SD" or "ksoftirqd eats 100% CPU during SD access", then I could start looking. I could try this myself but I have no idea how to set up this thing, or get the right ROMs/CD images/whatever.
 
Last edited by a moderator:
No offense notaz, maybe it is a bug in daphne, that triggers a bug in newer kernels. Who knows. You are right. i need to investigate further. I thought that you have a spontanious idea maybe.


I have the same problem as you right now, as I haven't setup a card for this right now. Will report back, when I have more info.


But thanks for your time to reply.
 
Yeah, having some real problems here on my szb5a 256mb cc Pandora. Takes an *age* to start a game after inserting a credit, (ages to even get to the rom startup sequence) and then ignores (or is very erratic interpreting) the dpad controls.


D.

This reminds me of the lockup issues I was having with PewPew2 for a while. Perhaps checking the dmesg output after encountering this issue might be useful?


- Neelix
 
It doesn't use opengl, so I doubt it has the same problems as pewpew, but every bit of info will be useful :)
 
I slowly get an idea, what could be wrong here... Joystickbehaviour changed quite a bit with superzaxxon and i think i hardcoded it to joy1 and set the joystickstuff in the startupscript.


Can somebody make a folder in appdata/daphne called "scripts" and place the attached file (extract it from the zip first) into it and try again please? If it works as expected, i will update the sources and recompile for the joystick to be used as enumerated and update.

daphne.bin.sh.zip
 

Attachments

  • daphne.bin.sh.zip
    1.9 KB · Views: 278
Last edited by a moderator:
Created pandora/appdata/scripts and unziped the file in it, rebooted, nothing changed.


SZ final here.


Have a bad connection here, maybe the script is corrupted. Will DL it tonight at home.


Slow Rollin Low : thanks I'll try this tonight.
 
Last edited by a moderator:
mcobit, followed your directions and daphne now seems to be working great on the new kernel. unfortunately, it didn't make me any better at dragon's lair. ;) but it is nice to be able to play it without having to boot into the older kernel. thank you so much!


to BAFelton... try pandora/appdata/daphne/scripts. that's what worked for me.
 
Last edited by a moderator:
Right, of course this needs to go into the appdata of daphne.


I will release a new version when I have time.
 
I am an openpandora rookie who has had a brain tumor for 22 years and i do not have a clue on how to set this up or find the roms for this. would anybody be willing to zip it all up and email it to me with the advice on setting it up properly.


WN14THBEAR@COMCAST.NET
 
NEVER MIND I SEE THE HELP ABOVE I WILL WORK WITH IT MY SELF.

I am an openpandora rookie who has had a brain tumor for 22 years and i do not have a clue on how to set this up or find the roms for this. would anybody be willing to zip it all up and email it to me with the advice on setting it up properly.


WN14THBEAR@COMCAST.NET
 
Whoah Dragons Lair works perfectly and smoothly with sounds on the 1ghz unit at 1250mhz.


Really enjoyable ! I had to play without sounds with 512 unit.
 
Last edited by a moderator:
Whoah Dragons Lair works perfectly and smoothly with sounds on the 1ghz unit at 1250mhz.


Really enjoyable ! I had to play without sounds with 512 unit.

Really? It's smooth as silk on my 256MB Classic Pandora!


D.
 
Back
Top