Originally posted by oiaohm
View Post
Announcement
Collapse
No announcement yet.
Microsoft Makes Open-Source Windows Forms, WinUI, WPF
Collapse
X
-
-
Originally posted by Weasel View Post?!??? Are you suggesting to use one compositor per application? Wow. Talk about retarded.
Windows applications expect services that don't match the Linux kernel, so Wine provides a Windows kernel facade which runs as an application on the Linux kernel.
Windows applications expect compositor behaviour that doesn't match Wayland, so Wine can provide a Windows compositor facade which runs as a Wayland client.
Conceptually, it's no different than using XEmbed to wrap a frontend around MPlayer under X11. In fact, nested compositing is the officially recommended approach for replacing XEmbed.Last edited by ssokolow; 14 December 2018, 10:29 PM.
Comment
-
Originally posted by ssokolow View PostFor Wine? No, it makes all the sense in the world.
Windows applications expect services that don't match the Linux kernel, so Wine provides a Windows kernel facade which runs as an application on the Linux kernel.
I mean, an alternative is to simply make a kernel module that implements the Windows kernel, but it wouldn't be Wine anymore, just call it "ReactOS Unix". Wine is all about integrating Windows userspace into Unix userspace. If you want real kernel-level stuff then use ReactOS.
Without integration you might as well run a freaking Virtual Machine. You guys are clearly missing the point of Wine.
Originally posted by ssokolow View PostWindows applications expect compositor behaviour that doesn't match Wayland, so Wine can provide a Windows compositor facade which runs as a Wayland client.
Comment
-
Originally posted by Weasel View PostNo you just need a userspace driver that does it (like wine's current winex11.drv).
Originally posted by Weasel View PostObviously the driver will require features that Windows needs though, so Wayland is out of the question.
Comment
-
Originally posted by ssokolow View Post"Wayland is out of the question" is too strong a statement. There are always ways to work around platform limitations... it's just a question of what has to be traded away and what percentage of apps will take a hit to compatibility unless you enable the desktop-in-a-window option... similar to how Wine currently trades off between native window decorations and supporting Windows applications that want to overdraw theirs.
And when I said "out of the question" I meant using the current design of translating events and stuff in a (relatively simple) driver.
Comment
-
Originally posted by Weasel View PostI don't think you get it; the wineserver is needed for interoperability between applications. You don't need it if all you run is a single application per such session that's not aware of another one (it's the same as running each app in its own WINEPREFIX -- they won't be aware of each other, in the Windows sense of the term). Theoretically, in such a design you could store all "kernel stuff" in the app's address space and there would be no difference.
And when I said "out of the question" I meant using the current design of translating events and stuff in a (relatively simple) driver.
Comment
-
Originally posted by Weasel View PostI don't think you get it; the wineserver is needed for interoperability between applications. You don't need it if all you run is a single application per such session that's not aware of another one (it's the same as running each app in its own WINEPREFIX
wineserver is a daemon process that provides to Wine roughly the same services that the Windows kernel provides on Windows.
Wineserver is your replacement to windows system services. There are very few windows applications don't use one of the system services features. If you start a clean wine prefix run 1 application if you see wineserver spin up application used something that used a system service. And wineserver going to spin up no matter what as the loader of wine access the registery to check on setting this will trigger the wineserver to start.
Wineserver is not just about interoperability between application. Its about emulating the basic features windows applications expect windows services to be providing be this kernel space or user space windows services..
Last edited by oiaohm; 19 December 2018, 10:55 PM.
Comment
-
Originally posted by debianxfce View PostThe xorg developer in that video and his fans are dreaming that wayland would replace X11 and reduce programming work. They need to maintain two systems now, very clever. Wayland will go to the same garbage box as pulseaudio. There is not many native wayland apps, it is so popular.
Keeping the two systems of wayland and x.org X11 server has in fact reduced workload due to volume of code deleted from x.org X11 server in the process. More code has been deleted from x.org X11 server than what makes up the complete weston/wayland stuff.
There are other limitations like wayland allows per monitor DPI. X11 you will notice per monitor DPI is very hard to-do.
Comment
-
Originally posted by oiaohm View PostWineserver is need when running single applications as well. Items like registry access and locking around items like are done inside the wineserver.
Yeah of course they are done in the wineserver because Wine supports multiple processes. Thanks for the info Captain Obvious!
Originally posted by oiaohm View PostWineserver is your replacement to windows system services.
Of course I don't expect anything else from you, throwing random buzzwords around. Providing services is a generic term and it's not the "Windows services" one understands when talking about it (i.e. daemons). You see stuff like winedevice.exe and such, those are "system services".
Yes of course you could store such state in files for example (out of process), which is really no different than wineserver except it's even less efficient. You still need syscalls to write to the files and read them, just as you need syscalls to send requests to the wineserver and receive them. Can't be avoided, because again, it's more than one address space. Really basic stuff here.Last edited by Weasel; 20 December 2018, 11:52 AM.
Comment
Comment