[Bug 45277] Multiple applications need Vulkan child window rendering (DxO PhotoLab, Affinity Photo, Google Earth Pro, Autodesk Fusion 360)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 2 20:37:57 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=45277

--- Comment #79 from Andy Holst <andy.holst85 at gmail.com> ---
(In reply to Andy Holst from comment #78)
> So I'm compiling Wine source and applying patches with Wine staging. I'm
> going to test out IronCAD 2019 by rendering graphics with Vulkan. Is there
> anything I need to know about what patch to apply?
> 
> Is it still patch https://bugs.winehq.org/attachment.cgi?id=70100 aka 'Patch
> with sync in vkAcquireNextImage2KHR' that needs to be applied as is by
> providing
> 
> './patches/patchinstall.sh DESTDIR="`pwd`" --all -W Pipelight -W
> winex11-Vulkan_support' that just support v6.19?
> 
> Or will the following commands by literally applying the wine-staging v6.20
> patches as is in a open container context?
> 
> For amd64 architecture:
> 
> ARG VERSION="6.20"
> ARG WINE_VERSION="${VERSION}~buster"
> ARG WINE_DEB_VERSION="${WINE_VERSION}-1"
> 
> RUN DEBIAN_FRONTEND=noninteractive apt build-dep -y
> wine="${WINE_DEB_VERSION}"
> 
> RUN git clone -b "wine-${VERSION}" git://source.winehq.org/git/wine.git
> /usr/src/wine-source
> 
> RUN git clone -b "v${VERSION}"
> https://github.com/wine-staging/wine-staging.git /usr/src/wine-staging
> 
> RUN mkdir -p /usr/src/wine64
> 
> WORKDIR /usr/src/wine-staging/patches
> 
> RUN exec /bin/bash -c './patchinstall.sh DESTDIR=/usr/src/wine-source --all
> --force-autoconf'
> 
> WORKDIR /usr/src/wine64
> 
> RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig
> ../wine-source/configure --enable-win64 \
> --prefix=/opt/wine-staging'
> 
> RUN exec /bin/bash -c 'make -j7'
> 
> For i386 architecture:
> 
> ARG VERSION="6.20"
> ARG WINE_VERSION="${VERSION}~buster"
> ARG WINE_DEB_VERSION="${WINE_VERSION}-1"
> 
> RUN DEBIAN_FRONTEND=noninteractive apt build-dep -y
> wine="${WINE_DEB_VERSION}"
> 
> RUN mkdir -p /usr/src/wine32 /usr/src/wine32-tools
> COPY --from=amd64 /usr/src/wine-source /usr/src/wine-source
> COPY --from=amd64 /usr/src/wine64 /usr/src/wine64
> 
> WORKDIR /usr/src/wine32-tools
> 
> RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig
> ../wine-source/configure'
> 
> RUN exec /bin/bash -c 'make -j7'
> 
> WORKDIR /usr/src/wine32
> 
> RUN exec /bin/bash -c 'PKG_CONFIG_PATH=/usr/lib/pkgconfig
> ../wine-source/configure --with-wine64=../wine64 \
> --with-wine-tools=../wine32-tools --prefix=/opt/wine-staging'
> 
> RUN exec /bin/bash -c 'make -j7'
> 
> RUN exec /bin/bash -c 'checkinstall -D --pkgname=wine-local
> --pkgversion="${VERSION}" --nodoc --install=yes'
> 
> From final amd64 architecture do following:
> 
> 
> RUN cd /usr/bin && wget 
> 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/
> winetricks'
> 
> RUN chmod +x /usr/bin/winetricks
> 
> WORKDIR /home/ubuntu
> 
> COPY --from=amd64 /usr/src/wine-source /home/ubuntu/wine-source
> COPY --from=amd64 /usr/src/wine64 /home/ubuntu/wine64
> COPY --from=i386 /opt/wine-staging /opt/wine-staging
> COPY --from=i386 /lib /lib
> 
> WORKDIR /home/ubuntu/wine64
> 
> RUN exec /bin/bash -c 'checkinstall -D --pkgname=wine-local
> --pkgversion="${VERSION}" --nodoc --install=yes'

Clarification:

To apply the specific mentioned patch above is it just the following commands ?

/usr/src/wine-staging/patches$ /patches/patchinstall.sh DESTDIR="`pwd`" --all
-W Pipelight -W winex11-Vulkan_support

/$ cd /usr/src && wget -O wine-vk-child-window.patch -nc
"https://bugs.winehq.org/attachment.cgi?id=70100"

/usr/src/wine-source$ patch -p1 < ../wine-vk-child-window.patch

Then the previous mentioned compiling and installing as usual?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list