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

Broken left/right rotated screen calibration #39

Open
ghost opened this issue Jul 2, 2012 · 7 comments
Open

Broken left/right rotated screen calibration #39

ghost opened this issue Jul 2, 2012 · 7 comments

Comments

@ghost
Copy link

ghost commented Jul 2, 2012

I've tested the current master (9b0803b) on our two Elo screens and normal/inverted rotation calibration works fine. The problem comes when we rotate the screen to the left or right. Then the returned calibration output looks like this: https://gist.github.com/3031786. Compared to the state before the changes from 21/6 onward, it's absolutely broken. Before our issue was that when rotated left/right the axis invertion would be wrong and a second run would fix it. Now it's unusable.

@tias
Copy link
Owner

tias commented Jul 5, 2012

Hi Plamen,

Perhaps the randr commit I pulled from you is no longer needed with the code rewrite?
I've reverted it in branch rotate_revert (6e5a9b6) can you try that one?

Kind regards,
Tias

@ghost
Copy link
Author

ghost commented Jul 9, 2012

Hello Tias,

I found some time to test the revert but unfortunately it doesn't give a different result.

Best regards,
Plamen

@tias
Copy link
Owner

tias commented Jul 31, 2012

That's unfortunate. I wouldn't know what else can cause this behaviour.

Can you git-bisect to find the offending patch?

Thanks,
Tias

@ghost
Copy link
Author

ghost commented Feb 3, 2013

Hello Tias,

Sorry for not replying for such a long time.

I bisected the master branch and found out that commit 07978b9 breaks the calibration when the screen is rotated. I tested a fix for this exact issue in my test branch (299b69d).

Later I took a look at Forest and Jeff's pull requests (#36 and #45).
I segfaulted on Forest's build, but didn't check why, so I don't know if it fixes this issue.
Jeff's build did run though and it does fix this problem. Funnily enough it also fixes my other problem where axes are swapped on rotated screen on the first calibration.

Best regards,
Plamen

@forestbond
Copy link

Hi,

@tokoyami do you mind building with my changes and running under gdb to get a stack trace?

Thanks,
Forest

@ghost
Copy link
Author

ghost commented Feb 5, 2013

Hello Forest,

I actually already found the problem. I'll post it in a bit in your pull request.

Best regards,
Plamen

@forestbond
Copy link

Hi Plamen,

Thanks, that would be great.

-Forest

On Tue, Feb 05, 2013 at 11:24:55AM -0800, Plamen Kolev wrote:

Hello Forest,

I actually already found the problem. I'll post it in a bit in your pull
request.

Best regards,
Plamen


Reply to this email directly or view it on GitHub.

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

2 participants