Igor in Linux using WINE
RGerkin
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:
-- Name and Version of Linux Distribution
-- (Optional): Graphics information (desktop environment, e.g. KDE vs Gnome, graphics card/drivers, X11 version)
-- WINE version
-- Igor version
-- Summary of problem
I will follow up later with posts describing some of the discrepancies that I have observed.
Rick
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
March 5, 2010 at 07:56 pm - Permalink
--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
November 12, 2009 at 05:35 pm - Permalink
(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.
February 18, 2010 at 07:42 pm - Permalink
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
February 22, 2010 at 12:50 pm - Permalink
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.
February 23, 2010 at 09:55 am - Permalink
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
March 19, 2010 at 03:41 am - Permalink
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.
June 3, 2010 at 04:04 am - Permalink
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?
July 20, 2010 at 06:34 pm - Permalink
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.
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.
July 19, 2010 at 08:33 am - Permalink
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.
July 20, 2010 at 10:03 am - Permalink
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.
July 20, 2010 at 06:35 pm - Permalink
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.
July 21, 2010 at 05:50 am - Permalink
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.
August 2, 2010 at 09:29 pm - Permalink
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
December 30, 2011 at 12:27 pm - Permalink
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
December 30, 2011 at 12:36 pm - Permalink
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
May 4, 2012 at 06:52 am - Permalink
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.
May 5, 2012 at 07:13 am - Permalink
May 7, 2012 at 11:30 pm - Permalink
It just works in Wine 1.4. No user action required (apart from updating Wine).
May 11, 2012 at 05:38 am - Permalink
I've also tried using escapes in annotations, but I haven't yet run into the same problems there (as I did for the axis labels).
March 24, 2014 at 07:35 am - Permalink
It's become intermittent since the introduction of WINE 1.7.17 as part of Kubuntu 14.04 in my experience. I was surprised to see a properly formatted superscript on an axis earlier this week, but it doesn't work consistently. From memory, the last one I saw that worked was on a log scale, while the last one I remeber not working was on a label. It seems to (maybe) be something to do with the text rotation.
April 30, 2014 at 11:13 am - Permalink
I am using:
Ubuntu 14.04.01
WINE 1.7.25
IGOR 6.34A
I experience the same problem as described, where I am unable to use superscripts/subscripts in a vertical axis label. Not a huge problem, but fairly annoying when trying to produce professional-quality graphics, which is one of the main reasons I use Igor.
I also have noticed generally clunky text and graphics with window labels and icons...
Any further progress in using WINE with Igor, or with a Igor Linux distribution is much appreciated!!
August 24, 2014 at 02:25 pm - Permalink
So far I experienced a few minor Problems:
1) My Network-Printers do not work.
When I start Igor the following messages are put to command line:
BUG: Unexpected error in CreatePrinterDC. Check print driver and printer. BUG: DriverName="WINSPOOL", driverName2="WINSPOOL", deviceName="HP LaserJet 4M", dmDeviceName="HP LaserJet 4M" BUG: OpenMFPicture: couldn't use default printer
2) Multithreading does not work.
Somehow expected, but pressing the STRG key while starting igor does not work. I don't know if there are command line options for starting igor in another thread/instance or maybe wine can be threaded. Any Ideas?
3) Menu Items are not directly clickable. Espectially all the menus to the right can only be opend by pressing a menu on the left and sliding the mouse to the right. My Custom-designed Procedure-Menus from *.ipf Files all fall under that category.
For a nicer look it is useful to import all windows fonts to the windows/fonts (~/.wine/drive_c/windows/Fonts) directory. With winecfg i set Segoe UI as default Font for Menus etc and also increased the dpi for getting a nicer menus/procedures/graphs/commandline.
March 25, 2015 at 08:10 am - Permalink
The Igor Pro 7 Beta is running under Linux, however, not directly under wine. With my configuration I managed to get it running by using Q4Wine, and overriding the msvcr120.dll file when starting Igor. To me, it seems that this .dll is important for displaying graphs under Igor 7(Igor 7 runs under wine, but crashes when you try to display something) and that it is not included in current wine. Otherwise it seems to work fine, even pop-up menus work properly in this version.
My system:
Wine 1.7.50
Q4Wine: 1.1-r2
ubuntu 14.04 LTS 32-Bit
Igor Pro 7 Beta
Cheers,
Niclas
November 16, 2015 at 04:16 am - Permalink
I have some additional experience using Igor7 in wine on debian 8. All tests were done on a clean wineprefix. Also at the end Igor starts. Skip to "short summary" if you don't care about the rest.
errors:
Igor Installation first complains about the Windows Version (WinXP is default).
After setting the version to "Windows 8" it via winecfg, installation begins. Windows Versions below 8 seem to produce an QT related error.
Wine Version 1.6.2:
error during installation: "Visual C/C++ 2013 runtime (x86) installation failed with error code 2147943860
manually installing "Visual C/C++" via winetricks vcrun2013 gets me to the point where igor starts but I have no close buttons. maybe related to a gnome issue.
Wine Version 1.7.29
Repeating the installation with the new wine-development version I get "Visual C/C++ 2013 runtime (x86) installation failed with error code 5: Access denied"
Wine Version 1.7.29 and 1.6.2:
using winetricks works around the "Visual C/C++ 2013" problem:
winetricks vcrun2013
It says there: Using native,builtin override for following DLLs: atl120 msvcp120 msvcr120 vcomp120
so it is probably the same solution as posted before.
In the end:
Igor starts.
Short Summary:
Installation
env WINEPREFIX=~/.wine-igor winecfg-development env WINEPREFIX=~/.wine-igor winetricks vcrun2013 corefonts env WINEPREFIX=~/.wine-igor wine-development ~/Downloads/setupIgor7.exe
Start Igor
env WINEPREFIX=~/.wine-igor wine-development C:/Program\ Files/WaveMetrics/Igor\ Pro\ 7\ Folder/IgorBinaries_Win32/Igor.exe
The last command can be put in a .desktop file if you want
some notes:
If you encounter an error related to the QT implementation of Microsofts Visual studio (qwindows.dll): 'This application failed to start because it could not find or load the Qt platform plugin "windows" Reinstalling the application may fix this problem'
Setting Windows Version to 8 via winecfg or winecfg-development may fix the problem.
in debian jessie to get the new wine you have to install wine-development:
dpkg --add-architecture i386 apt-get update apt-get install wine-development
also install wintricks via
apt-get install winetricks
If you want to use q4wine:
wine binary and loader is
/usr/bin/wine
wine server is
/usr/lib/i386-linux-gnu/wineserver
wine32 lib should be
/usr/lib/i386-linux-gnu/wine/wine
at least there are the *.dll.so files. q4wine somehow does not identify them on my machine.analog settings for the development version:
/usr/bin/wine-development /usr/lib/i386-linux-gnu/wine-development/wineserver
If you want a Startup Application:
Use a .desktop file
~/.local/share/applications/IgorPro.desktop
[Desktop Entry] Name=Igor7 Exec=env WINEPREFIX=~/.wine-igor wine-development C:\\Program\ Files\\WaveMetrics\\Igor\ Pro\ 7\ Folder\\IgorBinaries_Win32\\Igor.exe Type=Application StartupNotify=true Icon=IgorPro
For the icon I used a screenshot of the logo and placed it in
~/.local/share/icons/hicolor/128x128/apps/IgorPro.png
November 17, 2015 at 08:54 am - Permalink
I've successfully installed IP7 beta4 on Linux Mint Qiana x64 using wine 1.7.55 and latest git version of winetricks.
December 17, 2015 at 11:10 am - Permalink
* wine from staging (currently 1.9.1)
* current winetricks from their site
Get new wine version (http://wiki.winehq.org/Ubuntu)
wine --version sudo add-apt-repository ppa:wine/wine-builds sudo apt-get update sudo apt-get install --install-recommends winehq-staging wine --version
Set to Windows 8 (or maybe 10)
env WINEPREFIX=~/.wine-igor winecfg
get current winetricks (https://wiki.ubuntuusers.de/winetricks/)
mkdir ~/bin wget http://winetricks.org/winetricks -O ~/bin/winetricks chmod +x ~/bin/winetricks env WINEPREFIX=~/.wine-igor ~/bin/winetricks corefonts vcrun2013
install igor7 beta (7.00B05)
env WINEPREFIX=~/.wine-igor wine ~/Downloads/setupIgor7.exe
I included the error log as an attachment.
January 19, 2016 at 09:08 am - Permalink
August 31, 2017 at 12:58 pm - Permalink