[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1104898: marked as done (apps fail to start with "XIO: fatal IO error 9 (Bad file descriptor) on X server" when using DXVK)



Your message dated Wed, 11 Jun 2025 00:05:48 +0000
with message-id <E1uP8yS-00GkEI-Og@fasolo.debian.org>
and subject line Bug#1104898: fixed in wine 10.0~repack-5
has caused the Debian Bug report #1104898,
regarding apps fail to start with "XIO:  fatal IO error 9 (Bad file descriptor) on X server" when using DXVK
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1104898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104898
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: wine
Version: 10.0~repack-3
Severity: normal
Tags: patch
X-Debbugs-Cc: foss@morgwai.pl

After the update of Vulkan libs in trixie, when using DXVK most Wine apps fail
to start and exit with the error message included in the subject. Updating the
Vulkan
version in the patch generate/vulkan.patch from '1.3.296' to '1.4.309' (the
current one for trixie) and rebuilding solves the issue.

description: regenerate vulkan files
forwarded: not-needed
author: Michael Gilbert <mgilbert@debian.org>

--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -64,8 +64,8 @@ from enum import Enum
 LOGGER = logging.Logger("vulkan")
 LOGGER.addHandler(logging.StreamHandler())

-VK_XML_VERSION = "1.4.303"
+VK_XML_VERSION = "1.4.309"
 WINE_VK_VERSION = (1, 4)

 # Filenames to create.
 WINE_VULKAN_H = "../../include/wine/vulkan.h"
@@ -1550,14 +1550,14 @@ class VkMember(VkVariable):
             elif self.is_static_array():
                 count = self.array_lens[0]
                 if len(self.array_lens) > 1:
-                    LOGGER.warn("TODO: implement conversion of
multidimensional static array for {0}.{1}".format(self.type, self.name))
+                    LOGGER.warning("TODO: implement conversion of
multidimensional static array for {0}.{1}".format(self.type, self.name))
                 elif direction == Direction.OUTPUT:
                     # Needed by VkMemoryHeap.memoryHeaps
                     return "convert_{0}_array_{5}({2}{1}, {3}{1},
{4});\n".format(self.type,
                         self.name, input, output, count, suffix)
                 else:
                     # Nothing needed this yet.
-                    LOGGER.warn("TODO: implement copying of static array for
{0}.{1}".format(self.type, self.name))
+                    LOGGER.warning("TODO: implement copying of static array
for {0}.{1}".format(self.type, self.name))
             elif self.is_handle() and self.is_wrapped():
                 handle = self.type_info["data"]
                 if direction == Direction.OUTPUT:
@@ -1788,7 +1788,7 @@ class VkParam(VkVariable):
                 # Don't care about specific types for non-Windows platforms.
                 self.format_str = ""
             else:
-                LOGGER.warn("Unhandled type: {0}".format(self.type_info))
+                LOGGER.warning("Unhandled type: {0}".format(self.type_info))

     def copy(self, direction, conv, unwrap, prefix=""):
         win_type = "win32" if conv else "win64"
@@ -2700,7 +2700,12 @@ class VkGenerator(object):

     def _generate_copyright(self, f, spec_file=False):
         f.write("# " if spec_file else "/* ")
-        f.write("Automatically generated from Vulkan vk.xml and video.xml; DO
NOT EDIT!\n")
+        f.write("Automatically generated from ")
+        f.write(self.registry._vk)
+        f.write(" and ")
+        f.write(self.registry._video)
+        f.write("; DO NOT EDIT!\n")
+
         lines = ["", "This file is generated from Vulkan vk.xml file covered",
             "by the following copyright and permission notice:"]
         lines.extend([l.rstrip(" ") for l in
self.registry.copyright.splitlines()])
@@ -3198,6 +3203,8 @@ class VkRegistry(object):
         self.funcpointers = None
         self.handles = None
         self.structs = None
+        self._vk = vk_xml
+        self._video = video_xml

         # We aggregate all types in here for cross-referencing.
         self.funcs = {}
@@ -3844,11 +3851,6 @@ def set_working_directory():
     path = os.path.dirname(path)
     os.chdir(path)

-def download_vk_xml(dst_filename, src_filename):
-    url = "https://raw.githubusercontent.com/KhronosGroup/Vulkan-
Docs/v{0}/xml/{1}".format(VK_XML_VERSION, src_filename)
-    if not os.path.isfile(dst_filename):
-        urllib.request.urlretrieve(url, dst_filename)
-
 def main():
     parser = argparse.ArgumentParser()
     parser.add_argument("-v", "--verbose", action="count", default=0,
help="increase output verbosity")
@@ -3865,23 +3867,15 @@ def main():

     set_working_directory()

-    if "XDG_CACHE_HOME" in os.environ:
-        cache = os.path.expandvars("$XDG_CACHE_HOME/wine")
-    else:
-        cache = os.path.expandvars("$HOME/.cache/wine")
-    os.makedirs(cache, exist_ok=True)
-
     if args.xml:
         vk_xml = args.xml
     else:
         vk_xml = os.path.join(cache, "vk-{0}.xml".format(VK_XML_VERSION))
-        download_vk_xml(vk_xml, "vk.xml")

     if args.video_xml:
         video_xml = args.video_xml
     else:
         video_xml = os.path.join(cache,
"video-{0}.xml".format(VK_XML_VERSION))
-        download_vk_xml(video_xml, "video.xml")

     registry = VkRegistry(vk_xml, video_xml)
     generator = VkGenerator(registry)


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: wine
Source-Version: 10.0~repack-5
Done: Michael Gilbert <mgilbert@debian.org>

We believe that the bug you reported is fixed in the latest version of
wine, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1104898@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated wine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 10 Jun 2025 22:03:42 +0000
Source: wine
Architecture: source
Version: 10.0~repack-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <debian-wine@lists.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Closes: 1104898
Changes:
 wine (10.0~repack-5) unstable; urgency=medium
 .
   * Build appropriately for vulkan 1.4 (closes: #1104898).
Checksums-Sha1:
 55b956fbb9575a111c976c80e2150acbf5196014 4530 wine_10.0~repack-5.dsc
 af5acddd726f9b7032f6d9f7355b41a6dffd3a53 6210340 wine_10.0~repack-5.debian.tar.xz
 7a4fc101980d2a0018ece974f7393720258571e7 21994 wine_10.0~repack-5_source.buildinfo
Checksums-Sha256:
 f68edcb810b0fba1a582d7b82d6fb1fd9f00539d662bfe0826c656336a3a0894 4530 wine_10.0~repack-5.dsc
 0741fecdb9577d3e8797274959fed89502017e29124041c29882251722491b08 6210340 wine_10.0~repack-5.debian.tar.xz
 6775cca892ededc57077a01d2041fed66849ce5da71a91cfcb5673dcfb8d32cf 21994 wine_10.0~repack-5_source.buildinfo
Files:
 0d20c0a1efa30b7722fb90346de8ee21 4530 otherosfs optional wine_10.0~repack-5.dsc
 798142b52c1c8d2fba98e22179f07ee9 6210340 otherosfs optional wine_10.0~repack-5.debian.tar.xz
 5fd191d669bed0db857d06f8d63a70ad 21994 otherosfs optional wine_10.0~repack-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQQzBAEBCgAdFiEEIwTlZiOEpzUxIyp4mD40ZYkUaygFAmhIxa8ACgkQmD40ZYkU
ayjXGx/8CdtJnKQLuRiQH9NgmZrhWeZ3FjcMCihgzV8VFz9xLzGO97VJxMPlKgGk
GuaAVBDJ/7XCdCOscswt/DYxoT6O+DxUSxIaaLHlUWtVHftEeAXl/YWGPEF7C0vF
gXxev2bOWXnmsv9JjutUFYE5XrYob0covJPrxzxTWxrU7NzNBLNI1K6+KAKMj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vMPpTQjjRlKbuAhvqsk+BFWl1dcqB5erHkKz
1u2Ithmoz+xCB45H9Pw1EqiPC0QtmUVssfMZBvWERdKqPblGiIwwCMD7zD8Tgkng
oW4tB/esI9HAuRCyIXDU6OmYztIMpg==
=qkhf
-----END PGP SIGNATURE-----

Attachment: pgpNqRUNJBIy8.pgp
Description: PGP signature


--- End Message ---

Reply to: