-
Notifications
You must be signed in to change notification settings - Fork 5
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
inkvt.armhf says: /lib/libc.so.6: version `GLIBC_2.28' not found (required by ./inkvt.armhf) #10
Comments
This sounds like you're building tools from source code using a modern toolchain. If this is the case, you'll probably want to use koxtoolchain's Kobo toolchain (cc @NiLuJe). |
Thanks pgaskin for your answer, but... it doesn't work either. |
Run readelf on the binary to make sure ;). EDIT: Also, actual terminal output would be helpful (i.e., run the inkvt binary manually in a shell, first). |
@NiLuJe : the terminal output is written on the title of the thread |
Then you're definitely not building with the right toolchain ;). |
OK, I'll restart my live Linux and try recompiling from a fresh gcc-arm g++-arm etc. install. I have to build with the koxtoolchain ? |
Yes, you really do NOT want to use any random arm TC (especially distro's), you really need the one from koxtoolchain. |
Also, the "Waiting 20s for input" message is not a lie: it will really exit ^^. Running the binary over an SSH shell (be it over WiFi or USBNet) will allow you to basically use your host's keyboard without having to bother about any other way of handling that. |
@NiLuJe thanks! Koxtoolchain is setting up now... Building binutils (mmh... this will take a long time!) |
And....... it works! And it's AWESOME!!!!!!! This might be the most awesome hack I've ever done with my Kobo. Issue fixed by installing and compiling with koxtoolchain. |
That's already documented in the Install section of the README ;). As for the fontsize, there's a switch for that: https://github.com/llandsmeer/inkvt/blob/master/src/main.cpp#L90 A bitmap font being what it is, it's a integer multiplier (i.e., there's a good chance you'll find jumping to 3 too large). In which case you can try out different fonts, because they don't all have the same base cell size: https://github.com/NiLuJe/FBInk/blob/eb1e59da77d51a4b84a7180d6e6861e2f4d15cee/tools/hextoc.py#L74-L106 |
@NiLuJe thanks. I have three questions:
Thanks |
i.e., you'd be hard-pressed to notice it (the horizontal centering, especially) w/ terminus x2 on a H2O: But if I jump to x4, it becomes more obvious (note that the code also fills in the edges w/ bg color if the line is full): |
Hi, |
Any ideas? |
I have no idea what you're talking about, and I can't help you without actual screengrabs and console output. Keep in mind that a curses application also requires a proper termdb and a sane matching term. KoboStuff ships one, and points (shipped) stuff that needs it to it automatically. |
Huh. Does forcing a full-screen refresh from outside that session (via |
I'll test that |
No, it doesn't seem to, although it refreshed the screen correctly. |
What about |
OK I'll try that right away. |
It works on screen, and here's the console output: |
Huh. Since it's a Libra, and you're running it manually for now, it'll handle rotations, so: what happens if you rotate the device and then just attempt to move the cursor? |
On the off-chance it's a weird FBInk bug I don't even remember, try my branch w/ an up-to-date FBInk tree: https://github.com/NiLuJe/inkvt |
Sidebar: use triple backticks for multiline code excerpts, it'll preserve newlines that way. |
I tested with rotations, it handles them perfectly, but still not displays on the bottom. Thanks! |
EDIT: got it compiling |
No, it has done nothing that I can see. I still have the same bug. |
Unlikely to change anything ;). I guess you could stick a few printf around the sizing and damage events and see what shakes out? That, and making FBInk verbose in case the quirk lies there: diff --git a/src/vterm.hpp b/src/vterm.hpp
index 22ce40a..19ec7ca 100644
--- a/src/vterm.hpp
+++ b/src/vterm.hpp
@@ -275,7 +275,7 @@ public:
fbink_init(fbfd, &config);
fbink_cls(fbfd, &config, nullptr);
fbink_get_state(&config, &state);
- config.is_quiet = 1;
+ config.is_verbose = 1;
fbink_update_verbosity(&config);
vtsc = (VTermScreenCallbacks){ |
Ok thanks |
That's probably some kind of escape sequence wreaking havoc on the terminal state. Try filling the screen with plain ASCII. |
Can you still repro #10 (comment)? (But, regardless, the earlier comment about sticking debugging printfs around both fbink & vte cursor positioning still holds). |
Also, in which context is this running and how are the screengrabs taken? It might be ye olde' 32bpp alpha handling issue, so, it might be fixed either by switching to 8bpp, or by bumping FBInk. |
I can try running fbdepth before |
Nothing changes, either with bpp 8, 16 or 32. |
No, that has been fixed, but as you can see, something else appeared... |
Here's what doing |
Related to this FIXME: Lines 37 to 40 in 8d1355b
The default value happens to work fine on a H2O (67 * 44 = 2948), but apparently not so much for you (79 * 52 = 4108). I can reproduce similar wonkiness over here if I lower it to 2000. |
Made it dynamic, see if https://github.com/NiLuJe/inkvt works? |
screenful. Also, fix a logic snafu, one side of the check was for < and the other for > instead of >=. Re llandsmeer#10
screenful. Also, fix a logic snafu, one side of the check was for < and the other for > instead of >=. Re llandsmeer#10
I have a Kobo Libra updated to the latest firmware. I tried to install Inkvt, but libc version is 2.19. I'm not too surprised because every experimental program I install give me unusual issues (karma?). Yours seems to be awesome and I'd like to try it as soon as possible.
Have you an idea on how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: