Re: [Emc-users] Guidance on usb comp

2011-02-25 Thread Peter Blodow
Phil,
what makes me appreciate EMC2 so much is the fact that I can use a 
regular off-the-shelf-PC and it will perform all there is needed to run 
a machine. Basically, no controller box, no C programming, no stepper 
indexer etc. re necessary. The price is that you can't upgrade your 
Linux. So what?

I don't see the use of upgrading a perfectly running operating system if 
it does all it is supposed to (never change a winning team!). In case 
you feel the need for an upgrade it will be for another purpose aside of 
EMC - well, take another PC for that other purpose as you can find them 
thrown out at every company's junkyard.

If you are so good in electronics and programming that you don't need 
EMC's real time features, why don't you build your own specific 
controller, write your code by yourself and forget EMC?

EMC comprises great features for running CNC machines, almost for free, 
and it is not supposed to substitute expensive dedicated machine control 
computers (although it seems to be able for this, too, as we have seen 
in examples).

Peter


 My concern is the following:

 Note: Do Not upgrade Ubuntu from the installed version as it will prevent
 EMC from working.

 If EMC was running on pure stock Linux rather than Linux+Realtime extensions
 it would be able to tollerate upgrades through the regular process.

 If the responsibility for timing was shifted from the kernel to the
 controller it would not be necessary to run with the 'realtime' package
 installed in the kernel.



   
 However if it was a windows os there would be lots of hacking going on to
 get something that appears to be real time
 


 Windows is not built to support real time. Although rather ironically the
 original kernel was. It is pretty difficult to timeshare a machine between
 real time tasks and supporting a GUI with real-time response. One or the
 other is going to end up taking precedence.

 The problem with USB is that it is a contended bus. So even if your host is
 running in real time there is no guarantee that signals get out to the end
 points in real time. That is why there is still a demand for MIDI interfaces
 despite them being much slower than USB.

 I would really prefer to have separate CPUs dedicated to scheduling and GUI.
 That way I don't have to worry about keeping the timing clean over the data
 wires, the only timing sensitive wires are carrying the signal.


 If I could eliminate the parallel port requirement, I can eliminate the need
 for a separate controller box entirely and just bring down one of the
 laptops when necessary.

 It also makes it possible to use the mill and the lathe simultaneously from
 a single host.



   
 -Original Message-
 From: Phillip Hallam-Baker hal...@gmail.com
 Date: Thu, 24 Feb 2011 12:03:05
 To: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
 Reply-To: Enhanced Machine Controller \(EMC\)
emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Guidance on usb comp

 On Thu, Feb 24, 2011 at 6:44 AM, John Thornton bjt...@gmail.com wrote:

 
 Frank Tkalcevic wrote:
   
 The PoKeys55 docs claim that the device implements a standard USB HID
 keyboard and joystick.  Based on that, I'd expect it to just work with
 hal_input.  Is that not the case?

   
 You are correct.  It doesn't use the HID Descriptor reports, so generic
 software can't query the device for its capabilities or message
 
 formats.
 
 Their messaging is specified in their document, but needs to be code
 specifically.

 The pokeys makers approached me to add support for it to hidcomp, but
 
 given
   
 how little spare time I have, it was too much work.

 
 What would be involved in getting it to work?

 When I tested it I only tested the analog inputs then lost track of it
 for a while.
   
 It would be nice if there was a way to interface CNC equipment via USB such
 that the timing of actions was being scheduled in the controller rather
 than
 by the host O/S.

 That way it would not be necessary to run a specific version of the O/S
 hacked up to provide real time scheduling. All that would be necessary
 would
 be to have the host able to guarantee response within a few seconds.


 Parallel ports are effectively obsolete these days and finding a
 motherboard
 with support is starting to confine selection. So this is effectively
 meaning I have to use an obsolete machine that I am not sure I could
 replace
 in a hurry.

 Making such an implementation safe would require a little more. There
 really
 should be some form of safety switch in the loop and that really should be
 capable of shutting the machine down dead, cutting power to the stepper
 motors and the spindle.

 A safety stop should be hardwired and failsafe.


 I am just making a box for my xylotec controller and I am seriously
 thinking
 about adding a safety stop and routing power to the machine being driven
 through the box.

 But in the longer term, 

Re: [Emc-users] Guidance on usb comp

2011-02-25 Thread James Louis
All,

I have to agree with Peter.
EMC2 has allowed me, as a hobbyist, to build an affordable  CAD  CAM  post 
processor  CNC system that rivals the big name ones I use in my workplace.  
Tool tables, pre-setter, homing, coolant, cutter comp, etc.
I have huge respect for the intellectual curiosity of command line Linux 
coders, but if you want to make chips using off-the-shelf hardware for a 
retrofit or new build then EMC2 is perfect.  Many thanks to its developers!

Jim

-Original Message-
From: Peter Blodow [mailto:p.blo...@dreki.de]
Sent: Friday, February 25, 2011 3:21 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Guidance on usb comp

Phil,
what makes me appreciate EMC2 so much is the fact that I can use a
regular off-the-shelf-PC and it will perform all there is needed to run
a machine. Basically, no controller box, no C programming, no stepper
indexer etc. re necessary. The price is that you can't upgrade your
Linux. So what?

I don't see the use of upgrading a perfectly running operating system if
it does all it is supposed to (never change a winning team!). In case
you feel the need for an upgrade it will be for another purpose aside of
EMC - well, take another PC for that other purpose as you can find them
thrown out at every company's junkyard.

If you are so good in electronics and programming that you don't need
EMC's real time features, why don't you build your own specific
controller, write your code by yourself and forget EMC?

EMC comprises great features for running CNC machines, almost for free,
and it is not supposed to substitute expensive dedicated machine control
computers (although it seems to be able for this, too, as we have seen
in examples).

Peter


 My concern is the following:

 Note: Do Not upgrade Ubuntu from the installed version as it will prevent
 EMC from working.

 If EMC was running on pure stock Linux rather than Linux+Realtime extensions
 it would be able to tollerate upgrades through the regular process.

 If the responsibility for timing was shifted from the kernel to the
 controller it would not be necessary to run with the 'realtime' package
 installed in the kernel.




 However if it was a windows os there would be lots of hacking going on to
 get something that appears to be real time



 Windows is not built to support real time. Although rather ironically the
 original kernel was. It is pretty difficult to timeshare a machine between
 real time tasks and supporting a GUI with real-time response. One or the
 other is going to end up taking precedence.

 The problem with USB is that it is a contended bus. So even if your host is
 running in real time there is no guarantee that signals get out to the end
 points in real time. That is why there is still a demand for MIDI interfaces
 despite them being much slower than USB.

 I would really prefer to have separate CPUs dedicated to scheduling and GUI.
 That way I don't have to worry about keeping the timing clean over the data
 wires, the only timing sensitive wires are carrying the signal.


 If I could eliminate the parallel port requirement, I can eliminate the need
 for a separate controller box entirely and just bring down one of the
 laptops when necessary.

 It also makes it possible to use the mill and the lathe simultaneously from
 a single host.




 -Original Message-
 From: Phillip Hallam-Baker hal...@gmail.com
 Date: Thu, 24 Feb 2011 12:03:05
 To: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
 Reply-To: Enhanced Machine Controller \(EMC\)
emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Guidance on usb comp

 On Thu, Feb 24, 2011 at 6:44 AM, John Thornton bjt...@gmail.com wrote:


 Frank Tkalcevic wrote:

 The PoKeys55 docs claim that the device implements a standard USB HID
 keyboard and joystick.  Based on that, I'd expect it to just work with
 hal_input.  Is that not the case?


 You are correct.  It doesn't use the HID Descriptor reports, so generic
 software can't query the device for its capabilities or message

 formats.

 Their messaging is specified in their document, but needs to be code
 specifically.

 The pokeys makers approached me to add support for it to hidcomp, but

 given

 how little spare time I have, it was too much work.


 What would be involved in getting it to work?

 When I tested it I only tested the analog inputs then lost track of it
 for a while.

 It would be nice if there was a way to interface CNC equipment via USB such
 that the timing of actions was being scheduled in the controller rather
 than
 by the host O/S.

 That way it would not be necessary to run a specific version of the O/S
 hacked up to provide real time scheduling. All that would be necessary
 would
 be to have the host able to guarantee response within a few seconds.


 Parallel ports are effectively obsolete these days and finding a
 motherboard
 with support is starting to confine selection. So this is effectively
 meaning I 

Re: [Emc-users] PATA/IDE port as a parallel port

2011-02-25 Thread fi
On Tue, 2011-02-22 at 16:47 +0200, fi wrote:
 Hi
 
 I saw this hack on :
 http://hackaday.com/2011/02/03/stk200-pocket-change-programmer/
 
 This is the original page:
 http://eds.dyndns.org/~ircjunk/tutorials/elex/ata2isp/main.html
 
 
 Linux treat the ubiquitous PATA/IDE port as a parallel port
 
 
 ... Trick linux into creating a parallel port with the right base
 address. To do this, unload the parport_pc module 
 
 #rmmod partport_pc 
 
 Then do a force load with the new io address, in my case 0x170 
 
 #modprobe parport_pc io=0x170 irq=none,none,none 
 
 Yes, the kernel should tell you your crazy and this probably wont
 work ...
 
 Can this hack work with EMC and rtlinux ?
 
 First I remembered ct flasher and 8255 but now I think some address
 decoding and LS373 would do the trick.
 What do you think ?
 

On a single master PATA port we can have access to  256 pins,
16 groups of 16 pins(2 drives x 8 addresses x 16 bits),
each group being only read or write;
Is my math correct ?

Is hal_parport.c the proper file to modify for 16 bit I/O over PATA
ports ? 
Are other files to be modified ?

Sorry for my english
Florin



--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PATA/IDE port as a parallel port

2011-02-25 Thread Kirk Wallace
On Fri, 2011-02-25 at 15:46 +0200, fi wrote:
... snip
 Is hal_parport.c the proper file to modify for 16 bit I/O over PATA
 ports ? 
 Are other files to be modified ?
... snip

From my study of the parallel port drivers, 90% of the code is for
setting up the structs for managing the setup strings, and sharing
multiple ports. When that is out of the way, it comes down to a simple
outb or inb to a few registers. I suspect the PATA interface might be
the same except that 90% of the code will be PATA specific, so the
parport code may not be helpful.

If one is going to go through the effort of a new design, I would vote
for pursuing a PLX based PCI or PCI-X interface like this one:
http://wiki.linuxcnc.org/uploads/pci1_15_02_sch_wiki.pdf 
(from this page:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AVR )

(It seems to me, the old ISA slots would be perfect for real-time
interfacing.)

I am guessing here, but the only active part of the parallel port
driver is in/outb which lives well with real-time. This may not be the
case with PATA or PCI. Study of the PCI FPGA examples may shed light on
this. 

On the other hand, if your time is money, just buying an existing PCI or
PCI-X motion card would be cheaper.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread gene heskett
Greetings all;

I have not been able to run emc by remote ssh login since I updated to 10.4 
LTS and 2.4.6.

When the DEBUG=0 in the .ini file is changed to a 1, the dmesg output is a 
lot more verbose.  Here is a snippet:
===
[358682.258663] I-pipe: Domain RTAI registered.
[358682.258684] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03.
[358682.258688] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) .
[358682.258698] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[358682.258702] PIPELINE layers:
[358682.258707] e1137e20 9ac15d93 RTAI 200
[358682.258711] c085cb20 0 Linux 100
[358682.300991] RTAI[malloc]: global heap size = 2097152 bytes, BSD.
[358682.301300] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI 
OWN KTASKs, kstacks pool size = 524288 bytes.
[358682.301308] RTAI[sched]: hard timer type/freq = APIC/16624370(Hz); 
default timing: periodic; linear timed lists.
[358682.301314] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 
1396526000 hz.
[358682.301318] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 
ns.
[358682.301523] RTAI[usi]: enabled.
[358682.466798] RTAI[math]: loaded.
[358682.594503] config string '0x378 out  '
[358686.370549] RTAI[math]: unloaded.
[358686.493961] SCHED releases registered named ALIEN RTGLBH
[358686.510772] RTAI[malloc]: unloaded.
[358686.608026] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[358686.616970] I-pipe: Domain RTAI unregistered.
[358686.616987] RTAI[hal]: unmounted.
=

But still no real clue.
The recommended reading material from the failure message:

gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_debug.txt
7219
  PID TTY  STAT   TIME COMMAND
7265
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
==

Not terribly informative, then from emc_print.txt
==
gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_print.txt 
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
Using previous inifile: /home/gene/emc2/configs/genes-mill/genes-mill.ini
INIFILE=/home/gene/emc2/configs/genes-mill/genes-mill.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Killing task emcsvr, PID=7219
Killing task milltask, PID=7265
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
=
equally informative, not.

I see the splash image, and the little tool changer window is drawn, but 
axis itself seems incapable of dealing with a non-localhost .0 X.

To what value do I set DEBUG to, to get something that offers a clue?


-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
http://tinyurl.com/ddg5bz
Eureka!
-- Archimedes

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] What does R parameter mean in G73?

2011-02-25 Thread Igor Chudov
I am not sure what it means in relation to G73 drilling cycle. The
withdrawal height?
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread Alex Joni
Try using a different GUI for tests (tkemc or mini).
Maybe there's no GLX extension on your remote X server

Regards,
Alex
- Original Message - 
From: gene heskett ghesk...@wdtv.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Saturday, February 26, 2011 2:45 AM
Subject: [Emc-users] ssh -Y -l gene shop, revisited.


 Greetings all;

 I have not been able to run emc by remote ssh login since I updated to 
 10.4
 LTS and 2.4.6.

 When the DEBUG=0 in the .ini file is changed to a 1, the dmesg output is a
 lot more verbose.  Here is a snippet:
 ===
 [358682.258663] I-pipe: Domain RTAI registered.
 [358682.258684] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03.
 [358682.258688] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
 4.4.3-4ubuntu5) .
 [358682.258698] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
 IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
 [358682.258702] PIPELINE layers:
 [358682.258707] e1137e20 9ac15d93 RTAI 200
 [358682.258711] c085cb20 0 Linux 100
 [358682.300991] RTAI[malloc]: global heap size = 2097152 bytes, BSD.
 [358682.301300] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI
 OWN KTASKs, kstacks pool size = 524288 bytes.
 [358682.301308] RTAI[sched]: hard timer type/freq = APIC/16624370(Hz);
 default timing: periodic; linear timed lists.
 [358682.301314] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
 1396526000 hz.
 [358682.301318] RTAI[sched]: timer setup = 999 ns, resched latency = 2943
 ns.
 [358682.301523] RTAI[usi]: enabled.
 [358682.466798] RTAI[math]: loaded.
 [358682.594503] config string '0x378 out  '
 [358686.370549] RTAI[math]: unloaded.
 [358686.493961] SCHED releases registered named ALIEN RTGLBH
 [358686.510772] RTAI[malloc]: unloaded.
 [358686.608026] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
 traps 0, syscalls 0).
 [358686.616970] I-pipe: Domain RTAI unregistered.
 [358686.616987] RTAI[hal]: unmounted.
 =

 But still no real clue.
 The recommended reading material from the failure message:
 
 gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_debug.txt
 7219
  PID TTY  STAT   TIME COMMAND
 7265
  PID TTY  STAT   TIME COMMAND
 Stopping realtime threads
 Unloading hal components
 ==

 Not terribly informative, then from emc_print.txt
 ==
 gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_print.txt
 RUN_IN_PLACE=no
 EMC2_DIR=
 EMC2_BIN_DIR=/usr/bin
 EMC2_TCL_DIR=/usr/share/emc/tcl
 EMC2_SCRIPT_DIR=
 EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
 EMC2_CONFIG_DIR=
 EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
 INIVAR=inivar
 HALCMD=halcmd
 EMC2_EMCSH=/usr/bin/wish8.5
 Using previous inifile: /home/gene/emc2/configs/genes-mill/genes-mill.ini
 INIFILE=/home/gene/emc2/configs/genes-mill/genes-mill.ini
 PARAMETER_FILE=emc.var
 EMCMOT=motmod
 EMCIO=io
 TASK=milltask
 HALUI=
 DISPLAY=axis
 NML_FILE=
 Starting EMC2 server program: emcsvr
 Loading Real Time OS, RTAPI, and HAL_LIB modules
 Starting EMC2 IO program: io
 Starting EMC2 TASK program: milltask
 Starting EMC2 DISPLAY program: axis
 Killing task emcsvr, PID=7219
 Killing task milltask, PID=7265
 Removing HAL_LIB, RTAPI, and Real Time OS modules
 Removing NML shared memory segments
 =
 equally informative, not.

 I see the splash image, and the little tool changer window is drawn, but
 axis itself seems incapable of dealing with a non-localhost .0 X.

 To what value do I set DEBUG to, to get something that offers a clue?


 -- 
 Cheers, Gene
 There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
 -Ed Howdershelt (Author)
 http://tinyurl.com/ddg5bz
 Eureka!
 -- Archimedes

 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT 
 data
 generated by your applications, servers and devices whether physical, 
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list

Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread Kent A. Reed
On 2/25/2011 8:28 PM, Alex Joni wrote:
 Try using a different GUI for tests (tkemc or mini).
 Maybe there's no GLX extension on your remote X server

 Regards,
 Alex
 - Original Message -
 From: gene heskettghesk...@wdtv.com
 To: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
 Sent: Saturday, February 26, 2011 2:45 AM
 Subject: [Emc-users] ssh -Y -l gene shop, revisited.


 Greetings all;

 I have not been able to run emc by remote ssh login since I updated to
 10.4
 LTS and 2.4.6.

Gene:

Not knowing who remembers the X-nomenclature, the remote X server is 
running the display on the host where you're trying to see the axis 
output. Assuming that that machine is running Linux, you can check 
Alex's conjecture by looking at the Xorg.0.log file (or such) in /var/log.

I just ran

grep -i glx Xorg.0.log

on my host and found lines like LoadModule: glx and more as expected.

I'm not sure but would expect that any X-client errors show up in the 
comparable log (and/or possibly user.log) on the host that is running emc2.

Good hunting,
Kent


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread gene heskett
On Friday, February 25, 2011 10:19:47 pm Alex Joni did opine:

 Try using a different GUI for tests (tkemc or mini).
 Maybe there's no GLX extension on your remote X server
 
 Regards,
 Alex

It is, but its nvidia's according to glxinfo.  Changing to tkemc makes it 
work but no backplot, and IIRC tkemc used to have one.

[gene@coyote log]$ glxinfo  
 
name of display: :0.0   
 
display: :0  screen: 0  
 
direct rendering: Yes   
 
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, 
GLX_ARB_create_context, 
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile, 
GLX_ARB_create_context_robustness, GLX_ARB_multisample, 
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, 
GLX_SGIX_pbuffer, 
GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context, 
GLX_ARB_create_context_profile, GLX_NV_float_buffer, 
GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float, 
GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB, 
GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage, 
GLX_NV_video_capture, GLX_EXT_create_context_es2_profile, 
GLX_ARB_create_context_robustness
GLX version: 1.4
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, 
GLX_ARB_create_context, 
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile, 
GLX_ARB_create_context_robustness, GLX_ARB_multisample, 
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB, 
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9400 GT/PCI/SSE2/3DNOW!
OpenGL version string: 3.3.0 NVIDIA 260.19.29
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:
GL_ARB_blend_func_extended, GL_ARB_color_buffer_float, 
GL_ARB_compatibility, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float, 

[snip next 300 lines]

Since its running the vesa driver on shop, but nvidia here, is that enough 
to kill it?  It has worked before, from vesa to nvidia, with the usual 
video update lags from nvidia, but since I was carving air, if I want to 
look at the fine detail I just slow it down till the video can keep up.  In 
fact, its not even carving air since the motor power supply is turned off.

Thanks Alex.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
http://tinyurl.com/ddg5bz
I respect faith, but doubt is what gives you an education.
-- Wilson Mizner

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread gene heskett
On Friday, February 25, 2011 10:35:47 pm Kent A. Reed did opine:

 On 2/25/2011 8:28 PM, Alex Joni wrote:
  Try using a different GUI for tests (tkemc or mini).
  Maybe there's no GLX extension on your remote X server
  
  Regards,
  Alex
  - Original Message -
  From: gene heskettghesk...@wdtv.com
  To: Enhanced Machine Controller
  (EMC)emc-users@lists.sourceforge.net Sent: Saturday, February 26,
  2011 2:45 AM
  Subject: [Emc-users] ssh -Y -l gene shop, revisited.
  
  Greetings all;
  
  I have not been able to run emc by remote ssh login since I updated
  to 10.4
  LTS and 2.4.6.
 
 Gene:
 
 Not knowing who remembers the X-nomenclature, the remote X server is
 running the display on the host where you're trying to see the axis
 output. Assuming that that machine is running Linux, you can check
 Alex's conjecture by looking at the Xorg.0.log file (or such) in
 /var/log.
 
 I just ran
 
 grep -i glx Xorg.0.log
 
 on my host and found lines like LoadModule: glx and more as expected.
 
 I'm not sure but would expect that any X-client errors show up in the
 comparable log (and/or possibly user.log) on the host that is running
 emc2.

file:///shop/var/log/Xorg.0.log doesn't have any errors reported.  The glx 
there is AIGLX as it now has an ati card in it, where as the glx here is 
from an nvidia driver thats about 6 weeks old.

 Good hunting,
 Kent
 
Thanks Kent.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
http://tinyurl.com/ddg5bz
Let's all show human CONCERN for REVERAND MOON's legal difficulties!!

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread Jon Elson
gene heskett wrote:
 Greetings all;

 I have not been able to run emc by remote ssh login since I updated to 10.4 
 LTS and 2.4.6.

   
Much faster than trying to run EMC is to run glxgears remotely.  If you 
can get that to run,
then you ought to be able to run EMC2 as well.  But, the 3D preview will 
take up a lot of
resources.

Jon

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread gene heskett
On Saturday, February 26, 2011 12:32:40 am Jon Elson did opine:

 gene heskett wrote:
  Greetings all;
  
  I have not been able to run emc by remote ssh login since I updated to
  10.4 LTS and 2.4.6.
 
 Much faster than trying to run EMC is to run glxgears remotely.  If you
 can get that to run,
 then you ought to be able to run EMC2 as well.  But, the 3D preview will
 take up a lot of
 resources.
 
 Jon
 
Humm, this might be a clue, Jon:

gene@shop:~/emc2/configs/genes-mill$ glxgears
Error: couldn't get an RGB, Double-buffered visual

But I have NDI what its really trying to tell me.

Clue here?

Thanks Jon.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
http://tinyurl.com/ddg5bz
It doesn't matter what you do, it only matters what you say you've
done and what you're going to do.

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ssh -Y -l gene shop, revisited.

2011-02-25 Thread Kirk Wallace
On Sat, 2011-02-26 at 00:34 -0500, gene heskett wrote:
... snip
 gene@shop:~/emc2/configs/genes-mill$ glxgears
 Error: couldn't get an RGB, Double-buffered visual
 
 But I have NDI what its really trying to tell me.
 
 Clue here?
 
 Thanks Jon.

I got this:

The Video Ram option in xorg.conf was commented out. I uncommented it
and everything works fine now!


from this:
http://www.linuxquestions.org/questions/linux-newbie-8/glxgears-error-couldnt-get-an-rgb-double-buffered-visual-427461/
 

Actually searching couldn't get an RGB, Double-buffered visual, got
different answers, but it seems that the xorg.conf needs to be set some
how.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users