sandsmark / recrossable

crossword game with simplistic handwriting recognition and automatic generation of crosswords
GNU General Public License v2.0
61 stars 11 forks source link

Stuck on "Generating Puzzle..." RM2 #15

Open ard0gg opened 3 years ago

ard0gg commented 3 years ago

I'v installed recrossable via toltec (0.0.0-3) on my RM2. I have that latest 2.6.2.75 software with remarkable hacks installed. Additionally I do have the latest rm2fb client/server 1.0.1 installed as well.

When I run recrossable from remux, I get the "generating puzzle..." screen and then it freezes. If I run recrossable from the command line using rm2fb-client recrossable I get the following:

reMarkable: ~/ rm2fb-client recrossable
EPD platform plugin loaded!
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Framebuffer has wrong id: "mxcfb"
Framebuffer initialized: QImage(QSize(1404, 1872),format=QImage::Format_RGB16,depth=16,devicePixelRatio=1,bytesPerLine=2808,sizeInBytes=5256576) 5256576
Creating window
loaded word list in 3856 ms
Added 38123 words
Loading pattern "ginsberg"
128 open cells
0 1
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|25 |47 |34 |53 |XXX|11 |55 |36 |XXX|24 |8  |4  |41 |
| y | o | l | k |XXX| g | r | e |XXX| c | a | s | h |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|10 |   |   |   |XXX|18 |   |   |XXX|50 |   |   |   |
| a | s | e | a |XXX| l | i | b |XXX| u | n | t | o |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|13 |   |   |   |XXX|23 |   |   |XXX|19 |   |   |   |
| y | e | c | h |XXX| u | n | b |XXX| m | n | e | m |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|56 |   |   |   |54 |   |XXX|31 |27 |   |   |   |   |
| a | s | t | u | t | e |XXX| e | q | u | i | t | y |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|XXX|XXX|XXX|37 |   |   |XXX|39 |   |   |XXX|XXX|XXX|
|XXX|XXX|XXX| n | a | y |XXX| d | e | l |XXX|XXX|XXX|
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|17 |49 |44 |   |   |XXX|XXX|XXX|12 |   |6  |3  |2  |
| s | c | h | a | v |XXX|XXX|XXX| d | i | l | l | s |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|21 |   |   |XXX|XXX|XXX|XXX|XXX|XXX|XXX|15 |   |   |
| r | a | g |XXX|XXX|XXX|XXX|XXX|XXX|XXX| w | o | k |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|28 |   |   |26 |48 |XXX|XXX|XXX|33 |52 |   |   |   |
| i | n | t | r | o |XXX|XXX|XXX| p | e | p | p | y |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|XXX|XXX|XXX|9  |   |42 |XXX|14 |   |   |XXX|XXX|XXX|
|XXX|XXX|XXX| i | c | h |XXX| s | i | b |XXX|XXX|XXX|
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|7  |46 |51 |   |   |   |XXX|20 |   |   |5  |22 |1  |
| l | a | r | v | a | e |XXX| i | n | b | r | e | d |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|29 |   |   |   |XXX|16 |57 |   |XXX|30 |   |   |   |
| u | n | i | e |XXX| x | x | x |XXX| i | o | d | e |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|32 |   |   |   |XXX|35 |   |   |XXX|38 |   |   |   |
| r | e | p | r |XXX| e | x | t |XXX| n | s | e | c |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
|40 |   |   |   |XXX|43 |   |   |XXX|45 |   |   |   |
| e | t | a | s |XXX| r | i | e |XXX| g | e | n | l |
+---+---+---+---+---+---+---+---+---+---+---+---+---+
Across:
7. larvae
9. ich
10. asea
11. gre
12. dills
13. yech
14. sib
15. wok
16. xxx
17. schav
18. lib
19. mnem
20. inbred
21. rag
23. unb
24. cash
25. yolk
28. intro
29. unie
30. iode
31. equity
32. repr
33. peppy
35. ext
37. nay
38. nsec
39. del
40. etas
43. rie
45. genl
50. unto
56. astute

Down:
1. decl
2. sky
3. lop
4. stet
5. rose
6. lwp
7. lure
8. anni
11. gluey
14. sixte
17. sri
22. eden
24. cumuli
25. yaya
26. rivers
27. qed
33. pin
34. lect
36. ebbed
41. homy
42. hexer
44. hgt
46. anet
47. oses
48. oca
49. can
51. ripa
52. ebbing
53. kahuna
54. tav
55. rin
57. xxi
Generated crossword in 157 ms
virtual void EPRenderContext::renderNextFrame(QSGRenderer*, uint) can't render without a renderer
Segmentation fault
haydensp commented 3 years ago

I am also in the same boat. I'm assuming it's an issue regarding the update on the screen to solve the jagged line issue? IDK, I'll update again if I find a solution before @sandsmark.

That being said, this is the absolute coolest app I've used in a long time! Thank's for making it 🙏🏽

ard0gg commented 3 years ago

I've installed and configured the testing branch of toltec as implemented in PR #310. This doesn't seem to fix the issue, but I'm also not sure if it's supposed to yet. Could very well be user error on my part.

``` bash reMarkable: ~/ opkg print-architecture arch all 100 arch armv7-3.2 160 arch rmall 200 arch rm2 250 ``` ``` bash reMarkable: ~/ opkg list-installed ca-certificates - 20210119-1 chessmarkable - 0.6.0-4 decay - 2.1.2-2 display - 1.0.1-2 entware-opt - 227000-3 entware-release - 1.0-2 entware-upgrade - 1.0-1 erode - 2.1.2-2 fbdepth - 1.23.1-3 fbink - 1.23.1-3 findutils - 4.7.0-3 fret - 2.1.2-2 grep - 3.6-1a harmony - 0.1.3-2 koreader - 2021.02-2 libatomic - 8.4.0-11 libc - 2.27-11 libcares - 1.17.1-1 libdlib - 19.21-1 libgcc - 8.4.0-11 libnghttp2 - 1.43.0-1 libopenssl - 1.1.1j-2 libpcre - 8.44-4 libpthread - 2.27-11 librt - 2.27-11 libssp - 8.4.0-11 libstdcpp - 8.4.0-11 libuv - 1.40.0-2 locales - 2.27-9 node - v14.15.5-2 opkg - 2020-12-24-9bbc7eae-1 recrossable - 0.0.0-6 remux - 0.1.9-2 rm2fb-client - 1.0.1-2 rot - 2.1.2-2 tarnish - 2.1.2-2 terminfo - 6.2-1 toltec-bootstrap - 0.0.2-2 wget - 1.20.3-4 xochitl - 0.0.0-4 zlib - 1.2.11-3 zoneinfo-asia - 2021a-1 zoneinfo-europe - 2021a-1 zshelf - 0.3.1-2 ``` ``` bash reMarkable: ~/ cat /opt/etc/opkg.conf src/gz entware https://bin.entware.net/armv7sf-k3.2 dest root / dest ram /opt/tmp lists_dir ext /opt/var/opkg-lists option tmp_dir /opt/tmp arch all 100 arch armv7-3.2 160 arch rmall 200 arch rm2 250 src/gz toltec-rmall https://toltec-dev.org/testing/rmall src/gz toltec-rm2 https://toltec-dev.org/testing/rm2 ```
matteodelabre commented 3 years ago

To clarify, that PR does not bring 2.6 support to Toltec (its main purpose was to solve toltec-dev/toltec#129). To track 2.6 support in Toltec, please see toltec-dev/toltec#322. Currently, we have a working toolchain that can compile apps for 2.6, but packages compiled for 2.6 won’t work on older versions, which creates a distribution challenge for Toltec since not all users are on 2.6 yet.

ard0gg commented 3 years ago

Doh, of course. Thank you for the clarification. I was conflating RM1/RM2 with </>= 2.6 support.

ard0gg commented 3 years ago

I was able to figure out how to build apps with the Toltec 2.0.1 toolchain and can confirm that recrossable does appear to display properly (Yay!!). I'm not sure if I should leave this issue open until 2.6 is fully supported through Toltec distribution.

briankaemingk commented 3 years ago

@ard0gg any chance you can share how you compiled with Toltec 2.0.1 toolchain? I've tried, but I'm getting some missing packages when I try to compile... Steps below:

matteodelabre commented 3 years ago

You need to run make libdlib first (and update the image field in package/libdlib/package as you did for the recrossable package). Our build system does not yet automatically trigger the build of missing dependencies. This is being tracked here: https://github.com/toltec-dev/toltec/issues/321. Sorry about that!

briankaemingk commented 3 years ago

All good, thanks, that worked for me!

On Fri, Apr 16, 2021 at 1:35 PM Mattéo Delabre @.***> wrote:

You need to run make libdlib first (and update the image field in package/libdlib/package as you did for the recrossable package). Our build system does not yet automatically trigger the build of missing dependencies. This is being tracked here: toltec-dev/toltec#321 https://github.com/toltec-dev/toltec/issues/321. Sorry about that!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sandsmark/recrossable/issues/15#issuecomment-821548689, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZCEP6RJBLBE24LTXQ3TJCNQBANCNFSM4Z3FOVQQ .