Wine and opengl error!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm having trouble running windows games from Fedora 9, 64 bit, using wine
rc3. I've tried Command & Conquer 3, Age Of Mythology and Jazz Jackrabbit 2.
All games fail. I mostly get an error saying that direct3d9 won't work
without opengl. However, I have opengl.

I've run glxgears and it runs fine. Following is the output:
8877 frames in 5.0 seconds = 1775.333 FPS
9327 frames in 5.0 seconds = 1865.338 FPS
9349 frames in 5.0 seconds = 1869.626 FPS
9315 frames in 5.0 seconds = 1862.977 FPS

Following are my system details:
AMD Athlon 64-bit 2800+
Asus motherboard

Nvidia GeForce FX 5500 256 MB.
OS: Fedora 9, 64 bit.
Using KDE 4.0.5
Have done a *sudo yum update*, so have the latest stable libraries. Using
livna repository in addition to the default ones of fedora.
Livna Nvidia drivers:
[abhimanyu@matrix JJ2]$ rpm -qa | grep nvidia
xorg-x11-drv-nvidia-libs-173.14.09-1.lvn9.x86_64
kmod-nvidia-173.14.09-1.lvn9.x86_64
xorg-x11-drv-nvidia-173.14.09-1.lvn9.x86_64
kmod-nvidia-2.6.25.6-55.fc9.x86_64-173.14.09-1.lvn9.x86_64

I have the following wine packages installed:
wine-esd-1.0-0.3.rc3.fc9.i386
wine-jack-1.0-0.3.rc3.fc9.i386
wine-tools-1.0-0.3.rc3.fc9.i386
wine-docs-1.0-0.3.rc3.fc9.noarch
wine-cms-1.0-0.3.rc3.fc9.i386
wine-twain-1.0-0.3.rc3.fc9.i386
wine-capi-1.0-0.3.rc3.fc9.i386
wine-1.0-0.3.rc3.fc9.i386
wine-ldap-1.0-0.3.rc3.fc9.i386
wine-nas-1.0-0.3.rc3.fc9.i386
wine-core-1.0-0.3.rc3.fc9.i386
wine-devel-1.0-0.3.rc3.fc9.i386

If I run the livna-config-display, it shows that the driver supports
Disable, All, AIGLX and XGL. However, its using AIGLX since *XGL is not
available* in Fedora repositories and can be used only if /usr/bin/Xgl if
present. xorg.conf shows AIGLX as ON. also, glxinfo shows direct rendering
is enabled:
glxinfo | grep direct
direct rendering: Yes

In my xorg.conf, I have Subsection "Display" for depth of 8, 16 and 24.

*Age Of Mythology*
It's installed under /scratch/disk/Games/aom. I get the following error:

[abhimanyu@matrix aom]$ wine aom.exe
err:ole:CoGetClassObject class {ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e} not
registered
err:ole:CoGetClassObject no class object
{ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e} could be created for context 0x1
fixme:imm:ImmReleaseContext (0x40026, 0x11c398): stub
fixme:imm:NotifyIME NI_CLOSECANDIDATE
fixme:imm:ImmGetOpenStatus (0x11c398): semi-stub
*err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:wine_d3d:WineDirect3DCreate Direct3D8 is not available without opengl*
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr
0x79f21875
[abhimanyu@matrix aom]$ fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x7ed8e670,0x676b0a):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x11cdd0,0x676b0a):
stub
err:eventlog:ReportEventW L"3"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x7ed8e670,0x676b82):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x11cdd0,0x676b82):
stub
err:eventlog:ReportEventW L"6"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x7ed8e670,0x67801a):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x11cdd0,0x67801a):
stub
err:eventlog:ReportEventW L"7"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

I get similar exception while trying to run Command & Conquer 3.

Does anyone have any idea why wine can't find opengl???

Just to try, I tried to run an old game - Jazz Jackrabbit 2. This gave a
different error:
*
Jazz Jackrabbit 2*
It is installed under /scratch/disk/Games/JJ2. When I run it, I get a
segmentation fault:
[abhimanyu@matrix JJ2]$ wine Jazz2.exe
fixme:system:SystemParametersInfoW Unimplemented action: 79
(SPI_GETLOWPOWERTIMEOUT)
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
fixme:winsock:is_sockaddr_bound don't know how to tell if IPX socket is
bound, assuming it is!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32
to 8
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_AttachD3DDevice
failed, hr = 8876086c
err:seh:setup_exception_record stack overflow 832 bytes in thread 0009 eip
6015fbda esp 00230ff0 stack 0x230000-0x231000-0x330000
Segmentation fault

My brother has a new Dell laptop, with nvidia card. The latest games are
working on his machine. Jazz 2 works fine. Prince Of Persia trilogy runs
better than on Vista. GTA 3 runs well.

Not sure if this is driver issue, as glxgears runs fine. Have no idea why
wine can't fine opengl. I had even tried compiling the wine rc5 with -opengl
option, but I got the same error. Is there some problem with AIGLX? I'm not
aware of the difference between AIGLX and XGL.

Any pointers will be helpful!!!

--
Thanks in advance,
Abhimanyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20080622/f7906bc5/attachment.htm 


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux