lv_port_linux icon indicating copy to clipboard operation
lv_port_linux copied to clipboard

how do i run this repo

Open qNnOtTk opened this issue 2 years ago • 5 comments

i wanna run littlevgl on /dev/fb1 but i have no idea where to start also, the tutorial isnt helpful at all, its 4 years old

qNnOtTk avatar Apr 19 '22 20:04 qNnOtTk

Just change the frame buffer device here and build it with make.

kisvegabor avatar Apr 20 '22 09:04 kisvegabor

i compiled it, running ./demo gives me this error

rock@radxa-zero:~/lv_port_linux_frame_buffer$ sudo ./demo
ioctl(FBIOBLANK): Invalid argument

I also tried running DISPLAY=:0 ./demo but still not working

update: i got it working without any error messages, removing line 97-101 seems to have fixed the problem, but all i can see on fb1 is some off white color, and black lines next to it

qNnOtTk avatar Apr 20 '22 10:04 qNnOtTk

I also wanted to suggested to remove the FBIOBLANK line. :slightly_smiling_face:

Please send a screen shot.

kisvegabor avatar Apr 21 '22 13:04 kisvegabor

@qNnOtTk you can't just run it on your host ! it's probably running X11 or Wyland, try it on a target with framebuffer

embetrix avatar Jul 13 '22 09:07 embetrix

To run this repo, your linux kernel must support frame buffer driver or DRM/KMS driver with legacy fbdev support. Also this repo can run in Wayland environment with or without X11!

symfund avatar Sep 16 '22 06:09 symfund

lvgl-wayland-calendar

symfund avatar Dec 25 '22 02:12 symfund

Hi sorry i forgot about this issue i made, anyway, i figured out how to run it on X11, i just hid the cursor and ran it on fullscreen and its good enough for me, thanks for the help

qNnOtTk avatar Dec 25 '22 18:12 qNnOtTk