-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Potential violation of the HDMI 12 pixel minimum control period #43
Comments
Hi Kris, Thanks for the detailed report, you're definitely correct. The data island preamble starts prematurely and runs for 8 pixels, when instead it should be delayed by I'm surprised this has not come up before, maybe most sinks are a little forgiving on this. There are a few things that need to change:
|
If you would be interested in creating a pull request for this, I would be happy to review it 🙂. Otherwise, I'll update the repo at some point. Let me know how you'd like to proceed. Thanks again for finding this and reporting it |
Looking through the issues, this could be the root cause of the issue @mopplayer was having in #35 |
…deo and data-island preambles; fixed off-by-one errors on VG, VP, and VSync
Yes, I was definitely getting the same 2-pixel white bar to the left of the display as reported in issue #35, that is until I fixed the minimum control period bug. |
…deo and data-island preambles; fixed off-by-one errors on VG, VP, and VSync; fixed test bench
Hi Sameer, thanks so much for this amazing project. I've been porting bits of it into someone else's input lag tester project which I'm currently modifying to output proper HDMI (instead of DVI). I'm really just after the AVI InfoFrame functionality so I can force the HDMI sink I want to test (some FPV goggles) into RGB mode since it unfortunately defaults to expect the YCbCr video format. I've made good progress but I've noticed a discrepancy in the code which doesn't seem to match the HDMI Spec when it comes to the timing for the preamble:
Section 5.2.5.3 - Island Placement and Duration says:
Since the preamble is sent using a control period, it should always be preceded by at least a 4 pixel control period as show in the spec's timing diagram:
However the code seems to assume that data island preamble starts immediately after the video data period:
hdmi/src/hdmi.sv
Line 293 in b5bc3d7
Instead, souldn't this be:
This of course would have flow effects for the calculations of guard period and data island period.
Anyhow, thanks again for all your hard work and apologies if I'm completely misinterpreting the spec. :)
The text was updated successfully, but these errors were encountered: