Git Product home page Git Product logo

Comments (15)

ajefr avatar ajefr commented on June 24, 2024

As stated in other thread, same trouble on a raspberry pi (stretch too).
At least we are sure it cames from the software parts not from the hardware.
Upgrading a jessie to a stretch will also give you this bug.
Same issue with daphne-pi.

from hypseus.

 avatar commented on June 24, 2024

I wonder if them meltdown fixed are messing with the timing. I never tried this on my pie as i cant enable my gles on it because im using retropie on it. Im wondering if its the kernel. Ill use the kernel tha daphne work with on my pie if its not too old and see if its that

from hypseus.

 avatar commented on June 24, 2024

Well I dropped down to kernel 4.9.41 no difference accept ctrl + c ended the task had to kill it before. Does anyone know a kernel this works on for x64 so i can drop down to that kernel and rule the kernel out as the cause

from hypseus.

maksun avatar maksun commented on June 24, 2024

Hello,

Here are the logs on my side, I'm running Ubuntu 16.04 LTS.
I have the same situation on a freshly installed Raspbian stretch.

$ ./hypseus lair vldp -nosound -framefile /home/toto/.hypseus/roms/lair.daphne/lair.txt
2018-03-12 11:46:49.721 INFO [26828] [reset_logfile@323] Version v1.2.0-28
2018-03-12 11:46:49.722 INFO [26828] [reset_logfile@327] Command line: ./hypseus lair vldp -nosound -framefile /home/toto/.hypseus/roms/lair.daphne/lair.txt
2018-03-12 11:46:49.722 INFO [26828] [reset_logfile@328] CPU : GenuineIntel || Mem : 11904 megs
2018-03-12 11:46:49.735 INFO [26828] [reset_logfile@329] OS : Linux 4.4 || Video : Intel Corporation Broadwell-U Integrated Graphics (rev 09)
2018-03-12 11:46:49.735 INFO [26828] [reset_logfile@330] RGB2YUV Function: C
2018-03-12 11:46:49.735 INFO [26828] [reset_logfile@336] Line Blending Function: C
2018-03-12 11:46:49.735 INFO [26828] [reset_logfile@343] Audio Mixing Function: C
2018-03-12 11:46:49.736 DEBUG [26828] [sound::init@156] Initializing sound system ...
2018-03-12 11:46:49.749 INFO [26828] [SDL_input_init@278] No joysticks detected
2018-03-12 11:46:49.749 INFO [26828] [game::load_compressed_rom@873] Loading compressed ROM image dl_f2_u1.bin ... 8192 bytes read.
2018-03-12 11:46:49.749 INFO [26828] [game::load_compressed_rom@873] Loading compressed ROM image dl_f2_u2.bin ... 8192 bytes read.
2018-03-12 11:46:49.749 INFO [26828] [game::load_compressed_rom@873] Loading compressed ROM image dl_f2_u3.bin ... 8192 bytes read.
2018-03-12 11:46:49.750 INFO [26828] [game::load_compressed_rom@873] Loading compressed ROM image dl_f2_u4.bin ... 8192 bytes read.
2018-03-12 11:46:50.969 INFO [26828] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/toto/.hypseus/roms/lair.daphne/./
2018-03-12 11:46:51.008 DEBUG [26828] [main@209] Booting ROM ...
2018-03-12 11:47:10.304 DEBUG [26828] [ldp::pre_play@512] Play
2018-03-12 11:47:10.337 DEBUG [26828] [ldp::pre_play@508] disc is already playing, play command ignored
2018-03-12 11:47:10.337 DEBUG [26828] [ldp::pre_play@512] Play
2018-03-12 11:47:26.088 WARN [26828] [ldv1000::pre_display_disable@451] Display disable received (unsupported)
2018-03-12 11:47:26.287 DEBUG [26828] [ldp::pre_search@194] Search to 323 received
2018-03-12 11:47:26.287 DEBUG [26828] [print_board_info@214] [25] Attract Mode, Sequence 0 Attract Mode
VLDP error! Timed out waiting for internal thread to accept command!
2018-03-12 11:47:33.788 WARN [26828] [ldp_vldp::nonblocking_search@486] Search failed in video file
2018-03-12 11:47:33.801 WARN [26828] [ldp::pre_search@145] tried to search without checking for search result first! that's bad! 00324
2018-03-12 11:47:33.801 WARN [26828] [ldv1000::write@317] Search command was not accepted!
2018-03-12 11:47:33.810 WARN [26828] [ldp::pre_search@145] tried to search without checking for search result first! that's bad! 00325
2018-03-12 11:47:33.810 WARN [26828] [ldv1000::write@317] Search command was not accepted!
2018-03-12 11:47:34.328 WARN [26828] [ldp::pre_play@464] tried to play without checking to see if we were still seeking! that's bad!

Seems like the virtual player is in trouble.
Any ideas?

Thanks.

from hypseus.

maksun avatar maksun commented on June 24, 2024

Hi Grant2258,

Could you try to compile like that (see below) and tell me if it working on your side?
I assume you already have all required packages on your system.

First steps just to get the missing "sound" folder in the master branch
$ git clone -b sdl2 --single-branch https://github.com/btolab/hypseus/ hypseus-tmp
$ git clone https://github.com/btolab/hypseus/
$ cp -a hypseus-tmp/sound/ hypseus/
$ rm -fr hypseus-tmp

Now back to the futur (because we know the last version is not working)
$ cd hypseus
$ git reset --hard 365c0e9

And build it
$ mkdir build && cd build
$ cmake ../src
$ make
$ mv hypseus ../
$ cd ../
$ ./hypseus lair vldp -framefile /home/pi/.hypseus/roms/lair.daphne/lair.txt -homedir /home/pi/.hypseus/

It should be fine as it works for me, I just had to compile SDL2 with specific options as I'm not using any X server (Seems SDL2 raspbian packages are not "supporting" non-X environment).

Thanks.

from hypseus.

 avatar commented on June 24, 2024

Well I am using a xserver on my linux machine so i dont think that would be an issue. The sounds being missing wasnt a mistake. I believe it was a a copyright reason to remove them. I never tried rolling back before the new threading . I will give it a try when im at my box. Hopefully that will get it up and running till the issue is found, I will report back if going back helps

from hypseus.

maksun avatar maksun commented on June 24, 2024

I just noted the "git reset --hard" command has been modified by github, they "translated" with the short commit hash, just click on it to get the full one (the command need the full one).

from hypseus.

OzFalcon avatar OzFalcon commented on June 24, 2024

Just tested commit @maksun mentioned
365c0e9 on a fresh (minimal) amd64 bit install of Stretch: Hypseus and Testvldp worked fine.
Kernel: Linux zsystem 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

365c0e9 on a fresh (minimal) amd64 bit install of Buster: Hypseus and Testvldp worked fine.
Kernel: Linux zsystem 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux

So upto 365c0e9 tree is fine.

from hypseus.

OzFalcon avatar OzFalcon commented on June 24, 2024

I am getting this problem also running the current master branch (Ref: c6af13b )

I noticed in my logs that while the frame file is found ok, The vldp player can't find the video file.

Date;Time;Severity;TID;This;Function;Message
2018/03/20;16:57:14.120;INFO;13783;0;reset_logfile@323;"Version v1.2.0"
2018/03/20;16:57:14.120;INFO;13783;0;reset_logfile@327;"Command line: ./daphne.V1.2.yy ace vldp -fastboot -framefile /home/arcade/zframefile/ace/ace.txt "
2018/03/20;16:57:14.120;INFO;13783;0;reset_logfile@328;"CPU : GenuineIntel || Mem : 3904 megs"
2018/03/20;16:57:14.120;INFO;13783;0;reset_logfile@329;"OS : Linux 4.14 || Video : Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 0a)"
2018/03/20;16:57:14.132;INFO;13783;0;reset_logfile@330;"RGB2YUV Function: C"
2018/03/20;16:57:14.132;INFO;13783;0;reset_logfile@336;"Line Blending Function: C"
2018/03/20;16:57:14.132;INFO;13783;0;reset_logfile@343;"Audio Mixing Function: C"
2018/03/20;16:57:14.177;INFO;13783;0;SDL_input_init@278;"No joysticks detected"
2018/03/20;16:57:14.178;INFO;13783;0;game::load_compressed_rom@873;"Loading compressed ROM image sa_a3_u1.bin ... 8192 bytes read."
2018/03/20;16:57:14.178;INFO;13783;0;game::load_compressed_rom@873;"Loading compressed ROM image sa_a3_u2.bin ... 8192 bytes read."
2018/03/20;16:57:14.178;INFO;13783;0;game::load_compressed_rom@873;"Loading compressed ROM image sa_a3_u3.bin ... 8192 bytes read."
2018/03/20;16:57:14.178;INFO;13783;0;game::load_compressed_rom@873;"Loading compressed ROM image sa_a3_u4.bin ... 8192 bytes read."
2018/03/20;16:57:14.178;INFO;13783;0;game::load_compressed_rom@873;"Loading compressed ROM image sa_a3_u5.bin ... 8192 bytes read."
2018/03/20;16:57:15.278;INFO;13783;0;ldp_vldp::read_frame_conversions@1038;"Framefile parse succeeded. Video/Audio directory is: /home/arcade/zframefile/ace/./"
2018/03/20;16:57:18.921;WARN;13783;0;ldv1000::pre_display_disable@451;"Display disable received (unsupported)"
2018/03/20;16:57:34.123;WARN;13783;0;ldp_vldp::nonblocking_search@446;"LDP-VLDP: Could not open video file spa00.vob.m2v"
2018/03/20;16:57:34.123;WARN;13783;0;ldv1000::write@317;"Search command was not accepted!"
2018/03/20;16:57:49.126;WARN;13783;0;ldp_vldp::nonblocking_search@446;"LDP-VLDP: Could not open video file spa00.vob.m2v"
2018/03/20;16:57:49.126;WARN;13783;0;ldv1000::write@317;"Search command was not accepted!"
2018/03/20;16:58:04.127;WARN;13783;0;ldp_vldp::nonblocking_search@446;"LDP-VLDP: Could not open video file spa00.vob.m2v"
2018/03/20;16:58:04.128;WARN;13783;0;ldv1000::write@317;"Search command was not accepted!"
2018/03/20;16:58:13.825;ERROR;13789;0;ldp_vldp_audio_callback@592;"End of audio stream detected!"

from hypseus.

 avatar commented on June 24, 2024

its strange its only happening in stretch i wonder if compiling the latest sdl will help. I originally thought maybe is all these meltdown and spectre patches

from hypseus.

OzFalcon avatar OzFalcon commented on June 24, 2024

Ok, I think I have it worked out (Testing on Debian Buster amd64)
Just compiled the latest git c6af13b and it is working.
(Both in fullscreen and window modes)

The scoreboard scale isn't quite right - But it works.
Here's the gotcha
You MUST use the -useoverlaysb command
Example:
-useoverlaysb 2
Otherwise video will not display or the game will just not run.

I can test it on Stretch as well if you need.
You should be running Buster if your using open source video drivers.
Buster uses Mesa 17.3.x (Needed to run Mame with OS video drivers)
Stretch uses Mesa 13.0.6 (Too slow to run Mame with OS video drivers)

  • At least for intel video. Other video cards may fair better.

from hypseus.

 avatar commented on June 24, 2024

will test this when i get to my linux box im using a Radeon rx 480 so hopefully its forgiving

from hypseus.

OzFalcon avatar OzFalcon commented on June 24, 2024

Compiled on Stretch amd64.
Hypseus runs ok in window mode, But not in fullscreen mode (Stuck at black screen).
-useoverlaysb is still needed to run at all.

  • Again for intel, Other video cards may fair better.

from hypseus.

 avatar commented on June 24, 2024

that was a very impressive piece of debugging mr oz :)

from hypseus.

OzFalcon avatar OzFalcon commented on June 24, 2024

There are other separate issues like the dapinput.ini needing to be 3 integers (Not 2).
Once the dapinput.ini file is correct, It seems to have issues once it's loaded.
End of audio stream detected errors and unstable window creation/destruction etc.
Plenty of things to fix

from hypseus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.