https://bugs.winehq.org/show_bug.cgi?id=48328
Bug ID: 48328 Summary: DarkForces 2 do not see available resolutions Product: Wine Version: 5.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: axet@me.com Distribution: ---
Created attachment 66054 --> https://bugs.winehq.org/attachment.cgi?id=66054 xrandr log
Hello! I'm trying to run DarkForces 2, seems with recent updated game does not see all available resolutions.
Ubuntu 19.10, ubuntu wine-4.0.2 and wine-develeopment-4.17 (screen stuck I do not see anything beside initial game screen, UI respond to mouse movements). Also I tried to install d3dx9, also I treid winehq repo with 4.0.3 and 5.0~rc2 - games does not see all resolutions. Only two available: 320x180 && 320x240.
According to logs (WINEDEBUG=+xrandr and WINEDEBUG=+ddraw), all ok:
002a:trace:xrandr:X11DRV_XRandR_Init Found XRandR 1.6. 002a:trace:xrandr:xrandr12_init_modes CRTC 0: mode 0x48, 2880x1800+0+0. 002a:trace:xrandr:xrandr12_init_modes OUTPUT 0: name "eDP-1". 002a:trace:xrandr:xrandr12_init_modes Adding mode 0x48: 2880x1800@60. 002a:trace:xrandr:xrandr12_init_modes Adding mode 0x49: 2880x1620@60. 002a:trace:xrandr:xrandr12_init_modes Adding mode 0x4a: 2880x1620@60. 002a:trace:xrandr:xrandr12_init_modes Adding mode 0x4b: 2560x1600@60.
and:
002b:trace:ddraw:ddraw7_EnumDisplayModes Enumerating 2880x1800x32 @0 002b:trace:ddraw:ddraw7_EnumDisplayModes Enumerating 2880x1620x32 @0 002b:trace:ddraw:ddraw7_EnumDisplayModes Enumerating 2560x1600x32 @0
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #1 from Alexey Kuznetsov axet@me.com --- Created attachment 66055 --> https://bugs.winehq.org/attachment.cgi?id=66055 ddraw.log
https://bugs.winehq.org/show_bug.cgi?id=48328
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|DarkForces 2 do not see |Jedi Knight: DarkForces 2 |available resolutions |does not see available | |resolutions
https://bugs.winehq.org/show_bug.cgi?id=48328
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- Does the bug occur with the demo https://archive.org/details/StarWarsJediKnightDarkForcesII_1020
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #3 from Alexey Kuznetsov axet@me.com --- Unable to test. Installer asks for resolution before game starts (320x200 or 640x480), game crashes before it starts. I'm using GOG release. I can share download link for test purposes.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Are there other resolutions in a real windows box?
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Created attachment 66058 --> https://bugs.winehq.org/attachment.cgi?id=66058 Bug does not occur for me
Tested with wine-5.0-rc2 and the GOG version.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #6 from Alexey Kuznetsov axet@me.com --- Created attachment 66059 --> https://bugs.winehq.org/attachment.cgi?id=66059 fullscreen mode bug
bug only occurs in fullscreen, when wine virtual display disabled.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #7 from Alexey Kuznetsov axet@me.com --- Created attachment 66060 --> https://bugs.winehq.org/attachment.cgi?id=66060 virtual display works (window mode)
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #8 from Alexey Kuznetsov axet@me.com --- Created attachment 66061 --> https://bugs.winehq.org/attachment.cgi?id=66061 windows all resolution
games does not work when 3d acceleration enabled. so, I prefer wine and linux.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- In Fullscreen mode: enabled 3D acceleration: all is fine software mode: only the 2 mentioned resolutions are available.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #10 from Alexey Kuznetsov axet@me.com --- @joaopa are you using mesa/nouveau drivers or amd/proprietary drivers?
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Mesa driver for integrated intel card.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #12 from Alexey Kuznetsov axet@me.com --- When I'm using proprietary nvidia drivers it works all resolution visible, with mesa/nouveau - only two resolutions listed.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #13 from Alexey Kuznetsov axet@me.com --- Created attachment 66069 --> https://bugs.winehq.org/attachment.cgi?id=66069 xrandr-nvidia log
I guess this is the difference:
0024:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
Which works!
xrandr 1.6 gives:
002a:trace:xrandr:xrandr12_init_modes Adding mode 0x48: 2880x1800@60. 0
xrandr 1.0 gives:
0024:trace:xrandr:xrandr10_init_modes - at 0: 2880x1800 (1 rates): 50 Hz
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #14 from Alexey Kuznetsov axet@me.com --- Created attachment 66070 --> https://bugs.winehq.org/attachment.cgi?id=66070 ddraw-nvidia.log
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name --- (In reply to Alexey Kuznetsov from comment #3)
Unable to test. Installer asks for resolution before game starts (320x200 or 640x480), game crashes before it starts. I'm using GOG release. I can share download link for test purposes.
That installer option is just whether the installer choses to install files suited for low res or high res, but I am pretty sure all resolutions should be available. For me the demo runs fine on MacOS with intel graphics from a 2011 MBP, no crash. All resolutions are available with software mode or 3d accel enabled in fullscreen with 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #16 from Alexey Kuznetsov axet@me.com --- I test wine-4.0.2 with nvidia proprietary drivers: jedi demo works well. I test it again with mesa/nouveau, it not crashing anymore, but shows video at 2\3 screen and first game screen shows big "N" instead of "New player", like small/broken resolution with hudge zoom.
I guess something wrong with xrandr 1.6, because xrandr 1.0 works. (check my nvidia logs). Or it is 100% nouveau issue, I do not know how to tell...
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #17 from Alexey Kuznetsov axet@me.com --- Since I also have dosbox issues related to resolution it probably nouveau bug.
https://gitlab.freedesktop.org/mesa/mesa/issues/2429
https://bugs.winehq.org/show_bug.cgi?id=48328
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d-util |-unknown
--- Comment #18 from Matteo Bruni matteo.mystral@gmail.com --- Is the original bug now fixed?
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-6.5?
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #20 from Alexey Kuznetsov axet@me.com --- Same. wine-6.5 keep failing.
This bug has been moved to kernel, since it is related to modesettings not nouveau. With debian 11 nouveau unable to set fullscreen and freeze my notebook.
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1059
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-7.16?
https://bugs.winehq.org/show_bug.cgi?id=48328
--- Comment #22 from joaopa jeremielapuree@yahoo.fr --- Works fine for me. At least, all resolutions with colr depth equal to 16 are available.