-
Notifications
You must be signed in to change notification settings - Fork 10
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
rM1 support for yaft #3
Comments
Indeed, I hard coded the framebuffer size, should be an easy fix. Thanks for testing! |
@raisjn Can you try the latest master, should be fixed now. |
crashes on run. might be because of my toolchain - can you supply a binary? toolchain used: /opt/codex/rm11x/2.5.2/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi Reading symbols from ./yaft...
run(gdb) run
Starting program: /home/root/apps/yaft
rM1 currently untested, please open a github issue if you encounter any issues
[Detaching after fork from child process 634]
Program received signal SIGILL, Illegal instruction.
std::_Hashtable<int, std::pair<int const, rmlib::input::InputManager::InputDevice>, std::allocator<std::pair<int const, rmlib::input::InputManager::InputDevice> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_emplace<int&, rmlib::input::InputManager::InputDevice> (this=0x7eeb5f30)
at /opt/codex/rm11x/2.5.2/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/include/c++/7.3.0/bits/hashtable.h:1654
1654 /opt/codex/rm11x/2.5.2/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/include/c++/7.3.0/bits/hashtable.h: No such file or directory.
(gdb) bt
#0 std::_Hashtable<int, std::pair<int const, rmlib::input::InputManager::InputDevice>, std::allocator<std::pair<int const, rmlib::input::InputManager::InputDevice> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_emplace<int&, rmlib::input::InputManager::InputDevice> (this=0x7eeb5f30)
at /opt/codex/rm11x/2.5.2/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/include/c++/7.3.0/bits/hashtable.h:1654
#1 std::_Hashtable<int, std::pair<int const, rmlib::input::InputManager::InputDevice>, std::allocator<std::pair<int const, rmlib::input::InputManager::InputDevice> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::emplace<int&, rmlib::input::InputManager::InputDevice> (this=0x7eeb5f30)
at /opt/codex/rm11x/2.5.2/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/include/c++/7.3.0/bits/hashtable.h:736
#2 std::unordered_map<int, rmlib::input::InputManager::InputDevice, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, rmlib::input::InputManager::InputDevice> > >::emplace<int&, rmlib::input::InputManager::InputDevice> (this=0x7eeb5f30)
at /opt/codex/rm11x/2.5.2/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/include/c++/7.3.0/bits/unordered_map.h:387
#3 rmlib::input::InputManager::open (this=this@entry=0x7eeb5f30, input=..., inputTransform=...)
at /home/okay/tonka/src/remarkable/rM2-stuff/libs/rMlib/Input.cpp:34
#4 0x0001cfb8 in Keyboard::init (this=0x7eeb5f18, this@entry=0x7eeb5f10, fb=..., term=...)
at /home/okay/tonka/src/remarkable/rM2-stuff/apps/yaft/keyboard.cpp:264
#5 0x00013258 in main (argc=1, argv=0x7efffaa4)
at /home/okay/tonka/src/remarkable/rM2-stuff/apps/yaft/main.cpp:234
(gdb) f 3
#3 rmlib::input::InputManager::open (this=this@entry=0x7eeb5f30, input=..., inputTransform=...)
at /home/okay/tonka/src/remarkable/rM2-stuff/libs/rMlib/Input.cpp:34
34 /home/okay/tonka/src/remarkable/rM2-stuff/libs/rMlib/Input.cpp: No such file or directory. |
You can download a package with the binary from the CI here: https://github.com/timower/rM2-stuff/actions/runs/559070234 |
|
The latest master should fix the out of bounds drawing, you can get a build here: https://github.com/timower/rM2-stuff/actions/runs/586675935 |
ok, it now runs, but the keys don't show up until i interact with them and i don't see anything displayed in the terminal area. sent images offline. |
Can you check if 8860dee helps? If that doesn't fix it I can create a build that always uses a non-DU waveform to see if that's the cause. |
i tested on artifacts in https://github.com/timower/rM2-stuff/actions/runs/658193967 and still have the same behavior. let's see if this other build works |
Should be fixed now in 314a896 |
great, works - thank you! |
#resolved |
running yaft on rM1:
and displays:
it is possible the width is incorrect (1404 vs 1408) somewhere which often causes tearing like that
The text was updated successfully, but these errors were encountered: