http://bugs.winehq.org/show_bug.cgi?id=23689
Summary: Tomb Raider III screen resolution problem when not using virtual desktop mode Product: Wine Version: 1.2-rc6 Platform: x86 URL: http://www.tombraiderchronicles.com/tr3/demo.html OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
This bug applies to the game Tomb Raider III, both the full game and downloadable trial) and the demo. It also applies to Tomb Raider III: The Lost Artifact.
A time-limited trial and demos can be downloaded from http://www.tombraiderchronicles.com/tr3/demo.html The demo is about 13MB, the trial 202MB. I'd suggest testing with the "South Pacific" demo.
There is a problem related to screen resolution when Wine is *not* in virtual desktop mode.
The game sets the X desktop to the appropriate resolution (640x480, 1024x768 or whatever else you chose). But the game display size (in pixels) appears to be the full/highest X desktop resolution. So only the upper left part of the game display is visible on-screen, and in the case of a widescreen monitor, it is stretched horizontally. For example, my laptop screen is 1680x1050 pixels. The game seems to be rendering a 1680x1050-pixel display, but only the upper left 640x480 pixels would be visible on-screen. If instead I tell the game to use 1400x1050 resolution, then (since the vertical height matches) the game display is stretched so the rightmost part is off-screen.
If testing with the demo or original CD, use winecfg to set Windows version to Windows 98, otherwise Wine reports: wine: Unhandled privileged instruction at address 0x48e2e1 (thread 001b), starting debugger... In Windows 98 mode, Wine reports instead err:int:__wine_emulate_instruction mov cr4,eax at 0x00496a41 which is non-fatal. The trial version does not have this problem. Alternatively, if testing with the original CD game, after installing it run the unofficial XP/Vista patch from http://www.tombraiderchronicles.com/cgi-bin/downloads2/dl.pl?fx_vista_trupda...
Start the demo by doing wine Tomb3.exe /setup. For me, that opens a full-screen black window, and the Tomb Raider II Setup window appears behind it (so not visible). Alt-Tab to switch to the game setup window and choose a resolution, then click OK. Compare the in-game display with that when running with virtual desktop mode enabled.
The only console output which might be (but probably isn't) relevant is: fixme:win:EnumDisplayDevicesW ((null),0,0x32f5d8,0x00000000), stub! fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats err:d3d7:IDirect3DDeviceImpl_7_SetRenderState Unhandled texture mag 0 ! err:d3d7:IDirect3DDeviceImpl_7_SetRenderState Unhandled texture min 0 !
In virtual desktop mode, the game resolution/rendering seems to work okay (including when the virtual desktop resolution is widescreen, e.g. 1440x900).
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #1 from markk@clara.co.uk 2010-07-17 12:14:58 --- Created an attachment (id=29667) --> (http://bugs.winehq.org/attachment.cgi?id=29667) Title screen in 800x600 virtual desktop (appears correct)
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #2 from markk@clara.co.uk 2010-07-17 12:15:48 --- Created an attachment (id=29668) --> (http://bugs.winehq.org/attachment.cgi?id=29668) Title screen in 1024x768 virtual desktop (appears correct)
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #3 from markk@clara.co.uk 2010-07-17 12:16:27 --- Created an attachment (id=29669) --> (http://bugs.winehq.org/attachment.cgi?id=29669) Title screen in 800x600 non-virtual desktop mode
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #4 from markk@clara.co.uk 2010-07-17 12:16:57 --- Created an attachment (id=29670) --> (http://bugs.winehq.org/attachment.cgi?id=29670) Title screen in 1024x768 non-virtual desktop mode
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #5 from markk@clara.co.uk 2010-07-17 12:17:51 --- Created an attachment (id=29671) --> (http://bugs.winehq.org/attachment.cgi?id=29671) Title screen in 1400x1050 non-virtual desktop mode (LCD monitor res is 1680x1050)
http://bugs.winehq.org/show_bug.cgi?id=23689
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=23689
--- Comment #6 from butraxz@gmail.com 2013-06-09 11:29:18 CDT --- This has not been updated for over 900 days.
Is this still an issue in 1.6-rc1 or higher or is this abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=23689
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #7 from Ken Sharp imwellcushtymelike@gmail.com --- Abandoned.
http://bugs.winehq.org/show_bug.cgi?id=23689
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.