724 points · by etiam · 8y ago · 222 comments
[2] https://www.reddit.com/r/linux/comments/7ql4kl/the_screensho...
But I do a lot of design work and this is where I miss all the Adobe apps. I've found a good workflow with inkscape and it serves me well.
Using a Windows VM with the Adobe cc suite is fine, but it's not as clean as having it (somewhat) natively available.
Great work Wine team.
My solution was ultimately to set up an Arch-based KVM hypervisor with a Windows 10 VM running as the main "workstation", with USB + GPU PCI passthrough and paravirt. The hypervisor also runs Linux VMs, from which I do development work via VNC and/or SSH.
This is the most convenient workflow situation for me, and allows the best of both worlds. It essentially makes Windows act like a desktop environment for a Linux box while maintaining practically-native overall performance for all workloads, including gaming and photo/video editing. It also grants the admin convenience of virtualized environments, since I can use zvols to snapshot everything at once, place clean resource limitations on each environment, etc.
It would only not work for Linux-based graphics development, but even then, you can get a second GPU and pass it through to another VM, running on a separate display.
Before I got the hypervisor set up, I ran Windows on the hardware with Linux VMs hosted in VirtualBox. The biggest issue with this (aside from the general shame and guilt of using Windows on the hardware) was that Windows would decide it wanted to turn off for MS-enforced updates and bring everything down. Now, Windows is separate and it can crash, reboot, or hurt itself all it wants, and rarely causes any real loss.
My impression is that dGPU "hot" swapping between non-running guests has gotten easier. But that swapping to host after a guest is still a hardware/drivers/kernel "maybe it just works, or maybe you can't get there from here".
In order to not affect their pro GPU sales they could maybe limit the number of virtual GPUs from 16 to 2, which would be enough for the host and a single guest.
[0] or Nvidia, I don't care, but since Nvidia is the market leader they have less incentive than AMD.
Seems very polished to me -- but I'm not a web developer or graphic artist.
[1] https://github.com/photopea/photopea/issues/45#issuecomment-...
# The information is poorly presented IMO.
# Gold/Platinum apps fail to work at all for me.
# In addition, info seems to be culled readily, I went back to find info I'd posted so I could setup a game again and the info had been deleted (turns out they had emailed me to tell me that if I didn't actively maintain it then it would be removed - I no longer add data).
Wine has always seemed so brittle, needing cryptic incantations to put the Windows environment in to just the right state.
In all my years of computers, few projects have impressed me as much as Wine. It still feels like it shouldn't be possible, and yet, it works wonderfully.
Also the WSL team is forbidden from looking at the source.
So both your points are as irrelevant as they are snarky.
Looking forward to version 3.11
Does it support The Sims 2 in the mean time? (all versions here are garbage related to a 256 vertices crash: https://appdb.winehq.org/objectManager.php?sClass=applicatio...)
macOS doesn't support Vulkan either, so DX12 and Vulkan based Windows games won't work there in Wine as well (while they can work in Wine on Linux).
TL;DR: Linux is a much better option for gaming in Wine than macOS.
heh, nice
It's a lot of hassle, especially because the least-working Windows programs are also some of the tiniest little utilities where they display maybe one GUI screen, but also take command-line parameters. So I usually have to copy files for them to interact with into the VM, open cmd.exe to run the utility on the files, interact with the utility GUI, then copy the files back out. Wine would make this workflow a lot better!
What I'm wondering is: if I don't care about being a Wine "purist", and I have a legitimate copy of Windows laying around, is there any way to dissect that copy of Windows for its files (drivers, helper executables, etc.) and wrap them around a Windows EXE, such that Wine will be using as few Wine implementations of DLLs as possible, rather than just the minimum required to get the individual EXE vaguely working? Is there a way to start off a Wine install with "maximum compatibility" like this?
I really do wish there was some equivalent of Windows' WSL: a kernel-side ABI shim for Linux/macOS that can run a complete copy of Windows (minus the kernel) inside it, including services like GDI—which you could then use an RDP client to connect to—but where the entrypoint is running an individual EXE, and those services are only started when clients attempt to connect to/use them. If I can make Wine like that, that'd be a dream.
Alternatively, Linux+macOS support for running Windows Docker applications, plus support for containerizing graphical Windows applications, would largely obviate my need for Wine.
But I realized over time that it wasn't actually a good idea. Linux and Windows have one hell of an impedance mismatch. Windows distributes the user-space and kernel-space dramatically differently from Linux. The Linux VFS layer is greatly different than the Windows filesystem layer, and related semantics. Windows likes UTF-16 APIs, Linux likes UTF-8. They do threading differently, Winsock is extremely broken, named pipes don't work like netlink sockets, Windows is a little bit country, Linux is a little bit Rock'n'roll...
I'm sure someone with more experience can list off more. Even the general ecosystems are entirely different. A lot of things on Windows are kind of 'defacto.' Like, wintab32.
At the end of the day, the hacks that Wine does to make things work are astoundingly small compared to the massive undertaking they have reimplementing Windows in a fashion that is useful. You could go in with the logic of trying to be 'as Windows as possible' and use as much of the Windows libraries as you can, but how are you going to deal with things at that level, when Windows puts GDI and RPC in the kernel and Linux has it as userspace daemons?
the majority of problematic DLLs are officially redistributable by MS. the vast majority of the remainder depend on undocumented kernel APIs, which are... also unimplemented in wine, and usually the reason the builtin wine DLL doesn't work properly. you'd have an easier time importing your legitimate windows drivers to Linux, through ndiswrapper!
Most VMs provide the ability to share folders between the host OS and guest OS.
After migrating from macOS to Linux last spring, there is one application I still miss. It is available for Windows and macOS only.
I tried to get it work with Wine, but the installer complained about missing .Net 4.5.1+ So I installed it, but the installer still complained.
Then I read that Wine cannot emulate Windows 7 + .Net 4.5.1; so I switched to emulation mode to Windows Server 2003R2. Now, the installer complained about only supporting Windows 7 or newer.
So, does anybody know if Wine 3.0 supports Windows 7 + .Net 4.5.1?
(I know, I could do the research myself. Don't bother, unless you know off the tip of your head.)
EDIT: Almost forgot - congratulations to all the developers!!!
Anyone who owns Crossover is entitled to support, and you may be able to then submit your specific program over to the devs to take a look and see if they can figure out why it's not working.*
Note: I say "might" and "may" because buying a Crossover license doesn't automatically entitle you to demand support for any obscure program you can think of. The developers will take a look at your logs and offer suggestions with no guarantee of a fix. But it is a way of supporting Wine development.
What is the name of the app?
[1]https://appdb.winehq.org/objectManager.php?sClass=version&iI... [2]https://test.winehq.org/data/
The application is called SwyxIt! (the exclamation mark is part of the name). It is a VoIP / Softphone application.
Can be found here: https://www.swyx.de/products/support/support-downloads.html
I hope Wine 3.0 will be available on openSUSE Tumbleweed soon. Once it is, I will give it another try.
Historically for these abandoned devices, I'd just use MIDI for communicating with it; since MIDI hasn't changed in decades, it all continues to work just fine (in Windows and Linux). But, it's certainly convenient to just plugin the synth itself via USB and have it all Just Work.
But, yeah, to speak to your point: There are mountains of old software (and hardware!) that won't work on Windows anymore, but will run fine on Linux with Wine. That's pretty amazing to me. I couldn't believe how smooth it all was; I remember spelunking docs for hours to figure out how to make things work. Now, I just run the installer (or just run "wine app.exe") and there it is. I'm sure there are exceptions, but damned if I'm not still impressed.
I rarely consider any program important enough to reboot to use it, since I'm most comfortable and productive in Linux, and Wine becoming so good over the past few years makes it even less of an issue. I still keep a Windows partition on my laptop, Just In Case, but I haven't needed it in months.
Have you found that a linux machine has noticable latency when playing/recording music and applying filters?
I don't notice the latency, but I also haven't measured it, and I just do it as a hobby, so spending some of my time tinkering with quirky stuff is fine (though it's not really that quirky anymore...tons of stuff Just Works).
If it were my job, I would probably consider a mac. It's not; my job is software, where Linux is the clear winner. But, I don't think it's nearly as clear as it used to be that Linux isn't suitable for pro audio work. I think a reasonable person might give it a try, whereas five (or ten, or twenty, which is when I first started poking at audio on Linux) years ago it would have been madness to try to do real audio work on Linux.
The only problem I encountered with Reaper under Wine is that it needs a lot of time to buffer a very big audio track when it's being added to a project. Say I record my band on our portable recorder then I drag and drop the big sample (2-3 hours stereo 44.1khz x16bit stereo uncompressed .wav) on a Reaper track, it starts eating all PC's memory to buffer it hanging the machine for a a good minute. Once the track is added, the memory gets released and it works perfectly though, so it's not technically a bug and I have no idea if it depends on Wine or Reaper.
A few months ago I also started to use the native Linux Reaper port which is fantastic and lately got a lot more stable, but all my attempts to have Windows plugins working in parallel with it through Wine failed although they say it is possible, so although there are some interesting plugins out there, they're not remotely comparable to what is available for Windows (but that would be the case for every other native application): using Wine is still the best option if you are not just strictly recording and need external plugins. I also explored the possibility to have musical software working on a Windows VM with disconforting results so far: computing power is there, but latency is a nightmare. As of today, to me Wine still offers the best options if one needs both low latency and compatibility.
It would be funny if someday Microsoft decides to include Wine with WSL, but I wouldn't be surprised to be honest.
[1] https://www.amazon.com/Mountain-Three-Wolf-Short-Sleeve/prod...
[1]https://www.winehq.org/pipermail/wine-devel/2017-January/115...
One common example of a use case for wine is games, so maybe we can measure it as the number of games wine has it in its database over the years.
> it’s certainly true for recent versions of Windows.
Sounds very much likely given the fact that D3D 11 is now supported. D3D was an enabler or catalyst if you could call it like that, for the games and GPU industry. Who knows what’s in store with UWP
There were other enablers as well like infiniband networks. I wonder what the performance currently is in the niche market of HPCs with infnibands enabling RDMA networks: https://en.wikipedia.org/wiki/RDMA_over_Converged_Ethernet
Cool.
It surely helps to remove the lock-in that DirectX API is causing. Run Windows only games on Linux? For MS lock-in proponents it must be a nightmare.
[1] This was a screenshot of my machine in 2004, running Microsoft Office under Wine under NetBSD's Linux emulation:
https://www.netbsd.org/gallery/in-Action/daniel-cxoffice.jpg
At least most of complex features such as D3D11 support implemented by them.
Most Delphi and Win32 API apps run without a hitch, and developing under wine with mingw seems to go faster than using MS Visual Studio on Windows.
I'll edit later today when I get a chance and post my makefiles / compiler opts to github.
https://eggplant.pro/blog/writing-win32-applications-with-mi...
If you need clarifications, just post a comment there.
As for faster, VS2017 takes minutes to load on my machine (which is fairly beefy BTW). Even back when VS was fast, I could still work faster with the old userland progs like vim, grep, make, etc...
https://docs.microsoft.com/en-us/sql/sql-operations-studio/d...
Give it a shot and provide feedback, if no one tries it then it'll never get the support or workarounds it might need!
2. Installation and Use Rights.
b. Device. In this agreement, “device” means a hardware system (whether physical or virtual) with an internal storage device capable of running the software. A hardware partition or blade is considered to be a device.
d. Multi use scenarios.
(iv) Use in a virtualized environment. This license allows you to install only one instance of the software for use on one device, whether that device is physical or virtual. If you want to use the software on more than one virtual device, you must obtain a separate license for each instance.
[1]: https://www.microsoft.com/en-us/Useterms/OEM/Windows/10/Uset...
My main issue is working from home, and connecting to my work's VPN. We use Pulse Secure, and it does a host scan that only works on Windows and Mac OS X.
Has anyone had any experience with getting Pulse Secure running under Wine and having it trick a corporate VPN host-checker that it is indeed a compliant version of Windows?
Google openconnect infradead. I used AnyConnect at work (it does support both, despite name) but didn't have to use this feature.
One thing I noticed is that the network-manager-plugin will disconnect you when changing networks, while the command-line-version reconnects without a need to re-authenticate.
In another instance, I used a windows host with Win32-OpenSSH. I used a proxy.pac script for web browsing and for SSHing I tunnelled using the ProxyJump option. You could also configure your Windows VM to act as a router and set the routes in the Linux host to go to the VM.
See https://wiki.winehq.org/Useful_Registry_Keys
HKEY_CURRENT_USER
+-Software
|
+-Wine
|
+-Direct3D
| |
| +->csmt
| | [DWORD Value (REG_DWORD): Enable (0x1) or disable (0x0, default) the multi-threaded
| | command stream feature. This serialises rendering commands from different threads into
| | a single rendering thread, in order to avoid the excessive glFlush()'es that would otherwise
| | be required for correct rendering. This deprecates the "StrictDrawOrdering" setting.
| | Introduced in wine-2.6.]https://www.codeweavers.com/compatibility/crossover/microsof...
(Codeweaver's contributes perhaps the majority of code to Wine 3.0, so Wine 3.0 will also run it well, but they have a terrific product because they allow you to essentially sandbox each Windows app into a different wine "bottle" container with different settings for each, and by providing default settings and switches for most major apps.)
Also, there's a very simple extension for OWA in the chrome app store; it just tricks OWA into thinking you're running Chrome on Windows instead of Linux (where microsoft subjects you to the ancient version instead). I know the author pretty well ;) However, I haven't been forced into running OWA or connecting to Exchange at all, so it might have bitrotted or not be needed anymore:
https://chrome.google.com/webstore/detail/owa-user-agent/bbc...
In any case, congratulations to the developers for their work.
I switched from OSX to Linux over the past year and being unable to play music I bought from iTunes BEFORE they removed the DRM is my biggest pain point.
Hope that helps.
My best option is probably to sit down and put this sleeve of old blank CDs to good use and burn all the songs so that I can re-rip them as MP3. It's just irritating.
Wouldn't bother me so much if it didn't happen to include the music that I code to (First Iron Man sound track. Consistent paced instrumentals that all seem to flow well together.)
https://appdb.winehq.org/objectManager.php?sClass=version&iI...
But it still happens that I will use wine for games I really want to play and which do not have linux support (it's extremely rare I want a game that bad, the last one was No Man's Sky). Being able to launch them just like a native app when I feel like playing is a huge advantage (not even sure it would work properly in a virtual machine, with its dedicated RAM and CPU limits).
So I guess my usecase for wine is "gaming fallback". Not that I speak for the majority, obviously, let see what other people have to say about it. :)
Also, installing, updating, configuring, and maintaining Windows in a VM is substantially more hassle than installing a game in a CrossOver container. More people are familiar with doing the former than the latter, but the latter is still a lot less effort.
Practically nothing beats mpv IMHO as a general purpose media player, with VLC being second best.
I can do this:
mpv https://danielamosboots.bandcamp.com/track/triangle-squareWine also gives programs much better access to the GPU.
How is that possible ?
Everything is 100% native and executed directly on the processor, there is no intermediate layer or translation occurring like it would for a VM.
When you run Wine, you are not running Windows, you're running unrelated code that just happens to do the things that Windows programs expect. For example, when a Windows program asks for a window, it asks in the Win32 API. Wine knows this API and responds to the request with an X11 window, like any other program on your system would get. Wine does this for almost all Windows API calls; it takes them and handles them in a way that makes sense for a POSIX system. The application being executed never realizes it's not on Windows because the API is fully satisfied, and Wine makes sure that function calls that mean "give me a window", "make a sound", and "write to a file", etc., all do things that make sense, just like MS Windows does when the same applications make the same requests on a system that runs MS Windows.
Because Wine has its own implementations of these functions and isn't just executing Windows code on a virtual processor, Wine's version of the function may be faster or slower than the MS version because it may satisfy the request with more or less work. All that matters is that the implementations meet the caller's expectations.
After that I moved to VB and that is for me the most reliable, especially with the right snapshots available. That is: right after installing Windows, then after configuring it, then after installing Photoshop. The option to go back to a previous state is great.