http://bugs.winehq.org/show_bug.cgi?id=30967
Bug #: 30967 Summary: Diablo III: Resolution problems without virtual desktop Product: Wine Version: 1.5.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sworddragon2@aol.com Classification: Unclassified
If the resolution of the game is lower than the resolution of the system (for example my system resolution is 1680x1050 and the resolution of Diablo III is 800x600) only a part of the ingame window will be drawn. If I touch the borders of the ingame window with the mouse it is scrolling then. I can't even click on the menu entries (they will get the white fonts but the menus doesn't open).
http://bugs.winehq.org/show_bug.cgi?id=30967
Joshua wine@placesthroughtime.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@placesthroughtime.com
--- Comment #1 from Joshua wine@placesthroughtime.com 2012-06-20 17:40:53 CDT --- Can you post what video card and driver you are using? Is it an NVidia card?
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #2 from sworddragon2@aol.com 2012-06-20 19:19:42 CDT --- My graphics card is a GeForce 8600 GT with the NVIDIA driver version 295.53.
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #3 from sworddragon2@aol.com 2012-06-20 21:05:31 CDT --- Created attachment 40633 --> http://bugs.winehq.org/attachment.cgi?id=40633 Croped ingame window
I have figured out that some screenshots were saved to ~/Diablo III/Screenshots. This attachment is an example screenshot how Diablo III looks if the system resolution is 1680x1050 but the ingame resolution is 800x600. As already said if the mouse touches the borders the ingame window will scroll to the related directions.
Normally I'm making screenshots with xwd (a dump from a XServer window). But such dumps are showing me the complete ingame window.
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #4 from Joshua wine@placesthroughtime.com 2012-06-20 21:44:58 CDT --- Is it possible for you to update your video drivers to the 302.* series? I'm not sure if it'll be related but it could have something to do with xrandr not being implemented yet by the 295.* series of nvidia drivers.
Also, this is a duplicate of bug 23689
http://bugs.winehq.org/show_bug.cgi?id=30967
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #5 from Alexey Loukianov mooroon2@mail.ru 2012-06-21 04:39:10 CDT --- It might be dupe, but might be not - we don't know it for sure, so it should be tested and proven before marking this one as a dupe. On the other hand, it might be viable to mark this one as a dupe, wait for #23689 to be fixed and then open a new one if the fix for that bug won't also fix D3.
As for bug itself, I hadn't been hitting it on my rig last time I've been playing D3 under linux/Wine.
I've got dual-monitor setup at home, one display is set to use 1920x1200 resolution and another is set to use 1680x1050 during the normal workflow. As D3 seems to be a bit laggy under Wine I configured it to use 1440x900 fullscreen mode and it had been switching into it correctly having no problems like this bug report is about with cropped rendering. So we still have to ask someone to reproduce this problem and I'd like original reporter to post the detailed step-by-step instructions on how to reproduce this one.
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #6 from sworddragon2@aol.com 2012-06-21 10:53:17 CDT --- I have updated the Xorg server from version 11.4 to version 12.2 and the NVIDIA driver from version 295.53 to version 302.17. I have even created a new ~/.wine directory and made a new installation of Diablo 3 (I have also deleted ~'/Diablo III' before). The problem still appears after I'm starting the game.
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2012-06-21 12:08:27 CDT --- What window manager are you using?
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #8 from sworddragon2@aol.com 2012-06-21 12:11:15 CDT --- I'm using Openbox (3.5.0).
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #9 from Henri Verbeet hverbeet@gmail.com 2012-06-21 12:27:34 CDT ---
From what you're describing the issue sounds somewhat similar to bug 30213,
though not quite the same. You'll probably want to check what size the window ends up being. The scrolling you mention sounds like the virtual / "oversized" desktop feature some window managers have. Does it also do that when you change display resolution with xrandr without having Diablo running?
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #10 from sworddragon2@aol.com 2012-06-21 13:02:36 CDT ---
Does it also do that when you change display resolution with xrandr without having Diablo running?
No, 'xrandr -s 800x600' sets the resolution correctly to 800x600 without any scrolling.
You'll probably want to check what size the window ends up being.
If I minimize Diablo 3 the scrolling is possible on my desktop then too. xrandr shows me a + on 1680x1050 and a * on 800x600 in this case.
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #11 from sworddragon2@aol.com 2012-06-21 13:22:20 CDT --- I have tested this with a few other games. On Guild Wars the resolution is instantly set back to 1680x1050 if I try to change it. Warcraft 3 has the same problem as Diablo 3 except that after a restart of the game the resolution is set back to 1680x1050.
But this are all games under Wine which are making troubles. I have tested this even with native Linux games (Amnesia: The Dark Descent; Teeworlds) and they are working fine if I set the resolution to 800x600.
http://bugs.winehq.org/show_bug.cgi?id=30967
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #12 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-04-20 03:29:42 CDT --- Does it still happen in recent wine (1.5.28 or later)?
http://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #13 from sworddragon2@aol.com 2013-04-20 03:58:09 CDT --- Yes, the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=30967
Johannes Dewender wine@JonnyJD.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@JonnyJD.net
--- Comment #14 from Johannes Dewender wine@JonnyJD.net --- I can confirm this problem on 1.7.x (also Nvidia, fluxbox) though I can't test at the moment. I also remember having this problem at the laptop of my sister (nvidia hybrid and that ubuntu unity desktop) where we had at least wine 1.7.11 installed.
I usually have the problem when the Diablo settings are new or reset. The inGame resolution is set to 800x600, my monitor and desktop have 1280x1024. The the whole monitor is used, but only part of the Diablo screen is showing.
I normally set my monitor to 800x600 with xrandr, start diablo and then navigate to the settings to set my real resolution and try to close diablo in a way that this setting is saved. Then changing my monitor resolution back and hoping Diablo still has the correct resolution in the settings.
https://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #15 from sworddragon2@aol.com --- (In reply to Henri Verbeet from comment #9)
The scrolling you mention sounds like the virtual / "oversized" desktop feature some window managers have.
Some time ago I have created a ticket on the Openbox tracker for this: https://bugzilla.icculus.org/show_bug.cgi?id=6037
The ticket has now finished with the result that Openbox doesn't have such a feature but the X.Org server seems to have it.
https://bugs.winehq.org/show_bug.cgi?id=30967
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #16 from winetest@luukku.com --- Is this problem still valid?
https://bugs.winehq.org/show_bug.cgi?id=30967
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #17 from Adam Bolte abolte@systemsaviour.com --- If this bug is valid, it's Nvidia or Window-manager specific. I can't reproduce this on Mesa/radeonsi with Xfce.
https://bugs.winehq.org/show_bug.cgi?id=30967
--- Comment #18 from Henri Verbeet hverbeet@gmail.com --- (In reply to Adam Bolte from comment #17)
If this bug is valid, it's Nvidia or Window-manager specific. I can't reproduce this on Mesa/radeonsi with Xfce.
At least the panning part is likely NVIDIA specific. Since this report was filed it has come to my attention that RandR panning seems to be enabled by default on NVIDIA (but I didn't personally verify that), while AFAIK it isn't on other drivers. It has been reported that updating the screen size to match the display resolution on mode changes avoids that issue, but that's no necessarily correct or possible on multi-head configurations. Explicitly disabling panning on mode changes in Wine would also be undesirable in case the user enabled panning on purpose.
https://bugs.winehq.org/show_bug.cgi?id=30967
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.11 and the latest nvidia drivers?