Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 13:22:30 +0100
From:      Sascha Folie <sascha.folie@safo.at>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Does wine64 actually work?
Message-ID:  <20171208132230.32d76915db95633e3425dfa0@safo.at>
In-Reply-To: <VI1PR02MB120051E3A07A28B8CB26D5C6F6330@VI1PR02MB1200.eurprd02.prod.outlook.com>
References:  <VI1PR02MB1200072CBD52A162083C9635F63D0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20171205203246.e1a071f3c3e4f42bada7631c@safo.at> <VI1PR02MB12000D6FF5C5E0E1310D7121F63D0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20171205214346.b8956c02473afecd3f0c82fb@safo.at> <VI1PR02MB1200E068613CBC159EB6008CF63D0@VI1PR02MB1200.eurprd02.prod.outlook.com> <ea5e5e223527eba32a1432d02a6c1d70@safo.at> <VI1PR02MB120051E3A07A28B8CB26D5C6F6330@VI1PR02MB1200.eurprd02.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Dec 2017 13:57:21 +0000
Manish Jain <bourne.identity@hotmail.com> wrote:
> 
> On 12/07/17 00:33, Sascha Folie wrote:
> > On 05.12.2017 22:11, Manish Jain wrote:
> >> On 12/06/17 02:13, Sascha Folie wrote:
> >>> On Tue, 5 Dec 2017 20:09:03 +0000
> >>> Manish Jain <bourne.identity@hotmail.com> wrote:
> >>>> On 12/06/17 01:02, Sascha Folie wrote:
> >>>>> On Tue, 5 Dec 2017 19:01:37 +0000
> >>>>> Manish Jain <bourne.identity@hotmail.com> wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> On a FreeBSD 10.3 amd64 box, I am writing some documentation about 
> >>>>>> Wine.
> >>>>>>
> >>>>>> I have been using wine32 for quite a while now, and it works 
> >>>>>> remarkably
> >>>>>> well. wine64 on the contrary seems to be a minefield.
> >>>>>>
> >>>>>> I deleted my ~/.wine (which has 32-bit-stuff), installed the wine pkg
> >>>>>> (which is 64-bit), and tried running a few binaries (notepad.exe and
> >>>>>> mspaint.exe) under wine64 from Win 7 as well 10.
> >>>>>>
> >>>>>> All I could get was trash (or nothing at all).
> >>>>>>
> >>>>>> Is there anyone on this list who has had success running 7/10 
> >>>>>> binaries
> >>>>>> under wine64 ?
> >>>>>>
> >>>>>> The problem seems to be not just with FreeBSD. Linux vm also produces
> >>>>>> trash with 64-bit Windows binaries.
> >>>>>>
> >>>>>> -- 
> >>>>>> Thanks & Regards,
> >>>>>> Manish Jain
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> I'm running Factorio[1] on FreeBSD 11.1 amd64 on wine-staging-2.21
> >>>>> without problems.
> >>>>>
> >>>>> [1] https://www.factorio.com/
> >>>>>
> >>>>> Regards,
> >>>>> Sascha
> >>>>
> >>>> I removed wine and installed wine-staging (v2.17), and then I tried
> >>>> running notepad.exe from Win 7 under wine64. I get:
> >>>>
> >>>> err:winedevice:ServiceMain Failed to load L"win32k.sys"
> >>>>
> >>>> No notepad window. Does anyone have any tips for resolving this 
> >>>> problem?
> >>>>
> >>>> Tx
> >>>> Manish Jain
> >>>
> >>> I get the same error from a Win10 copy of notepad.exe. Seems like it
> >>> isn't a pure 64bit application.
> >>>
> >>> wine/wine-devel/wine-staging on FreeBSD amd64 only support 64bit and
> >>> can't run 32bit software at all.
> >>>
> >>> Regards,
> >>> Sascha
> >>
> >> Thanks for replying, Sascha. Can you please tell me one or two 64-bit
> >> binaries from w7/w10 that would work under FreeBSD wine ?
> >>
> >> I was thinking notepad would be easiest, but it looks like things are
> >> not so cool.
> > 
> > Hi,
> > 
> > I didn't test it yet but maybe putty.exe[1] (64bit) would be a good 
> > application.
> > 
> > [1] https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
> > 
> > Regards,
> > Sascha
> 
> Hi Sascha/Emilia,
> 
> I am running into crash both with Putty (64-bit) and Pale Moon (64-bit)
> with wine / wine-staging.
> 
> # file ./putty.exe
> ./putty.exe: PE32+ executable (GUI) x86-64, for MS Windows
> 
> # wine64 ./putty.exe
> fixme:winediag:start_process Wine Staging 2.19 is a testing version 
> containing experimental patches.
> fixme:winediag:start_process Please mention your exact version when 
> filing bug reports on winehq.org.
> err:winedevice:ServiceMain Failed to load L"win32k.sys"
> err:winedevice:ServiceMain Failed to load L"win32k.sys"
> wine: Unhandled stack overflow at address 0x1400bb0aa (thread 0009), 
> starting debugger...
> 
> I have lodged a bug report with the stack trace:
> https://bugs.winehq.org/show_bug.cgi?id=44137
> 
> If you have any clues how to fix the problems on my system, please do 
> let me know.

Hi,

I just tested putty.exe myself and I saw the "win32k.sys" error
but the application starts and works.
So it has to be something else in your case.

Did you enable any of the new security features at the end of
bsdinstall?
I remember that some of them broke i386-wine for me.

Regards,
Sascha



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171208132230.32d76915db95633e3425dfa0>