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

Overflow can put wrong video timings in EDID without any error message #25

Open
dreamlayers opened this issue Nov 23, 2022 · 0 comments

Comments

@dreamlayers
Copy link

I created an EDID based on

Modeline "1280x960@85R" 146.77 1280 1314 1574 1728 960 961 964 1011 +HSync +VSync

This did not work. The monitor did not sync to it. However, that same mode worked via xrandr. The problem is obvious when the EDID is viewed via edid-decode -X [email protected]:

Modeline "1280x960_84.01" 146.770  1280 1314 1318 1728  960 961 964 1011  +HSync +VSync

Everything matches, but the end of horizontal sync was changed from 1574 to 1318. The horizontal sync pulse is extremely short, from 1314 to 1318, and that is too short. Some overflow caused this to happen, and there was no error message.

Note how verifying the mode via edid-decode -X is useful.

BTW. The mode was customized from 1280x960 85 Hz to match image position on the CRT with other sources. I did not need such a long horizontal sync pulse. So I shortened it, successfully created an EDID based on the following modeline, and got the desired results on the monitor:

Modeline "1280x960_84.01" 146.770  1280 1314 1474 1728  960 961 964 1011  +HSync +VSync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant