http://bugs.winehq.org/show_bug.cgi?id=10929
Summary: [regression] wine does not set the default mode after exiting games Product: Wine Version: 0.9.5. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: drago01@gmail.com
I was using wine 0.9.49 until today and was playing the game Prey with it. It was working fine but I was using 1280x1024 as game resultion while using 1680x1050 for the desktop (native tft resultion). Today I updated to wine 0.9.51 and later 0.9.52 (both have the same issue). The problem is that now when I quit Prey the resultion stays at 1280x1024 while with previous wine releases it reverted back to the desktop resultion (as it should).
I get this error message on exit: "err:x11settings:X11DRV_ChangeDisplaySettingsEx Default mode not found!"
I googled a bit and was unable to find a solution but I found this patch: http://permalink.gmane.org/gmane.comp.emulators.wine.patches/43668 which seems to have broke it because there is no registry key for the default mode . I tryed removing .wine and let wine create a new one but it does not change anything.
What was the reason behind this patch anyway? Why should the default mode be something different than that that was set before wine changed the mode?
http://bugs.winehq.org/show_bug.cgi?id=10929
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial Keywords| |regression Summary|[regression] wine does not |Wine does not restore |set the default mode after |default display mode after |exiting games |exiting games Version|0.9.5. |0.9.50.
http://bugs.winehq.org/show_bug.cgi?id=10929
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@codeweavers.com
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-28 23:05:05 --- Registry key for default display mode is not saved in the registry on exit.
Please generate a +explorer,+x11settings log, compress it with 'bzip2 -9' and attach it to the bug.
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #2 from drago01@gmail.com 2007-12-29 05:39:56 --- Created an attachment (id=9866) --> (http://bugs.winehq.org/attachment.cgi?id=9866) requested debug output
I reproduced this on an other box (desktop resultion = 1280x1024; game = 1024x768) Log is attached (generated using wine 0.9.52)
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 06:47:33 --- (In reply to comment #2)
Created an attachment (id=9866)
--> (http://bugs.winehq.org/attachment.cgi?id=9866) [details]
requested debug output I reproduced this on an other box (desktop resultion = 1280x1024; game = 1024x768) Log is attached (generated using wine 0.9.52)
There is no explorer traces in the log, did you forget +explorer?
Also, if asked to compress the log, please do so.
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #4 from drago01@gmail.com 2007-12-29 07:08:23 --- (In reply to comment #3)
(In reply to comment #2)
Created an attachment (id=9866)
--> (http://bugs.winehq.org/attachment.cgi?id=9866) [details] [details]
requested debug output I reproduced this on an other box (desktop resultion = 1280x1024; game = 1024x768) Log is attached (generated using wine 0.9.52)
There is no explorer traces in the log, did you forget +explorer?
no it seems not to output anything. I tryed only +explorer and did not get any debug messages.
Also, if asked to compress the log, please do so.
Sorry forgot do so, will remember it next time.
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 07:58:52 --- (In reply to comment #4)
no it seems not to output anything. I tryed only +explorer and did not get any debug messages.
Something is wrong with your Wine installation. Perhaps adding +win to the debug switches could help to figure that out.
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #6 from drago01@gmail.com 2007-12-29 08:13:59 --- Created an attachment (id=9869) --> (http://bugs.winehq.org/attachment.cgi?id=9869) new debug log
here is the new log (compressed) created using: WINEDEBUG=+win,+explorer,+x11settings wine prey > ~/wine.log 2<&1
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #7 from drago01@gmail.com 2007-12-29 08:23:13 --- this line looks interesting: "warn:win:GetDesktopWindow failed to start explorer, err 2" now the question is why and what is error 2 ?
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 08:26:26 --- (In reply to comment #7)
this line looks interesting: "warn:win:GetDesktopWindow failed to start explorer, err 2" now the question is why and what is error 2 ?
2 == ERROR_FILE_NOT_FOUND, it means that your Wine installation is broken.
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 08:28:36 --- Where did you download Wine package from? Does the packager provide a package wine-programs or something like that?
http://bugs.winehq.org/show_bug.cgi?id=10929
--- Comment #10 from drago01@gmail.com 2007-12-29 08:32:37 --- (In reply to comment #9)
Where did you download Wine package from? Does the packager provide a package wine-programs or something like that?
I ams using the fedora package. Thx for the hint it seems that the wine-tools package is required now, for this to work.
http://bugs.winehq.org/show_bug.cgi?id=10929
Andreas Bierfert andreas.bierfert@lowlatency.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.bierfert@lowlatency. | |de
--- Comment #11 from Andreas Bierfert andreas.bierfert@lowlatency.de 2007-12-29 08:34:26 --- Please go and fix your wine installation. As I state in the fedora wiki you should always install the wine meta package to avoid these kind of problems!
┌─(awjb@alkaid)───────────────────────────────────────────────────────────(~)─┐ └─> rpm -ql wine-tools | grep explorer (15:32)─┘ /usr/lib/wine/explorer.exe.so ┌─(awjb@alkaid)───────────────────────────────────────────────────────────(~)─┐ └─> rpm -q --requires wine (15:33)─┘ wine-core = 0.9.52-1.fc8 wine-capi = 0.9.52-1.fc8 wine-cms = 0.9.52-1.fc8 wine-esd = 0.9.52-1.fc8 wine-jack = 0.9.52-1.fc8 wine-ldap = 0.9.52-1.fc8 wine-nas = 0.9.52-1.fc8 wine-tools = 0.9.52-1.fc8 wine-twain = 0.9.52-1.fc8 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
http://bugs.winehq.org/show_bug.cgi?id=10929
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 08:35:23 --- Marking as invalid.
http://bugs.winehq.org/show_bug.cgi?id=10929
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-29 08:35:34 --- Closing.