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

Corrupt HDMI output #17

Closed
sy2002 opened this issue Nov 11, 2023 · 10 comments
Closed

Corrupt HDMI output #17

sy2002 opened this issue Nov 11, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@sy2002
Copy link
Owner

sy2002 commented Nov 11, 2023

On @JohanP9964 's HDMI monitor, the output of the core looks like this:

New_Core_Video_1.mp4

We ruled our these things:

  • HDMI backpower
  • Wrong core version
  • Corrupt core slot
  • Core not starting (LED is green)
  • SD card problems

Also interessting: The C64 core V5 works!

What we do not know yet: If VGA works. @JohanP9964: Please test with VGA and report back here.

@MJoergen Any clue what this could be?

@sy2002 sy2002 added the bug Something isn't working label Nov 11, 2023
@sy2002 sy2002 self-assigned this Nov 11, 2023
@JohanP9964
Copy link

Hi. Tested today with two other different HDMI monitors, same bug

MEGA65.with.VGA.Monitor.mp4

However, connected to a VGA monitor it works perfectly

@sy2002
Copy link
Owner Author

sy2002 commented Nov 14, 2023

@JohanP9964 Thank you - I highly appreciate your diligence and support. Great to hear that VGA works, that means that the core itself works and we "only" have a HDMI challenge.

Adding @amb5l : Adam, is there any chance that you can run the ZX Spectrum core through your HDMI analyzer? Here is the core: https://files.mega65.org?id=bdaeb7e0-9fc8-4185-99de-104d01229f27

@MJoergen
Copy link
Collaborator

MJoergen commented Nov 14, 2023

@sy2002 @amb5l
Let me give that a go (hopefully tonight). I'll be testing the latest HDMI audio fix anyway.

@amb5l
Copy link

amb5l commented Nov 14, 2023

To analyse the HDMI output I would need a data capture file - this is generated by connecting the HDMI source to a Digilent Zybo Z7 board. If you provide me with step by step (beginner) instructions I could try it with my MEGA65?

EDIT: just saw @MJoergen comment, I will wait for a data file from him.

@MJoergen
Copy link
Collaborator

@sy2002 Actually, looking at the original video in this issue, I was thinking: Could this be a reset problem? In other words, you might want to change line 268 in M2M/vhdl/av_pipeline/digital_pipeline.vhd to

reset_na <= not (video_rst_i or hr_rst_i);

I'm quite positive that this will fix the issue reported here.

The above line is a very recent change in the M2M framework, so you could also consider upgrading the ZXUno core to the latest M2M version. But the above single-line change can be performed regardless.

@MJoergen
Copy link
Collaborator

For reference, this is the corresponding commit in the C64 repo:
MJoergen/C64MEGA65@8c43b38

@sy2002
Copy link
Owner Author

sy2002 commented Nov 14, 2023

@MJoergen Cool! Thank you. I will try this and share a test build with @JohanP9964 .

@sy2002
Copy link
Owner Author

sy2002 commented Nov 14, 2023

@JohanP9964 : Can you please test this experimental ZX Uno core: Does it fix the HDMI issue for you: zxutst.zip

@JohanP9964
Copy link

Hi everyone. It works now, great job :)

New.Core.v1.1.mp4

@sy2002
Copy link
Owner Author

sy2002 commented Nov 15, 2023

Awesome - thank you @JohanP9964 for reporting this and for testing. You helped to improve the quality of the core. I will release an official update on the FileServer.

@sy2002 sy2002 closed this as completed Nov 15, 2023
sy2002 added a commit that referenced this issue Nov 15, 2023
Fixes HDMI edge case where nothing but vertical colored lines were shown on screen. (Fixes GitHub issue #17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants