Ticket #39 (closed usability: duplicate)

Opened 6 years ago

Last modified 4 years ago

Error when i try to run a opengl program on wine

Reported by: borgespedro@… Owned by: bbyer@…
Priority: Important Milestone: 2.2.0
Component: xserver Version: 2.1.1 (xserver-1.3.0-apple5)
Keywords: darwine x11 bug Cc:

Description

When I try to run a windows programm on wine with opengl support on bash I get this:

macbook:Counter-Strike 1.6 highvolt$ DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib wine cstrike.exe

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: 0x3f

Serial number of failed request: 17

Current serial number in output stream: 17

Thanks in advance

Change History

comment:1 Changed 6 years ago by borgespedro@…

I forget to say that I am running wine 0.9.51 on Mac os x Leopard 10.5.1

comment:2 Changed 6 years ago by borgespedro@…

  • Priority changed from major to blocker
  • Type changed from crash to usability

comment:3 Changed 6 years ago by jeremyhu@…

  • Priority changed from blocker to major
  • Milestone set to 2.2.0

comment:4 follow-up: ↓ 5 Changed 6 years ago by jeremyhu@…

Why do you need DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib? Where are you getting wine from? macports? fink? compiled yourself? what is the output of 'otool -L <path to wine>'?

Honestly, getting wine working is a low priority at this point because of other issues still around, but it is something that should work.

comment:5 in reply to: ↑ 4 Changed 6 years ago by borgespedro@…

I need to do DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib because if i don't do anything i get

err:wgl:X11DRV_ChoosePixelFormat No libGL on this box - disabling OpenGL support ! err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat err:d3d:InitAdapters Failed to get a gl context for default adapter

I compiled wine by myself. The output of 'otool -L /usr/local/bine/wine' is wine:

@executable_path/../lib/libwine.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

I'm new on mac os x but i have some experience compiling programms on linux.

Thanks for trying to help me.

comment:6 Changed 6 years ago by jeremyhu@…

Ok, I'm guessing wine tries to dlopen libGL from the wrong location there...

As for wine... like I said... this is something that is pretty far off, so I'll leave the bug open, but I doubt we'll be able to tackle it for a few months atleast. You might have better support from a wine mailing list

comment:7 Changed 6 years ago by borgespedro@…

Ok. Thanks, any way

comment:8 Changed 6 years ago by jeremyhu@…

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

Duplicate of ticket #51 which contains patch

Note: See TracTickets for help on using tickets.