Win4Lin 5.0 Reviewed
uninet writes "About a month ago, NeTraverse contacted OfB Labs with an early release copy of Win4Lin 5.0, the follow-up to the already impressive Win4Lin 4.0 released in May 2002. Win4Lin, for those not familiar with it, offers near-native (or better) speed "virtualization" of a Windows box so that one can run Windows 9x (95/98/Me) inside GNU/Linux."
I've only used Windows in VMware in linux - which works well, but takes a while to boot up (and there's still no 3d support). How does Win4Lin compare to vmware for this... anyone?
It looks like one of the most important new features is Winsock 2 support.
Check out Transgaming. They support a variety of DirectX games, including some 3d games iirc. They do this through extending wine to support DirectX. What I don't know is if they feed changes back into the mainline Wine. I do know that CodeWeavers do, but they don't support DirectX...
On the other hand, the age old question is that if Windows emulation works SO well on Linux, then will there ever be a commercial market for native Linux apps? I'd rather see native ports of these various apps/games, and I hope emulation is simply a stopgap...
get some 3D going, which is why I _really_ want Windows at this point. What's stopping them from doing this?
Direct access to the hardware via highly optimized video drivers and specific graphics libraries are very hard to virtualize with a level of performance that matches the "native" Windows running directly on the hardware.
First we have the simple fact that by running via the Win4Lnx you have an additional layer that does messages parsing and translation (from various Windows API including DirectX graphics API) to a native Xfree86/Linux function call, which has to then go through a network aware display system, and gets painted on your display using a video card driver not written in-house by the card manufactor, but a 3rd-party free software developer, who likely had less than full, to possibly no vendor documentation about the card and how to make full and optimized use of its capabilities.
So I doubt you will ever see a solution that provides full performance supporting the at the time current gaming graphics capabilities supported via a virtualizer (creates an additional virtual machine using special CPU instructions rather than emulator that emulates everything in software) because they are always playing catch up, and they add unavoidable additional layers of translation that negatively impact on execution speed compared to native running OS.
Seems like having actual memory management code and a file system was sufficient to speed up a P133 from 'unacceptably slow" to "pretty quick".
--dave
davecb@spamcop.net
Virtual PC
But you won't be able to run your legacy windows applications at the same time as your linux ones with your solution.
There are actually a number of alternatives for linux- and linux-like systems on windows. VMWare will allow a virtual linux box on top of WinNT (and vice-versa). Cygwin is a port of most of the GNU suite and X to WinNT.
A "linux emulator" for windows is kinda meaningless - linux is mainly posix-compliant, what you really want is a posix layer for windows. Guess what? It exists.
oh, you mean cygwin. or maybe knoppix
FreeBSD for the impatient.
For some strange reason, Win4Lin gets mentioned several times at Slashdot. This uses SCO technology for the past 15 years. Here's a link:
g y. php?PHPSESSID=5ed8e1d8cb2384cbb6523ec150ee5779
http://www.netraverse.com/products/wts/technolo
Seeing MS is licensing SCOde, XP shouldn't be a problem - for now.
If you keep throwing chairs, one day you'll break windows....
No.. supporting the "ring 0" windows versions is a much larger emulation task. WinNT/2k, and XP do not tolerate not having full control of the processor. VMWare can do this, becuase it emulates the hardware. Win4lin "shares" the hardware between Linux and windows (windows never has full control of the proc).
Rumor has it that netraverse is working hard on a Win2k version of Win4lin. Hopefully they will be able to produce a solution that is not as bloated as VMWare.
8 of 13 people found this answer helpful. Did you?
It comes with prepatched kernels for RH, SuSE, etc.. That was always one of my biggest gripes with W4L too; use a damned kernel module like VMWare. At the time I couldn't get the kernel patch to work with my (already patched) kernel.
Pros:
VERY fast. About 95% of the speed of a real Windows installation. In some cases faster, such as startup/shutdown, both of which are near-instant.
VERY easy to install. Run the graphical installer, it downloads the neccesary kernel patch (needed to make Windows think its running on top of DOS instead of Linux), installs everything. Reboot, and you're done.
VERY compatible. I've yet to find a program that runs on a normal WinME box that won't run on Win4Lin WinME.
Good networking support. You can have your Win4Lin install connect to your LAN (via a virtual NIC).
Cons:
Programs seemed to crash more often in Win4Lin than in actual Windows. This may be fixed in 5.0.
Windows doesn't get to use a lot of your hardware. Mouse, keyboard, CD-ROM, sound (thru your linux drivers), printers (thru your linux drivers) and serial ports are accessible. Almost anything else (scanners, other USB toys, etc) are not. May be improved in 5.0.
Clipboard isn't consistent between Linux and Windows. May be fixed in 5.0.
No 3D, and only limited DirectDraw. Not much can be done about this.
Yeah, so it's not perfect, but it definitely beat the hell out of VMware or any other similar programs.
For what's worth, the kernel patch is totally transparent and does not involve recompiling. What basically happen is Win4Lin downloads a Win4Lin enabled version of the kernel you are using (depending on your distribution) and installs that one. You still have the option of booting your old kernel in lilo, even. Very well done, very impressive...
Mother is the best bet and don't let Satan draw you too fast.
for anyone wondering
95 is already considered obsolete
98 receives no free support after the end of this month, none at all after the end of this year (basically)
ME is unsupported at the end of the year as well
I mean, if you want to use Windows applications, just install the Windows that came free with your computer. For the cost of Win4Lin or Wine, you can get a whole nother hard drive to dedicate to Windows, and it will be fully compatible.
Yes, but that means you have to dual boot... I stopped doing that a decade ago. It was a PITA, and you lose state -- if I'm working on something in one window, and need to work on something else, I shouldn't need to reboot. I often leave 3-4 windows up with development stuff (code, running programs, log files, etc) while going off to do other stuff. If I have to reboot in order to do "other stuff" then I have to quit out of any files I'm editing, close all my windows, and reboot... odds are I won't remember precisely where I was in the coding cycle when I come back to it unless those windows are still present.
It would be even worse if the documentation for the project (largely in Word docs, some in a wiki) meant I had to reboot everytime I wanted to view the latest copy.
Dual booting is a kludge IMO.
On a related note, how come there are no Linux emulators for Windows? Is it because Windows has better alternatives to any Linux program, or is there some sort of GPL patent issue?
Nice troll.
It's because the Linux/Unix/POSIX APIs are clearly documented and well known (which is not true for the Windows libraries). In fact, Windows uses most of the very same system calls. Many Linux programs are portable and can be compiled not only on other Unix systems, but also on Windows. Cygwin is a port of the basic Unix libraries and a boatload of Unix utilities, along with an X/Windows Server, to Windows... there are also cross-compilable graphics toolkits like Qt that help in porting graphical apps.
The better bit is particularly funny... the best Oracle client I've used is TOra, which was originally developed for Linux and cross-compiled to Windows. The best MP3 tagger I've found is EasyTag, only available on Unix systems. Most of the better programming tools are Unix oriented, with backports to Windows (if ported at all).
You've got that all wrong! SCO licenses the technology from NetTraverse, not vice versa. It doesn't use any SCO code and you do them a disservice for claiming otherwise.
Sorry for shouting, but this is getting crazy! People are slamming NeTraverse for using SCO technology and are even calling to boycott NeTraverse. That is simply untrue. Below is a quote from Jim Curtin, the CEO of NeTraverse: "Win4Lin is not built on technology licensed from SCO. SCO licenses technology from NeTraverse as an OEM and packages the technology on their UNIX platforms under our name "Merge". We do not license anything from SCO (nor do we need to)." People should check their facts before posting accusations and calls to boycott. They (the posters) have done NeTraverse and the Slashdot community a grave diservice. Instead of boycotting Win4Lin, maybe the posters should go out and by a copy to make amends for the mis-information they've spread and the harm they've done. Dcnjoe60 NOTE: I have no affiliation, whatsoever with NeTraverse, Win4Lin, Jim Curtin or SCO. I just think the record should be set straight on this one issue.
Folks,
;-)
Win4Lin is not built on technology licensed from SCO. SCO licenses technology from NeTraverse as an OEM and packages the technology on their UNIX platforms under our name "Merge". We do not license anything from SCO (nor do we need to). From time to time we have used wording on our web site and in our literature that is accurate but perhaps on a quick read might be misconstrued. The comment "Win4Lin Terminal Server 2.0 is derived from proven technologies developed for Unix® based operating systems over the last 15 years, most notably those of SCO® (Caldera®), under the product name of Merge(tm)" is meant to convey that our technology has been in use on SCO variants of UNIX for some time - not that it is based on SCO technology. SCO Merge (or Sun Merge, or whatever Merge) is our product.
Rather than try and clarify the language on our web site, we will be taking it off
I hope this clears up the misinformation.
Jim Curtin
CEO NeTraverse
But Bochs can (very slowly, but still).
I love VMware by the way. It's one truely useful tool.
The ratio of people to cake is too big
I have Win4Lin and will no longer use it.
The Kernel modifications necessary to run it are too much to keep up with. Everytime you upgrade you have to either wait on them to build a kernel or patch the kernel yourself. And they do not come out with new patches quickly. And they only seem to support the kernel that ships with your linux distribution.
It's a shame that they seem either not able to or refuse to incorporate their patch in the kernel. If they did then this would be a very cool package. As is, it works fine, just locks you into the shipping kernel or a home patched kernel to use it everytime you upgrade.
I spoke with a sales rep at NeTraverse yesterday. They are currently coding support for W2K/XP with release targeted for early next year. I am interested in this product because my small company has two apps (Quickbooks Pro and niche VB app) that aren't available on Linux. I would like to move our desktops to Linux. Win4Lin Terminal Server or a similar product might prove key in making that move. Pricing is $125 per concurrent user for the Terminal Server product. This would centralize my desktops on a couple of servers and allow me to go with diskless workstations, solving a number of my current management issues.
I forgot to mention that in one of my previous posts. I LOVE this feature. Since it resides totally inside of the linux filesystem, I can completely backup my "windows" install during my regular linux tape backup. And if i hose the registry? Just restore that directory, from Linux. No longer the chicken-egg problems I had to trying to back up a real Windows partition to tape and actually be able to restore from tape without the damn registry still being corrupted or some other nonsense. Maybe I didn't try hard enough, but i could never get just a file-based restore to ever get a Windows partition fully working again. Win4Lin let's you backup your entire Windows system purely at the file level (and with full Unix permissions too!).
No, you can't. I personally use Win98 under Win4Lin.
Say what you will but the only reason I ever used XP was because it came preloaded on my laptop. When I upgraded my laptop to Linux and purchased Win4Lin, I went with Win98 because it's what I had been using until I was forced to XP by it being preinstalled on the laptop. The following apps all run faster under Win4Lin/Win98 than they did on the same exact laptop running XP: Microsoft Office (Word specifically), Adobe, QuickBooks, DevStudio (VB and VC++ specifically). Basically, I got Win4Lin to support legacy Windows apps and I ended up getting better performance!
I don't miss anything from XP. I never had any problems with Win98 when I was running it native nor under Win4Lin. Of course, I never play graphic intensive games nor did I play them when I had a Windows box. I suppose if that's really what you use Windows for then you'd have to factor that into your decision. But for any business and most non-game users that want to move to Linux but have some Windows legacy apps, Win4Lin works great.
Now if they could just solve my "reset problem" that started two days ago.
As bloated as vmware? VMWare GSX Server only takes up 103MB on an install. Overhead per VM is about 27MB. 27 megs seems like a lot of ram, but with 256MB PC2100 DDR available for around $35 these days, it isn't, especially if you're only running one virtual machine. The memory use doesn't add up until you get into multiple VMs, which is not what we're talking about here anyway.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"