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

Bug#1077050: marked as done (Regression: D3D games only give black screen)



Your message dated Sat, 21 Dec 2024 17:38:14 +0000
with message-id <CANTw=MO__UHFht0Gq=MfH8XUdE+ynkvSb14sOOD8owpnbC+QhA@mail.gmail.com>
and subject line re: Regression: D3D games only give black screen
has caused the Debian Bug report #1077050,
regarding Regression: D3D games only give black screen
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.)


-- 
1077050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077050
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wine
Version: 8.0~repack-4
Severity: important
X-Debbugs-Cc: cornwarecjp@ultimatestunts.nl

Dear Maintainer,

In Debian Bullseye, I used wine 5.0.3-3 for several games. Apart from an issue
in Flight Simulator 2004 (for which I patched wine - see [1]), it worked fine.
After upgrading to Debian Bookworm, which gave me wine 8, I encountered a range
of issues, among which a reappearance of bug #1002023 (which I can no longer
reproduce). After lots of experimenting (incl. patching wine 8 in the same way
as described in[1]), I decided to cleanup everything and see what happens.

So, I uninstalled wine, and re-installed version 8.0~repack-4. That is:
including the preloader packages, which are not installed by default. I'm not
sure what they do, and in practice they seem to make no difference. Then I did
this:

* I downloaded Wine's Gecko 2.47.3 .msi files (both 32 and 64 bit) and placed
them in ~/.cache/wine
* I created a new Wine directory by setting WINEPREFIX=~/cleanwine (also set
throughout the following steps) and calling winecfg
* I installed Flight Simulator 2004 in the new Wine directory (selecting a full
install on disk)
* I ran wine fs9.exe in the FS2004 directory

The result was
* Some initialization windows appear (e.g. Completing setup, Building
database...)
* Flight Simulator loading window appears
* Resolution changes to 800x600, and the screen becomes black, with a remainder
of the loading window and a mouse cursor
* The game does not seem to respond to keyboard/mouse, e.g. Esc->Enter,
Alt+Enter, Alt+F4 have no effect

Another Direct3D game (GTA III) also shows a black screen, while previously it
worked fine. I did not test this in the clean Wine directory.

A game that does not use Direct3D (Age of Empires II) runs fine.

Debian-supplied OpenGL games run fine, and I appear to have direct rendering to
my AMD video card.

Interestingly, the console output of "wine fs9.exe" showed several lines line
this:

0144:err:d3d:wined3d_fence_wait glClientWaitSync returned 0x911b.
0144:err:d3d:wined3d_context_gl_wait_command_fence Failed to wait for command
fence with id 0x1, ret 0x4.
(though sometimes with different id numbers).

I think this can only come from the glClientWaitSync call in wined3d_fence_wait
in dlls/wined3d/query.c (line 290). This is super weird: 0x911b is
GL_TIMEOUT_EXPIRED, but with the timeout delay passed to glClientWaitSync, it
should NEVER time-out (well, not within 292 years). Yet, an internet search
shows that other people have run into the same error with wine; maybe OpenGL
(Mesa?) is misbehaving?

I'm not sure if the glClientWaitSync error is related to the games not working.
I have a huge log file created with WINEDEBUG=+x11drv,+synchronous,+wgl
MESAG_DEBUG=1 LIBGL_DEBUG=verbose, but it's huge and didn't give me new
insights. I'm hesitant to share it here because of it size (82k lines).

[1] https://www.mail-archive.com/debian-wine@lists.debian.org/msg01158.html


-- Package-specific info:
/usr/bin/wine points to /usr/bin/wine-stable.

-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-23-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.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

Versions of packages wine depends on:
ii  wine32  8.0~repack-4
ii  wine64  8.0~repack-4

wine recommends no packages.

Versions of packages wine suggests:
ii  dosbox                        0.74-3-4+b1
pn  exe-thumbnailer | kio-extras  <none>
pn  playonlinux                   <none>
pn  q4wine                        <none>
pn  winbind                       <none>
pn  wine-binfmt                   <none>
pn  winetricks                    <none>

Versions of packages libwine depends on:
ii  libasound2                       1.2.8-1+b1
ii  libc6                            2.36-9+deb12u7
ii  libcapi20-3                      1:3.27-3+b1
ii  libfontconfig1                   2.14.1-4
ii  libfreetype6                     2.12.1+dfsg-5+deb12u3
ii  libglib2.0-0                     2.74.6-2+deb12u3
ii  libgphoto2-6                     2.5.30-1
ii  libgphoto2-port12                2.5.30-1
ii  libgstreamer-plugins-base1.0-0   1.22.0-3+deb12u2
ii  libgstreamer1.0-0                1.22.0-2
ii  libpcap0.8                       1.10.3-1
ii  libpulse0                        16.1+dfsg1-2+b1
ii  libudev1                         252.26-1~deb12u2
ii  libunwind8                       1.6.2-3
ii  libusb-1.0-0                     2:1.0.26-1
ii  libx11-6                         2:1.8.4-2+deb12u2
ii  libxext6                         2:1.3.4-1+b1
ii  libz-mingw-w64                   1.2.13+dfsg-1
ii  ocl-icd-libopencl1 [libopencl1]  2.3.1-1

Versions of packages libwine recommends:
ii  fonts-liberation           1:1.07.4-11
ii  fonts-wine                 8.0~repack-4
ii  gstreamer1.0-plugins-good  1.22.0-5+deb12u1
ii  libasound2-plugins         1.2.7.1-1
ii  libcups2                   2.4.2-3+deb12u5
ii  libdbus-1-3                1.14.10-1~deb12u1
ii  libgl1                     1.6.0-1
ii  libgl1-mesa-dri            22.3.6-1+deb12u1
ii  libgnutls30                3.7.9-2+deb12u3
ii  libgssapi-krb5-2           1.20.1-2+deb12u2
ii  libkrb5-3                  1.20.1-2+deb12u2
ii  libodbc2                   2.3.11-2+deb12u1
ii  libosmesa6                 22.3.6-1+deb12u1
ii  libsdl2-2.0-0              2.26.5+dfsg-1
ii  libv4l-0                   1.22.1-5+b2
ii  libvulkan1                 1.3.239.0-1
ii  libxcomposite1             1:0.4.5-1
ii  libxcursor1                1:1.2.1-1
ii  libxfixes3                 1:6.0.0-2
ii  libxi6                     2:1.8-1+b1
ii  libxinerama1               2:1.1.4-3
ii  libxrandr2                 2:1.5.2-2+b1
ii  libxrender1                1:0.9.10-1.1
ii  libxxf86vm1                1:1.1.4-1+b2

Versions of packages libwine suggests:
pn  cups-bsd                   <none>
ii  gstreamer1.0-libav         1.22.0-2
ii  gstreamer1.0-plugins-bad   1.22.0-4+deb12u5
ii  gstreamer1.0-plugins-ugly  1.22.0-2+deb12u1
ii  ttf-mscorefonts-installer  3.8.1

Versions of packages wine32 depends on:
ii  libc6    2.36-9+deb12u7
ii  libwine  8.0~repack-4

wine32 recommends no packages.

Versions of packages wine32 suggests:
ii  wine32-preloader  8.0~repack-4

Versions of packages wine64 depends on:
ii  libc6    2.36-9+deb12u7
ii  libwine  8.0~repack-4

Versions of packages wine64 recommends:
ii  wine32  8.0~repack-4

Versions of packages wine64 suggests:
ii  wine64-preloader  8.0~repack-4

Versions of packages wine is related to:
pn  dxvk                     <none>
pn  dxvk-wine32-development  <none>
pn  dxvk-wine64-development  <none>
ii  fonts-wine               8.0~repack-4

-- no debconf information

--- End Message ---
--- Begin Message ---
CJP wrote:
> Kernel: Linux 6.1.0-23-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN

Unfortunately, there is no support for running wine with a tainted
kernel in debian.

Best wishes,
Mike

--- End Message ---

Reply to: