You are not logged in.

#1 2020-04-15 14:46:20

msalek
Member
From: Casablanca
Registered: 2020-04-14
Posts: 4

nanodlp on pcDuino1

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

#2 2020-04-16 11:06:54

Sint
Member
Registered: 2018-06-06
Posts: 25

Re: nanodlp on pcDuino1

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

#3 2020-04-17 11:09:50

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: nanodlp on pcDuino1

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

#4 2020-04-17 17:36:42

msalek
Member
From: Casablanca
Registered: 2020-04-14
Posts: 4

Re: nanodlp on pcDuino1

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

#5 2020-04-17 18:18:40

msalek
Member
From: Casablanca
Registered: 2020-04-14
Posts: 4

Re: nanodlp on pcDuino1

Again i have glfw 3.0.4 installed and opengl too but the same error message.

Offline

#6 2020-04-17 19:14:57

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: nanodlp on pcDuino1

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

#7 2020-04-17 20:15:58

msalek
Member
From: Casablanca
Registered: 2020-04-14
Posts: 4

Re: nanodlp on pcDuino1

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

#8 2020-04-19 21:06:15

gerry_c89
Member
Registered: 2020-04-19
Posts: 10

Re: nanodlp on pcDuino1

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

#9 2020-04-20 15:08:19

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: nanodlp on pcDuino1

Will check and update the both thread.

Offline

#10 2020-04-22 19:22:17

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: nanodlp on pcDuino1

Please, check the latest beta version.

Offline

Board footer

Powered by FluxBB