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

ffi/framebuffer_mxcfb.lua: Fix Night Mode on Kobo Elipsa 2E #1768

Closed
wants to merge 1 commit into from

Conversation

katadelos
Copy link

@katadelos katadelos commented Apr 12, 2024

This commit "fixes" reported graphical problems caused by switching to Night Mode on Elipsa 2E.

Mentioned here: koreader/koreader#10719 (comment)


This change is Reviewable

This commit "fixes" reported graphical problems caused by
switching to Night Mode on Elipsa 2E.

Mentioned here: koreader/koreader#10719 (comment)
@katadelos
Copy link
Author

IMG_6725
Image of this issue for reference

@NiLuJe
Copy link
Member

NiLuJe commented Apr 12, 2024

IIRC, we've confirmed that Nickel does use the Eclipse waveform modes explicitly and not AUTO and that... it works there, so I'm still mostly stumped ;p.

Since the slew of new devices run on the same SoC, at least we'll have more opportunities to test stuff soon...

@Frenzie
Copy link
Member

Frenzie commented Apr 12, 2024

@NiLuJe Does that mean to merge now?

@NiLuJe
Copy link
Member

NiLuJe commented Apr 12, 2024

The opposite, I'd rather wait and see how the new devices fare with the current behavior (... assuming the ioctls are compatible ;p).

@NiLuJe
Copy link
Member

NiLuJe commented May 1, 2024

Completely unrelated query for @katadelos, given the MTK stuff happening with the new devices: Aren't gyro-triggered rotations inverted on the Elipsa 2E?

@NiLuJe
Copy link
Member

NiLuJe commented May 6, 2024

On the assumption that this actually works at 32bpp (as it does on the later MTK devices), I've special-cased the Elipsa in #1779.

Thanks for confirming that AUTO will do something halfway sensible ;).

(Superseded by #1779)

@NiLuJe NiLuJe closed this May 6, 2024
NiLuJe added a commit that referenced this pull request May 9, 2024
* Bump LuaJIT to 20240422 (there's a potentially interesting 20-year old memory leak fixed)
* Update FBInk & KoboUSBMS to handle the new devices properly
* Update MTK headers for whatever we could glean of the new stuff
* Add dedicated refresh modes for Kaleido-specific waveform modes (basically, once for images, and one for text/highlights).
* Implemented a halfway sensible wait_for logic for those new devices
* Special-cased the Elipsa 2E because it behaves differently.
* "Fix" nightmode on the Elipsa 2E (thanks to #1768).
* And, as usual, workaround a few driver bugs in the process (as far as possible) ;p
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

Successfully merging this pull request may close these issues.

None yet

3 participants