[MacPorts] #16603: wine does not use OpenGL
#16603: wine does not use OpenGL -------------------------------------------+-------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: -------------------------------------------+-------------------------------- wine installed from MacPorts is not able to use OpenGL acceleration. In Terminal it says: "No libGL on this box - disabling OpenGL support". -- Ticket URL: <http://trac.macports.org/ticket/16603> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Changes (by macsforever2000@macports.org): * cc: jwa@macports.org (added) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * port: => wine Comment: Assigning/Ccing maintainers. -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by ryandesign@macports.org): Do you still see the problem with wine-devel 1.1.5? If you do, what version of Mac OS X are you running, and what do I need to type to see the problem myself? -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by blb@macports.org): There are a couple issues going on here. Your initial issue is usually dealt with by running {{{ env DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib wine ... }}} That should get wine to see the OpenGL stuff. Though it seems this doesn't work with wine-devel 1.1.5 as that sets its own DYLD_FALLBACK_LIBRARY_PATH to ${prefix} in ${prefix}/bin/wine... However, once you've done this, you'll probably run into [http://xquartz.macosforge.org/trac/ticket/122 XQuartz ticket 122]. -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by ryandesign@macports.org): Replying to [comment:3 blb@…]:
There are a couple issues going on here. Your initial issue is usually dealt with by running {{{ env DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib wine ... }}} That should get wine to see the OpenGL stuff. Though it seems this doesn't work with wine-devel 1.1.5 as that sets its own DYLD_FALLBACK_LIBRARY_PATH to ${prefix} in ${prefix}/bin/wine...
wine and wine-devel both have wrappers around wine to set the DYLD_FALLBACK_LIBRARY_PATH. I added this in r26520 to fix some FreeType errors. Does the [attachment:wine-opengl.diff attached patch] fix the OpenGL errors? -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by blb@macports.org): That's how I handled it on my machine, with wine-devel at least. Should be fine with the non-devel version as well. -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by jean-jaques@women-at-work.org): Replying to [comment:2 ryandesign@…]:
Do you still see the problem with wine-devel 1.1.5? If you do, what version of Mac OS X are you running, and what do I need to type to see the problem myself? I've tried wine-1.0_1 and I still get these errors. I am using 10.5.4 and an ATI Radeon HD 2600 XT. To test OpenGL I've installed an old Windows game (RollerCoaster Tycoon) and I am always getting these errors: 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
When using wine-devel 1.1.5_0 I get the following errors running the game: err:wgl:has_opengl Failed to load libGL: dlopen(libGL.1.dylib, 266): image not found err:wgl:has_opengl OpenGL support is disabled. err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat err:d3d:InitAdapters Failed to get a gl context for default adapter BTW: the game actually runs, but very slow (due to disabled OpenGL). -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: wine | --------------------------------------------+------------------------------- Comment(by ryandesign@macports.org): Does the [attachment:wine-opengl.diff attached patch] fix anything? I haven't applied it yet, so you would need to download it and [http://guide.macports.org/#development.patches.applying apply it to your ports tree] and test. -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16603: wine does not use OpenGL --------------------------------------------+------------------------------- Reporter: jean-jaques@women-at-work.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: wine, wine-devel | --------------------------------------------+------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed * port: wine => wine, wine-devel Comment: Applied the patch to wine and wine-devel in r40534. Now it can at least find libGL. Whether it can actually use it is another matter. Now, instead of {{{ err:wgl:has_opengl Failed to load libGL: dlopen(libGL.1.dylib, 10): image not found err:wgl:has_opengl OpenGL support is disabled. }}} I get {{{ X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 129 (Apple-DRI) Minor opcode of failed request: 2 () Value in failed request: 0x600268 Serial number of failed request: 2894 Current serial number in output stream: 2894 }}} This is on Tiger running the [http://www.graphviz.org/Download_windows.php installer for Graphviz 2.20.2] as a test program. -- Ticket URL: <http://trac.macports.org/ticket/16603#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts