[Bug 3288] New: Wine cannot change colour depth in DirectX applications

Wine Bugs wine-bugs at winehq.org
Sun Sep 4 14:44:33 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3288

           Summary: Wine cannot change colour depth in DirectX applications
           Product: Wine
           Version: 20050419
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P1
         Component: wine-directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lxtanner at yahoo.co.uk


When a DirectX application requests a change of colour depth, Wine emits the
warning 'Could not change colour depth from <current OS setting> bits to
<setting requested by application> bits' to standard out. This error happens
regardless of whether Wine is using the XRandR extension or XVidMode extension
(the error begins with 'XRandR:' or 'XVidMode:', respectively).
Applications that are strict about the colour depth they use will crash after
the warning is emitted; other applications will carry on running with the colour
depth set on your Linux desktop.
A workaround for this is running the Linux desktop in the colour depth that the
DirectX application starts in. However, the workaround has a major shortcoming
when used for old DirectX applications that want to use 8 bit colour depth:
libGL, that Wine uses to emulate DirectDraw functions, does not support an 8 bit
screen depth. Sometimes, it is possible to run these applications with a higher
colour depth, but it depends on how strictly the application applies its colour
depth.
Unfortunately, this bug could be caused by lack of functionality in the
XRandR/XVidMode extensions (in which case, X.Org would have to be informed). The
other option is that this bug is caused by unimplemented WinAPI features related
to colour depth switching.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list