Ticket #51 (closed crash: fixed)

Opened 5 years ago

Last modified 3 years ago

failed request in Apple-DRI

Reported by: macosforge@… Owned by: jeremyhu@…
Priority: Important Milestone: 2.1.4
Component: xserver Version: 2.1.2 (xserver-1.3.0-apple7)
Keywords: wine Cc:

Description

The latest wine (0.9.52) in Fink fails on leopard with xquartz 2.1.2 with:

X Error of failed request: BadValue (integer parameter out of range for operation)

Major opcode of failed request: 128 (Apple-DRI) Minor opcode of failed request: 2 () Value in failed request: 0x44 Serial number of failed request: 17 Current serial number in output stream: 17

Attachments

realizeroot.diff (628 bytes) - added by pelle@… 5 years ago.
fixed by this diff, I believe. There's also some locking problems in libGL, but not sure where to report those.

Change History

comment:1 Changed 5 years ago by macosforge@…

Just tried with 2.1.3 and it still has this issue

Changed 5 years ago by pelle@…

fixed by this diff, I believe. There's also some locking problems in libGL, but not sure where to report those.

comment:2 Changed 5 years ago by jeremyhu@…

  • Owner changed from bbyer@… to jeremyhu@…
  • Milestone set to 2.1.4

I'll get this in soon. Thanks.

comment:3 Changed 5 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 in reply to: ↑ description Changed 5 years ago by yunzheng.hu@…

Replying to macosforge@racoonfink.com:

The latest wine (0.9.52) in Fink fails on leopard with xquartz 2.1.2 with:

X Error of failed request: BadValue (integer parameter out of range for operation)

Major opcode of failed request: 128 (Apple-DRI) Minor opcode of failed request: 2 () Value in failed request: 0x44 Serial number of failed request: 17 Current serial number in output stream: 17

I got the problem above with wine as well with the default X11 of Leopard, so I updated to the latest X11 2.1.4 + Mac OS X 10.5.2 update. It solved the problem but now I just get this:

[yun@magneto wine-0.9.55]$ DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib WINEDEBUG=+wgl ./wine /tmp/Lesson05/Lesson5.exe 
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version             : 2.0 ATI-1.5.18.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer            : ATI Radeon X1600 OpenGL Engine.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version            : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version     : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor:     : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version     : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor:     : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

It just hangs there..and no screen is created at all in my X11. I'm not sure if this bug is related to this ticket though.

comment:5 Changed 5 years ago by yunzheng.hu@…

Investigated where it exactly hangs, which is the following call:

from ./dlls/winex11.drv/opengl.c

    if(vis) XFree(vis);
    if(ctx) {
        ERR("calling pglXMakeCurrent\n");
        pglXMakeCurrent(gdi_display, None, NULL);
        ERR("done\n");
        pglXDestroyContext(gdi_display, ctx);
    }

It locks up at "pglXMakeCurrent", as it never returns.

comment:6 Changed 5 years ago by jeremyhu@…

I believe it's probably hanging because libGL hasn't been fixed to address the second issue here.

comment:9 Changed 5 years ago by jeremyhu@…

It's another bug. Use the latest release of X11, not the old 2.1.4

Note: See TracTickets for help on using tickets.