Re: [Machinekit] mklauncher "Can not find -sec DISPLAY -var INTRO_GRAPHIC"

2018-08-11 Thread Cameron McQuinn
Thanks for your help in pointing out the cause of the error. I changed back 
to kernel 4.9 and that fixed the issue.

Cameron

On Wednesday, August 8, 2018 at 1:38:19 AM UTC-6, Schooner wrote:
>
>
> On 08/08/18 03:43, Cameron McQuinn wrote: 
>
> ..was able to successfully start the config several months ago, 
> but I had to set the project aside for a while. When I returned, I 
> upgraded the kernel from 4.9 to 4.14, and upgraded machinekit and 
> QtQuickVcp to the latest versions, but didnt' change anything else. 
>
> The error in your title is consequential not causal. 
>
> The error is here. 
> I will leave those who know more about it to pinpoint what caused it.  I 
> would tend to suspect the kernel change and wonder if the firmware is 
> present or correct. 
> > Aug  8 02:01:24 socfpga rtapi:0: 4:rtapi_app:1890:user hm2_soc_ol: 
> soc_program_fpga 
> > Aug  8 02:01:24 socfpga rtapi:0: 4:rtapi_app:1890:user hm2_soc_ol: FPGA 
> overlay status: applied 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: 
> failed to map hm2-socfpga0 to /dev/uioX 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: 
> soc_mmap_fail hm2-socfpga0 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2/foo: failed 
> to program fpga, aborting hm2_register 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user foo: 
> hm2_soc_ol_board fails HM2 registration 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: error 
> registering UIO driver: -22 
> > Aug  8 02:01:26 socfpga rtapi:0: hal_call_usrfunct(newinst,-- 
> config="firmware=zynq/dtbo/replicookie_7z020_ol.dtbo num_pwmgens=5 
> num_stepgens=5" debug=1 already_programmed=1) failed: -1 - Operation not 
> permitted 
> > Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user 
> hal_call_usrfunct(newinst,-- 
> config="firmware=zynq/dtbo/replicookie_7z020_ol.dtbo num_pwmgens=5 
> num_stepgens=5" debug=1 already_programmed=1) failed: -1 - Operation not 
> permitted 
> > Aug  8 02:01:26 socfpga msgd:0: hal_lib:1904:user halg_exit:293 HAL: 
> removing component 99 'halcmd1904' 
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] mklauncher "Can not find -sec DISPLAY -var INTRO_GRAPHIC"

2018-08-08 Thread 'schoone...@btinternet.com' via Machinekit



On 08/08/18 03:43, Cameron McQuinn wrote:

..was able to successfully start the config several months ago, 
but I had to set the project aside for a while. When I returned, I 
upgraded the kernel from 4.9 to 4.14, and upgraded machinekit and 
QtQuickVcp to the latest versions, but didnt' change anything else.


The error in your title is consequential not causal.

The error is here.
I will leave those who know more about it to pinpoint what caused it.  I 
would tend to suspect the kernel change and wonder if the firmware is 
present or correct.

Aug  8 02:01:24 socfpga rtapi:0: 4:rtapi_app:1890:user hm2_soc_ol: 
soc_program_fpga
Aug  8 02:01:24 socfpga rtapi:0: 4:rtapi_app:1890:user hm2_soc_ol: FPGA overlay 
status: applied
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: failed to 
map hm2-socfpga0 to /dev/uioX
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: 
soc_mmap_fail hm2-socfpga0
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2/foo: failed to 
program fpga, aborting hm2_register
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user foo: hm2_soc_ol_board 
fails HM2 registration
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hm2_soc_ol: error 
registering UIO driver: -22
Aug  8 02:01:26 socfpga rtapi:0: hal_call_usrfunct(newinst,-- 
config="firmware=zynq/dtbo/replicookie_7z020_ol.dtbo num_pwmgens=5 
num_stepgens=5" debug=1 already_programmed=1) failed: -1 - Operation not permitted
Aug  8 02:01:26 socfpga rtapi:0: 1:rtapi_app:1890:user hal_call_usrfunct(newinst,-- 
config="firmware=zynq/dtbo/replicookie_7z020_ol.dtbo num_pwmgens=5 
num_stepgens=5" debug=1 already_programmed=1) failed: -1 - Operation not permitted
Aug  8 02:01:26 socfpga msgd:0: hal_lib:1904:user halg_exit:293 HAL: removing 
component 99 'halcmd1904'


--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups "Machinekit" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] mklauncher "Can not find -sec DISPLAY -var INTRO_GRAPHIC"

2018-08-07 Thread Cameron McQuinn
Hi everyone,

I am trying to run a qtquickvcp-based config on my Snickerdoodle, but the 
launch fails. The linuxcnc_debug.txt file records the error "Can not find 
-sec DISPLAY -var INTRO_GRAPHIC". The config I am using is based of the 
ones created by MIchael Brown, and can be found in this 
 repo. I am trying to run the HAL 
Snickerdoodle config using the run.py python script. I am using the latest 
version of machinekit from the repo, and the latest version of QtQuickVcp 
compiled from source for armhf.

I was able to successfully start the config several months ago, but I had 
to set the project aside for a while. When I returned, I upgraded the 
kernel from 4.9 to 4.14, and upgraded machinekit and QtQuickVcp to the 
latest versions, but didnt' change anything else.

I have attached relevant log files, and am happy to provide more detail if 
necessary.

Thanks,
Cameron

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
Aug  8 02:01:22 socfpga msgd:0: startup pid=1885 flavor=rt-preempt rtlevel=5 
usrlevel=5 halsize=524288 shm=Posix cc=gcc 6.3.0 20170516  
version=v0.1~-~5d86a7e
Aug  8 02:01:22 socfpga msgd:0: ØMQ=4.2.1 czmq=4.0.2 protobuf=3.0.0 atomics=gcc 
intrinsicslibwebsockets=2.0.3
Aug  8 02:01:22 socfpga msgd:0: configured: sha=5d86a7e
Aug  8 02:01:22 socfpga msgd:0: built:  Jul 24 2018 16:00:52 sha=5d86a7e
Aug  8 02:01:22 socfpga msgd:0: register_stuff: actual hostname as announced by 
avahi='socfpga.local'
Aug  8 02:01:22 socfpga msgd:0: zeroconf: registering: 'Log service on 
socfpga.local pid 1885'
Aug  8 02:01:22 socfpga rtapi:0: 2:rtapi_app:1890:user rtapi:0: cannot create 
core dumps - /proc/sys/fs/suid_dumpable contains 0
Aug  8 02:01:22 socfpga rtapi:0: 2:rtapi_app:1890:user you might have to run 
'echo 1 > /proc/sys/fs/suid_dumpable' as root to enable rtapi_app core dumps
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user rtapi.so default iparms: 
''
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user RTAPI:0  rt-preempt 
v0.1~-~5d86a7e init
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user rtapi: loaded from 
rtapi.so
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user hal_lib.so default 
iparms: ''
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user rtapi_app_main:195 HAL: 
initializing RT hal_lib support
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user halg_xinitfv:90 HAL: 
initializing component 'hal_lib' type=4 arg1=0 arg2=0/0x0
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user hal_heap_addmem:58 HAL: 
extending arena by 262144 bytes
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user halg_export_xfunctfv:85 
HAL: exporting function 'newinst' type 2 fp=0 owner=66
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user halg_export_xfunctfv:85 
HAL: exporting function 'delinst' type 2 fp=0 owner=66
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user halg_xinitfv:271 HAL: 
singleton component 'hal_lib' id=66 initialized
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user rtapi_app_main:199 HAL: 
RT hal_lib support initialized rc=66
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user hal_lib: loaded from 
hal_lib.so
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user accepting commands at 
ipc:///tmp/0.rtapi.a42c8c6b-4025-4f83-ba28-dad21114744a
Aug  8 02:01:23 socfpga rtapi:0: 3:rtapi_app:1890:user rtapi_app:0 ready 
flavor=rt-preempt gcc=6.3.0 20170516 git=v0.1~-~5d86a7e
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user pid=1890 
flavor=rt-preempt gcc=6.3.0 20170516 git=v0.1~-~5d86a7e
Aug  8 02:01:23 socfpga rtapi:0: 4:rtapi_app:1890:user pid=1890 
flavor=rt-preempt gcc=6.3.0 20170516 git=v0.1~-~5d86a7e
Aug  8 02:01:23 socfpga msgd:0: zeroconf: registered 'Log service on 
socfpga.local pid 1885' _machinekit._tcp 49152 TXT 
"uuid=a42c8c6b-4025-4f83-ba28-dad21114744a" 
"instance=f2f28674-9aae-11e8-9c8a-c8fd19920861" "service=log" 
"dsn=tcp://socfpga.local:49152"
Aug  8 02:01:23 socfpga msgd:0: ulapi:1891:user _ulapi_init(): ulapi rt-preempt 
v0.1~-~5d86a7e loaded
Aug  8 02:01:23 socfpga msgd:0: ulapi:1891:user halg_xinitfv:271 HAL: singleton 
component 'hal_lib1891' id=70 initialized
Aug  8 02:01:23 socfpga msgd:0: hal_lib:1891:user --halcmd ping
Aug  8 02:01:23 socfpga msgd:0: hal_lib:1891:user halg_exit:293 HAL: removing 
component 72 'halcmd1891'
Aug  8 02:01:23 socfpga msgd:0: hal_lib:1891:user ulapi_hal_lib_cleanup:235 
HAL: lib_module_id=70
Aug  8 02:01:23 socfpga msgd:0: hal_lib:1891:user halg_exit:293 HAL: removing 
component 70 'hal_lib1891'
Aug  8 02:01:23