http://bugs.winehq.org/show_bug.cgi?id=30775
Bug #: 30775 Summary: Wine crashes on entering fullscreen mode with recent NVIDIA drivers Product: Wine Version: 1.5.5 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: eurekafag@eureka7.ru Classification: Unclassified
Created attachment 40296 --> http://bugs.winehq.org/attachment.cgi?id=40296 crashlog on entering fullscreen
Any fullscreen app crashes right after switching to the fullscree even with the same resolution. Windowed mode works just fine. I don't know when it started because I almost always run games in window and make it fullscreen with the Awesome WM. Today I've tried some old demos (you know, demoscene, 64k EXE with astonishing visuals and music) and all of them crashed, suprisingly. I remember them working well. Even steam games crash after they change resolution but they work fine in the window. I tried Wine 1.4.0 to be sure it's not a regression and the result is the same. NVIDIA introduced some changes to XRandr support some time ago so this may be a clue. The backtrace and memory map attached.
My specs: Debian Wheezy GNU/Linux, Core i7 2600, 16Gb RAM, 2.5Tb total HDD capacity, NVIDIA GeForce GTX 560 Ti, driver version 295.49 and 302.11 (both lead to crash), Wine 1.4.0 and 1.5.5 (no difference, both compiled by myself, vanilla source from git). I've tried this demo: ftp://ftp.scene.org/pub/parties/2008/nvscene08/demo/stargazer.zip crashes everytime it's launched with fullscreen checkbox set and works just fine without it. Native games like Wesnoth work fine, tried 1024x768 and native 1920x1200 in fullscreen, no crashes.
http://bugs.winehq.org/show_bug.cgi?id=30775
--- Comment #1 from eurekafag@eureka7.ru 2012-05-27 10:45:11 CDT --- Ah, forgot to mention the kernel version: 3.3.0-trunk-amd64 #1 SMP Fri May 18 14:52:13 UTC 2012 x86_64 GNU/Linux
http://bugs.winehq.org/show_bug.cgi?id=30775
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2012-05-27 10:47:12 CDT --- Here on Fedora 16 x86 + Gnome 3 (compositing) the demo doesn't crash when full screen mode is selected. I have a Nvidia 250 card with the proprietary driver 295.49. I tested with Wine 1.5.5. The only nuisance I found was that Wine didn't restore the desktop resolution when exiting the demo.
Kernel 3.3.6-3.fc16.i686.PAE here.
http://bugs.winehq.org/show_bug.cgi?id=30775
--- Comment #3 from eurekafag@eureka7.ru 2012-05-27 11:24:10 CDT --- I've tried starting the demo as another user with clean profile and prefix, tried downgrading the kernel to 3.2.0-2, started it on the separate X with xfwm4 as the WM, tried to halt the system and physically power it off in case it's a hardware bug but everything to no avail. The strange thing is that native games (Wesnoth, Warzone2100) doesn't change resolution physically. I can see in tty1 with "DISPLAY=:0 xrandr" that it's still 1920x1200 while in game it may be 1024x768. When I switch the resolution display doesn't turn off and on again as usual, it happens very quick. And also I have amd64 version though wine is obviously x86.
http://bugs.winehq.org/show_bug.cgi?id=30775
eurekafag@eureka7.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from eurekafag@eureka7.ru 2012-05-27 11:50:31 CDT --- Ok, solved. This is Debian amd64 problem, libXi is a bit outdated and needs to be replaced. Download the newest i386 version (for example: http://mirror.yandex.ru/debian/pool/main/libx/libxi/libxi6_1.6.1-1_i386.deb ) unpack it (I used midnight commander, mc) and replace the file in /usr/lib32. After this fullscreen starts working properly. The solution was found on http://forums.debian.net/viewtopic.php?f=6&t=79859 by googling the part of backtrace.
http://bugs.winehq.org/show_bug.cgi?id=30775
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|INVALID |UPSTREAM
--- Comment #5 from Austin English austinenglish@gmail.com 2012-05-27 15:48:37 CDT --- UPSTREAM then.
http://bugs.winehq.org/show_bug.cgi?id=30775
--- Comment #6 from eurekafag@eureka7.ru 2012-05-30 02:36:48 CDT --- I also have to note that Debian users should grab and replace 32-bit libX11.so or else the configure script doesn't detect libXi due to undefined reference _XGetRequest and compiled Wine doesn't use XInput or uses it in some wrong way. I see no mouse wrapping in Mass Effect 2 and 3 for example though this issue was resolved months ago. So replacing 32-bit libX11.so is a must here. Hope this will save the day for Debian users until maintainers update ia32-libs.
http://bugs.winehq.org/show_bug.cgi?id=30775
David Henrique Langbajn zephyr91@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zephyr91@gmail.com
--- Comment #7 from David Henrique Langbajn zephyr91@gmail.com 2012-05-30 20:54:21 CDT --- Solved !!
Thanks guys !
http://bugs.winehq.org/show_bug.cgi?id=30775
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thehoome.prototype@gmail.co | |m
--- Comment #8 from GyB gyebro69@gmail.com 2012-06-11 11:52:34 CDT --- *** Bug 30895 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30775
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2012-09-29 19:45:01 CDT --- *** Bug 30759 has been marked as a duplicate of this bug. ***