Notes on PineNote

X11 works. xinput test-xi2 shows TouchStart TouchUpdate TouchEnd events. detail of these events is the touch point id.

Pen is RawMotion Motion. device: 2 (8) is pen tip. 2 (9) is pen end (“eraser”).

X11 patch (config.fish):

if status is-login
    set -x XAUTHORITY /run/user/1000/.mutter-Xwaylandauth.*
    if set -q XAUTHORITY[1]
        set -x DISPLAY :0
    end
end

Graphics API

Mesa docs for panfrost

GPU: Mali-G52 r1. Is only OpenGL (ES) 3.1 conformant. Try with eglgears_wayland eglgears_x11.

Refresh rate is slow because e-ink.

VSYNC: TK

Raylib+GLFW3: cmake -B build -DGRAPHICS=GRAPHICS_API_OPENGL_21 (default is 3.3, not available)

GLFW3+OpenGL+X11: YES

GLFW3+Wayland: the package from debian apt can’t use wayland. not even with libglfw3-wayland (it’s just a copyright file).

Cross-compile

Zig 0.15.1’s --sysroot is broken, because it will first use headers from local root directory, and then sysroot. (Github issue)