[Bug 23689] New: Tomb Raider III screen resolution problem when not using virtual desktop mode

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 17 12:01:16 CDT 2010


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 at winehq.org
        ReportedBy: markk at 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_trupdate

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).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list