Prey and OpenGL

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Prey and OpenGL

Post by crow_se »

I have installed Prey onto my pc running PCLinuxOS
following the instructions in
http://frankscorner.org/index.php?p=prey
or
http://appdb.winehq.org/objectManager.p ... n&iId=3465

and tried running it. I then found I needed the nocd patch, which I downloaded and applied.
I then tried cd to the app folder, then wine prey.exe with the following result:
Prey 1.0.103 win-x86 Jun 10 2006 00:44:11
2085 MHz AMD CPU with MMX & 3DNow! & SSE
1008 MB System Memory
64 MB Video Memory
Winsock Initialized
Found interface: sit0 - /
Found interface: eth0 - 192.168.0.2/255.255.255.0
Sys_InitNetworking: adding loopback interface
prey using MMX & SSE for SIMD processing
enabled Flush-To-Zero mode
------ Initializing File System ------
Loaded pk4 C:\Program Files\Prey\base\game00.pk4 with checksum 0xe0be2928
Loaded pk4 C:\Program Files\Prey\base\pak000.pk4 with checksum 0x7dc00ede
Loaded pk4 C:\Program Files\Prey\base\pak001.pk4 with checksum 0xd06647b1
Loaded pk4 C:\Program Files\Prey\base\pak002.pk4 with checksum 0x57dce443
Loaded pk4 C:\Program Files\Prey\base\pak003.pk4 with checksum 0x263006fe
Loaded pk4 C:\Program Files\Prey\base\pak004.pk4 with checksum 0xcc075380
Current search path:
C:\Program Files\Prey/base
C:\Program Files\Prey\base\pak004.pk4 (3739 files)
C:\Program Files\Prey\base\pak003.pk4 (4111 files)
C:\Program Files\Prey\base\pak002.pk4 (5337 files)
C:\Program Files\Prey\base\pak001.pk4 (6270 files)
C:\Program Files\Prey\base\pak000.pk4 (3318 files)
C:\Program Files\Prey\base\game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
2647 strings read from strings/english001.lang
Couldn't open journal files
couldn't exec editor.cfg
execing default.cfg
couldn't exec preyconfig.cfg
couldn't exec autoexec.cfg
2647 strings read from strings/english001.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Initializing OpenGL subsystem
...registered window class
...registered fake window class
...initializing QGL
...calling LoadLibrary( 'opengl32' ): succeeded
Couldn't find proc address for: wglCreatePbufferARB
Couldn't find proc address for: wglGetPbufferDCARB
Couldn't find proc address for: wglReleasePbufferDCARB
Couldn't find proc address for: wglDestroyPbufferARB
Couldn't find proc address for: wglQueryPbufferARB
Couldn't find proc address for: wglBindTexImageARB
Couldn't find proc address for: wglReleaseTexImageARB
Couldn't find proc address for: wglSetPbufferAttribARB
...640x480 is unsupported in 32 bit
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...shutting down QGL
...unloading OpenGL DLL
Initializing OpenGL subsystem
...initializing QGL
...calling LoadLibrary( 'opengl32' ): succeeded
Couldn't find proc address for: wglCreatePbufferARB
Couldn't find proc address for: wglGetPbufferDCARB
Couldn't find proc address for: wglReleasePbufferDCARB
Couldn't find proc address for: wglDestroyPbufferARB
Couldn't find proc address for: wglQueryPbufferARB
Couldn't find proc address for: wglBindTexImageARB
Couldn't find proc address for: wglReleaseTexImageARB
Couldn't find proc address for: wglSetPbufferAttribARB
...640x480 is unsupported in 32 bit
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...shutting down QGL
...unloading OpenGL DLL
idRenderSystem::Shutdown()
Shutting down OpenGL subsystem
...shutting down QGL
Unable to initialize OpenGL

and
libGL warning: 3D driver claims to not support visual 0x4b
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:create_server class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x15
in the terminal from which I ran prey.

To check on my graphic card performance I ran glxgears which ran and gave the following in the
terminal :

libGL warning: 3D driver claims to not support visual 0x4b
*********************************WARN_ONCE*********************************
File r300_mem.c function r300_mem_alloc line 225
Ran out of GART memory (for 1048576)!
Please consider adjusting GARTSize option.
***************************************************************************
8650 frames in 5.0 seconds = 1729.872 FPS
8933 frames in 5.0 seconds = 1786.581 FPS
9032 frames in 5.0 seconds = 1806.277 FPS

Then changed from 1Gb to 2Gb RAM and glxgears gave

libGL warning: 3D driver claims to not support visual 0x4b
8922 frames in 5.0 seconds = 1784.316 FPS
10020 frames in 5.0 seconds = 2003.965 FPS
10227 frames in 5.0 seconds = 2045.303 FPS
10233 frames in 5.0 seconds = 2046.465 FPS
10234 frames in 5.0 seconds = 2046.603 FPS
10233 frames in 5.0 seconds = 2046.521 FPS
10235 frames in 5.0 seconds = 2046.838 FPS
10236 frames in 5.0 seconds = 2047.020 FPS
10234 frames in 5.0 seconds = 2046.737 FPS

Dont know if this has any bearing on my problem though.

I cannot see OpenGL for download in Synaptic.

Can anyone advise me ?
TIA
crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Prey and OpenGL

Post by crow_se »

Sorry, should have said
WINE 0.9.58-1pclos2007
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Prey and OpenGL

Post by austin987 »

Install updated video drivers.

On 5/26/08, crow_se <[email protected]> wrote:
Sorry, should have said
WINE 0.9.58-1pclos2007




crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Post by crow_se »

Thanks for the reply.
I downloaded and installed the ATI drivers 8.40.4-2pclos2007
from Synaptic. They completely screwed my system.
I had no window decorations, I lost all virtual desktops and the mouse
buttons did not have any affect in any window, compiz-fusion also did not work.
I could not run any configuration program to try and sort it because of the mouse problem.
I could not run Synaptic to uninstall the driver. Starting in safe mode and then using startx still gave the same problems.

I eventually recovered the system, but I dont think I will try Prey again,
I will keep my Windows XP for gaming.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Prey and OpenGL

Post by austin987 »

On Tue, May 27, 2008 at 7:06 AM, crow_se <[email protected]> wrote:
Thanks for the reply.
I downloaded and installed the ATI drivers 8.40.4-2pclos2007
from Synaptic. They completely screwed my system.
I had no window decorations, I lost all virtual desktops and the mouse
buttons did not have any affect in any window, compiz-fusion also did not work.
I could not run any configuration program to try and sort it because of the mouse problem.
I could not run Synaptic to uninstall the driver. Starting in safe mode and then using startx still gave the same problems.

I eventually recovered the system, but I dont think I will try Prey again,
I will keep my Windows XP for gaming.





ATI drivers are known to be sketchy...FWIW, you should disable compiz
before using wine...they conflict over graphics.
crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Prey and OpenGL - Solved

Post by crow_se »

Hello again.
Since my last post about giving up on Prey I have had to change my graphics card. The cooling fan on my ATI packed up and it was a choice of a new fan/heatsink combination and having to nearly rebuild my pc to allow room for it (nearly the size of my card and over 1 inch thick !) or replacing the card.
Since I thought that the fan problem might be the thin end of the wedge and I might get more problems with the card I decided to replace it.
I bought a Sparkle Nvidia GeForce 7600 GS with 512 Mb Ram. I installed the card and installed the 9755-pclos207 drivers from Synaptic.
I thought, what the hell, lets give it a go, and reinstalled Prey and the 1.4 patch yet again.
Went into Wine configurator and selected Allow the window manager to control the windows, and lo and behold the game works fine.
I switched off Compiz using the Compiz Fusion Icon, setting the window manager to KWin before firing up Prey.
Running at 1024*768 with all advanced video options turned on I am getting a frame rate varying between 30 and 70 fps. No 'sticky' graphics either.
Same applies with Doom3. Haven't tried anything else yet.
Locked