Esync on Debian?

Questions about Wine on Linux
Post Reply
LateralShift
Newbie
Newbie
Posts: 4
Joined: Mon Nov 16, 2020 4:06 pm

Esync on Debian?

Post by LateralShift » Mon Nov 16, 2020 4:13 pm

Hello,
I have been using wine-5.21 from the winehq repository and I understand that it allows "esync" which can improve performance, but using WINEESYNC=1 and WINEDEBUG=+esync doesn't seem to do anything. Do I have to build wine myself instead of using the one in the repository?

jkfloris
Level 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Esync on Debian?

Post by jkfloris » Tue Nov 17, 2020 4:36 pm

esync is available in the winehq-staging packages.

LateralShift
Newbie
Newbie
Posts: 4
Joined: Mon Nov 16, 2020 4:06 pm

Re: Esync on Debian?

Post by LateralShift » Tue Nov 17, 2020 4:44 pm

Ah, that's what it is. I was very new to Linux when I installed WINE and I forgot that the staging branch was a thing :oops: One last thing: the Debian wiki says that stable and devel can coexist using alternatives; can devel and staging coexist in the same way (without stable)? Thanks.

jkfloris
Level 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Esync on Debian?

Post by jkfloris » Tue Nov 17, 2020 5:26 pm

The Wine packages from the official Debian repositories use the alternative system to switch between Wine versions.
The Wine packages from the WineHQ repository don't use this, but you can also install these packages side by side.
(You can also mix these two systems so you can have 5 Wine versions :D )

If you have already installed the winehq-devel package from the WineHQ repository, you can install wine-staging with:

Code: Select all

sudo apt install --install-recommends wine-staging wine-staging-amd64 wine-staging-i386
In this way wine-devel remains the default wine installation
If you want to use wine-staging run

Code: Select all

/opt/wine-staging/bin/wine program.exe
If you want to use wine-staging as the default wine installation, remove only the winehq-devel package
and install the winehq-staging package. You can run wine-devel with

Code: Select all

/opt/wine-devel/bin/wine program.exe
I recommend to create different wine-prefixes for your different wine versions, because up/ downgrading a prefix isn't supported.

LateralShift
Newbie
Newbie
Posts: 4
Joined: Mon Nov 16, 2020 4:06 pm

Re: Esync on Debian?

Post by LateralShift » Tue Nov 17, 2020 7:15 pm

I wondered why I had both a winehq-devel and a wine-devel package. Now I can use esync! Thanks for the help :D

Post Reply