You are not logged in.
Pages: 1
Hello,
We try to run nanodlp on pcDuino1. with Ubuntu first i have installed some library libpng12-0 libpng-dev usbmount ntfs-3g.
nanodlp run and i select generic profile.
when i try to display calibration nanodlp stop with this message :
2020/04/15 14:25:47.755010 {"Layer":"0","module":"Image","level":"Warning","msg":"Display layer public/plates/dynamic.png"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4ca078]
goroutine 52 [running]:
projects/printer/app/hw.ShowFrame(0x794862, 0x19, 0x794862)
/home/shahin/go/src/projects/printer/app/hw/hardware.go:115 +0x140
created by projects/printer/app/web.projectorAction
/home/shahin/go/src/projects/printer/app/web/projector.go:49 +0xf0
ubuntu@ubuntu:~/nanodlp$
Any ideas is welcome
Offline
Not what you want to hear but. Simple solution is to get a Raspberry Pi. NanoDLP was made to run on Raspberry. And normal pc's second.
Last edited by Sint (2020-04-16 11:07:13)
Offline
I did not expect it even run on pcDuino1. Enable framebuffer on the setup page see if it helps.
You should use generic arm version. It will be enough to just replace binary called printer
https://www.nanodlp.com/download/nanodlp.arm.zip
Offline
I Enable framebuffer and i have the same results,
with fbi framebuffer i can display a jpg or png from console.
nanodlp use GLFW/OpenGL, maybe need to be installed on the pcDuino1 ??
Last edited by msalek (2020-04-17 17:44:00)
Offline
Again i have glfw 3.0.4 installed and opengl too but the same error message.
Offline
No, on ARM version it use framebuffer only which does not require opengl.
It is better to use ubuntu server version as desktop could cause issue with ARM version.
Offline
yes we use server version, the framebuffer work on my console perfectly using fbi.
in nanodlp is crach with framebuffer too.
projects/printer/app/hw.ShowFrame(0x794862, 0x19, 0x794862)
/home/shahin/go/src/projects/printer/app/hw/hardware.go:115 +0x140
created by projects/printer/app/web.projectorAction
/home/shahin/go/src/projects/printer/app/web/projector.go:49 +0xf0
any idea about this line in code ?
/home/shahin/go/src/projects/printer/app/hw/hardware.go:115 +0x140
Offline
hi to all, i have same issue with other board, i have writed the details in a post on bug report section
https://www.nanodlp.com/forum/viewtopic.php?id=2457
Last edited by gerry_c89 (2020-04-19 21:06:41)
Offline
Will check and update the both thread.
Offline
Please, check the latest beta version.
Offline
Pages: 1