[Bug 4417] New: Problem with OpenGL Drawable

Wine Bugs wine-bugs at winehq.org
Wed Jan 25 10:48:04 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4417

           Summary: Problem with OpenGL Drawable
           Product: Wine
           Version: 0.9.6.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-x11driver
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: OnlyOlli at gmx.de


When i start Valves Worldcraft/Hammer editor with wine it is complete black.
if i load a map (all the buttons still work) it shows the camera-window on the
left-bottom-corner in the right size, but it also blacks the whole window.
In the TRACE-log i see that the drawable used in wglCreateContext/wglMakeCurrent
has a size like my desktop. but if you read further, hammer sets the glViewport
to 317x227px, the size of the camera-viewport-window :)
I made a screenshot: http://theoneandonlyfoo.th.funpic.de/screen1.jpg

hope someone can fix that... i can't... :'(

i startet wine with WINEDEBUG=+opengl
and it gaves me the following:

trace:opengl:has_opengl GLX is up and running error_base = 77
trace:opengl:X11DRV_setup_opengl_visual Visual ID 21 Chosen
trace:opengl:wgl_ext_initialize_extensions GL version         : "2.0.1 NVIDIA
81.78".
trace:opengl:wgl_ext_initialize_extensions GL exts            :
"GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample
GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object
GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_ob"....
trace:opengl:wgl_ext_initialize_extensions GLX exts           :
"GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer
GLX_SGI_video_sync GLX_SGI_swap_control GLX_ARB_multisample GLX_NV_float_buffer
GLX_ARB_get_proc_address ".
trace:opengl:wgl_ext_initialize_extensions Server GLX version : "1.3".
trace:opengl:wgl_ext_initialize_extensions Client GLX version : "1.3".
trace:opengl:wgl_ext_initialize_extensions Server GLX exts    :
"GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer
GLX_SGI_video_sync GLX_SGI_swap_control GLX_ARB_multisample GLX_NV_float_buffer ".
trace:opengl:wgl_ext_initialize_extensions Client GLX exts    :
"GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_visual_info
GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGI_video_sync
GLX_NV_swap_group GLX_NV_video_out GLX_SGIX_fbconfig GLX_SGIX_pbuffer
GLX_SGI_swap_control GLX_NV_float_buffer GLX_ARB_fbconfig_float ".
trace:opengl:query_function_pbuffer gl_version is: "2.0.1 NVIDIA 81.78"
trace:opengl:query_function_pbuffer glx_exts is: "GLX_EXT_visual_info
GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync
GLX_SGI_swap_control GLX_ARB_multisample GLX_NV_float_buffer
GLX_ARB_get_proc_address "
trace:opengl:query_function_render_texture Active WGL_render_texture: emulation
using pbuffers
trace:opengl:query_function_pbuffer gl_version is: "2.0.1 NVIDIA 81.78"
trace:opengl:query_function_pbuffer glx_exts is: "GLX_EXT_visual_info
GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync
GLX_SGI_swap_control GLX_ARB_multisample GLX_NV_float_buffer
GLX_ARB_get_proc_address "
trace:opengl:query_function_render_texture Active WGL_render_texture: emulation
using pbuffers
trace:opengl:wgl_ext_initialize_extensions Supporting following WGL extensions :
"WGL_ARB_extensions_string WGL_EXT_extensions_string WGL_ARB_make_current_read
WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_render_texture
WGL_EXT_swap_control".
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
trace:opengl:wine_glPolygonMode (1032, 6913)
trace:opengl:X11DRV_ChoosePixelFormat (0x40408fa8,0x406ff914)
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - size / version : 40 / 1
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - dwFlags : PFD_DOUBLEBUFFER
PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - iPixelType : PFD_TYPE_RGBA
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Color   : 24
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Red     : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Green   : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Blue    : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Alpha   : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Accum   : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Depth   : 32
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Stencil : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Aux     : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - iLayerType : PFD_MAIN_PLANE
trace:opengl:X11DRV_SetPixelFormat (0x40408fa8,1,0x406ff914)
trace:opengl:X11DRV_SetPixelFormat  FBConfig have :
trace:opengl:X11DRV_SetPixelFormat  - FBCONFIG_ID   0x71
trace:opengl:X11DRV_SetPixelFormat  - VISUAL_ID     0x21
trace:opengl:X11DRV_SetPixelFormat  - DRAWABLE_TYPE 0x7
trace:opengl:X11DRV_DescribePixelFormat (0x40408fa8,1,40,0x406ff914)
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - size / version : 40 / 1
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - dwFlags : PFD_DOUBLEBUFFER
PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - iPixelType : PFD_TYPE_RGBA
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Color   : 32
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Red     : 8
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Green   : 8
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Blue    : 8
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Alpha   : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Accum   : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Depth   : 24
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Stencil : 8
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - Aux     : 0
trace:opengl:dump_PIXELFORMATDESCRIPTOR   - iLayerType : PFD_MAIN_PLANE
trace:opengl:X11DRV_GetPixelFormat (0x40408fa8): returns 1
trace:opengl:wglCreateContext (0x43fc)->(PF:1)
trace:opengl:wglCreateContext  creating context 0x4040d910 (GL context creation
delayed)
trace:opengl:wglMakeCurrent (0x43fc,0x4040d910)
trace:opengl:wglMakeCurrent  Wine desktop VISUAL_ID is 0x21
trace:opengl:describeDrawable  Drawable 0x2a00002 have :
trace:opengl:describeDrawable  - FBCONFIG_ID as 0x21
trace:opengl:describeDrawable  - VISUAL_ID as 0x21

## HERE IT IS!
WIDTH should be 317 i think,
and height around 227 and not nearly my desktop size
it should be the viewport size...

trace:opengl:describeDrawable  - WIDTH as 1268
trace:opengl:describeDrawable  - HEIGHT as 937
trace:opengl:describeContext  Context 0x4040d910 have (vis:0x7c1cb020):
trace:opengl:describeContext  - FBCONFIG_ID 0x71
trace:opengl:describeContext  - VISUAL_ID 0x21
trace:opengl:wglMakeCurrent  Creating GLX Context
trace:opengl:wglMakeCurrent  created a delayed OpenGL context (0x7c1cb298)
trace:opengl:wglMakeCurrent  make current for dis 0x7c017678, drawable
0x2a00002, ctx 0x7c1cb298
trace:opengl:wglMakeCurrent  returning True
trace:opengl:wglMakeCurrent (0x43fc,0x4040d910)
trace:opengl:wglMakeCurrent  make current for dis 0x7c017678, drawable
0x2a00002, ctx 0x7c1cb298
trace:opengl:wglMakeCurrent  returning True

## THIS is the ViewPort of the 3D-Camera-Window i think
trace:opengl:wine_glViewport (0, 0, 317, 227)

....

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list