New Hypseus and lr-Daphne to add on Retropie-Setup
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Let me know results.
For what it's worth, I have never had issues with Lair2, either with KMS or FKMS. Using 720p videos derived from the Digital Leisure product. Thanks again @DirtBagXon. Still, loving all of these new improvements. Daphne has been dead for far too long.
-
@roslof said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Let me know results.
For what it's worth, I have never had issues with Lair2, either with KMS or FKMS. Using 720p videos derived from the Digital Leisure product. Thanks again @DirtBagXon. Still, loving all of these new improvements. Daphne has been dead for far too long.
Well, it's an option, not enabled by default - but if issues arise it's there....
If 720p videos work it does imply an encoding issue.....
Edit: I have had lair2 attract mode running on a Pi4 for last few hours, I occasionally see some stuttering, but bearable to me.It is probably the Pi drivers, if (moving forward) you have the KMS options this may improve. In the meantime if it bugs you, turn the overlay off as above.
-
@dirtbagxon Alright, I found out I wasn't creating the symlink for singe. Huge improvements when i tested time gal. ~30sec for the first load. ~10 when I die.
With lair2, I previously tested with the kms and fkms driver and got the same jittery results. I can verify that
-nolair2_overlay
fixes the problem. -
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
With lair2, I previously tested with the kms and fkms driver and got the same jittery results. I can verify that
-nolair2_overlay
fixes the problem.So the only different between you and @roslof is the video files....
Think that may point a finger.
Also I note that lair2 is listed with issues on the compatibility list:
https://docs.google.com/spreadsheets/d/1Hy2VpPXgs4a9imeu0_w3SpehKEkhUNOLzD1jhcgwS3o/edit#gid=0
Glad you are all sorted :)
-
Deleted the origin request, as I have now managed to replicate the stuttering, which is in fact due to the video file encoding on this version:
67838539 Nov 28 2019 dl211.vob.m2v
Video Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings : CustomMatrix / BVOP Format settings, BVOP : Yes Format settings, Matrix : Custom Format settings, GOP : Variable Format settings, picture structure : Frame Duration : 1 min 30 s Bit rate mode : Variable Bit rate : 6 000 kb/s Maximum bit rate : 7 200 kb/s Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 (30000/1001) FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Bottom Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.652 Time code of first frame : 00:00:00:00 Stream size : 64.7 MiB (100%) Writing library : TMPGEnc 2.525.64.184 Color primaries : BT.601 NTSC Transfer characteristics : BT.601 Matrix coefficients : BT.601
sha1sum dl211.vob.m2v 580c1beb00788e96386015b879ccaaffe32a7f7d dl211.vob.m2v
I grabbed the 1080p HD lair2 files and it was no longer evident even at higher resolution. This ties up with what @roslof stated.
I did also take the opportunity to heavily optimise the lair2 overlay code and ensure that alignment is correct on HD (4:3) videos.
I know the Pi won't support these HD videos smoothly, I didn't actually bother with HD previously, but having now seen them, I would be looking to encode these myself to a size that will run on the Pi.
-
@dirtbagxon I tried this 1080p 4:3 version of lair2 and I saw the jitter as well. Using
-nolair2_overlay
also fixes it. I'm still using the build from my last post. I did not know someone went ahead and did a somewhat proper 1080p release and they look nice so I'll replace mine with those. I was deeply discouraged by some 16:9 singe v2 timegal release. -
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon I was deeply discouraged by some 16:9 singe v2 timegal release.
I hear you there....
There are some new lair2 overlay improvements in the repo, if you feel inclined, but I'm not sure what is going on with your jittering now to be honest.
Maybe my eyes are just too old now 8)
-
@dirtbagxon New problem with these 1080p versions. Both lair1 and ace get a black screen eventually but I can hear the audio. I haven't finished the first level in lair2 but I didn't get it with that one. I can see some text for a brief second..something about video parsing. Is there a way to force hypseus to parse everything again? I can only find info about deleting some dat file which I'm not sure what it's called or where it's located.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon New problem with these 1080p versions. Both lair1 and ace get a black screen eventually but I can hear the audio. I haven't finished the first level in lair2 but I didn't get it with that one. I can see some text for a brief second..something about video parsing. Is there a way to force hypseus to parse everything again? I can only find info about deleting some dat file which I'm not sure what it's called or where it's located.
Delete the
.dat
files in each on their directories.cd lair.daphne rm *.dat <- Check that command carefully cd ../ace.daphne rm *.dat cd ../lair2.daphne rm *.dat
You should see the regeneration of the
.dat
files next time you start each game.Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
I believe you are a Mac user, so
ffmpeg
maybe your route here:ffmpeg -i dl-slates-orig.m2v -vf scale=800:600 -codec:v mpeg2video -b 4182k dl-slates.m2v
But we are getting into a whole different arena here, maybe do some reading up on this.
-
Ah, I needed to get rid of all of the dat files, thanks.
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
How so? I tested all 3 games for almost an hour and they don't seem to have any problems? My pi4 is overclocked. 2Ghz for cpu, and 750Mhz for gpu.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Ah, I needed to get rid of all of the dat files, thanks.
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
How so? I tested all 3 games for almost an hour and they don't seem to have any problems? My pi4 is overclocked. 2Ghz for cpu, and 750Mhz for gpu.
Oh OK, perfect - happy days!!
-
The Timetraveler font misalignment issue:
Copy the
ds-digib.ttf
as a backup from Timetraveler folder, then load it in:http://www.glyphrstudio.com/online/
Then immediately save it as an OTF font, it will be named
MyFont-Bold.otf
.Rename this .otf file to overwrite
ds-digib.ttf
.Thank me later.......
-
If anyone was wondering about the cpu usage when using 1080p 4:3 rips:
-
pi4 2Ghz/750Mhz = ~87% max
-
pi4 2Ghz/stock gpu = no change
-
pi4 stock = 90% most of the time. 100% max :(
New problems? Compiled the newest release. Only other difference is that I'm now using a pad if it matters:
space ace: Eh..nevermind. Few more tests and no more desyncs in level 3.
lair1: Now had a crash with pad (played a good bit of it with previous release with no crashes with kb). Took a while so not sure if I can reproduce it. The error messages pops up in ace too but that doesn't crash:
Parameters: Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/dle21.daphne" [console] Setting alternate home dir: [console] /opt/retropie/emulators/daphne [console] NOTE : Ignoring obsolete argument [console] Setting screen width to 1920 [console] Setting screen height to 1080 2021-03-31 01:06:37.425 INFO [1826] [reset_logfile@323] Version v2.2.0-1 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@327] Command line: /opt/retropie/emulators/daphne/daphne.bin dle21 vldp -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -homedir /opt/retropie/emulators/daphne -fullscreen -bank 0 11111101 -bank 1 01110010 -blank_searches -noserversend -x 1920 -y 1080 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@328] CPU : UnknownCPU || Mem : 1856 megs 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@329] OS : Linux 5.10 || Video : Unknown video 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@330] RGB2YUV Function: C 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@336] Line Blending Function: C 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@343] Audio Mixing Function: C 2021-03-31 01:06:37.741 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U1.bin ... 8192 bytes read. 2021-03-31 01:06:37.741 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U2.bin ... 8192 bytes read. 2021-03-31 01:06:37.742 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U3.bin ... 8192 bytes read. 2021-03-31 01:06:39.376 INFO [1826] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/dle21.daphne/./ 2021-03-31 01:06:40.702 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:07:17.595 WARN [1826] [ldv1000::pre_display_disable@451] Display disable received (unsupported) 2021-03-31 01:07:18.528 WARN [1826] [ldv1000::pre_display_disable@451] Display disable received (unsupported) 2021-03-31 01:08:12.650 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:13.234 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:13.300 WARN [1826] [lair::input_enable@1003] Error, bug in Dragon's Lair's input enable 2021-03-31 01:08:13.483 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:16.136 ERROR [1828] [ldp_vldp_audio_callback@592] End of audio stream detected!
-
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
New problem? Compiled the newest release and tested space ace
Hey DS: Rebuilt dat fiies? I playtest Space Ace regularly with no issues on any variation, included the "Enhancement" version. But I'm using the 720P version, so not certain what might be happening if you are using the 1080p version.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Rename this .otf file to overwrite ds-digib.ttf.
Thank me later.......You ain't wrong. SO MUCH BETTER! My OCD is no longer making me twitch here. :)
It's later now, so Thank You. :P -
@roslof Yea, just rebuilt all my dat files with the 3 donbluth games.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@roslof Yea, just rebuilt all my dat files with the 3 donbluth games.
Gotcha. The only other thing I can imagine is an ace.txt (framefile) mismatch with the videos you have. Hope this is helpful.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Parameters:
Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/dle21.daphne"Just noticed your edit with Dragon's Lair. Odd to see SDL1/Dispmanx there. Not certain if this is being ignored or used, since Hypseus uses SDL2 and no Dispmanx. I suspect these are in your /opt/retropie/configs/daphne/emulators.cfg file? I think you could (backup and) remove those. I didn't have those for the original Daphne emulator either.
From my runcommand.log, here is my Executing line for the dle21 enhancement version which you appear to be running:
Parameters: Executing: /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/dle21.daphne"
Also here is my corresponding command-line from the same log:
Command line: /opt/retropie/emulators/daphne/daphne.bin dle21 vldp -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -homedir /opt/retropie/emulators/daphne -fullscreen
Also, I'm not seeing these errors that are in your logs:
Error, bug in Dragon's Lair's move disable
So, very different options. Again, hope this is useful information for you.
-
@roslof What I posted was my runcommand.log. My emulators.cfg has only pointed to daphne.sh and nothing else. I'm using dirtbag's modified daphne.sh and it doesn't have anything like that either. I'm using the kms driver so it would be impossible for that command to be real since I get no video with normal daphne. I'm viewing the log from ssh.
-
@DirtBagXon I discovered your fork late last night and so far it works great on my Pi 4 8GB (In a modded Arcade1up cab).
It seems you have released another version while I slept so can I please ask the correct procedure to update a working install?
Thanks everyone for the great work going on!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.