[Wine]Re: Myst - config [x11drv] section documentation anywhere?

Mark Knecht markknecht at gmail.com
Sat Oct 30 21:38:05 CDT 2004

On Sat, 30 Oct 2004 18:55:47 -0700, Mark Knecht <markknecht at gmail.com> wrote:
> Hi,
>    I'm attempting to bring up Myst but running into some issues that
> are presumably graphics related. I had thought that I'd read the
> manual before I started asking questions here but found that the Wine
> Configuration File page is inconveniently missing the [x11drv]
> section. Is there anything written but happens to be elsewhere that I
> might read?
>    The question I'm trying to address is that when starting Myst, Wine
> creates and closes a number of windows (desktops?) and with each one I
> get a one line message:
> myst at flash myst $ wine .wine/drive_c/Program\ Files/Myst/myst.exe
> Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
> to set the screen resolution and remove the "Resolution" entry in the
> config file
> fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
> This is with X running at 24 bit. If I change to 16 or 8 bit I get
> similar messages.

OK, so Googling around I see that Duane was at one time running Myst
and was kind enough to supply his Application Defaults section in this


Adding this to my config file helped immensely. Thanks Duane.

Now what I see is that Myst gets started, but at the first mouse click
it crashes with the following dump:

<before the mouse click>
fixme:win:GetThreadDesktop (9): stub
fixme:win:GetThreadDesktop (9): stub
fixme:win:GetThreadDesktop (9): stub
fixme:win:GetThreadDesktop (9): stub
fixme:win:GetThreadDesktop (9): stub
<at the mouse click>
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0xffffffff in 32-bit
code (0x77b479a0).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:77b479a0 ESP:77ac3528 EBP:77ac358c EFLAGS:00010286(   - 00      -RISP1)
 EAX:00000001 EBX:77bfe008 ECX:00000001 EDX:ffffffff
 ESI:ffffffff EDI:ffffffff
Stack dump:
0x77ac3528:  00000073 00000000 00000000 00000000
0x77ac3538:  00000000 00000000 00000000 00000000
0x77ac3548:  00000000 00000000 00000000 00000000
0x77ac3558:  00000000 00000000 77eb9eba 00000001
0x77ac3568:  00000001 00000000 00000000 b7ec3b34
0x77ac3578:  00000002 77ac35d0 77bfe008 77ac36a8
=>1 0x77b479a0 INSTR_EmulateInstruction+0x80(rec=0x77ac3974,
[/home/mark/CODE/WINE/wine-20041019/dlls/kernel/instr.c:449] in
kernel32 (0x77ac358c)
  2 0x77b8d6af vectored_handler+0x6f(ptrs=0x77ac35c0)
[/home/mark/CODE/WINE/wine-20041019/dlls/kernel/wowthunk.c:358] in
kernel32 (0x77ac35a8)
  3 0x77ebf519 call_vectored_handlers+0x59(rec=0x77ac3974,
[/home/mark/CODE/WINE/wine-20041019/dlls/ntdll/exception.c:196] in
ntdll (0x77ac35d4)
  4 0x77ebf6f5 EXC_RtlRaiseException+0xa5(rec=0x77ac3974,
[/home/mark/CODE/WINE/wine-20041019/dlls/ntdll/exception.c:252] in
ntdll (0x77ac3678)
  5 0x77edd8bc raise_segv_exception+0x3c(rec=0x77ac3974,
[/home/mark/CODE/WINE/wine-20041019/dlls/ntdll/signal_i386.c:887] in
ntdll (0x77ac3694)
  6 0x77ee7a04 __wine_call_from_32_restore_regs+0x0 in ntdll (0x00000001)
  7 0x00000000 (0x00000000)
0x77b479a0 INSTR_EmulateInstruction+0x80
[/home/mark/CODE/WINE/wine-20041019/dlls/kernel/instr.c:449] in
kernel32: movzbl0x0(%edi),%edx
Unable to open file /home/mark/CODE/WINE/wine-20041019/dlls/kernel/instr.c

At this point the screen is up in a window. The colors are correct. I
haven't had any sound yet so that's not working but there is pretty
good life.

I'll go Googling again for more info.

I'm running X in 16-bit mode. HEre's some info:

myst at flash myst $ xdpyinfo | more
name of display:    :0.0
version number:    11.0
vendor string:    Gentoo Linux (The X.Org Foundation 6.8.0, revision r1-
vendor release number:    60800000
X.Org version: 6.8.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32


screen #0:
  print screen:    no
  dimensions:    1280x800 pixels (433x271 millimeters)
  resolution:    75x75 dots per inch
  depths (7):    16, 1, 4, 8, 15, 24, 32
  root window id:    0x48
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store NO, save-unders NO

X appears to do good color mapping. The game looks pretty good.


More information about the wine-users mailing list