public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: Ken Olum <kdo@cosmos.phy.tufts.edu> To: cygwin-xfree@cygwin.com Subject: Re: AIGLX Date: Fri, 21 Jan 2011 17:52:00 -0000 [thread overview] Message-ID: <E1PgL9i-00034B-Uv@cosmos.phy.tufts.edu> (raw) In-Reply-To: <4D375370.8020005@dronecode.org.uk> (message from Jon TURNEY on Wed, 19 Jan 2011 21:11:12 +0000) [-- Attachment #1: Type: text/plain, Size: 1171 bytes --] From: Jon TURNEY <jon.turney@dronecode.org.uk> Date: Wed, 19 Jan 2011 21:11:12 +0000 Anyhow, can you try with 'GLWIN_NO_WGL_EXTENSIONS=1 XWin -wgl -multiwindow' Thanks. I did this and it worked. However, for a particular paraview dataset that I happened to have lying around it is slower than direct rendering by a factor of about 2. That may be related to the fact that this particular scene has wiggly tubes with structure too small to show on the screen, so there is a high ratio of data to things that actually get displayed. For the same scene, unaccelerated indirect rendering is much slower than accelerated, perhaps by a factor of 10. So when you can't use direct rendering, acceleration is a big help. Once I say -wgl, direct rendering no longer works. That is, if I don't set LIBGL_ALWAYS_INDIRECT, then I get a long (infinite?) sequence of errors like this: X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 73 (X_GetImage) Resource id: 0xa0039a I attach my XWin.0.log from a test in which I first succeeded with LIBGL_ALWAYS_INDIRECT and then got the error above without it. Ken [-- Attachment #2: XWin.0.log.1 --] [-- Type: application/octet-stream, Size: 11032 bytes --] Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.9.3.0 (10903000) Snapshot: 20110102-git-29db9091c6ae4995 XWin was started with the following command line: XWin -wgl -multiwindow ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1280 h 1024 winInitializeDefaultScreens - native DPI x 96 y 96 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/kdo-sr1111nx:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 [ 88581.375] winInitializeScreens - 1 [ 88581.375] winInitializeScreen - 0 [ 88581.375] (WW) Failed to open protocol names file /usr/lib/X11/protocol.txt [ 88581.375] (II) xorg.conf is not supported [ 88581.375] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information [ 88581.375] LoadPreferences: /home/kdo/.XWinrc not found [ 88581.375] LoadPreferences: Loading /etc/X11/system.XWinrc [ 88581.375] LoadPreferences: Done parsing the configuration file... [ 88581.375] winGetDisplay: DISPLAY=:0.0 [ 88581.375] winDetectSupportedEngines - Windows NT/2000/XP [ 88581.375] winDetectSupportedEngines - DirectDraw installed [ 88581.375] winDetectSupportedEngines - Allowing PrimaryDD [ 88581.375] winDetectSupportedEngines - DirectDraw4 installed [ 88581.375] winDetectSupportedEngines - Returning, supported engines 0000001f [ 88581.375] winSetEngine - Multi Window or Rootless => ShadowGDI [ 88581.390] winScreenInit - Using Windows display depth of 32 bits per pixel [ 88581.421] winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 [ 88581.421] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff [ 88581.421] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 [ 88581.421] null screen fn ReparentWindow [ 88581.421] null screen fn RestackWindow [ 88581.421] InitQueue - Calling pthread_mutex_init [ 88581.421] InitQueue - pthread_mutex_init returned [ 88581.421] InitQueue - Calling pthread_cond_init [ 88581.421] InitQueue - pthread_cond_init returned [ 88581.421] winInitMultiWindowWM - Hello [ 88581.421] winInitMultiWindowWM - Calling pthread_mutex_lock () [ 88581.421] winMultiWindowXMsgProc - Hello [ 88581.421] winMultiWindowXMsgProc - Calling pthread_mutex_lock () [ 88581.421] Screen 0 added at virtual desktop coordinate (0,0). [ 88581.421] MIT-SHM extension disabled due to lack of kernel support [ 88581.421] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel [ 88581.640] GL_VERSION: 1.4.0 - Build 4.14.10.3762 [ 88581.640] GL_VENDOR: Intel [ 88581.640] GL_RENDERER: Intel 845G [ 88581.640] GL_EXTENSIONS: GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_texture_border_clamp GL_ARB_texture_compression [ 88581.640] GL_EXTENSIONS: GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 [ 88581.640] GL_EXTENSIONS: GL_ARB_texture_env_crossbar GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr [ 88581.640] GL_EXTENSIONS: GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract [ 88581.640] GL_EXTENSIONS: GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_EXT_fog_coord [ 88581.640] GL_EXTENSIONS: GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_packed_pixels_12 GL_EXT_rescale_normal [ 88581.640] GL_EXTENSIONS: GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap [ 88581.640] GL_EXTENSIONS: GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_env_combine [ 88581.640] GL_EXTENSIONS: GL_EXT_texture_filter_anisotropic GL_3DFX_texture_compression_FXT1 GL_IBM_texture_mirrored_repeat [ 88581.640] GL_EXTENSIONS: GL_NV_blend_square GL_NV_texgen_reflection GL_WIN_swap_hint GL_SGIS_generate_mipmap [ 88581.640] WGL_EXTENSIONS: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format [ 88581.640] WGL_EXTENSIONS: WGL_ARB_pbuffer WGL_EXT_swap_control [ 88581.640] GLWIN_NO_WGL_EXTENSIONS is set, ignoring WGL_EXTENSIONS [ 88581.640] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 88581.640] 30 fbConfigs [ 88581.640] pxf vis fb render Ste aux accum MS drawable Group/ [ 88581.640] idx ID ID VisualType Depth Lvl RGB CI DB Swap reo R G B A Z S buf AR AG AB AA bufs num W P Pb Float Trans Caveat [ 88581.640] ----------------------------------------------------------------------------------------------------------------------------- [ 88581.640] 1 60 42 TrueColor 32 0 y . . . 8 8 8 8 0 0 0 0 0 0 0 0 0 y . . . . 2 [ 88581.640] 2 61 43 TrueColor 32 0 y . y . 8 8 8 8 0 0 0 16 16 16 16 0 0 y . . . . 2 [ 88581.640] 3 62 44 TrueColor 32 0 y . . . 8 8 8 8 16 0 0 0 0 0 0 0 0 y . . . . 2 [ 88581.640] 4 41 45 TrueColor 32 0 y . y . 8 8 8 8 16 0 0 16 16 16 16 0 0 y . . . . 2 [ 88581.640] 5 63 46 TrueColor 32 0 y . . . 8 8 8 8 24 8 0 0 0 0 0 0 0 y . . . . 2 [ 88581.640] 6 21 47 TrueColor 32 0 y . y . 8 8 8 8 24 8 0 16 16 16 16 0 0 y . . . . 2 [ 88581.640] 7 64 48 TrueColor 32 0 y . . . 8 8 8 0 32 8 0 16 16 16 0 0 0 y y . . . 0 * [ 88581.640] 8 65 49 TrueColor 32 0 y . . . 8 8 8 0 16 8 0 16 16 16 0 0 0 y y . . . 0 * [ 88581.640] 9 66 4a TrueColor 32 0 y . y copy . 8 8 8 0 32 8 0 16 16 16 0 0 0 y . . . . 0 * [ 88581.640] 10 67 4b TrueColor 32 0 y . y copy . 8 8 8 0 16 8 0 16 16 16 0 0 0 y . . . . 0 * [ 88581.640] 11 68 4c TrueColor 32 0 y . . . 8 8 8 8 32 8 0 16 16 16 16 0 0 y y . . . 0 * [ 88581.640] 12 69 4d TrueColor 32 0 y . . . 8 8 8 8 16 8 0 16 16 16 16 0 0 y y . . . 0 * [ 88581.640] 13 6a 4e TrueColor 32 0 y . y copy . 8 8 8 8 32 8 0 16 16 16 16 0 0 y . . . . 0 * [ 88581.640] 14 6b 4f TrueColor 32 0 y . y copy . 8 8 8 8 16 8 0 16 16 16 16 0 0 y . . . . 0 * [ 88581.640] 19 0 50 TrueColor 24 0 y . . . 8 8 8 0 32 8 0 16 16 16 0 0 0 . y . . . 0 * [ 88581.640] 20 0 51 TrueColor 24 0 y . . . 8 8 8 0 16 8 0 16 16 16 0 0 0 . y . . . 0 * [ 88581.640] 21 0 52 TrueColor 24 0 y . . . 8 8 8 8 32 8 0 16 16 16 16 0 0 . y . . . 0 * [ 88581.640] 22 0 53 TrueColor 24 0 y . . . 8 8 8 8 16 8 0 16 16 16 16 0 0 . y . . . 0 * [ 88581.640] 25 0 54 TrueColor 16 0 y . . . 5 5 5 0 32 8 0 11 11 10 0 0 0 . y . . . 0 * [ 88581.640] 26 0 55 TrueColor 16 0 y . . . 5 5 5 0 16 8 0 11 11 10 0 0 0 . y . . . 0 * [ 88581.640] 27 0 56 TrueColor 16 0 y . . . 5 5 5 8 32 8 0 8 8 8 8 0 0 . y . . . 0 * [ 88581.640] 28 0 57 TrueColor 16 0 y . . . 5 5 5 8 16 8 0 8 8 8 8 0 0 . y . . . 0 * [ 88581.640] 31 0 58 TrueColor 8 0 y . . . 3 3 2 0 32 8 0 11 11 10 0 0 0 . y . . . 0 * [ 88581.640] 32 0 59 TrueColor 8 0 y . . . 3 3 2 0 16 8 0 11 11 10 0 0 0 . y . . . 0 * [ 88581.640] 33 0 5a TrueColor 8 0 y . . . 3 3 2 8 32 8 0 8 8 8 8 0 0 . y . . . 0 * [ 88581.640] 34 0 5b TrueColor 8 0 y . . . 3 3 2 8 16 8 0 8 8 8 8 0 0 . y . . . 0 * [ 88581.640] 37 0 5c TrueColor 4 0 y . . . 1 1 1 0 32 8 0 5 6 5 0 0 0 . y . . . 0 * [ 88581.640] 38 0 5d TrueColor 4 0 y . . . 1 1 1 0 16 8 0 5 6 5 0 0 0 . y . . . 0 * [ 88581.640] 39 0 5e TrueColor 4 0 y . . . 1 1 1 8 32 8 0 4 4 4 4 0 0 . y . . . 0 * [ 88581.640] 40 0 5f TrueColor 4 0 y . . . 1 1 1 8 16 8 0 4 4 4 4 0 0 . y . . . 0 * [ 88581.656] (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [ 88581.671] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list! [ 88581.671] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list! [ 88582.375] winPointerWarpCursor - Discarding first warp: 640 512 [ 88582.375] (--) 3 mouse buttons found [ 88582.375] (--) Setting autorepeat to delay=500, rate=31 [ 88582.375] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4 [ 88582.375] (--) Found matching XKB configuration "English (USA)" [ 88582.375] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" [ 88582.375] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" [ 88582.375] winInitMultiWindowWM - pthread_mutex_lock () returned. [ 88582.390] winMultiWindowXMsgProc - pthread_mutex_lock () returned. [ 88582.390] winMultiWindowXMsgProc - pthread_mutex_unlock () returned. [ 88582.390] winGetDisplay: DISPLAY=:0.0 [ 88582.390] winMultiWindowXMsgProc - DISPLAY=:0.0 [ 88582.390] winInitMultiWindowWM - pthread_mutex_unlock () returned. [ 88582.406] winProcEstablishConnection - Hello [ 88582.406] winInitClipboard () [ 88582.406] winClipboardProc - Hello [ 88582.406] DetectUnicodeSupport - Windows NT/2000/XP [ 88582.406] winProcEstablishConnection - winInitClipboard returned. [ 88582.406] winGetDisplay: DISPLAY=:0.0 [ 88582.406] winClipboardProc - DISPLAY=:0.0 [ 88582.406] winGetDisplay: DISPLAY=:0.0 [ 88582.406] winInitMultiWindowWM - DISPLAY=:0.0 [ 88582.406] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. [ 88582.421] winClipboardProc - XOpenDisplay () returned and successfully opened the display. [ 88582.421] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. [ 88753.484] winGetWindowInfo: forcing window to exist [ 88753.515] glwrap: Resolved "glGetProgramivARB" [ 88763.734] winGetWindowInfo: forcing window to exist [ 88763.750] OS has icon alpha channel support: yes [ 88763.828] glwrap: Resolved "glBlendFuncSeparateEXT" [ 88775.375] winGetWindowInfo: forcing window to exist [ 88779.578] winGetWindowInfo: forcing window to exist [-- Attachment #3: Type: text/plain, Size: 223 bytes --] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
next prev parent reply other threads:[~2011-01-21 17:52 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-19 18:53 AIGLX Ken Olum 2011-01-19 21:11 ` AIGLX Jon TURNEY 2011-01-21 17:52 ` Ken Olum [this message] 2011-01-24 18:38 ` AIGLX Jon TURNEY 2011-02-04 17:14 ` AIGLX Ken Olum 2011-03-05 18:05 ` AIGLX Jon TURNEY
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E1PgL9i-00034B-Uv@cosmos.phy.tufts.edu \ --to=kdo@cosmos.phy.tufts.edu \ --cc=cygwin-xfree@cygwin.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).