#linuxcnc-devel Logs

Jul 18 2018

#linuxcnc-devel Calendar

12:21 AM micges_ is now known as micges
02:55 PM rmu: hazzy-lab: do you know the "proper" qtvcp branch? I'm currently on qt5_vcp_cleanup, but there also seems to be recent activity on qt5vcp_py2
02:57 PM hazzy-lab: rmu: cleanup should be merged into qt5vcp_py2, so I guess just PR to whatever branch you used as the base ..
02:57 PM hazzy-lab: its all a little unorganized right now
03:00 PM rmu: i think my changes depend on the stuff in the cleanup branch (DRO ENUM, got rid of a bunch of properties that didn't seem to belong to anything in the ui file)
03:06 PM hazzy-lab: excellent!
04:27 PM rmu: very strange
04:27 PM rmu: tried qtvcp on the raspberry pi, won't work
04:28 PM rmu: "invalid operation" in File "/home/pi/src/linuxcnc/lib/python/qt5_graphics.py", line 486, in makeObject
04:28 PM hazzy-lab: rmu: Oh, makeObject causes all kinda of problems :D
04:29 PM hazzy-lab: comment out the call to makeObject() and see what happens
04:29 PM hazzy-lab: It is not needed, just left over code from a Qt example
04:34 PM rmu: hazzy-lab: it seems at initializeGL time the framebuffer is not guaranteed to be available
04:34 PM rmu: commenting that out bombs out in resizeGL, patching that leaves mit with AttributeError: 'Info' object has no attribute 'POSTGUI_HALFILE_PATH'
04:36 PM rmu: in theory, i'm on the same version on pi and pc, but that can't be the case
04:41 PM rmu: aaah leftover .pyc files
04:41 PM rmu: grmbl
05:27 PM rmu: hazzy-lab: seems raspbian Qt is built and linked with libGLES instead libGL
05:42 PM hazzy-lab: rmu: hmm, it might also be a conflict with minigl, I remember having some trouble getting minigl to work with the QGLArea
05:54 PM rmu: pi@raspberrypi3bplus:~/src/linuxcnc $ ldd /usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5.7
05:55 PM rmu: [...]
05:55 PM rmu: libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0x7607b000)
05:56 PM rmu: perhaps jwz's GL to GLES "translator" for xscreensaver can help, but it's probably easier to just rebuild Qt with proper OpenGL-support
08:00 PM jepler: last time I dabbled in ARM boards, there was no proper OpenGL 1.x API support. Proper translation of the gremlin stack to GLES seemed necessary, but I was not sufficiently motivated to do it.
09:46 PM aircooled is now known as hazzy-lab1
09:46 PM hazzy-lab1 is now known as hazzy-lab
10:05 PM pcw_home: jepler: thanks for looking at/fixing the PID issue