public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Unable to use wgl direct rendering
@ 2013-11-23 14:14 GeeKer Wang
  2013-11-24  2:00 ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 2+ messages in thread
From: GeeKer Wang @ 2013-11-23 14:14 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

Hi, all

I got a HP dv4 envy 5306tx laptop with dual cards(intel/Nvidia).
I failed to install NVidia driver in linux, so I have to turn to
cygwin in windows.

I install the latest cygwin-32 and xserver under windows8-64.
But when I started the xserver by 'xwin -wgl -multiwindow', I failed
to start direct rendering. The result of 'glxinfo | grep -i rend' is

direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
OpenGL renderer string: GeForce GT 650M/PCIe/SSE2

After I export LIBGL_DEBUG=verbose, nothing detail is shown. So I
don't know why this doesn't work and where the problem is.

Any advice will be appreciated!

-- 
Martin

[-- Attachment #2: XWin.0.log --]
[-- Type: application/octet-stream, Size: 6073 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.4.0
OS: CYGWIN_NT-6.2-WOW64 pkuwwt 1.7.25(0.270/5/3) 2013-08-31 20:39 i686
OS: Windows 8  [Windows NT 6.2 build 9200] (WoW64)
Package: version 1.14.4-1 built 2013-11-11

XWin was started with the following command line:

xwin -wgl -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1366 h 768
winInitializeScreenDefaults - native DPI x 96 y 96
[  7506.484] Initializing built-in extension Generic Event Extension
[  7506.484] Initializing built-in extension SHAPE
[  7506.484] Initializing built-in extension MIT-SHM
[  7506.484] Initializing built-in extension XInputExtension
[  7506.484] Initializing built-in extension XTEST
[  7506.484] Initializing built-in extension BIG-REQUESTS
[  7506.484] Initializing built-in extension SYNC
[  7506.484] Initializing built-in extension XKEYBOARD
[  7506.484] Initializing built-in extension XC-MISC
[  7506.484] Initializing built-in extension XINERAMA
[  7506.484] Initializing built-in extension XFIXES
[  7506.484] Initializing built-in extension XFree86-Bigfont
[  7506.484] Initializing built-in extension RENDER
[  7506.484] Initializing built-in extension RANDR
[  7506.484] Initializing built-in extension COMPOSITE
[  7506.484] Initializing built-in extension DAMAGE
[  7506.484] Initializing built-in extension MIT-SCREEN-SAVER
[  7506.484] Initializing built-in extension DOUBLE-BUFFER
[  7506.484] Initializing built-in extension RECORD
[  7506.484] Initializing built-in extension DPMS
[  7506.484] Initializing built-in extension X-Resource
[  7506.484] Initializing built-in extension GLX
[  7506.484] (II) xorg.conf is not supported
[  7506.484] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[  7506.484] LoadPreferences: /home/wangwentao/.XWinrc not found
[  7506.484] LoadPreferences: Loading /etc/X11/system.XWinrc
[  7506.484] LoadPreferences: Done parsing the configuration file...
[  7507.468] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[  7507.468] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[  7507.468] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[  7507.531] winDetectSupportedEngines - Returning, supported engines 0000001f
[  7507.531] winSetEngine - Multi Window or Rootless => ShadowGDI
[  7507.531] winScreenInit - Using Windows display depth of 32 bits per pixel
[  7507.593] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 depth: 32
[  7507.593] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[  7507.593] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[  7507.625] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[  7507.625] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[  7507.656] MIT-SHM extension disabled due to lack of kernel support
[  7507.687] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[  7508.031] GL_VERSION:     4.4.0
[  7508.031] GL_VENDOR:      NVIDIA Corporation
[  7508.031] GL_RENDERER:    GeForce GT 650M/PCIe/SSE2
[  7508.031] (II) AIGLX: enabled GLX_SGI_make_current_read
[  7508.031] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  7508.031] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  7508.031] (II) AIGLX: enabled GLX_SGIX_pbuffer
[  7508.031] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
[  7508.031] (II) 482 pixel formats reported by wglGetPixelFormatAttribivARB
[  7508.046] (II) AIGLX: Set GLX version to 1.4
[  7508.703] (II) 359 fbConfigs
[  7508.703] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[  7508.703] [dix] Could not init font path element /usr/share/fonts/misc/, removing from list!
[  7508.703] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[  7508.703] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[  7508.703] [dix] Could not init font path element /usr/share/fonts/Type1/, removing from list!
[  7508.734] [dix] Could not init font path element /usr/share/fonts/75dpi/, removing from list!
[  7509.703] winPointerWarpCursor - Discarding first warp: 683 384
[  7509.703] (--) 5 mouse buttons found
[  7509.703] (--) Setting autorepeat to delay=500, rate=31
[  7509.703] (--) Windows keyboard layout: "E0210804" (e0210804) "ÖÐÎÄ(¼òÌå) - Ëѹ·Îå±ÊÊäÈë·¨", type 7
[  7509.703] (EE) Keyboardlayout "ÖÐÎÄ(¼òÌå) - Ëѹ·Îå±ÊÊäÈë·¨" (E0210804) is unknown, using X server default layout
[  7509.703] Rules = "base" Model = "pc105" Layout = "us" Variant = "" Options = ""
[  7509.703] winBlockHandler - pthread_mutex_unlock()
[  7509.703] winInitMultiWindowWM - pthread_mutex_lock () returned.
[  7509.703] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[  7509.703] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[  7509.703] winInitMultiWindowWM - DISPLAY=:0.0
[  7509.703] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[  7509.718] winProcEstablishConnection - winInitClipboard returned.
[  7509.718] winClipboardThreadProc - DISPLAY=:0.0
[  7509.718] winMultiWindowXMsgProc - DISPLAY=:0.0
[  7509.718] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[  7509.718] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[  7509.718] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[  7516.250] winGetWindowInfo: forcing window to exist
[  7609.453] winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
[  7609.453] winClipboardProc - XDestroyWindow succeeded.
[  7609.453] winClipboardIOErrorHandler!
[  7609.453] winMultiWindowXMsgProcIOErrorHandler!
[  7609.453] winInitMultiWindowXMsgProc - Caught IO Error.  Exiting.
[  7609.468] winDeinitMultiWindowWM - Noting shutdown in progress
[  7609.468] (EE) Server terminated successfully (0). Closing log file.

[-- 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unable to use wgl direct rendering
  2013-11-23 14:14 Unable to use wgl direct rendering GeeKer Wang
@ 2013-11-24  2:00 ` Yaakov (Cygwin/X)
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-11-24  2:00 UTC (permalink / raw)
  To: cygwin-xfree

On 2013-11-23 08:14, GeeKer Wang wrote:
> Hi, all
\> I install the latest cygwin-32 and xserver under windows8-64.
> But when I started the xserver by 'xwin -wgl -multiwindow', I failed
> to start direct rendering. The result of 'glxinfo | grep -i rend' is
>
> direct rendering: No (If you want to find out why, try setting
> LIBGL_DEBUG=verbose)
> OpenGL renderer string: GeForce GT 650M/PCIe/SSE2

Direct rendering is not supported on Cygwin; even with hardware 
acceleration enabled, rendering is still indirect.


Yaakov
Cygwin/X


--
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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-24  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 14:14 Unable to use wgl direct rendering GeeKer Wang
2013-11-24  2:00 ` Yaakov (Cygwin/X)

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).