Igor in Linux using WINE
| RGerkin | June 25, 2009 - 08:53 | ||
|---|---|---|---|
|
While I continue to use Windows on computers that control instruments, I now use Linux on the machine on which I do analysis (and everything else). For a long time, a major barrier to long-term Linux use was Igor compatibility, namely that there are only official versions of Igor for Mac and Windows. However, since Igor appears to use the Win32 API almost exclusively for the Windows edition, it is possible to run Igor with the help of a free program in Linux called "WINE", which implements the Win32 API fairly well. To the user, everything is transparent; setup of Igor proceeds as in Windows, and you can double-click to run Igor just like you were running it in Windows. There appears to be little of no loss of speed for most tasks in Igor. There are, however, a small number of discrepancies between running Igor for Windows in Windows, and running Igor for Windows in Linux using WINE. Most of these are small, and don't stop me from using it. But some of these may be significant enough to cause problems for some users. The purpose of this thread is to document the inconsistencies (not really bugs, since Linux was not intended by Wavemetrics), the circumstances under which they occur, and any possible workarounds. Some of these may be fixable by changing one's OS or desktop environment settings, others may be fixable by modifying the WINE source code (an open source project), and others may be fixable by Wavemetrics (but don't count on that -- I'm sure their priority is Windows/Mac). So I propose that posts be formatted something like: I will follow up later with posts describing some of the discrepancies that I have observed. Rick |
|||


Joined: 2008-02-22
Location: United States
Here's a list of problems I compiled from running Igor in Linux for a few weeks. If you can live with these problems, you can probably use Igor in Linux. However, you may find others that I didn't if you use Igor for lots of things that I don't.
Ubuntu 9.04
Gnome 2.26 on NVIDIA GeForce 8500 GT, Driver version 185.18.04
Wine 0.99
Igor 6.10
(1) Cannot select multiple objects in drawing mode.
(2) Help window has no title bar or maximize/minimize/close buttons. Can sometimes be closed by repeatedly pressing Ctrl-W.
(3) The control key is sluggish, so that e.g. searching for text requires you to hold down Ctrl for about a second before pressing F.
(4) The text for vertical axis labels is always drawn horizontally, even though the "frame" for the axis label is still vertical. Fairly annoying.
(5) Icons at bottom of Igor for open procedure files, notebooks, etc. are messed up, in that they look empty.
(6) On rare occasions, Igor does not respond to key presses -- this is fixed by clicking in some other program and then back to Igor. I should note that I have had this problem in Windows, too.
(7) SQL XOP can be used only in combination with an ODBC installation in Linux, the Wine ODBC stub used as a bridge, and the SQL_DRIVER_NOPROMPT constant. Ask me for further details.
(8) Menus can be a bit slow to respond to mouse clicks.
(9) Right clicking on a wave in the data browser has sometimes caused Igor to crash. I cannot find a formula to reproduce this.
(10) Not compatible with "new" Igor >=6.1 graphics. Must do SetIgorOption useOldGraphics=1 to see images correctly.
(11) Help file and notebook images are invisible.
(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and may cause some things to look a little bit different.
If the annoyance of the above is less than the annoyance of using Windows for all your other work, you may be in luck! Or you could just get a Mac and solve both problems :)
Rick
Joined: 2009-02-15
Location: United States
Absolutely, I feel the same way. I haven't seen all the problems you have but I am running an updated version of WINE
--PcLinuxOS2009 (great distro by the way!)
-- Gnome , motherboard inbuilt graphics card
--WINE 1.132
--IGOR 6.12
Summary of problems:
-cannot double click left or right-axis LABEL to bring up options dialog. You can instead doubleclick on the bottom axis label and then change to the side axis manually.
--data browser sometimes has update problems, with especially the red arrow being a problem in practical use. For instance if I add a folder under root then any new waves or folders I add sometimes do not dissapear or appear when they are created or deleted. The red arrow which marks which folder is active sometimes appears to be pointing in the wrong place as a condequence.
--As you say help browser doesn't close. Use CTRL+W to close it.
--General lag between click and action under WINE compared to windows but this is not really a problem.
All procedures seem to work fine for me, I will also update any further problems as I find them. If I have time today I will report these issues with bugzilla under WINE. I am also interested to report any other issues others may be having so I can report them to WINEHQ.
Yours
ineverwantedtobeascientist
Joined: 2008-02-22
Location: United States
More problems:
(13) PopupMenu's do not work at all.
(14) Alt-dragging of traces is superceded by Alt-dragging of entire windows in Gnome.
(15) Adding a #include for a procedure that is already open hangs Igor.
Joined: 2007-12-15
Location: United States
I haven't had the opportunity to test everything noted above, but after installing IGOR on wine 1.1.39 which was built for 32-bit and x64 architectures this morning, I noticed that a lot of the problems noted above weren't there. Popup menus, for example, function in this way: you have to click on the popup (or drag-down) menu, then, use the arrows to navigate the list.
I should add that this was all done on a Snow Leopard iMac, but I hope that these benchmark 2.02 results are useful.
**** test on Windows XP Professional Service Pack 3 (Build 2600)5.1.2600 using 6.12 and 21 passes; 2.66 GHz iMac
Create new graph time: 533.26ms, relative speed= 0.56
big data update time: 152.04ms, relative speed= 0.94
curve fit time: 4.21ms, relative speed= 0.45
user curve fit time: 16.51ms, relative speed= 2.15
double complex fft time: 812.66µs, relative speed= 1.81
single complex fft time: 744.13µs, relative speed= 1.60
double real fft time: 391.29µs, relative speed= 1.44
single real fft time: 348.60µs, relative speed= 1.41
5 pass smooth time: 317.84µs, relative speed= 1.71
Sort 8192 points time: 12.47ms, relative speed= 3.07
WaveStats time: 594.70µs, relative speed= 0.45
simple eqn time: 290.00µs, relative speed= 4.81
exp eqn time: 552.53µs, relative speed= 3.64
sqrt eqn time: 388.65µs, relative speed= 4.55
sin eqn time: 550.42µs, relative speed= 2.11
User fit fctn time: 492.83µs, relative speed= 2.62
MatrixOp eqn time: 67.97µs, relative speed= 0.35
**** done ****
total test time= 21.3781
Joined: 2007-12-15
Location: United States
(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and my cause some things to look a little bit different.
If you are still having this problem as of wine 1.1.39 (released yesterday, February 22, 2010), you may want to use winetricks. It's present in Macports, so it should be in your Ubuntu repository as well.
winetricks executed by itself will launch an X11 window with the list of options. It looks like executing
winetricks corefonts
or
winetricks tahoma (if you need tahoma)
will fix this problem.
Joined: 2010-03-19
Location: Slovenia
(14) Alt-dragging of traces is superceded by Alt-dragging of entire windows in Gnome.
I would not count this as a Problem, since you can always change the Alt key binding for dragging entire windows in Gnome to an alternate key, I use the Super key ("Windows Logo" key), if you have one of course: In Gnome just go to Preferences > Windows.
gregor
Joined: 2010-06-02
Location: United Kingdom
A rather annoying one with Igor Pro 6.1.2.1 on Kubuntu 10.04 and Wine 1.1.42 is that using escape codes in axis labels causes all text following the escape code to be written from the beginning of the line. So for example the label
Label left "Particulate mass \\[0(g m\\S-3\\]0)"results in the units being written on top of the first part of the word "particulate". It's the same using \S and \M instead of storing the text properties too.
Joined: 2008-02-22
Location: United States
WINE 1.2 was released, so I thought I'd check to see if any of the above problems were solved. Here is the status of things. I've added a strikethrough to problems that appear to be solved, left the ones that are not solved in normal text, and also added some more to the bottom. In ambiguous cases I've just made a comment. I've incorporated problems I've identified and others identified on this thread.
Ubuntu 10.04
Wine 1.2
Igor 6.20B03
(1) Cannot select multiple objects in drawing mode.(2) Help window has no title bar or maximize/minimize/close buttons.
(3) The control key is sluggish, so that e.g. searching for text requires you to hold down Ctrl for about a second before pressing F. Seems improved, but still these key combinations are not as responsive as in Windows
(4) The text for vertical axis labels is always drawn horizontally, even though the "frame" for the axis label is still vertical. Fairly annoying.(5) Icons at bottom of Igor for open procedure files, notebooks, etc. are messed up, in that they look empty.(6) On rare occasions, Igor does not respond to key presses -- this is fixed by clicking in some other program and then back to Igor. I should note that I have had this problem in Windows, too.Could not reproduce in limited testing.(7) SQL XOP can be used only in combination with an ODBC installation in Linux, the Wine ODBC stub used as a bridge, and the SQL_DRIVER_NOPROMPT constant. Ask me for further details. Did not test
(8) Menus can be a bit slow to respond to mouse clicks.Click on a responsive menu somewhere in the menu bar and then mouse over to the unresponsive menu. Kludgy, but works every time.(9) Right clicking on a wave in the data browser has sometimes caused Igor to crash. I cannot find a formula to reproduce this.Could not reproduce in limited testing.(10) Not compatible with "new" Igor >=6.1 graphics. Must do SetIgorOption useOldGraphics=1 to see images correctly.(11) Help file and notebook images are invisible.(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and may cause some things to look a little bit different.(13) PopupMenu's do not work at all. This is probably the worst problem
(14) Alt-dragging of traces is superceded by Alt-dragging of entire windows in Gnome.As mentioned above, this can be overridden in the Gnome settings.(15) Adding a #include for a procedure that is already open hangs Igor.(16) Cannot double click left or right-axis LABEL to bring up options dialog. You can instead doubleclick on the bottom axis label and then change to the side axis manually.
(17) data browser sometimes has update problems, with especially the red arrow being a problem in practical use. For instance if I add a folder under root then any new waves or folders I add sometimes do not dissapear or appear when they are created or deleted. The red arrow which marks which folder is active sometimes appears to be pointing in the wrong place as a condequence.Could not reproduce, but red arrow and clicking is sometimes a little bit off vertically, i.e. you must click in the top half or just above a disclosure box to open it.(18) Label left "Particulate mass \\[0(g m\\S-3\\]0)" <-- gives messed up text.
(19) Showing drawing tools gives an opaque white rectangle to the right of the tools that covers up the left part of the graph.
Many of the problems are fixed, including some important ones like the compatibility with new (Igor >=6.1) graphics, although PopupMenus are still broken.
I'm wondering if it wouldn't be more efficient to create a dummy package called "Igor in WINE" and use the built-in IgorExchange bugtracking to track the problems. That seems more efficient than doing it on a message board. Adam, is that a legitimate use of the site?
Joined: 2007-03-01
Location: United States
(3) The control key is sluggish, so that e.g. searching for text requires you to hold down Ctrl for about a second before pressing F. Seems improved, but still these key combinations are not as responsive as in Windows
I notice this all the time when running Igors in Windows Vista via VM Ware Fusion. I don't notice it in any program other than Igor, but it's not consistent enough for me to attempt to debug it.
I'm wondering if it wouldn't be more efficient to create a dummy package called "Igor in WINE" and use the built-in IgorExchange bugtracking to track the problems. That seems more efficient than doing it on a message board. Adam, is that a legitimate use of the site?
That's fine with me, as long as you try to make it clear on the project's home page that it isn't really a project and there won't be anything to download.
Joined: 2010-06-02
Location: United Kingdom
(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and may cause some things to look a little bit different.
Winetricks - http://wiki.winehq.org/winetricks - can help solve this. If you install winetricks, launch it and use the GUI to install all of the font packages, you *may* see an improvement.
Joined: 2008-02-22
Location: United States
(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and may cause some things to look a little bit different.
Winetricks - http://wiki.winehq.org/winetricks - can help solve this. If you install winetricks, launch it and use the GUI to install all of the font packages, you *may* see an improvement.
Actually the fonts issue was already fixed in Wine 1.2, but I typed the overstrike tag incorrectly when I posted. Fixed in my post above. Thanks for the tip though, Winetricks may help in some other areas.
Joined: 2010-03-15
Location: France
(13) PopupMenu's do not work at all.
Actually I thought it does not work but I found a way. If you click on the popup and navigate with the keyboard arrows it works. However this is not the top but it works.
Joined: 2010-08-02
Location: Brazil
Multiple waves selection
Dear friends,
I work with several waves at a time (from 1 to 100 or so) and, when I need to build a graph or a table or whatever with a lot of waves, Igor crashes if a specific number of objects is selected at once. I noticed that there is a box at the bottom of the window (the one that opens when you choose to make a new graph, for example) that shows you the command line that Igor is going to execute. If the lenght of the command line does not exceed the size of the box (no matter how many waves are selected), Igor doesn't crash, otherwise... So I was wondering if there is any way to prevent this command box to be displayed. Any Idea?
I am using Igor 6.20B04, Wine 1.1.42, Ubuntu 10.04.
Joined: 2011-10-18
Location: United States
Dear friends,
I work with several waves at a time (from 1 to 100 or so) and, when I need to build a graph or a table or whatever with a lot of waves, Igor crashes if a specific number of objects is selected at once.
I am using Igor 6.20B04, Wine 1.1.42, Ubuntu 10.04.
A script to display waves would be grand here.
I do this,
display; bat("append at ","corr_*")to add all waves starting with the prefix corr_* to a new graph
see: http://www.igorexchange.com/node/2688
Joined: 2011-10-18
Location: United States
Dear friends,
I work with several waves at a time (from 1 to 100 or so) and, when I need to build a graph or a table or whatever with a lot of waves, Igor crashes if a specific number of objects is selected at once.
I am using Igor 6.20B04, Wine 1.1.42, Ubuntu 10.04.
A script to display waves would be grand here.
I do this,
display; bat(" append @ ","corr_*")to add all waves starting with the prefix corr_* to a new graph
this function comes from a user contributed script. see: http://www.igorexchange.com/node/2688
Joined: 2010-06-02
Location: United Kingdom
Ubuntu 10.04
Wine 1.2
Igor 6.20B03
(1) Cannot select multiple objects in drawing mode.(2) Help window has no title bar or maximize/minimize/close buttons.(3) The control key is sluggish, so that e.g. searching for text requires you to hold down Ctrl for about a second before pressing F. Seems improved, but still these key combinations are not as responsive as in Windows(4) The text for vertical axis labels is always drawn horizontally, even though the "frame" for the axis label is still vertical. Fairly annoying.(5) Icons at bottom of Igor for open procedure files, notebooks, etc. are messed up, in that they look empty.(6) On rare occasions, Igor does not respond to key presses -- this is fixed by clicking in some other program and then back to Igor. I should note that I have had this problem in Windows, too.Could not reproduce in limited testing.(7) SQL XOP can be used only in combination with an ODBC installation in Linux, the Wine ODBC stub used as a bridge, and the SQL_DRIVER_NOPROMPT constant. Ask me for further details. Did not test
(8) Menus can be a bit slow to respond to mouse clicks.
(9) Right clicking on a wave in the data browser has sometimes caused Igor to crash. I cannot find a formula to reproduce this.Could not reproduce in limited testing.(10) Not compatible with "new" Igor >=6.1 graphics. Must do SetIgorOption useOldGraphics=1 to see images correctly.(11) Help file and notebook images are invisible.(12) Arial, Courier, and Times New Roman are not found (common Wine problem). Other fonts will be substituted, and may cause some things to look a little bit different.(13) PopupMenu's do not work at all. This is probably the worst problem
(14) Alt-dragging of traces is superceded by Alt-dragging of entire windows in Gnome.As mentioned above, this can be overridden in the Gnome settings.(15) Adding a #include for a procedure that is already open hangs Igor.(16) Cannot double click left or right-axis LABEL to bring up options dialog. You can instead doubleclick on the bottom axis label and then change to the side axis manually.
(17) data browser sometimes has update problems, with especially the red arrow being a problem in practical use. For instance if I add a folder under root then any new waves or folders I add sometimes do not dissapear or appear when they are created or deleted. The red arrow which marks which folder is active sometimes appears to be pointing in the wrong place as a condequence.Could not reproduce, but red arrow and clicking is sometimes a little bit off vertically, i.e. you must click in the top half or just above a disclosure box to open it.(18) Label left "Particulate mass \\[0(g m\\S-3\\]0)" <-- gives messed up text.
(19) Showing drawing tools gives an opaque white rectangle to the right of the tools that covers up the left part of the graph.
Many of the problems are fixed, including some important ones like the compatibility with new (Igor >=6.1) graphics, although PopupMenus are still broken.
I'm wondering if it wouldn't be more efficient to create a dummy package called "Igor in WINE" and use the built-in IgorExchange bugtracking to track the problems. That seems more efficient than doing it on a message board. Adam, is that a legitimate use of the site?
Thought I'd update this, as items 2 and 3 have been fixed since RGerkin compiled this list. Other things that I haven't tried since my recent distribution upgrade might also have been fixed by the recent introduction of Wine 1.4. I've reintroduced bug 8, as I never did find a workable solution to it.
Details:
Kubuntu 12.04
Wine 1.4
Igor 6.2.2.2
Joined: 2007-03-01
Location: United States
I'm wondering if it wouldn't be more efficient to create a dummy package called "Igor in WINE" and use the built-in IgorExchange bugtracking to track the problems. That seems more efficient than doing it on a message board. Adam, is that a legitimate use of the site?
Earlier I responded to this question saying it's fine with me, and that's still the case. But it might be easier to use a code snippet instead. Code snippets can be edited by any registered users and they can also have comments.
Joined: 2010-03-15
Location: France
As I see many problems seem to be solved. However I can not find where the solution is posted, e.g. for point (2).
Joined: 2010-06-02
Location: United Kingdom
It just works in Wine 1.4. No user action required (apart from updating Wine).