Opengl doesn't work

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
The_Pikos
Newbie
Newbie
Posts: 4
Joined: Mon Mar 24, 2008 6:35 am

Opengl doesn't work

Post by The_Pikos »

Hi !

I've Wine 1.0RC3, and I've an error when I start Chessmaster 10th:

err:wgl:X11DRV_wglGetProcAddress No OpenGL support compiled in.

I think I've missed something during the install... How can I install the opengl support?

Thxs!

Pikos

PS: sorry for my English.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Opengl doesn't work

Post by austin987 »

On Mon, Jun 2, 2008 at 11:24 AM, The_Pikos <[email protected]> wrote:
Hi !

I've Wine 1.0RC3, and I've an error when I start Chessmaster 10th:

err:wgl:X11DRV_wglGetProcAddress No OpenGL support compiled in.

I think I've missed something during the install... How can I install the opengl support?

Thxs!

Pikos

PS: sorry for my English.





Where did you get wine? Did you compile it yourself?
The_Pikos
Newbie
Newbie
Posts: 4
Joined: Mon Mar 24, 2008 6:35 am

Post by The_Pikos »

hum yes.

i'll try to uninstall and get it by apt-get

I'll let you know

Pikos

Edit: done but it still doesn't work

hier the whole error:

Code: Select all

Dark-Light@Portable:~$ wine '/home/nicolas/.wine/drive_c/Program Files/Ubisoft/Chessmaster 10ème Edition/Chessmaster.exe'
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/nicolas/.wine' has been updated.
fixme:imm:ImmDisableIME (-1): stub

err:wgl:X11DRV_ChoosePixelFormat No OpenGL support compiled in.

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 Direct3D9 is not available without opengl
wine: Unhandled page fault on read access to 0x00000000 at address 0x7e8a011f (thread 0021), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e8a011f).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7e8a011f ESP:0033fdec EBP:0033fe04 EFLAGS:00010212(   - 00      - RIA1)
 EAX:0033fe20 EBX:00400010 ECX:0033fe20 EDX:00000000
 ESI:001307e0 EDI:00659358
Stack dump:
0x0033fdec:  001307e0 7c34cf7b 7ee70bb0 00111d6c
0x0033fdfc:  00000000 00400010 0033ff08 1000edbe
0x0033fe0c:  001307e0 00000000 0033fe20 1000ed80
0x0033fe1c:  00400000 00000000 0033ff08 00425aea
0x0033fe2c:  00000004 00425b0d 00000020 00000000
0x0033fe3c:  7ee70bb0 00111d6c 00000000 0064ea84
Backtrace:
=>1 0x7e8a011f IDirect3D9Impl_GetAdapterDisplayMode+0xf(iface=0x1307e0, Adapter=0x0, pMode=0x33fe20) [/home/nicolas/Downloads/wine-1.0-rc2/dlls/d3d9/directx.c:162] in d3d9 (0x0033fe04)
  2 0x1000edbe in kernel (+0xedbe) (0x0033ff08)
  3 0x7ee813a7 start_process+0xc7(arg=0x0) [/home/nicolas/Downloads/wine-1.0-rc2/dlls/kernel32/process.c:904] in kernel32 (0x0033ffe8)
0x7e8a011f IDirect3D9Impl_GetAdapterDisplayMode+0xf [/home/nicolas/Downloads/wine-1.0-rc2/dlls/d3d9/directx.c:162] in d3d9: movl        0x0(%edx),%ecx
Unable to open file ''
Modules:
Module  Address                 Debug info      Name (105 modules)
PE        340000-  34f000       Deferred        datfile
PE        350000-  35c000       Deferred        memmanage
PE        360000-  36d000       Deferred        registry
PE        370000-  380000       Deferred        display8
PE        380000-  3d3000       Deferred        customgui
PE        3e0000-  3ee000       Deferred        cmbench
PE        400000-  8a593e       Deferred        game
PE       14b0000- 1714000       Deferred        cmprn
PE      10000000-1007a000       Export          kernel
PE      21100000-21164000       Deferred        mss32
PE      30000000-3006d000       Deferred        binkw32
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
PE      7c340000-7c396000       Deferred        msvcr71
ELF     7df11000-7df37000       Deferred        msacm32<elf>
  \-PE  7df20000-7df37000       \               msacm32
ELF     7df37000-7df4e000       Deferred        msacm32<elf>
  \-PE  7df40000-7df4e000       \               msacm32
ELF     7df4e000-7df89000       Deferred        wineoss<elf>
  \-PE  7df50000-7df89000       \               wineoss
ELF     7df89000-7dfbc000       Deferred        uxtheme<elf>
  \-PE  7df90000-7dfbc000       \               uxtheme
ELF     7dfbc000-7dfc5000       Deferred        libxcursor.so.1
ELF     7dfc5000-7dfca000       Deferred        libxfixes.so.3
ELF     7dfca000-7dfcd000       Deferred        libxcomposite.so.1
ELF     7dfcd000-7dfd3000       Deferred        libxrandr.so.2
ELF     7dfd3000-7dfdb000       Deferred        libxrender.so.1
ELF     7dfdb000-7dfe0000       Deferred        libxdmcp.so.6
ELF     7dfe0000-7dff8000       Deferred        libxcb.so.1
ELF     7dff8000-7e0df000       Deferred        libx11.so.6
ELF     7e0df000-7e0ed000       Deferred        libxext.so.6
ELF     7e0ed000-7e0f2000       Deferred        libxxf86vm.so.1
ELF     7e0f3000-7e107000       Deferred        midimap<elf>
  \-PE  7e100000-7e107000       \               midimap
ELF     7e109000-7e193000       Deferred        winex11<elf>
  \-PE  7e120000-7e193000       \               winex11
ELF     7e1c0000-7e1e1000       Deferred        libexpat.so.1
ELF     7e1e1000-7e20b000       Deferred        libfontconfig.so.1
ELF     7e20b000-7e220000       Deferred        libz.so.1
ELF     7e220000-7e290000       Deferred        libfreetype.so.6
ELF     7e290000-7e2b8000       Deferred        msvfw32<elf>
  \-PE  7e2a0000-7e2b8000       \               msvfw32
ELF     7e2b8000-7e306000       Deferred        wininet<elf>
  \-PE  7e2c0000-7e306000       \               wininet
ELF     7e306000-7e3a8000       Deferred        oleaut32<elf>
  \-PE  7e320000-7e3a8000       \               oleaut32
ELF     7e3a8000-7e409000       Deferred        rpcrt4<elf>
  \-PE  7e3b0000-7e409000       \               rpcrt4
ELF     7e409000-7e4ad000       Deferred        ole32<elf>
  \-PE  7e420000-7e4ad000       \               ole32
ELF     7e4ad000-7e4e2000       Deferred        winspool<elf>
  \-PE  7e4b0000-7e4e2000       \               winspool
ELF     7e4e2000-7e53b000       Deferred        shlwapi<elf>
  \-PE  7e4f0000-7e53b000       \               shlwapi
ELF     7e53b000-7e64a000       Deferred        shell32<elf>
  \-PE  7e550000-7e64a000       \               shell32
ELF     7e64a000-7e6f5000       Deferred        comdlg32<elf>
  \-PE  7e650000-7e6f5000       \               comdlg32
ELF     7e6f5000-7e708000       Deferred        libresolv.so.2
ELF     7e709000-7e70c000       Deferred        libxinerama.so.1
ELF     7e71f000-7e73d000       Deferred        iphlpapi<elf>
  \-PE  7e730000-7e73d000       \               iphlpapi
ELF     7e73d000-7e769000       Deferred        ws2_32<elf>
  \-PE  7e740000-7e769000       \               ws2_32
ELF     7e769000-7e783000       Deferred        wsock32<elf>
  \-PE  7e770000-7e783000       \               wsock32
ELF     7e783000-7e885000       Deferred        wined3d<elf>
  \-PE  7e7a0000-7e885000       \               wined3d
ELF     7e885000-7e8b5000       Dwarf           d3d9<elf>
  \-PE  7e890000-7e8b5000       \               d3d9
ELF     7e8b5000-7e8d5000       Deferred        imm32<elf>
  \-PE  7e8c0000-7e8d5000       \               imm32
ELF     7e8d5000-7e8e8000       Deferred        msimg32<elf>
  \-PE  7e8e0000-7e8e8000       \               msimg32
ELF     7e8e8000-7e97a000       Deferred        winmm<elf>
  \-PE  7e8f0000-7e97a000       \               winmm
ELF     7e97a000-7ea39000       Deferred        comctl32<elf>
  \-PE  7e980000-7ea39000       \               comctl32
ELF     7ea39000-7ea52000       Deferred        version<elf>
  \-PE  7ea40000-7ea52000       \               version
ELF     7ea52000-7eaa4000       Deferred        advapi32<elf>
  \-PE  7ea60000-7eaa4000       \               advapi32
ELF     7eaa4000-7eb3f000       Deferred        gdi32<elf>
  \-PE  7eab0000-7eb3f000       \               gdi32
ELF     7eb3f000-7ec86000       Deferred        user32<elf>
  \-PE  7eb60000-7ec86000       \               user32
ELF     7ec86000-7eca7000       Deferred        mpr<elf>
  \-PE  7ec90000-7eca7000       \               mpr
ELF     7eca7000-7ecb2000       Deferred        libnss_files.so.2
ELF     7ecb2000-7ecca000       Deferred        libnsl.so.1
ELF     7ecca000-7ecd3000       Deferred        libnss_compat.so.2
ELF     7ecd4000-7ecd6000       Deferred        libxcb-xlib.so.0
ELF     7ecd6000-7ecea000       Deferred        lz32<elf>
  \-PE  7ece0000-7ecea000       \               lz32
ELF     7ee0a000-7ef37000       Dwarf           kernel32<elf>
  \-PE  7ee20000-7ef37000       \               kernel32
ELF     7ef37000-7ef5c000       Deferred        libm.so.6
ELF     7ef5c000-7f000000       Deferred        ntdll<elf>
  \-PE  7ef70000-7f000000       \               ntdll
ELF     b7cd0000-b7cda000       Deferred        libnss_nis.so.2
ELF     b7cdb000-b7cdf000       Deferred        libdl.so.2
ELF     b7cdf000-b7e2e000       Deferred        libc.so.6
ELF     b7e2f000-b7e47000       Deferred        libpthread.so.0
ELF     b7e47000-b7e4a000       Deferred        libxau.so.6
ELF     b7e5e000-b7f94000       Deferred        libwine.so.1
ELF     b7f96000-b7fb2000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008
        00000009    0
0000000c
        00000014    0
        00000013    0
        00000012    0
        0000000e    0
        0000000d    0
0000000f
        00000016    0
        00000015    0
        00000011    0
        00000010    0
00000017
        00000018    0
00000020 (D) C:\Program Files\Ubisoft\Chessmaster 10�me Edition\game.exe
        00000021    0 <==
Backtrace:
=>1 0x7e8a011f IDirect3D9Impl_GetAdapterDisplayMode+0xf(iface=0x1307e0, Adapter=0x0, pMode=0x33fe20) [/home/nicolas/Downloads/wine-1.0-rc2/dlls/d3d9/directx.c:162] in d3d9 (0x0033fe04)
  2 0x1000edbe in kernel (+0xedbe) (0x0033ff08)
  3 0x7ee813a7 start_process+0xc7(arg=0x0) [/home/nicolas/Downloads/wine-1.0-rc2/dlls/kernel32/process.c:904] in kernel32 (0x0033ffe8)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Opengl doesn't work

Post by vitamin »

The_Pikos wrote:Hi !

I've Wine 1.0RC3, and I've an error when I start Chessmaster 10th:

err:wgl:X11DRV_wglGetProcAddress No OpenGL support compiled in.

I think I've missed something during the install... How can I install the opengl support?
How did you installed Wine?
If you installed a pre-compiled binary then you did not install all the pieces.
If your system is 64-bit then you don't have 32-bit OpenGL library (libGL).
If you compiled Wine yourself then you might not had OpenGL development files ( http://wiki.winehq.org/Recommended_Packages ).
Locked