linuxserver / docker-emulatorjs

Web based retro emulation frontend with rom scanning and automated art ingestion.
GNU General Public License v3.0
509 stars 51 forks source link

PSX unable to load .chd psx archive after fresh deployment of emulatorJS on unraid. #74

Closed nthoms92 closed 4 months ago

nthoms92 commented 4 months ago

Is there an existing issue for this?

Current Behavior

When attempting to launch the rom via microsoft edge Version 123.0.2420.97 (Official build) (64-bit) the rom goes straight to retroarch's "quick menu" page after finishing loading.

Troubleshooting: I have tested the roms with retroarch on steam successfully to ensure that the rom isn't corrupted.
I have tested multiple different roms. All failed in the same fashion I downloaded new bios from https://docs.libretro.com/library/beetle_psx/ tested on multiple browsers/computers with the same behavior.

Expected Behavior

No response

Steps To Reproduce

Unraid: Kernel: Linux 6.1.38-Unraid x86_64 M/B: Dell Inc. 0TT6JF Version A06 s/n ..CN7475123F0184. BIOS: Dell Inc. Version 2.7.0 Dated 03/29/2012 CPU: Intel® Xeon® CPU E7- 4860 @ 2.27GHz

docker image: REPOSITORY TAG IMAGE ID CREATED SIZE lscr.io/linuxserver/emulatorjs latest b8ca2efb0644 3 days ago 858MB

Beetle PSX version 0.9.44.1

Roms used to test: Twisted Metal 2 (USA).chd MediEvil (USA).chd Legend of Legaia.chd

Environment

- OS: Unraid
- How docker service was installed: Through built in app store.

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='emulatorjs'
  --net='br0'
  --ip='192.168.105.205'
  -e TZ="America/Denver"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="emulatorjs"
  -e 'TCP_PORT_3000'='3000'
  -e 'TCP_PORT_80'='80'
  -e 'TCP_PORT_4001'='4001'
  -e 'SUBFOLDER'='/'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:3000]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/emulatorjs-logo.png'
  -v '/mnt/user/Files/roms':'/data':'rw'
  -v '/mnt/user/appdata/emulatorjs':'/config':'rw' 'lscr.io/linuxserver/emulatorjs'

Container logs

text  error  warn  system  array  login  

ipfs migration: already at version 15
Connection to localhostConnection to localhost (127.0.0.1) (127.0.0.1) 4001 port [tcp/*] succeeded!
 3001 port [tcp/*] succeeded!
Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!
Connection to localhost (127.0.0.1) 3000 port [tcp/*] succeeded!
2024-04-14T04:41:00.331-0600    ERROR   core:constructor        node/provider.go:88
🔔🔔🔔 YOU ARE FALLING BEHIND DHT REPROVIDES! 🔔🔔🔔

⚠️ Your system is struggling to keep up with DHT reprovides!
This means your content could partially or completely inaccessible on the network.
We observed that you recently provided 128 keys at an average rate of 2m53.787386437s per key.

💾 Your total CID count is ~6047 which would total at 291h54m52.325784539s reprovide process.

⏰ The total provide time needs to stay under your reprovide interval (0s) to prevent falling behind!

💡 Consider enabling the Accelerated DHT to enhance your reprovide throughput. See:
https://github.com/ipfs/kubo/blob/master/docs/config.md#routingaccelerateddhtclient
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────

[ipfs-upgrade] Checking if fs-repo needs to be upgraded (this may take some time)
[custom-init] No custom files found, skipping...
Initializing daemon...
Kubo version: 0.24.0
Repo version: 15
System version: amd64/linux
Golang version: go1.21.9
[ls.io-init] done.
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiDWlr-0t4MHeKjCaOhgH_W1B1GQUZImLTR1VNLndF8SYw/certhash/uEiDKxfW914HtTShlmDTxrtqOFA5Oaj9OxAUEcCY1fZzCVg
Swarm listening on /ip4/192.168.105.205/tcp/4001
Swarm listening on /ip4/192.168.105.205/udp/4001/quic-v1
Swarm listening on /ip4/192.168.105.205/udp/4001/quic-v1/webtransport/certhash/uEiDWlr-0t4MHeKjCaOhgH_W1B1GQUZImLTR1VNLndF8SYw/certhash/uEiDKxfW914HtTShlmDTxrtqOFA5Oaj9OxAUEcCY1fZzCVg
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiDWlr-0t4MHeKjCaOhgH_W1B1GQUZImLTR1VNLndF8SYw/certhash/uEiDKxfW914HtTShlmDTxrtqOFA5Oaj9OxAUEcCY1fZzCVg
Swarm announcing /ip4/192.168.105.205/tcp/4001
Swarm announcing /ip4/192.168.105.205/udp/4001/quic-v1
Swarm announcing /ip4/192.168.105.205/udp/4001/quic-v1/webtransport/certhash/uEiDWlr-0t4MHeKjCaOhgH_W1B1GQUZImLTR1VNLndF8SYw/certhash/uEiDKxfW914HtTShlmDTxrtqOFA5Oaj9OxAUEcCY1fZzCVg
Swarm announcing /ip4/67.163.90.8/tcp/4001
Swarm announcing /ip4/67.163.90.8/udp/1139/quic-v1
Swarm announcing /ip4/67.163.90.8/udp/1139/quic-v1/webtransport/certhash/uEiDWlr-0t4MHeKjCaOhgH_W1B1GQUZImLTR1VNLndF8SYw/certhash/uEiDKxfW914HtTShlmDTxrtqOFA5Oaj9OxAUEcCY1fZzCVg
RPC API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
Gateway server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
github-actions[bot] commented 4 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

nthoms92 commented 4 months ago

Steps to reproduce:

Create new docker image/container Copy roms into app rom directory Load container management UI Under PSX click "Scan" click into psx tab Click "download all available art" click "Add all roms to config" load UI over http on Microsoft Edge launch PSX game

nthoms92 commented 4 months ago

I used the build in chdman inside the container to extract the chd file to cue, then converted it back to chd and that seems to have resolved the issue. Its still unclear why that step was necessary since the roms played locally on supposedly the same version of beetle psx. However since that appears to have fixed the issue I'll go ahead and close out this ticket.