http://bugs.winehq.org/show_bug.cgi?id=29303
Bug #: 29303 Summary: Zynaps remix does not start, says cannot set graphics mode Product: Wine Version: 1.3.34 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: neptunia@mail.ru Classification: Unclassified
Zynaps remix game does not start, says cannot set graphics mode.
http://bugs.winehq.org/show_bug.cgi?id=29303
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://havsoft.co.uk/Games/ | |ZynapsRemix.zip
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #1 from Ilya Chernykh neptunia@mail.ru 2011-12-10 05:30:43 CST --- The game is freeware and can be downloaded.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #2 from Ilya Chernykh neptunia@mail.ru 2011-12-10 05:33:16 CST --- Console output:
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x32 @0! (XRandR)
http://bugs.winehq.org/show_bug.cgi?id=29303
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-10 06:36:50 CST --- (In reply to comment #2)
Console output:
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x32 @0! (XRandR)
Then fix your X11 configuration.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #4 from Ilya Chernykh neptunia@mail.ru 2011-12-10 09:02:05 CST --- How to fix it? This is new openSUSE 12.1. So Wine seems incompatible with newer Xorg?
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #5 from Ilya Chernykh neptunia@mail.ru 2011-12-10 09:02:46 CST --- Also it uses Xrandr even when nvidia card is used in which case xrandr is useless anyway.
http://bugs.winehq.org/show_bug.cgi?id=29303
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Ilya Chernykh neptunia@mail.ru 2011-12-10 09:04:25 CST --- This command works for me: xrandr -s 640x480 and sets 640x480
Why Wine uses another mode name?
http://bugs.winehq.org/show_bug.cgi?id=29303
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #7 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-10 09:51:44 CST --- You need to fix it on your side, this is not a Wine bug that your 32-bit xrandr extension doesn't report a proper video mode under a 64-bit OS. Please use forums for general user help, or your distro support channel.
http://bugs.winehq.org/show_bug.cgi?id=29303
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #8 from Ilya Chernykh neptunia@mail.ru 2011-12-10 10:22:19 CST --- No, it is wine that calls invalid command. It should use
xrandr -s 640x480
instead of
xrandr -s 640x480x32
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #9 from Ilya Chernykh neptunia@mail.ru 2011-12-10 10:22:41 CST --- In other programs and games the mode is changed properly.
http://bugs.winehq.org/show_bug.cgi?id=29303
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-10 10:35:00 CST --- Invalid. This is a bugzilla, not a user support forum.
http://bugs.winehq.org/show_bug.cgi?id=29303
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-10 10:35:16 CST --- Closing. Do not reopen.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #12 from Ilya Chernykh neptunia@mail.ru 2011-12-10 11:22:38 CST --- So you think calling xrandr -s 640x480x32 is correct?
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #13 from Ilya Chernykh neptunia@mail.ru 2011-12-10 11:25:11 CST --- Against which package should I report the bug then? Against Xorg?
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #14 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-10 12:43:02 CST --- If you using Nvidia card make sure that required mode is configured as metamode. You can verify all the modes available to Wine by running "xrandr" without any parameters.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #15 from Ilya Chernykh neptunia@mail.ru 2011-12-10 13:47:38 CST --- Of course, not. Wine calls a mode which is not existent!
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #16 from Ilya Chernykh neptunia@mail.ru 2011-12-10 13:48:19 CST --- There is mode 640x480, but no mode named 640x480x32.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #17 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-10 14:03:42 CST --- Attach complete output of 'xrandr' command.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #18 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-10 14:06:26 CST --- And FYI Wine doesn't use "xrandr" command. It's calling xorg directly: http://source.winehq.org/source/dlls/winex11.drv/xrandr.c#L169
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #19 from Ilya Chernykh neptunia@mail.ru 2011-12-10 14:37:50 CST --- xrandr: Failed to get size of gamma for output default Screen 0: minimum 320 x 175, current 1920 x 1200, maximum 1920 x 1200 default connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm 1920x1200 50.0* 55.0 1280x1024 51.0 62.0 63.0 64.0 65.0 1600x1200 52.0 57.0 800x600 53.0 82.0 83.0 84.0 85.0 86.0 87.0 88.0 89.0 640x480 54.0 94.0 95.0 96.0 97.0 98.0 99.0 1680x1050 56.0 1440x900 58.0 59.0 1400x1050 60.0 61.0 1280x960 66.0 67.0 68.0 1280x800 69.0 1280x720 70.0 1152x864 71.0 72.0 1024x768 73.0 74.0 75.0 76.0 77.0 78.0 79.0 80.0 832x624 81.0 720x480 90.0 720x400 91.0 700x525 92.0 93.0 640x400 100.0 640x350 101.0 512x384 102.0 103.0 104.0 400x300 105.0 320x240 106.0 107.0 320x175 108.0
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #20 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-10 14:58:40 CST --- Please attach output of: WINEDEBUG=x11settings wine game.exe
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #21 from Ilya Chernykh neptunia@mail.ru 2011-12-10 18:01:44 CST --- Created attachment 37915 --> http://bugs.winehq.org/attachment.cgi?id=37915 wine xorg debug output
It should be noted that with this debug option the game switches the resolution properly.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #22 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-11 00:15:02 CST --- (In reply to comment #21)
Created attachment 37915 [details] wine xorg debug output
It should be noted that with this debug option the game switches the resolution properly.
It makes no sense, adding +x11settings debug switch changes nothing in the code path.
http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #23 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-11 10:51:42 CST --- (In reply to comment #21)
It should be noted that with this debug option the game switches the resolution properly.
This tells me you either not running the same Wine/environment, or your program fails for totally different reason.
Tested your program here, and it works just fine if I have 640x480 mode defined. And fails the same way if I don't.