On 12/19/2013 3:29 PM, Alex Joni wrote: > I struggled in the last couple of weeks to get some more out of the BBB + > LinuxCNC setup, mainly the display part was suboptimal. > > my setup > ----------- > > bbb connected through the USB (and eth tunnelled over that - 192.168.7.2) to > a laptop (192.168.7.1). > > 1. laptop running Linux > > There were some performance issues with running AXIS (especially the OpenGL > part). > Here are some comments from jepler which improve things: > {[01:04:32]} <jepler> this makes it use the glx wire protocol instead: sudo > chmod 000 /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so > {[01:14:15]} <jepler> changing the task timeout to 10ms instead of 1ms knocks > milltask way down > {[01:14:45]} <jepler> ssh encryption takes 30% CPU > {[01:27:26]} <jepler> this seems to be a bit lighter on the CPU: ssh -X -o > "Ciphers=arcfour" linuxcnc@192.168.7.2 > > 2. laptop running Win > > I played around with a couple X servers (Cygwin/X, Mingw+X, Xming) but the > best results I got with Xming-mesa. > For Xming-mesa I still had to have the swrast_dri.so accessible (sudo chmod > 644 /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so) in order for things to > work. > > here’s a short video how it works: > http://www.youtube.com/watch?v=ZuE1JWFbbOU
Impressive results! The backplot display actually looks like it might be usable (at least when you didn't just load a 10 MB 3D print file with a few hundred thousand lines of gcode). Note that you can also use the null cipher (no encryption) with ssh, but you have to coerce both ends into allowing this. You can also just forward the raw X display without tunneling (I've verified this with the Cygwin X server, but I haven't tried it with swrast_dri.so fix). Thanks for sharing! -- Charles Steinkuehler char...@steinkuehler.net
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users