Artificial Planet - How to run with Wine ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
aidave
Level 1
Level 1
Posts: 5
Joined: Tue Apr 29, 2008 9:50 am

Artificial Planet - How to run with Wine ?

Post by aidave »

Hello, I am looking to run this program with Wine: http://aiplanet.sourceforge.net

When I run it with Wine, the Logo appears, which looks great. After the logo, however, it just exits. I think it is an OpenGL error!

Code: Select all

~/.wine/drive_c/Program Files/ai.planet$ wine aiplanet.exe
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
// note: the following happens after the logo is clicked (comment added)
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel format conversion
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  159 (Composite)
  Minor opcode of failed request:  1 ()
  Serial number of failed request:  157
  Current serial number in output stream:  159
I would really like to know how to resolve this. Any help is appreciated.

Thanks, Dave
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Artificial Planet - How to run with Wine ?

Post by vitamin »

aidave wrote:Hello, I am looking to run this program with Wine: http://aiplanet.sourceforge.net

When I run it with Wine, the Logo appears, which looks great. After the logo, however, it just exits. I think it is an OpenGL error!

Code: Select all

~/.wine/drive_c/Program Files/ai.planet$ wine aiplanet.exe
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
// note: the following happens after the logo is clicked (comment added)
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel format conversion
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
err:wgl:X11DRV_GetPixelFormat Unable to find a WineGLPixelFormat for iPixelFormat=0
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  159 (Composite)
  Minor opcode of failed request:  1 ()
  Serial number of failed request:  157
  Current serial number in output stream:  159
I would really like to know how to resolve this. Any help is appreciated.

Thanks, Dave
What video card? What driver?
Are you using compiz? If you do - disable it.
aidave
Level 1
Level 1
Posts: 5
Joined: Tue Apr 29, 2008 9:50 am

Post by aidave »

NVIDIA 8600 laptop (using latest Envy driver), and yes, Compiz is maxed out on my system. I'll try your advice, thanks!
aidave
Level 1
Level 1
Posts: 5
Joined: Tue Apr 29, 2008 9:50 am

Post by aidave »

Looks like Compiz was the culprit. I was pleasantly surprised when the program launched! :)

Thank you 8)
aidave
Level 1
Level 1
Posts: 5
Joined: Tue Apr 29, 2008 9:50 am

Post by aidave »

Good lord, Wine is awesome! :) It not only ran aiplanet, but my latest development app, naiture, with full physics and weather.

I am VERY impressed!

There is one odd thing though. The frame rate says 122-200+ fps, but the actual look of it is slow. Any tune-up tips?
Locked