#[SOLVED] netsurf with xovi on rm2

1 messages · Page 1 of 1 (latest)

ruby finch
#

Hey there, i am tinkering with xovi and wanted to see if i could get netsurf to run.

Sadly I encountered this when trying to run it:

Aug 30 17:56:13 reMarkable xochitl[1332]: ./nsfb: error while loading shared libraries: libevdev.so.2: cannot open shared object file: No such file or directory

I downloaded the nsfb binary from here: https://github.com/alex0809/netsurf-reMarkable/releases

Then placed it into appload/netsurf folder with a manifest file (i copied what koreader had) and a random icon.

{
  "name": "Netsurf",
  "application": "netsurf",
  "environment": {
    "LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
  },
  "qtfb": true
}

Looking around toltec, since this is toltec package originally, i spotted https://github.com/toltec-dev/toltec/blob/9d15d2ddea4c58fc93e38f9ca0aed4d4afc5f9dc/package/evtest/package#L7

Anything I can go from here?

GitHub

NetSurf is a lightweight and portable open-source web browser. This projects adapts NetSurf for the reMarkable E Ink tablet. - alex0809/netsurf-reMarkable

GitHub

Community-maintained repository of free software for the reMarkable tablet. - toltec-dev/toltec

rare fieldBOT
#
lunar narwhal
#

To environment, add "LD_LIBRARY_PATH": "."

#

Put the file in the folder with netsurf's binary

ruby finch
#
{
  "name": "Netsurf",
  "application": "nsfb",
  "environment": {
    "LD_LIBRARY_PATH": ".",
    "LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
  },
  "qtfb": true
}
lunar narwhal
#

Let me know how it works

ruby finch
#

lets see what happens 👁️

#

aw seems it just Aug 30 18:53:10 reMarkable xochitl[961]: 18:53:10.872 default [AppLoad]: Process for "./nsfb" finished with exit code 1 and status QProcess::NormalExit

rare fieldBOT
#
ruby finch
#

so i guess it crashes at boot

lunar narwhal
#

You did install the shim in that folder right?

ruby finch
#

yeah its there

lunar narwhal
#

I will need to do some additional diagnosis then

#

I can't test it right now, but if you do, you can force appload to give you the QTFB_KEY and leave an unbound framebuffer

#

Then do something like: QTFB_KEY=<key> strace -f bash -c 'LD_PRELOAD=... LD_LIBRARY_PATH=. ./nsfb'

#

But I get it if it's too much of a hassle

ruby finch
ruby finch
#

hold on: input_identify_input_devices: Device identified as RM1

#

this is rm2

lunar narwhal
#

The shim will force the model to be rM1

#

This is correct

ruby finch
#

ah

#

ok

lunar narwhal
#

I don't like this:

Aug 30 18:56:25 reMarkable xochitl[1173]: ERROR: input_identify_input_devices: Could not create device from fd for path /dev/input/event2```
#

Oh wait, damn this is an rM2. I don't know how it works

#

Can you run ls -al /dev/input

ruby finch
#
root@reMarkable:~# ls -al /dev/input
drwxr-xr-x    3 root     root           140 Aug 30 18:03 .
drwxr-xr-x    9 root     root          3080 Aug 30 18:11 ..
drwxr-xr-x    2 root     root           100 Aug 30 18:03 by-path
crw-rw----    1 root     input      13,  64 Aug 30 18:03 event0
crw-rw----    1 root     input      13,  65 Aug 30 18:03 event1
crw-rw----    1 root     input      13,  66 Aug 30 18:03 event2
lrwxrwxrwx    1 root     root             6 Aug 30 18:03 touchscreen0 -> event1
rare fieldBOT
#
ruby finch
#

i also tried "LD_PRELOAD": "/home/root/shims/qtfb-shim-32bit.so"

#

anyways, got to go now, but im definitely interested tinkering with this further

lunar narwhal
#

Thanks! I'll try to diagnose this and see what's going on. This should work

ruby finch
#

maybe i need to set the working directory to the one with the binary, since theres another tarball with folder called "resources"

#

it could be netsurf being sad that it cant find that

lunar narwhal
#

I think I understand a bit of what might be going on

#

Oh, no - I'm handling that edgecase already. I'll test it on my rM1 when I fix it

ruby finch
#

does rm2 have gdb lol

lunar narwhal
#

That won't really help here. Evdev's been a thorn in my side for a while now

#

I need that strace thing I sent before

#

I need to have a dump of all the ioctls() it does

ruby finch
#

@lunar narwhal got time now again, lets get this bread

#

(if theres anything i can do)

ruby finch
lunar narwhal
#

Contents:

#!/bin/sh
echo $QTFB_KEY > /tmp/key
sleep 6000
#

Then give it chmod a+x

#

And change manifest to start test instead of nsfb

#

Actually, we can do it in a simpler manner

#

It should give you more logs

ruby finch
#

alright

lunar narwhal
#

It worked now

#

Did you really use the latest version of appload and the shim?

ruby finch
#

well it didnt open on screen

lunar narwhal
#

Unable to initialise the font system

#

Maybe it's missing the resources now

ruby finch
#

agh im dumb

#

The font files defined in the configuration file ~/.netsurf/Choices must exist. You can either install the pre-configured fonts via opkg, or copy your own preferred fonts to the device and adapt the Choices file.

lunar narwhal
ruby finch
#

oooo it works!

#

i had to do these two things

#

in /home/root/.netsurf/Choices file, add following:

homepage_url:about:welcome
fb_download_directory:/home/root/Downloads
fb_xochitl_restart_command:systemctl restart remux

scale:150
enable_javascript:0

fb_face_sans_serif:/opt/share/fonts/ttf-dejavu/DejaVuSans.ttf
fb_face_sans_serif_bold:/opt/share/fonts/ttf-dejavu/DejaVuSans-Bold.ttf
fb_face_sans_serif_italic:/opt/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf
fb_face_sans_serif_italic_bold:/opt/share/fonts/ttf-dejavu/DejaVuSans-BoldOblique.ttf
fb_face_serif:/opt/share/fonts/ttf-dejavu/DejaVuSansMono.ttf
fb_face_serif_bold:/opt/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf
fb_face_cursive:/opt/share/fonts/ttf-dejavu/DejaVuSerif-Italic.ttf
fb_face_monospace:/opt/share/fonts/ttf-dejavu/DejaVuSansMono.ttf
fb_face_monospace_bold:/opt/share/fonts/ttf-dejavu/DejaVuSansMono-Bold.ttf
fb_face_fantasy:/opt/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf

fb_toolbar_size:60
fb_furniture_size:40
fb_osk:1
#

im lacking keyboard though 😄

lunar narwhal
#

It said something about "a" key enabling the keyboard

ruby finch
#

ah found it

lunar narwhal
#

At the bottom, in the readme. I'll need to do additional testing if you have issues with the input / other stuff

#

I only wrote the compatibility layer / windowing system

#

The beautiful thing about reMarkable homebrew apps is that there exists approximately 30 ways in which they can initialize inputs

#

And you never know fixing which one will break 5 others 🥲

ruby finch
#

oh no

#

fb_xochitl_restart_command:systemctl restart remux

#

this seems wrong

lunar narwhal
#

Did it do anything?

ruby finch
#

i think its just how to get out of the browser

lunar narwhal
#

Ah, kill it via appload then

#

Drag down from the top of the screen (1cm approx)

#

A toolbar will open

#

You can either window it, minimize, or have appload terminate the application

ruby finch
#

ah got it!

#

can i set it to always open in a window mode

lunar narwhal
#

Press and hold the icon

#

You can resize it too

#

(Drag bottom right hand corner)

ruby finch
#

seems its bit finicky to get the gesture to work because the navbar is right around where the gesture is, so it always goes for the navbar

lunar narwhal
#

You can ignore the navbar though

#

The appload gesture takes precedense

ruby finch
#

oh yeah so it does

#

this is awesome, thank you so much

lunar narwhal
#

No problem 🙂

ruby finch
#

i think i'll write this into a blog post. where/how to get that evdev lib file?

lunar narwhal
#

I grabbed it from a backup I had of the old root of my rM1

#

I think it should be free to redistribute

ruby finch
#

could it be shared in xovi github or something like that?

lunar narwhal
#

Not really - I don't want to redistribute stuff xovi doesn't depend on directly

ruby finch
#

makes sense

lunar narwhal
#

You can always compile it manually with the rM2 toolchain

ruby finch
#

it should be fine to distribute it too, i just want it somewhere so my blog readers could easily grab it

lunar narwhal
ruby finch
#

yeah MIT

lunar narwhal
#

It's netsurf that depends on the lib, not xovi or appload - that's why I won't redistribute it

ruby finch
#

yeah fair!

#

i think i'll just plop it somewhere on my server then

lunar narwhal
#

Cool

ruby finch
#

[SOLVED] netsurf with xovi on rm2

lunar narwhal
#

I don't see why your guide wouldn't work on the rM1, but the pro will require recompiling everything to 64bit

ruby finch
#

When i got more time i wanna try to get it launch directly from sidebar

worldly ermine
#

You guys rocks!!! That's so awesome

#

Does it allow you to open telegram webapp?

ruby finch
#

Next step would be making the links from pdf files to open in the browser but that may be really difficult 😄

ruby finch
#

You could try it by installing netsurf on pc first and see what works on it

worldly ermine
#

Ohh got it!! I'll try!!

ruby finch
#

Its very much meant for reading simple web pages without javascript though, not webapps

sly bear
#

@ruby finch I tried to send you a message but it was not delivered.

In your blog on netsurf, you mention “XOVI is the tool that makes all this at all possible on reMarkable devices with version 3.22 or higher.”
Perhaps a typo on 3.22 ?

3.22 is the beta version if I recall correctly

  1. have you actually tried xovi etc and netsurf on 3.22 ?

Or did you mean to say 3.20…

I got (quite correctly) reminded here when asking about hacks on 3.22
The mods/devs stated that none of the xovi, rMhacks etc are made for beta version software as it’s against the End User Agreement

I’m on the beta 3.22 and keen to try netsurf, may have to roll back to 3.20
I miss all the rmHacks, Appload goodies too much. (Can’t wait until the beta becomes official software and then eventually all these developments eg Appload , split screen etc work alongside handwriting recognition!)

Your blog reference to 3.22 may open a can of worms or a multitude of questions (like my own questions here)
Appreciate all you devs work on these things, if it weren’t for people like you all, we’d never push boundaries and get better (and nice shiny things to play with) !

ruby finch
#

Im on the beta version

#

Will change the number though

#

Fixd the typo

sand plover
#

Ahh, sorry for being late to the party. I did all these things with netsurf in February or March, so I could have helped out. I never liked netsurf anyway, so I switched completely to using elinks for the occational webpage I needed to access.
How's the browser experience for you, can you actually use it for anything in the real world?
(The approach taken here will probably work for any version of xochitl - I've tried xovi all the way back to 3.10)

fallen jasper
#
[AppLoad]: Loaded app root /home/root/xovi/exthome/appload/output
10:53:02.853 default                  [QTFB]: Re-register framebuffer  -1 as 2027296
[QTFB]: Unregistered framebuffer controller ID: -1
[QTFB]: Registered framebuffer controller ID: 2027296
10:53:02.854 default                  [AppLoad]: Starting external binary "./nsfb"
[QTFB]: Awaiting incoming connections to/tmp/qtfb.sock
[QTFB]: Connection established from client. Sock FD is 41
[QTFB]: Defined SHM size5256576at
[QTFB]: Associated connection <==> framebuffer 2027296
Message translations failed to load
10:53:02.886 default                  [QTFB]: FB Repaint triggered for  2027296 . Status:  false
DEBUG: fb_initialize: Framebuffer /dev/fb0 opened
DEBUG: fb_initialize: Screeninfo loaded
DEBUG: fb_initialize: mmapped 5256576 bytes of framebuffer
DEBUG: rm_defaults: Screen defaults set to: width=1404, height=1872, bpp=16, linelen=2808
DEBUG: rm_set_geometry: not implemented!
DEBUG: input_identify_input_devices: Device identified as RM1
ERROR: input_identify_input_devices: Could not create device from fd for path /dev/input/event2
ERROR: input_initialize: Could not determine input device locations.
ERROR: rm_initialize: could not initialize input devices. Exiting
[QTFB]: The client requested closing the connection.
[QTFB]: Disassociating framebuffer 2027296
[QTFB]: Closing client socket 41
10:53:02.990 default                  [AppLoad]: Process for "./nsfb" finished with exit code 1 and status QProcess::NormalExit
[QTFB]: Unregistered framebuffer controller ID: 2027296
#

When I run ./nsfb

./nsfb: error while loading shared libraries: libevdev.so.2: cannot open shared object file: No such file or directory
ruby finch
#

make sure you have the "LD_LIBRARY_PATH": ".", in manifest

#
{
  "name": "Netsurf",
  "application": "nsfb",
  "environment": {
    "LD_LIBRARY_PATH": ".",
    "LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
  },
  "qtfb": true
}
ruby finch
#

how did you get elinks on it?

fallen jasper
ruby finch
#

you may have to restart xovi too, cd && xovi/start

#

other than that, i dont know...

fallen jasper
#

Yes, xovi/debug or xovi/start.

#

But still not working.

ruby finch
#

did you place the files in /opt/ like in the guide

#

fonts etc

fallen jasper
ruby finch
#

Then im confused

sand plover
# ruby finch how did you get elinks on it?

Might give it another go, then. elinks is just a single binary, so you just need one that's compiled for your hardware (or compile one yourself). I probably did the latter, since I also use it on my rmpp

ruby finch
#

Ah ok

sand plover
sand plover
fallen jasper
#

Literm is working for me.

#

It's true that I couldn't even start koreader. There must be a mistake somewhere.

sand plover
#

One way would be to reinstall the latest releases from github. Literm is not using shims, it is a native qml app

fallen jasper
#

Sometimes I get this error in xovi/debug

[QTFB]: Failed to accept connection on the socket!
[QTFB]: Awaiting incoming connections to/tmp/qtfb.sock

fallen jasper
fallen jasper
#

I have latest on web but still the same issue. And koreader too.

ruby finch
fallen jasper
#

Not working, still the same error.

lunar narwhal
#

@fallen jasper Run "ls -al /home/root/shims /home/root/xovi/appload/netsurf"

#

And send me the results

fallen jasper
lunar narwhal
#

Ouch, wrong path from me, sorry

#

/home/root/xovi/exthome/appload/netsurf

fallen jasper
#

Yes I see

#
reMarkable: ~/ ls -al /home/root/shims /home/root/xovi/exthome/appload/netsurf
/home/root/shims:
drwxr-xr-x    2 root     root          4096 Aug 31 15:23 .
drwxr-xr-x   13 root     root          4096 Aug 31 15:02 ..
-rw-r--r--    1 root     root        358284 Aug 31 12:36 qtfb-shim-32bit.so
-rw-r--r--    1 root     root        358252 Aug 31 12:36 qtfb-shim.so

/home/root/xovi/exthome/appload/netsurf:
drwxr-xr-x    2 root     root          4096 Aug 31 15:06 .
drwxr-xr-x    6 root     root          4096 Aug 31 15:02 ..
-rw-r--r--    1 root     root           166 Aug 31 15:04 external.manifest.json
-rw-r--r--    1 root     root         63496 Aug 31 15:06 icon.png
-rwxr-xr-x    1 root     root         66928 Aug 31 15:03 libevdev.so.2
-rwxr-xr-x    1 root     root       8484224 Aug 31 15:02 nsfb
reMarkable: ~/ 
lunar narwhal
#

Ok, cat the manifest please

fallen jasper
#
{
  "name": "Netsurf",
  "application": "nsfb",
  "environment": {
    "LD_LIBRARY_PATH": ".",
    "LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
  },
  "qtfb": true
}
lunar narwhal
#

Do you have the latest version of the shim and of appload?

fallen jasper
#

Yes, install today. Download from github.

lunar narwhal
#

Oh shit the github is outdated

fallen jasper
#

But, something was issue, because koreader doesnot work too.

lunar narwhal
#

But shim is not. Use the shim I sent here

fallen jasper
#

This?
#1411413872476291135 message

#

I try it.

lunar narwhal
#

Yes

#

Your shim seems to be a lot smaller

#

~300KiB vs ~500KiB

fallen jasper
#

OK, I have from this place now.

#

xovi/debug

#

Wait please.

lunar narwhal
#

It worked

lunar narwhal
fallen jasper
#

OK, I forget now. Wait please.

#

Thank you. It working now. Problem was in qtfb-shim.so.
Now, koreader.
It doesn't work either. I'll try reinstalling again.

lunar narwhal
#

It should work with this shim

fallen jasper
ruby finch
fallen jasper
#

Thanks for sharing.

#

Povered by DuckDuckGo v1.2

ruby finch
#

Bit bummed i cant get cookies to work, so logins dont save :/

#

Could be permission issue

#

Or just not built in in this version of netsurf, its pretty old

#

I tried to build newer version but no idea how

visual onyx
#

so i just tried to install it on my RM2 but recieved this error when running it in debug 06:52:29.985 default [AppLoad]: Starting external binary "./nsfb"
[QTFB]: Awaiting incoming connections to/tmp/qtfb.sock
[QTFB]: Connection established from client. Sock FD is 4
[QTFB]: Defined SHM size5256576at
Message translations failed to load
DEBUG: fb_initialize: Framebuffer /dev/fb0 opened
DEBUG: fb_initialize: Screeninfo loaded
DEBUG: fb_initialize: mmapped 5256576 bytes of framebuffer
DEBUG: rm_defaults: Screen defaults set to: width=1404, height=1872, bpp=16, linelen=2808
DEBUG: rm_set_geometry: not implemented!
DEBUG: input_identify_input_devices: Device identified as RM1
DEBUG: input_identify_input_devices: Identified /dev/input/event2 as multitouch input
DEBUG: input_identify_input_devices: Identified /dev/input/event1 as GPIO input
DEBUG: input_identify_input_devices: Identified /dev/input/event0 as pen input
DEBUG: input_identify_input_devices: Identified all devices.
DEBUG: input_initialize: Multitouch device has 4 slots, x is between 0 and 767, y is between 0 and 1023)
DEBUG: input_initialize: pen device x is between 0 and 20967, y is between 0 and 15725)
[QTFB]: Could not find the framebuffer to update.
[QTFB]: Could not find the framebuffer to update.

lunar narwhal
#

Either the shim, appload, or you still have old qtfb installed

fallen jasper
#

#1411413872476291135 message

visual onyx
#

yeah i had a really old appload . works now . hopefully this will let me login to my works wifi that requires a code to be entered

fallen jasper
#

I do not think so.

#

Netsurf is very light browser.

ruby finch
#

you can log in to some things, but it doesnt remember cookies for some reason

sacred creek
#

I just went through the guide here: https://akselmo.dev/posts/netsurf-on-remarkable-2/ . It seems to work, but only if I install the resources into the root partition. Is there any way to install them in /home/? Changing the paths for the fonts in ~/.netsurf/Choices/ seems to work, but it didn't look like there was a config path for the resources.

ruby finch
#

Might be hard coded, dunno

sly bear
#

@ruby finch no matter what I try when I try to swipe down to "exit" netsurf, I either get the "wifi/airplane mode pulldown on far right) or I get nothing. I am using the shim and latest appload. Perhaps I am being dumb, but how do I access the appload exit x ? (works fine on my other appload apps, just not this one)

ruby finch
#

its a bit fiddly but i place my finger on center of the address bar, then slide it down ~2cm

#

not very fast either

#

i would share a video but apparently its huge size so i can

sly bear
#

I tried that, doesn't matter what I do, I cant get the pulldown x

#

my external.manifest.json

#

{
"name": "Netsurf",
"application": "nsfb",
"environment": {
"LD_LIBRARY_PATH": ".",
"LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
},
"qtfb": true
}

#

I am using the shim that asivery put up in the thread here, and the latest appload. As I say, it works for my rm-stream (slide down to get the bar to close etc) just not on netsurf

sly bear
#

If I do a xovi/debug while sliding finger down, I get........ libevdev error in sanitize_event: BUG: Device "cyttsp5_mt" received a double tracking ID 50 in slot 1.

sly bear
#

yeah, no matter what I do, I get libevdev error in sanitize_event: BUG: Device "cyttsp5_mt" received a double tracking ID 50 in slot 1. Hopefully @lunar narwhal knows what this means

#

10:18:28.535 default Process error for "./nsfb" : QProcess::Crashed
10:18:28.535 default [AppLoad]: Process for "./nsfb" finished with exit code 2 and status QProcess::CrashExit
[QTFB]: Unregistered framebuffer controller ID: 5035170

visual onyx
#

Yeah didn’t work on my works WiFi haha. I swipe down over the forward and back button area it works better than over the address bar or zoom buttons

sand plover
sly bear
#

Let me pull them from my rM2 so they are the actual ones

sly bear
lunar narwhal
#

I've checked the files and they are all correct. No clue why that's happening. I will investigate it further when I get my rM1 fixed

sly bear
#

Could rM-Stream / framebufferspy have any affect on this ? Is it worth removing them temporarily to check, or waste of time and effort ?

sly bear
#

@ruby finch are you on rM2 ? And are you on 3.20 or 3.22 ?

ruby finch
#

rm2 3.22.0.62

sly bear
#

Same, except 3.22.064.... I just don't get why I have issues sliding down to close, appload close works fine on my other appload apps

sly bear
#

I was swiping too far down, it's a tiny movement, got it figured out now

ruby finch
#

if anyone wants better defaults (IMO) here's my choices file

homepage_url:about:welcome
fb_download_directory:/home/root/Downloads
fb_xochitl_restart_command:/home/root/xovi/start

font_size:180
font_min_size:180

scale:100
enable_javascript:1
fb_font_cachesize:4096

fb_face_sans_serif:/opt/share/fonts/ttf-dejavu/DejaVuSans.ttf
fb_face_sans_serif_bold:/opt/share/fonts/ttf-dejavu/DejaVuSans-Bold.ttf
fb_face_sans_serif_italic:/opt/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf
fb_face_sans_serif_italic_bold:/opt/share/fonts/ttf-dejavu/DejaVuSans-BoldOblique.ttf
fb_face_serif:/opt/share/fonts/ttf-dejavu/DejaVuSansMono.ttf
fb_face_serif_bold:/opt/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf
fb_face_cursive:/opt/share/fonts/ttf-dejavu/DejaVuSerif-Italic.ttf
fb_face_monospace:/opt/share/fonts/ttf-dejavu/DejaVuSansMono.ttf
fb_face_monospace_bold:/opt/share/fonts/ttf-dejavu/DejaVuSansMono-Bold.ttf
fb_face_fantasy:/opt/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf

fb_toolbar_layout:blfsrutpmc
fb_toolbar_size:60
fb_furniture_size:40
fb_osk:1

cookie_file:/home/root/.netsurf/Cookies
cookie_jar:/home/root/.netsurf/CookieJar

history_age:365
fallen jasper
#

What is the change? I can't check now.

ruby finch
#
  • set restart command to /home/root/xovi/start so it restarts xovi instead
  • set minimum fontsize larger and set scale to 100 (scaling causes font overlapping issues at times)
  • set the font cachesize a bit larger for faster loading
  • set toolbar layout to have close button, so you dont need to use the window manager to close it
  • add cookie_file and cookie_jar locations, though they dont work for some reason, cookies are not being saved 🙁
  • set history to a year, which i hoped to help with cookies but apparently not
visual onyx
#

are you guys getting the SSL CA certs path error?

#

i had to add this to my Choices file ca_bundle:/opt/usr/share/netsurf/ca-bundle
ca_path:/etc/ssl/certs

sly bear
#

what site were you on, I haven’t got that error on several sites yet

visual onyx
#

wikipedia and mostly other sites

sly bear
#

The one thing I have seen is that JS support is extremely limited and antiquated

#

Nope Wikipedia worked fine for me without adding any certs

fallen jasper
#

Hi, shim and appload for new rm firmware?

#

Do have anyone?

half ruin
#
18:55:42.779 default                  [QTFB]: Re-register framebuffer  -1 as 5524409
[QTFB]: Unregistered framebuffer controller ID: -1
[QTFB]: Registered framebuffer controller ID: 5524409
18:55:42.780 default                  [AppLoad]: Starting external binary "./nsfb"
18:55:42.806 default                  [QTFB]: FB Repaint triggered for  5524409 . Status:  false
[QTFB]: Awaiting incoming connections to/tmp/qtfb.sock
[QTFB]: Connection established from client. Sock FD is 52
[QTFB]: Defined SHM size5256576at
[QTFB]: Associated connection <==> framebuffer 5524409
Message translations failed to load
18:55:42.965 default                  [QTFB]: FB Repaint triggered for  5524409 . Status:  true
DEBUG: fb_initialize: Framebuffer /dev/fb0 opened
DEBUG: fb_initialize: Screeninfo loaded
DEBUG: fb_initialize: mmapped 5256576 bytes of framebuffer
DEBUG: rm_defaults: Screen defaults set to: width=1404, height=1872, bpp=16, linelen=2808
DEBUG: rm_set_geometry: not implemented!
DEBUG: input_identify_input_devices: Device identified as RM1
DEBUG: input_identify_input_devices: Identified /dev/input/event2 as multitouch input
DEBUG: input_identify_input_devices: Identified /dev/input/event1 as GPIO input
DEBUG: input_identify_input_devices: Identified /dev/input/event0 as pen input
DEBUG: input_identify_input_devices: Identified all devices.
DEBUG: input_initialize: Multitouch device has 4 slots, x is between 0 and 767, y is between 0 and 1023)
DEBUG: input_initialize: pen device x is between 0 and 20967, y is between 0 and 15725)
Unable to initialise the font system
[QTFB]: The client requested closing the connection.
[QTFB]: Disassociating framebuffer 5524409
[QTFB]: Closing client socket 52
[QTFB]: Unregistered framebuffer controller ID: 5524409
18:55:43.194 default                  [AppLoad]: Process for "./nsfb" finished with exit code 1 and status QProcess::NormalExit
#
root@reMarkable:~/xovi/exthome/appload/netsurf# cat external.manifest.json
{
  "name": "Netsurf",
  "application": "nsfb",
  "environment": {
    "LD_LIBRARY_PATH": ".",
    "LD_PRELOAD": "/home/root/shims/qtfb-shim.so"
  },
  "qtfb": true
}
ruby finch
# half ruin

make sure the choices file points to the correct font location

half ruin
#

That was the problem thanks

#

Other problem, I have a Fetching, Processing and Loading loop

fallen jasper
#

Welcome is not working for me too.

#

Try other web page.

half ruin
#

I tried http://frogfind.com/ and https://www.google.com/ and nothing.

Fetching, Processing and Loading at the left bottom of the page is looping. (Like in the video)

fallen jasper
#

Wifi is ok?

half ruin
#

Yep, I'm able to ssh in my remarkable

fallen jasper
#

Do you have theese files?

sly bear
#

my welcome.html

#

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<body>
<h1 class="banner"><a href="https://www.netsurf-browser.org/"><img src="about:logo" alt="NetSurf"></a></h1>
<br>
<h3 class="version">Bookmarks</h3>
<ul>
<li><a href="https://www.google.com">Google</a><br><br>
<li><a href="https://en.wikipedia.org/wiki/Main_Page">Wikipedia</a><br><br>
<li><a href="http://frogfind.com">FrogFind</a><br><br>
<li><a href="https://duckduckgo.com">DuckDuckGo</a><br><br>
<li><a href="https://wttr.in/London">Wttr</a><br><br>
</ul>

<div class="footer">
<p>NetSurf is licensed under the GNU Public Licence version 2</p>
</div>
</div>

</body>
</html>

#

this is found at /opt/usr/share/netsurf/en/welcome.html

fallen jasper
#

And theese?

half ruin
#

Yes

#

I think I messed up this part:

Last step is to place the contents of the resources folder you downloaded inside this path: /opt/usr/share/netsurf/. If the path doesn't exist, create them.

Then, download DejaVu fonts and place all the TTF files in /opt/share/fonts/ttf-dejavu/. Again, create paths if they do not exist.
fallen jasper
half ruin
#

/opt/usr/share/netsurf/
/opt/share/fonts/ttf-dejavu/

I dont have the usr directory

sly bear
#

you in opt/share
opt/usr/share

fallen jasper
half ruin
#

Yep, that was the problem hahaah

#

Thanks

ruby finch
#

Note that when updating the device, the /opt/ folder can disappear, so back it up

wooden plume
#

does it have any menus?

#

setting a history age kinda suggests a history menu

#

but how do i open it?

ruby finch
#

theres no history menu afaik

#

the framebuffer version that rm2 uses is very barebones

wooden plume
#

is this only an issue in the remarkable port?

ruby finch
#

some of the settings are for the normal gui version

wooden plume
#

ah

#

makes sense i guess

#

okay thanks for the help

#

tho i have a few corrections/suggestions for the blog post

#

if you can edit it

wooden plume
ruby finch
#

sometimes, its bit buggy i gues

wooden plume
#

For me at least, touches are mirrored horizontally

#
"QTFB_SHIM_MODEL": "false",
"QTFB_SHIM_INPUT_MODE": "NATIVE"

you need these envvars