Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outrun: no SPRITES for some users on Analogue Pocket #515

Open
NeilGSPGUK opened this issue Jan 26, 2024 · 66 comments
Open

outrun: no SPRITES for some users on Analogue Pocket #515

NeilGSPGUK opened this issue Jan 26, 2024 · 66 comments
Assignees
Labels
question Further information is requested

Comments

@NeilGSPGUK
Copy link

there are no Car / Road Side Icons in the latest build.

@jotego
Copy link
Owner

jotego commented Jan 26, 2024

Are you talking of Out Run? I do get the cars and the signs. But I think that issue may happen occasionally. Try powering off and on completely the Pocket. Let me know if you find some pattern to it. I am not able to replicate this problem at the moment.

@jotego jotego added the question Further information is requested label Jan 26, 2024
@jotego jotego added this to JTCores Jan 26, 2024
@jotego jotego changed the title no SPRITES in latest version on POCKET. outrun: no SPRITES in latest version on POCKET. Jan 26, 2024
@NeilGSPGUK
Copy link
Author

all roms in the OUTRUN Core, I updated today and just get road, in all roms inc Turbo Outrun. didnt backup previous version. is there a way to install previous version? version installed INTERNAL 2024-01-26

@jotego
Copy link
Owner

jotego commented Jan 27, 2024

Old versions are kept in JTBIN.

This could be a timing issue related to some RAM modules in the Pocket. Would you be willing to test some core versions compiled with different timing to test this hypothesis?

@NeilGSPGUK
Copy link
Author

Yes no problem. Just let me know what I can do to help

@NeilGSPGUK
Copy link
Author

@jotego FYI rolled back to the version 15.0 2023-11-24 and Sprites are all present.

@NeilGSPGUK
Copy link
Author

FYI I just updated, and the new version 659baa4 2024-02-02 again has the missing sprites @jotego .

@Dawbo66
Copy link

Dawbo66 commented Feb 9, 2024

As requested from Discord, I'm having the same issue , no graphics on outrun or turbo outrun, (big al) from discord, I can do any test for you @jotego .

@Dawbo66
Copy link

Dawbo66 commented Feb 10, 2024

@jotego
After updating with jtfriday_240209_pocket the game appears to be working as it should, will report back if any update.

@jotego
Copy link
Owner

jotego commented Feb 10, 2024

There was no relevant change justifying a magical fix here in the last release.
There is either a sensitivity to the clock phase in the external memory interface or a combinational logic glitch somewhere. Making this feature unstable for some users.

@c-hri-s
Copy link

c-hri-s commented Feb 10, 2024

Confirm the latest released fixed it for me too

@SkyNIC
Copy link

SkyNIC commented Feb 10, 2024

Only I have glitched graphics in turbo outrun?
20231126_171336
20231126_171356
20231126_171416

@NeilGSPGUK
Copy link
Author

Confirm the latest released fixed it for me too

Fixed for me also thanks!

@GoldZabu
Copy link

GoldZabu commented Mar 3, 2024

They seem to be gone again in the March 1 update.

@Dawbo66
Copy link

Dawbo66 commented Mar 3, 2024

They seem to be gone again in the March 1 update.

I've tried starting Outrun several times on the Pocket and all seems good, a couple of months ago there was an issue, I'm wondering if something's creeping back in, maybe delete and put back on ensuring any saves are also deleted.

@jotego jotego changed the title outrun: no SPRITES in latest version on POCKET. outrun: no SPRITES for some users on Analogue Pocket Mar 4, 2024
@JanGunheD
Copy link

JanGunheD commented Mar 4, 2024

The sprites are also missing on my pocket. Sometimes some groups of horizontal lines appear instead.

@trza49
Copy link

trza49 commented Mar 4, 2024

Yeah had this issue on the Pocket. I just deleted the core and assets and reloaded but still the same.

@Dawbo66
Copy link

Dawbo66 commented Mar 4, 2024

Try going back to jtfriday_240209_pocket and see if its resolved..

@trza49
Copy link

trza49 commented Mar 5, 2024

Try going back to jtfriday_240209_pocket and see if its resolved..

Where do I find this file please? I'm new to GitHub.

@Dawbo66
Copy link

Dawbo66 commented Mar 5, 2024

Try going back to jtfriday_240209_pocket and see if its resolved..

Where do I find this file please? I'm new to GitHub.

There here https://www.patreon.com/jotego/posts look for jtfriday_240209_pocket on the 9th feb or https://github.com/jotego/jtbin

@JanGunheD
Copy link

Try going back to jtfriday_240209_pocket and see if its resolved..

Yes, that fixes it. I used jtfriday_240216_pocket.zip.

@Dawbo66
Copy link

Dawbo66 commented Mar 5, 2024

Outrun is a bit temperamental at the moment for some users.

@46VR46
Copy link

46VR46 commented Mar 12, 2024

Hi everyone. I still have this issue. Even after formatting my card and starting again. If I go back to download jtfriday_240216_pocket.zip version, can I confirm that once I download that, I can go into the core and asset folder and copy and paste these outrun core and asset folders into my card (in the same positions) and that's it? I don't need to change any other files anywhere on my card? And this should work. Thanks for your help guys.

@Dawbo66
Copy link

Dawbo66 commented Mar 13, 2024

Yes just overwrite when asked.

@46VR46
Copy link

46VR46 commented Mar 13, 2024

Yes just overwrite when asked.

Hey thanks so much for the fast reply..... Done but no dice! So I dropped those two folders from the jtfriday_240216_pocket.zip version and overwrote the folder that were on my SD Card. Now when I go into the outrun core I get the message "Error in framework missing 'ROM' ID(1)". Does that mean I need to link something or reset where the AP is no looking for the core. I know it must just be one step I am missing here. Thanks.

@Dawbo66
Copy link

Dawbo66 commented Mar 13, 2024

Have you deleted the rom? If not the rom isn't correct for the core you replaced, you would need to generate the rom again,. Check if the rom is in assets/ common. Does turbo Outrun work ? Any issues delete the files including the saved file for Outrun and run updater again.

@manichispanic999
Copy link

I have prepared a file with better timing constraints. Please test it and report whether it works or not for you: jtoutrun_4f713435.zip. This version corresponds to git commit 4f71343.

If this is not enough, I will apply the clock shift strategy to the CRAM clock. That is the same approach we use for the SDRAM clock to make it work across all devices.

This fixed my sprite issue. Thanks!

@GoldZabu
Copy link

The April 26th update seems to have broken sprites again.

@hansfbaier
Copy link
Contributor

I have the same issue in the MiSTeX port.

@jotego
Copy link
Owner

jotego commented May 6, 2024

I have the same issue in the MiSTeX port.

Unless the MiSTeX uses PSDRAM, it is not the same problem.

@hansfbaier
Copy link
Contributor

I have prepared a file with better timing constraints. Please test it and report whether it works or not for you: jtoutrun_4f713435.zip. This version corresponds to git commit 4f71343.
If this is not enough, I will apply the clock shift strategy to the CRAM clock. That is the same approach we use for the SDRAM clock to make it work across all devices.

Works fine on my Analogue Pocket :-).

Can you point me to a diff, to see an example of how the changes would look like?

@jotego
Copy link
Owner

jotego commented May 7, 2024

 # setup/hold time requirements for CRAM 0/1
 # CRAM0
-set_output_delay -clock cram0_clk -max 2 \
+# tSP^M
+set_output_delay -clock cram0_clk -max 3 \^M
     [get_ports {cram0_a[*] cram0_dq[*] cram0_adv_n cram0_cre \
                 cram0_oe_n cram0_we_n \
                 cram0_ub_n cram0_lb_n }]
 
+# tCSP^M
 set_output_delay -clock cram0_clk -max 4 \
     [get_ports {cram0_ce0_n cram0_ce1_n  }]
 
-set_output_delay -clock cram0_clk -min -4 \
+# tHD, hold time^M
+set_output_delay -clock cram0_clk -min -2 \^M
     [get_ports {cram0_a[*] cram0_dq[*] cram0_adv_n cram0_cre \
                 cram0_ce0_n cram0_ce1_n cram0_oe_n cram0_we_n \
                 cram0_ub_n cram0_lb_n }]
 
+# tkOH in data sheet, output hold time^M
+set_input_delay -clock cram0_clk -min -2 \^M
+    [get_ports {cram0_dq[*] }]^M
+^M
 # CRAM1
-set_output_delay -clock cram1_clk -max 2 \
+set_output_delay -clock cram1_clk -max 3 \^M
     [get_ports {cram1_a[*] cram1_dq[*] cram1_adv_n cram1_cre \
                 cram1_oe_n cram1_we_n \
                 cram1_ub_n cram1_lb_n }]
@@ -56,6 +65,9 @@ set_output_delay -clock cram1_clk -min -2 \
                 cram1_ce0_n cram1_ce1_n cram1_oe_n cram1_we_n \
                 cram1_ub_n cram1_lb_n }]
 
+# tkOH in data sheet, output hold time^M
+set_input_delay -clock cram1_clk -min -2 \^M
+    [get_ports {cram1_dq[*] }]^M

@Toryalai1
Copy link
Contributor

Toryalai1 commented May 9, 2024

Turbo outrun has graphical glitches. (Mister fpga)
Reproduce:

  • Start game
  • Go into gameplay

image

image

@SkyNIC
Copy link

SkyNIC commented May 10, 2024

MiSTer port have same issue
изображение

@jotego jotego moved this from 🏗 In progress to 🙋‍♂️ Backlog in JTCores Jun 6, 2024
@JanGunheD
Copy link

In the newest version, the problem came back.

@jotego
Copy link
Owner

jotego commented Jun 16, 2024

Turbo outrun has graphical glitches. (Mister fpga) Reproduce:

* Start game

* Go into gameplay

image

image

That is a different issue from the one in this thread

@sir-codealot
Copy link

Have the same issue with the current version 8533440 . Also it worked fine for me since November 2023 with every release. but with the latest one I just see the road.

@Buyukcaglar
Copy link

Hi,

I have the exact same issue with the latest version d2f3856 (b.date: 24.10.04). No Car / Road Side sprites etc.

@Dawbo66
Copy link

Dawbo66 commented Oct 8, 2024

Use an older version, it's a known issue but I don't think it's being worked on at the moment.

@JanGunheD
Copy link

Yes, the problem is back again. Just saying it because it got fixed every time before and then comes back with the next version.

@Dawbo66
Copy link

Dawbo66 commented Oct 23, 2024

It hasn't been worked on for a while, so any "fixes" is probably the timing issues on pocket variants as it works, then stops, then works again that's why I don't update the core as the one I use works all the time.

@Buyukcaglar
Copy link

Hi,

It seems to be, with the core version 090d35d (2024-10-25) (and along with FW ver 2.4) the problem is solved and perfectly playable in my unit.

Thanks.

@JanGunheD
Copy link

Yes, I can confirm that, it works for me now, too.

@ctafield
Copy link

No sprites for me in version 4731644 (2024-11-09). Using a glow in the dark Pocket if that makes any difference.

@Buyukcaglar
Copy link

Buyukcaglar commented Nov 14, 2024

@ctafield can you please try previous version which I've attached as zip file, just unpack ZIP to your SD Cards's \Cores folder, and overwrite all files when asked.

jotego.jtoutrun ver 090d35d 2024-10-25

No sprites for me in version 4731644 (2024-11-09). Using a glow in the dark Pocket if that makes any difference.

@Kypck
Copy link

Kypck commented Jan 6, 2025

Latest build and the one provided by @Buyukcaglar are not working on my first edition Pocket.

@ctafield
Copy link

ctafield commented Jan 6, 2025

Still missing for me on my GITD, sadly.

@jotego
Copy link
Owner

jotego commented Jan 6, 2025

I think I am going to retire the Pocket version of the core until I can find a solution that works for everyone.

@Di35el
Copy link

Di35el commented Jan 6, 2025

fwiw whatever you did in jtoutrun_4f713435.zip Jotego has been working for me no problem. After every pupdate I do tend to lose sprites, but I just overwrite it with 4f71343.zip and everything is good again 👍🏻

@ctafield
Copy link

ctafield commented Jan 6, 2025

Sorry for the delay in checking it, but can confirm the version that Buyukcaglar suggested does work on my GITD too.

@jotego
Copy link
Owner

jotego commented Jan 6, 2025

fwiw whatever you did in jtoutrun_4f713435.zip Jotego has been working for me no problem. After every pupdate I do tend to lose sprites, but I just overwrite it with 4f71343.zip and everything is good again 👍🏻

I did not do anything in that version. That is the problem. This is an intermitent problem for some people which I cannot reproduce. So it just produces an endless thread of messages of complaints.

Keep a copy of the core because I will likely retire until the issue is solved to prevent further frustration to everyone.

@ctafield
Copy link

ctafield commented Jan 7, 2025

Going on a tangent here, but I don't think the problem lies with the core per-se. I think there are some hardware differences in versions of the Pocket, although getting that information out of Analogue seems nigh on impossible as an end-user. I have similar issues with the GBA core, where by only the first version of the core works.

@mattyv316
Copy link

I am having this problem as well on the latest 5732478 build. Tested on 2 Pockets and the problem exists on both.
Going back to 11/8 c3ca161 fixes the issue for me. 11/9 4731644 is when it starts. Oddly, if I use 12/14 3b2a2fa, the sprites are there. But because of issue 902, I cannot use 3b2a2fa. Out Run also pulls to the left, in addition to Super Hang-On.

@real-amano
Copy link

real-amano commented Jan 21, 2025

I don't know if you followed this bug at all, but Outrun stops showing the sprites for random builds on Pocket. One build works for some but stops working for others. One build fixes it for some but not for all. The gist of it: If an Outrun build works for you, keep it. Don't update every week. Any update could break it.

Because of the randomness of the problem (memory speed/stability/timing differences or hardware build margins between pockets??) without any actual core sourcecode changes nobody could figure out the real reasons for it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: 🙋‍♂️ Backlog
Development

No branches or pull requests