From jon.turney@dronecode.org.uk Fri Mar 1 21:48:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Fri, 01 Mar 2013 21:48:00 -0000 Subject: [ANNOUNCEMENT] Updated: xlaunch-20130301-1 In-Reply-To: <4F719346.7050007@dronecode.org.uk> References: <4F719346.7050007@dronecode.org.uk> Message-ID: *** xlaunch-20130301-1 * Added '-help' and '-version' options * Added an 'About...' item on the system menu, which shows an 'About' dialog box, which reports the version number * Prefix 'Xlaunch -' to window titles * Add the ability to add extra options to the ssh command line * Updated htmlhelp so all GUI options are now documented * Various other documentation corrections ca3454c5eb0975ac9f814d2e49ae11d9 *xlaunch-20130301-1.tar.bz2 b86ce1333a9e0525668ee7126d293fe4 *xlaunch-20130301-1-src.tar.bz2 -- 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/ From natalia.kukulska@edukacjadzieci.org Tue Mar 5 12:25:00 2013 From: natalia.kukulska@edukacjadzieci.org (Natalia Kukulska) Date: Tue, 05 Mar 2013 12:25:00 -0000 Subject: 4 kursy - 60 procent taniej. Message-ID: <7d80b1027cbe8c93d22273f1e334d80c@5.135.145.56> Witaj Mam dla Ciebie 60 % kupon zni??kowy na kursy: - Niemieckiego - Hiszpa??skiego - W??oskiego - Francuskiego Mo??esz wybierz ten, kt??ry najbardziej Ci odpowiada na http://www.mojekursy.info/p/331 Pozdrawiam Natalia Nie chcesz wi??cej takich wiadomo??ci? Wejd?? na: http://www.mojekursy.info/u/950291/1426c4a45f8577afe03cd164dc6801cc -- 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/ From jon.turney@dronecode.org.uk Tue Mar 5 14:26:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Tue, 05 Mar 2013 14:26:00 -0000 Subject: Cygwin/X becomes very slow with > 56 X clients in single window mode In-Reply-To: References: Message-ID: <513600A0.9040306@dronecode.org.uk> On 25/02/2013 20:07, JD Paul wrote: > Cygwin/X becomes very slow with > 56 X clients in single window mode. > > Description: > > When running Cygwin/X in rooted window mode (with or without > -nodecoration), response time is fast for any number of X clients up > to and including 56 (as determined by 'xlsclients'). Upon adding one > more client, window creation starts taking up to 3 seconds, and > mapping/unmpapping becomes quite noticeably slow. Upon removing X > clients enough that the number drops below 57, the response time is > fast again. > My hope is that this can be traced to to some hard-coded limit that > could be easily raised. If that is the case, I could use Cygwin/X > once that limit is increased. I suspect that perhaps the limit that is being hit here is in the cygwin DLL, by asking select() to wait on more than 64 socket fds at the same time. The underlying windows call used, WaitForMultipleObjects() is limited to waiting on 64 different things. We could (should?) fan-out to multiple threads, each waiting on 64 sockets, but last time I looked, it seemed to me that the current implementation doesn't do this. See [1] for a previous attempt to fathom what does. But looking at the code again, it seems to me it WFMOs on groups of up to 64 sockets in turn, which is only approximately equivalent to waiting on them all. > Thanks very much for your time -- JD Paul Thanks for the detailed bug report -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From jon.turney@dronecode.org.uk Mon Mar 11 15:08:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Mon, 11 Mar 2013 15:08:00 -0000 Subject: [ANNOUNCEMENT] Updated: xorg-server-1.13.3-1 Message-ID: The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.13.3-1 These packages contain XWin and the other X.Org X11 servers. There are no cygwin-specific changes in addition to the upstream fixes [1][2] since 1.13.2-1. a4313eee43692ad211c65c08778934dc *xorg-server-1.13.3-1.tar.bz2 d2f2bd5910cf6beeb78ace8e387f7ae2 *xorg-server-1.13.3-1-src.tar.bz2 301350ad8279f21330e4599ae04e4a3e *xorg-server-common-1.13.3-1.tar.bz2 ce64627c5c182f1deb826b4a2ee7e8a2 *xorg-server-debuginfo-1.13.3-1.tar.bz2 595b7e7b1ba17b905f3c34221b071f2d *xorg-server-devel-1.13.3-1.tar.bz2 084d2a21ea4fdca58485e74b3224ed39 *xorg-server-dmx-1.13.3-1.tar.bz2 ab320fa123ee1579e686311f3dc8a46e *xorg-server-extra-1.13.3-1.tar.bz2 6688ed291ccf70bdb164498e00ea5ba9 *xserver-cygwin-1.13.3-1.tar.bz2 [1] http://lists.x.org/archives/xorg-announce/2013-February/002173.html [2] http://lists.x.org/archives/xorg-announce/2013-February/002178.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From mark.bixler@verizon.com Wed Mar 13 16:58:00 2013 From: mark.bixler@verizon.com (Bixler, Mark) Date: Wed, 13 Mar 2013 16:58:00 -0000 Subject: Selection Mode Message-ID: <73B65513385C4F4B84F8E2DE9B81C0540110506C12@FHDP1LUMXC7V41.us.one.verizon.com> I recently got a new setup at work and installed the latest version of Cygwin. I can no longer find where to do the Edit Mode for free selection of test. I used to be able to just click and highlight anything I wanted, both columns and full body. Now text selection is full body unless I use the 'alt' key in combination with my mouse dragging. Is this option gone? Thanks! -Mark B -- 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/ From a4a4f6@gmail.com Fri Mar 15 23:31:00 2013 From: a4a4f6@gmail.com (Aaron) Date: Fri, 15 Mar 2013 23:31:00 -0000 Subject: cygwin X fatals on -multiwindow option Message-ID: Hello! Would very much appreciate your help. My Cygwin/X server fatals on start up when running -multiwindow. Loads just fine without it, or as -rootless. Any idea how I could fix this? Log dump and stack trace below: http://serverfault.com/questions/488306/cygwin-x-crashing-on-multiwindow-option Thanks! -Aaron % X --version Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.13.3.0 OS: CYGWIN_NT-6.1-WOW64 US-SEA-R82K76F 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 OS: Windows 7 [Windows NT 6.1 build 7600] (WoW64) Package: version 1.13.3-1 built 2013-03-09 % X // loads just fine. % X -multiwindow // ...snipped [ 63854.875] winCreateDefColormap - Deferring to fbCreateDefColormap () [ 63854.875] null screen fn ReparentWindow [ 63854.875] null screen fn RestackWindow [ 63854.875] winFinishScreenInitFB - Calling winInitWM. [ 63854.875] InitQueue - Calling pthread_mutex_init [ 63854.875] InitQueue - pthread_mutex_init returned [ 63854.875] InitQueue - Calling pthread_cond_init [ 63854.875] InitQueue - pthread_cond_init returned [ 63854.875] winInitMultiWindowWM - Hello [ 63854.875] winInitMultiWindowWM - Calling pthread_mutex_lock () [ 63854.875] winInitWM - Returning. [ 63854.875] winMultiWindowXMsgProc - Hello [ 63854.875] winFinishScreenInitFB - returning [ 63854.875] winMultiWindowXMsgProc - Calling pthread_mutex_lock () [ 63854.875] winScreenInit - returning [ 63854.875] InitOutput - Returning. [ 63854.890] MIT-SHM extension disabled due to lack of kernel support [ 63854.890] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel [ 63854.922] Fatal signal received in thread 0x80018020 [ 63854.922] (EE) Segmentation fault at address 0x12c [ 63855.187] (EE) Attempting backtrace on pid 5724 [ 63856.045] (EE) ==================== GDB Backtrace ============ GNU gdb (GDB) 7.5.50.20130309-cvs (cygwin-special) This GDB was configured as "i686-cygwin". ==================== Backtrace ================ Thread 8 (Thread 5724.0x2f40): #0 0x778e000d in ntdll!DbgBrea(EE) kPoint () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x7796f99e in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x77968760 in ntdll!RtlQueryRegistryV(EE) alues () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #3 0x75593677 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/syswow64/kernel32.dll No symbol table info available. #4 0x77909f42 in ntdll!RtlInitiali(EE) zeExceptionChain () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #5 0x77909f15 in ntdll!RtlInitializeExceptionChain () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #6 0x00000000 in ?? ((EE) ) No symbol table info available. Thread 7 (Thread 5724.0x1fa4): #0 0x778ef895 in ntdll!ZwReadFile () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x778ef895 in ntdll!ZwReadFile () from /cygdrive/c/Windows/SysWOW(EE) 64/ntdll.dll No symbol table info available. #2 0x7692dd54 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000360 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table inf(EE) o available. Thread 6 (Thread 5724.0xda4): #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/(EE) SysWOW64/ntdll.dll No symbol table info available. #2 0x769315e9 in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000002 in ?? () No symbol table info available. #4 0x00000001 in (EE) ?? () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. Thread 5 (Thread 5724.0x1f14): #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available(EE) . #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x769315e9 in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info ava(EE) ilable. #3 0x00000002 in ?? () No symbol table info available. #4 0x00000001 in ?? () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. Thread 4 (Thread 5724.0xfcc): #0 0x76cf7e47 in USER32!DispatchMessageW () (EE) from /cygdrive/c/Windows/syswow64/USER32.dll No symbol table info available. #1 0x00407eac in winMsgWindowThreadProc (arg=0x0) at /usr/src/debug/xorg-server-1.13.3-1/hw/xwin/winmsgwindow.c:152 msg = {hwnd = 0x30, message = 3, wParam = 4226784(EE) , lParam = 0, time = 0, pt = {x = 4194304, y = 0}} hwndMsg = 0xffefcdc0 #2 0x610fd000 in pthread::thread_init_wrapper (arg=0x800688b8) at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/thread.cc:1938 thread = 0x800688b8 (EE) __PRETTY_FUNCTION__ = "static DWORD pthread::thread_init_wrapper(void*)" ret = #3 0x61086e32 in thread_wrapper (arg=0x0) at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/miscfuncs.cc:547 dealloc_addr = count = wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, stackbase = 0x0, stacklimit = 0x0} old_start = 0x0 #4 0x00000000 in ?? () No symbol table info available. Thread 3 (Thread 5724.0x3380): [ 63856.045] (EE) #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info avai(EE) lable. #2 0x77922f6a in ntdll!RtlMoveMemory () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #3 0x00000001 in ?? () No symbol table info available. #4 0x00000001 in ?? () No symbol table info available. #5 0x00000000 i(EE) n ?? () No symbol table info available. Thread 2 (Thread 5724.0x1de0): #0 0x778ef895 in ntdll!ZwReadFile () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x778ef895 in ntdll!ZwReadFile () from /cygdrive/c/Windows/(EE) SysWOW64/ntdll.dll No symbol table info available. #2 0x7692dd54 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000084 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol tab(EE) le info available. Thread 1 (Thread 5724.0x1bdc): #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/W(EE) indows/SysWOW64/ntdll.dll No symbol table info available. #2 0x769315e9 in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000003 in ?? () No symbol table info available. #4 0x00000(EE) 001 in ?? () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. ==================== Backtrace End ============ [ 63856.045] Fatal server error: Caught signal 11 (Segmentation fault). Server aborting [ 63856.045] Server terminated with error (1). Closing log file. -- 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/ From jon.turney@dronecode.org.uk Sat Mar 16 16:23:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Sat, 16 Mar 2013 16:23:00 -0000 Subject: cygwin X fatals on -multiwindow option In-Reply-To: References: Message-ID: <51449C8C.1060705@dronecode.org.uk> On 15/03/2013 23:30, Aaron wrote: > My Cygwin/X server fatals on start up when running -multiwindow. > Loads just fine without it, or as -rootless. > > Any idea how I could fix this? Log dump and stack trace below: > http://serverfault.com/questions/488306/cygwin-x-crashing-on-multiwindow-option Thanks for reporting this problem. Unfortunately, the automatically generated backtrace doesn't contain much useful information for debugging this problem. Please can you obtain a backtrace using the method under "Generating a backtrace when the X server is crashing at startup" in [1]? Do you have a ~/.startxwinrc, and if so, what are it's contents? [1] http://x.cygwin.com/devel/backtrace.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From a4a4f6@gmail.com Sat Mar 16 20:02:00 2013 From: a4a4f6@gmail.com (Aaron) Date: Sat, 16 Mar 2013 20:02:00 -0000 Subject: cygwin X fatals on -multiwindow option In-Reply-To: <51449C8C.1060705@dronecode.org.uk> References: <51449C8C.1060705@dronecode.org.uk> Message-ID: Hi Jon, thanks for replying. I have no ~/.startxwinrc file. I installed xorg-server-debuginfo but still seem to have no symbols showing up? Here's what gdb gives me. Anything else I can get for you? Thanks. Initializing built-in extension X-Resource Initializing built-in extension GLX (II) xorg.conf is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information LoadPreferences: /home/aaronfi/.XWinrc not found LoadPreferences: Loading /etc/X11/system.XWinrc LoadPreferences: Done parsing the configuration file... [New Thread 12576.0x3050] [New Thread 12576.0x1d58] [New Thread 12576.0x2004] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD winDetectSupportedEngines - Windows NT, allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL winDetectSupportedEngines - Returning, supported engines 0000001f [New Thread 12576.0x49c] winSetEngine - Multi Window or Rootless => ShadowGDI winScreenInit - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1440 height: 900 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 [New Thread 12576.0x1840] winInitMultiWindowWM - Calling pthread_mutex_lock () [New Thread 12576.0x11c] winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel Program received signal SIGSEGV, Segmentation fault. 0x72c51c32 in aticfx32!GetKtProcAddress () from /cygdrive/c/Windows/SysWOW64/aticfx32.dll (gdb) bt full #0 0x72c51c32 in aticfx32!GetKtProcAddress () from /cygdrive/c/Windows/SysWOW64/aticfx32.dll No symbol table info available. #1 0x038807e0 in ?? () No symbol table info available. #2 0x72f81d8b in atigktxx!GetD3DKMTProcAddress () from /cygdrive/c/Windows/SysWOW64/atigktxx.dll No symbol table info available. #3 0x032dd2e2 in ig4dev32!devProcessAttach () from /cygdrive/c/Windows/SysWOW64/ig4dev32.dll No symbol table info available. #4 0x0028a5ec in ?? () No symbol table info available. #5 0x009780c8 in ?? () No symbol table info available. #6 0x032b7020 in ?? () from /cygdrive/c/Windows/SysWOW64/ig4dev32.dll No symbol table info available. Backtrace stopped: previous frame inner to this frame (corrupt stack?) On Sat, Mar 16, 2013 at 9:23 AM, Jon TURNEY wrote: > > On 15/03/2013 23:30, Aaron wrote: > > My Cygwin/X server fatals on start up when running -multiwindow. > > Loads just fine without it, or as -rootless. > > > > Any idea how I could fix this? Log dump and stack trace below: > > > > http://serverfault.com/questions/488306/cygwin-x-crashing-on-multiwindow-option > > Thanks for reporting this problem. > > Unfortunately, the automatically generated backtrace doesn't contain much > useful information for debugging this problem. > > Please can you obtain a backtrace using the method under "Generating a > backtrace when the X server is crashing at startup" in [1]? > > Do you have a ~/.startxwinrc, and if so, what are it's contents? > > [1] http://x.cygwin.com/devel/backtrace.html > > -- > Jon TURNEY > Volunteer Cygwin/X X Server maintainer -- 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/ From a4a4f6@gmail.com Sun Mar 17 05:14:00 2013 From: a4a4f6@gmail.com (Aaron) Date: Sun, 17 Mar 2013 05:14:00 -0000 Subject: cygwin X fatals on -multiwindow option In-Reply-To: References: Message-ID: Thank you for your time! I figured it out. Turns out I had an older version of my "Intel HD graphics" driver. Updating to the latest solved this problem. I saw "ati" in the backtrace and figured it might be a driver issue. On Fri, Mar 15, 2013 at 4:30 PM, Aaron wrote: > Hello! > Would very much appreciate your help. > > My Cygwin/X server fatals on start up when running -multiwindow. > Loads just fine without it, or as -rootless. > > Any idea how I could fix this? Log dump and stack trace below: > http://serverfault.com/questions/488306/cygwin-x-crashing-on-multiwindow-option > > Thanks! > -Aaron > > > > % X --version > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.13.3.0 > OS: CYGWIN_NT-6.1-WOW64 US-SEA-R82K76F 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 > OS: Windows 7 [Windows NT 6.1 build 7600] (WoW64) > Package: version 1.13.3-1 built 2013-03-09 > > % X > // loads just fine. > > % X -multiwindow > > // ...snipped > [ 63854.875] winCreateDefColormap - Deferring to fbCreateDefColormap () > [ 63854.875] null screen fn ReparentWindow > [ 63854.875] null screen fn RestackWindow > [ 63854.875] winFinishScreenInitFB - Calling winInitWM. > [ 63854.875] InitQueue - Calling pthread_mutex_init > [ 63854.875] InitQueue - pthread_mutex_init returned > [ 63854.875] InitQueue - Calling pthread_cond_init > [ 63854.875] InitQueue - pthread_cond_init returned > [ 63854.875] winInitMultiWindowWM - Hello > [ 63854.875] winInitMultiWindowWM - Calling pthread_mutex_lock () > [ 63854.875] winInitWM - Returning. > [ 63854.875] winMultiWindowXMsgProc - Hello > [ 63854.875] winFinishScreenInitFB - returning > [ 63854.875] winMultiWindowXMsgProc - Calling pthread_mutex_lock () > [ 63854.875] winScreenInit - returning > [ 63854.875] InitOutput - Returning. > [ 63854.890] MIT-SHM extension disabled due to lack of kernel support > [ 63854.890] XFree86-Bigfont extension local-client optimization > disabled due to lack of shared memory support in the kernel > [ 63854.922] Fatal signal received in thread 0x80018020 > [ 63854.922] (EE) Segmentation fault at address 0x12c > [ 63855.187] (EE) Attempting backtrace on pid 5724 > [ 63856.045] (EE) > ==================== GDB Backtrace ============ > > GNU gdb (GDB) 7.5.50.20130309-cvs (cygwin-special) > This GDB was configured as "i686-cygwin". > > ==================== Backtrace ================ > > Thread 8 (Thread 5724.0x2f40): > #0 0x778e000d in ntdll!DbgBrea(EE) kPoint () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x7796f99e in ntdll!DbgUiRemoteBreakin () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #2 0x77968760 in ntdll!RtlQueryRegistryV(EE) alues () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #3 0x75593677 in KERNEL32!BaseThreadInitThunk () > from /cygdrive/c/Windows/syswow64/kernel32.dll > No symbol table info available. > #4 0x77909f42 in ntdll!RtlInitiali(EE) zeExceptionChain () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #5 0x77909f15 in ntdll!RtlInitializeExceptionChain () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #6 0x00000000 in ?? ((EE) ) > No symbol table info available. > > Thread 7 (Thread 5724.0x1fa4): > #0 0x778ef895 in ntdll!ZwReadFile () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x778ef895 in ntdll!ZwReadFile () > from /cygdrive/c/Windows/SysWOW(EE) 64/ntdll.dll > No symbol table info available. > #2 0x7692dd54 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > No symbol table info available. > #3 0x00000360 in ?? () > No symbol table info available. > #4 0x00000000 in ?? () > No symbol table inf(EE) o available. > > Thread 6 (Thread 5724.0xda4): > #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/(EE) SysWOW64/ntdll.dll > No symbol table info available. > #2 0x769315e9 in WaitForMultipleObjectsEx () > from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > No symbol table info available. > #3 0x00000002 in ?? () > No symbol table info available. > #4 0x00000001 in (EE) ?? () > No symbol table info available. > #5 0x00000000 in ?? () > No symbol table info available. > > Thread 5 (Thread 5724.0x1f14): > #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available(EE) . > #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #2 0x769315e9 in WaitForMultipleObjectsEx () > from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > No symbol table info ava(EE) ilable. > #3 0x00000002 in ?? () > No symbol table info available. > #4 0x00000001 in ?? () > No symbol table info available. > #5 0x00000000 in ?? () > No symbol table info available. > > Thread 4 (Thread 5724.0xfcc): > #0 0x76cf7e47 in USER32!DispatchMessageW () > (EE) from /cygdrive/c/Windows/syswow64/USER32.dll > No symbol table info available. > #1 0x00407eac in winMsgWindowThreadProc (arg=0x0) > at /usr/src/debug/xorg-server-1.13.3-1/hw/xwin/winmsgwindow.c:152 > msg = {hwnd = 0x30, message = 3, wParam = 4226784(EE) , lParam = 0, > time = 0, pt = {x = 4194304, y = 0}} > hwndMsg = 0xffefcdc0 > #2 0x610fd000 in pthread::thread_init_wrapper (arg=0x800688b8) > at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/thread.cc:1938 > thread = 0x800688b8 > (EE) __PRETTY_FUNCTION__ = "static DWORD > pthread::thread_init_wrapper(void*)" > ret = > #3 0x61086e32 in thread_wrapper (arg=0x0) > at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/miscfuncs.cc:547 > dealloc_addr = > count = > wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, > stackbase = 0x0, stacklimit = 0x0} > old_start = 0x0 > #4 0x00000000 in ?? () > No symbol table info available. > > Thread 3 (Thread 5724.0x3380): > [ 63856.045] (EE) #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info avai(EE) lable. > #2 0x77922f6a in ntdll!RtlMoveMemory () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #3 0x00000001 in ?? () > No symbol table info available. > #4 0x00000001 in ?? () > No symbol table info available. > #5 0x00000000 i(EE) n ?? () > No symbol table info available. > > Thread 2 (Thread 5724.0x1de0): > #0 0x778ef895 in ntdll!ZwReadFile () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x778ef895 in ntdll!ZwReadFile () > from /cygdrive/c/Windows/(EE) SysWOW64/ntdll.dll > No symbol table info available. > #2 0x7692dd54 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > No symbol table info available. > #3 0x00000084 in ?? () > No symbol table info available. > #4 0x00000000 in ?? () > No symbol tab(EE) le info available. > > Thread 1 (Thread 5724.0x1bdc): > #0 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/Windows/SysWOW64/ntdll.dll > No symbol table info available. > #1 0x778f00ed in ntdll!ZwWaitForMultipleObjects () > from /cygdrive/c/W(EE) indows/SysWOW64/ntdll.dll > No symbol table info available. > #2 0x769315e9 in WaitForMultipleObjectsEx () > from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > No symbol table info available. > #3 0x00000003 in ?? () > No symbol table info available. > #4 0x00000(EE) 001 in ?? () > No symbol table info available. > #5 0x00000000 in ?? () > No symbol table info available. > > ==================== Backtrace End ============ > > [ 63856.045] Fatal server error: Caught signal 11 (Segmentation > fault). Server aborting > [ 63856.045] Server terminated with error (1). Closing log file. -- 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/ From jon.turney@dronecode.org.uk Wed Mar 20 18:28:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 20 Mar 2013 18:28:00 -0000 Subject: x11 install In-Reply-To: <1363686491383-97061.post@n5.nabble.com> References: <1363686491383-97061.post@n5.nabble.com> Message-ID: <5149FFDC.7040208@dronecode.org.uk> On 19/03/2013 09:48, Maninmoon wrote: > Hi I am having trouble with installing x11. I want to run GNUplot. > > I get this error: > > $ startxwin [...] > moon sky@LskyHome2 ~ > $ Warning: Cannot convert string > "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct > Warning: Unable to load any usable ISO8859 font > Warning: Unable to load any usable ISO8859 font > Error: Aborting: no font found It looks like xterm is not able to start because some package providing a required font is not correctly installed. > Problem reports: http://cygwin.com/problems.html Can you provide cygcheck -svr output as suggested in the link above, please? -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From McBroomRC@oro.doe.gov Fri Mar 22 20:00:00 2013 From: McBroomRC@oro.doe.gov (McBroom, Robert C) Date: Fri, 22 Mar 2013 20:00:00 -0000 Subject: Conflicted Win7 In-Reply-To: <5149FFDC.7040208@dronecode.org.uk> References: <1363686491383-97061.post@n5.nabble.com> <5149FFDC.7040208@dronecode.org.uk> Message-ID: <56DA7F7920069F4E8EBAE99EC8E0C7423A96398E@ORO-EXMB2.oro.doe.gov> A new Windows 7 32 system with a fresh install of CYGWIN can't see any mapped network or shared drives on my other systems. On the older XP system IT tells me to replace and on another older Windows 7 32 system, CYGWIN could access all drives. What am I missing in the install that enables access to those drives? ? Robert C. McBroom US Department of Energy Engineering and ISC Services Division, SE-33 200 Administration Rd. PO Box 2001 Oak Ridge, TN 37831-8732 -- 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/ From reply-to-list-only-lh@cygwin.com Fri Mar 22 20:50:00 2013 From: reply-to-list-only-lh@cygwin.com (Larry Hall (Cygwin-X)) Date: Fri, 22 Mar 2013 20:50:00 -0000 Subject: Conflicted Win7 In-Reply-To: <56DA7F7920069F4E8EBAE99EC8E0C7423A96398E@ORO-EXMB2.oro.doe.gov> References: <1363686491383-97061.post@n5.nabble.com> <5149FFDC.7040208@dronecode.org.uk> <56DA7F7920069F4E8EBAE99EC8E0C7423A96398E@ORO-EXMB2.oro.doe.gov> Message-ID: <514CC3FE.80302@cygwin.com> On 3/22/2013 3:59 PM, McBroom, Robert C wrote: > A new Windows 7 32 system with a fresh install of CYGWIN can't see any > mapped network or shared drives on my other systems. On the older XP system > IT tells me to replace and on another older Windows 7 32 system, CYGWIN > could access all drives. What am I missing in the install that enables > access to those drives? Based on the information you've provided so far, there's no reason to expect that Cygwin is your issue. Can you access the shares from Windows? If so, please read and follow the problem reporting guidelines found at the link below. > Problem reports: http://cygwin.com/problems.html With this information, it may be possible for someone on the list to identify why you are seeing this issue with Cygwin. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/ From reply-to-list-only-lh@cygwin.com Fri Mar 22 20:52:00 2013 From: reply-to-list-only-lh@cygwin.com (Larry Hall (Cygwin-X)) Date: Fri, 22 Mar 2013 20:52:00 -0000 Subject: Conflicted Win7 In-Reply-To: <514CC3FE.80302@cygwin.com> References: <1363686491383-97061.post@n5.nabble.com> <5149FFDC.7040208@dronecode.org.uk> <56DA7F7920069F4E8EBAE99EC8E0C7423A96398E@ORO-EXMB2.oro.doe.gov> <514CC3FE.80302@cygwin.com> Message-ID: <514CC496.40404@cygwin.com> On 3/22/2013 4:50 PM, Larry Hall (Cygwin-X) wrote: > On 3/22/2013 3:59 PM, McBroom, Robert C wrote: >> A new Windows 7 32 system with a fresh install of CYGWIN can't see any >> mapped network or shared drives on my other systems. On the older XP system >> IT tells me to replace and on another older Windows 7 32 system, CYGWIN >> could access all drives. What am I missing in the install that enables >> access to those drives? > > Based on the information you've provided so far, there's no reason to > expect that Cygwin is your issue. Can you access the shares from Windows? > If so, please read and follow the problem reporting guidelines found at > the link below. > >> Problem reports: http://cygwin.com/problems.html > > With this information, it may be possible for someone on the list to > identify why you are seeing this issue with Cygwin. I should also mention that this isn't a Cygwin-X issue. If you follow-up, you should really do so on the main Cygwin list. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/ From tpadilha84@gmail.com Sat Mar 23 00:02:00 2013 From: tpadilha84@gmail.com (Thiago Padilha) Date: Sat, 23 Mar 2013 00:02:00 -0000 Subject: Is there a way to spawn processes from the XWin login shell? Message-ID: XWin uses a login shell to configure its environment when it starts up, and processes spawned from the tray icon inherit XWin environment so they don't have to be spawned from login shells. Is there a way to achieve the same effect without using a tray icon? For example, can I have a desktop shortcut that launches a terminal emulator with a simple interactive(non-login) shell and still have it inherit the currently running XWin environment like it was started from the tray icon? -- 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/ From seonseong62@kimo.com Sat Mar 23 04:51:00 2013 From: seonseong62@kimo.com (Shin Eon-seong) Date: Sat, 23 Mar 2013 04:51:00 -0000 Subject: Proposition Message-ID: <0302b48f-41355-8d4f9935693866@user-pc> Greetings from South Korea, I have a proposition for you to the tune of Fifty Million EUR, if interested, kindly reply for specifics Warmest, Shin Eon-seong -- 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/ From McBroomRC@oro.doe.gov Mon Mar 25 18:32:00 2013 From: McBroomRC@oro.doe.gov (McBroom, Robert C) Date: Mon, 25 Mar 2013 18:32:00 -0000 Subject: Conflicted Win7 In-Reply-To: <514CC3FE.80302@cygwin.com> References: <1363686491383-97061.post@n5.nabble.com> <5149FFDC.7040208@dronecode.org.uk> <56DA7F7920069F4E8EBAE99EC8E0C7423A96398E@ORO-EXMB2.oro.doe.gov> <514CC3FE.80302@cygwin.com> Message-ID: <56DA7F7920069F4E8EBAE99EC8E0C7423A963B3B@ORO-EXMB2.oro.doe.gov> Conflicted Win7 On 3/22/2013 3:59 PM, McBroom, Robert C wrote: > A new Windows 7 32 system with a fresh install of CYGWIN can't see any > mapped network or shared drives on my other systems. On the older XP > system IT tells me to replace and on another older Windows 7 32 > system, CYGWIN could access all drives. What am I missing in the > install that enables access to those drives? Based on the information you've provided so far, there's no reason to expect that Cygwin is your issue. Can you access the shares from Windows? If so, please read and follow the problem reporting guidelines found at the link below. > Problem reports: http://cygwin.com/problems.html With this information, it may be possible for someone on the list to identify why you are seeing this issue with Cygwin. -- Larry Tsk, Tsk. Such arrogance. Of course the shares are visible in WINDOWS. For cygwin-x specifically-- In the terminal window started up with /bin/startxwin.exe >>>>>>>>>>>>>>>>>> RM3@McBroomRC4 /cygdrive $ ls -l total 32 drwxrwxrw-+ 1 Administrators Domain Users 0 Mar 22 12:21 c RM3@McBroomRC4 /cygdrive $ net use \\\\mcbroomrc2\e Error: Current working directory is a virtual Cygwin directory which does not exist for a native Windows application. Can't start native Windows application from here. bash: /cygdrive/c/Windows/system32/net: Not a directory >>>>>>>>>>>>>>>>>>> Dropping back to the startup window from CYGWIN.BAT the net use command works successfully >>>>>>>>>>>>>>>>>>> RM3@McBroomRC4 ~ $ net use \\\\mcbroomrc2\\e The command completed successfully. RM3@McBroomRC4 ~ $ net use \\\\mcbroomrc2\\mcrc2 The command completed successfully. RM3@McBroomRC4 ~ $ net use New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- Unavailable T: \\Mcbroomrc2\e Microsoft Windows Network Unavailable U: \\oro-fbbe-fs1nts\rm3 Microsoft Windows Network Unavailable W: \\Mcbroomrc2\mcrc2 Microsoft Windows Network OK \\mcbroomrc2\e Microsoft Windows Network OK \\mcbroomrc2\mcrc2 Microsoft Windows Network The command completed successfully. RM3@McBroomRC4 ~ $ OS has icon alpha channel support: yes net use \\\oro-fbbe-fs1nts\\rm3 System error 67 has occurred. The network name cannot be found. RM3@McBroomRC4 ~ $ ls -l //mcbroomrc2/e total 364 d---------+ 1 Administrators Domain Users 0 Nov 13 09:42 $RECYCLE.BIN -rwxrwxrwx+ 1 Administrators Domain Users 35 Jul 29 2010 Autorun.inf drwxrwxrwx+ 1 Administrators Domain Users 0 Nov 13 15:09 Criticality drwxrwxrwx+ 1 Administrators Domain Users 0 Feb 25 10:04 Downloads drwxrwxrwx+ 1 Administrators Domain Users 0 Mar 19 16:37 exper dr-xr-x---+ 1 Administrators Domain Users 0 Feb 25 11:48 hdrive drwxrwxrwx+ 1 Administrators Domain Users 0 Nov 13 12:39 isotope -- 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/ From info4km@yahoo.com Mon Mar 25 18:39:00 2013 From: info4km@yahoo.com (KM) Date: Mon, 25 Mar 2013 18:39:00 -0000 Subject: text fields in app don't allow input when running Cygwin X In-Reply-To: <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com> References: <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com> Message-ID: <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> I have an application that I have always compiled on Linux and then invoked via X Windows with my installed Cygwin X.? Basically use a shortcut to startwin.exe (full command is? C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe ).? This always started my X server in the background? (no root window, or invisible root window), and still does.? All I had to do is log into my server, export my DISPLAY and start the app. However I have recompiled my application with java 7 and now all of the radio buttons, buttons, scrollbars, and checkboxes, etc.? all still work as before.? The only thing that does NOT work is a text field.? I can not get the focus of the mouse in there, nor can I change or enter any data in those fields.? When I start Cygwin x from the Cygwin xterminal in?a windowed env?(e.g. starx from command line), and export my DISPLAY on the server, the application works, but is contained within the root window.? I never had to do it this way before and it looks slightly different, no separate window borders etc. We also use Reflection for an X server - that seems to run the recompiled application fine. Any ideas?? Also I apologize if I'm not saying this quite right! Thanks for any help.? If you need more info let me know. KM -- 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/ From aaronkelley@hotmail.com Tue Mar 26 15:58:00 2013 From: aaronkelley@hotmail.com (Aaron A. Kelley) Date: Tue, 26 Mar 2013 15:58:00 -0000 Subject: Cygwin/X causes NVIDIA GPU to turn on in Optimus systems Message-ID: For those that aren?t aware, NVIDIA Optimus is a feature that makes use of the Intel GPU that is included in new Intel Core i series processors (Sandy Bridge and up).? Basically, in a system that has both the integrated Intel GPU and also a discrete NVIDIA GPU, the Intel GPU is used for most desktop operations and the NVIDIA GPU kicks in when the graphics power is needed for games and other processing jobs.? This is done to save power --- if the NVIDIA GPU can spend most of its time powered down, your battery lasts longer.? The NVIDIA card can be used to run only particular applications individually, and its output is dumped over to the Intel GPU for display using some fast framebuffer magic. I usually leave Cygwin/X open on my machine because I use it to access GUI apps running in SSH terminals from time to time.? Today I noticed that in an Optimus environment, it is causing the NVIDIA GPU to kick in, which causes the NVIDIA GPU to stay powered on when maybe it doesn?t need to. http://stuff.aaron-kelley.net/2013/03/cygxoptimus.png I went to the NVIDIA control panel and set xwin.exe specifically to use the integrated GPU but it still says that xwin.exe is running on the NVIDIA GPU when I run it.? Cygwin/X must be doing something unusual at initialization that makes the NVIDIA card feel like it has to kick on.? I don?t have to actually launch any X windows to see this occur, it happens moments after I launch the Cygwin/X server. I haven?t been able to find anyone else mentioning this.? It may be because Optimus configurations aren?t very common.? This also means that this issue may be tricky to track down.? I?m not sure if it will be easy to find someone who knows about Cygwin/X development who also has access to an Optimus environment.? This might be something that has to go for NVIDIA for them to fix in their drivers, but it?d be nice to know a little more about the issue before trying to get in touch with them. I?m interested in doing anything I can do help address this but I don?t know where to begin, so I?m welcoming your feedback. Thanks, -- Aaron -- 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/ From gp1865@att.com Tue Mar 26 23:26:00 2013 From: gp1865@att.com (PRIKHODKO, GEORGE) Date: Tue, 26 Mar 2013 23:26:00 -0000 Subject: Updated: xorg-server-1.13.2-2 In-Reply-To: <5127E94D.4050107@dronecode.org.uk> References: <51192509.6000807@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCBABA@MOKSCY3MSGUSR9D.ITServices.sbc.com> <511B8F45.7000700@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> <5127E94D.4050107@dronecode.org.uk> Message-ID: <397AD605DAD9254D9D2FFE207111E6442AE3C11C@MOKSCY3MSGUSR9D.ITServices.sbc.com> Hi, The problem was in Logitech driver for 'Marble Mouse' trackball. When I uninstalled it the forth button showed up in xev with id 7. Sorry, I haven't tried the snapshot with debugging. Thanks, George Prikhodko > -----Original Message----- > Subject: Re: Updated: xorg-server-1.13.2-2 > > On 13/02/2013 17:46, PRIKHODKO, GEORGE wrote: > > Only very small problem, my trackball has 4 buttons. > > I ran xev to see events generated by the mouse. > > Three of the buttons are mapped by default as follows: 1, 3 and 6. > > For the fourth button xev didn't show any events. I tried it with and without - > emulate3buttons option. > > How did I find out this? Until you corrected the code I used xmodmap to remap > button 6 to button 2. Button 6 is not very conveniently located on the trackball, so I > wanted to remap the other button, but couldn't find it id. > > If this is something you can fix too, I'll greatly appreciate it. > > The default button mapping is: > > 1 left > 2 middle > 3 right > 4 wheel up > 5 wheel down > 6 extra button 1 > 7 extra button 2 > > So, I would naively expect the 4th button on your device to be extra button 2, > and reported by X as button 7. > > I borrowed a 5 button mouse for some brief testing, and as far as I can tell > the button mapping for extra buttons 1 and 2 is working correctly. > > If you'd like to try to investigate this a bit further, it would be helpful if > you could: > * Download the latest snapshot built with debugging enabled from [1], and > install it using the instructions 'Preparation (alternative approach)' at [2] > * Run it using 'WIN_DEBUG_MESSAGES=1 ./XWin -logverbose 3 XWin > options, -multiwindow for example>' > * Look at the debug output from XWin and see what Windows messages (if any) > are reported when the 4th button is clicked > > (As a separate issue, it also looks like this mapping may not be ideal, as the > default on linux is for 6 and 7 to be used for tilt wheel left and tilt wheel > right, and extra buttons as 8 and 9, and there are applications out there > which can use that...) > > [1] ftp://cygwin.com/pub/cygwinx/ > [2] http://x.cygwin.com/devel/backtrace.html -- 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/ From tpadilha84@gmail.com Wed Mar 27 00:30:00 2013 From: tpadilha84@gmail.com (Thiago Padilha) Date: Wed, 27 Mar 2013 00:30:00 -0000 Subject: Cygwin/X causes NVIDIA GPU to turn on in Optimus systems In-Reply-To: References: Message-ID: Hi, I also have nvidia optimus and noticed this problem but with me the nvidia gpu only kicks in for a brief time whenever a x application is started, so the extra enery consumed is very small. It is anoying all the same, I appreciate any workaround for this. On Tue, Mar 26, 2013 at 12:58 PM, Aaron A. Kelley wrote: > For those that aren?t aware, NVIDIA Optimus is a feature that makes use of > the Intel GPU that is included in new Intel Core i series processors (Sandy > Bridge and up). Basically, in a system that has both the integrated Intel > GPU and also a discrete NVIDIA GPU, the Intel GPU is used for most desktop > operations and the NVIDIA GPU kicks in when the graphics power is needed for > games and other processing jobs. This is done to save power --- if the > NVIDIA GPU can spend most of its time powered down, your battery lasts > longer. The NVIDIA card can be used to run only particular applications > individually, and its output is dumped over to the Intel GPU for display > using some fast framebuffer magic. > > I usually leave Cygwin/X open on my machine because I use it to access GUI > apps running in SSH terminals from time to time. Today I noticed that in an > Optimus environment, it is causing the NVIDIA GPU to kick in, which causes > the NVIDIA GPU to stay powered on when maybe it doesn?t need to. > > http://stuff.aaron-kelley.net/2013/03/cygxoptimus.png > > I went to the NVIDIA control panel and set xwin.exe specifically to use the > integrated GPU but it still says that xwin.exe is running on the NVIDIA GPU > when I run it. Cygwin/X must be doing something unusual at initialization > that makes the NVIDIA card feel like it has to kick on. I don?t have to > actually launch any X windows to see this occur, it happens moments after I > launch the Cygwin/X server. > > I haven?t been able to find anyone else mentioning this. It may be because > Optimus configurations aren?t very common. This also means that this issue > may be tricky to track down. I?m not sure if it will be easy to find > someone who knows about Cygwin/X development who also has access to an > Optimus environment. This might be something that has to go for NVIDIA for > them to fix in their drivers, but it?d be nice to know a little more about > the issue before trying to get in touch with them. > > I?m interested in doing anything I can do help address this but I don?t know > where to begin, so I?m welcoming your feedback. > > Thanks, > > -- > Aaron > > > -- > 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/ > -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 14:53:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 14:53:00 -0000 Subject: Updated: xorg-server-1.13.2-2 In-Reply-To: <397AD605DAD9254D9D2FFE207111E6442AE3C11C@MOKSCY3MSGUSR9D.ITServices.sbc.com> References: <51192509.6000807@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCBABA@MOKSCY3MSGUSR9D.ITServices.sbc.com> <511B8F45.7000700@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> <5127E94D.4050107@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442AE3C11C@MOKSCY3MSGUSR9D.ITServices.sbc.com> Message-ID: <5153080B.8020805@dronecode.org.uk> On 26/03/2013 23:25, PRIKHODKO, GEORGE wrote: > The problem was in Logitech driver for 'Marble Mouse' trackball. > When I uninstalled it the forth button showed up in xev with id 7. > Sorry, I haven't tried the snapshot with debugging. No problem. Thank you for letting me know the cause of the problem. -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 14:55:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 14:55:00 -0000 Subject: Updated: xorg-server-1.14.0-1 (TEST) In-Reply-To: <514A0472.1040907@dronecode.org.uk> References: <514A0472.1040907@dronecode.org.uk> Message-ID: <5153085C.8010708@dronecode.org.uk> The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.14.0-1 These packages contain XWin and the other X.Org X11 servers. This is the first release of the xserver 1.14 series. It is currently available as a test release, and will be made stable in approximately two weeks if no major regressions are reported. Please try test releases and report problems to the Cygwin/X mailing list. Testing helps ensure good releases! Unfortunately, the upstream announce mail [1] does not contain a full changelog since 1.13, so you will need to consult the changelog or git for a list of upstream fixes and improvements. In addition, the following cygwin-specific changes have been made since 1.13.3-1: * Add support for mouse tilt wheel * Change mouse buttons 4 and 5 from X buttons 6 and 7 to X buttons 8 and 9, which, with mouse tilt wheel as X buttons 6 and 7, matches the default configuration on Linux. * Add a PaintWindow hook which lets us build all the DDX in one pass without causing linking difficulties with the rootless extension. * Handle -displayfd and an explicit :display sensibly, so -displayfd can be used with startx [2]. ea3f2d8c72790cb42182ed770907515d *xorg-server-1.14.0-1.tar.bz2 af6e71779ed6044e37ba8286fd9587f5 *xorg-server-1.14.0-1-src.tar.bz2 5aa5e4b585d874a169a10e7e522d62e4 *xorg-server-common-1.14.0-1.tar.bz2 41ba611ef54058e8bec6338a7f01039c *xorg-server-debuginfo-1.14.0-1.tar.bz2 44301e75301167b0152fea7d6ef24076 *xorg-server-devel-1.14.0-1.tar.bz2 b915b806538363a2ab20e1220159a077 *xorg-server-dmx-1.14.0-1.tar.bz2 f875687fc4bc1a8812ca8bd116140aaa *xorg-server-extra-1.14.0-1.tar.bz2 [1] http://lists.x.org/archives/xorg-announce/2013-March/002179.html [2] http://cygwin.com/ml/cygwin/2013-03/msg00207.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 15:11:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 15:11:00 -0000 Subject: Cygwin/X causes NVIDIA GPU to turn on in Optimus systems In-Reply-To: References: Message-ID: <51530C21.8000203@dronecode.org.uk> On 26/03/2013 15:58, Aaron A. Kelley wrote: > I usually leave Cygwin/X open on my machine because I use it to access GUI > apps running in SSH terminals from time to time. Today I noticed that in an > Optimus environment, it is causing the NVIDIA GPU to kick in, which causes > the NVIDIA GPU to stay powered on when maybe it doesn??t need to. > > http://stuff.aaron-kelley.net/2013/03/cygxoptimus.png > > I went to the NVIDIA control panel and set xwin.exe specifically to use the > integrated GPU but it still says that xwin.exe is running on the NVIDIA GPU > when I run it. Cygwin/X must be doing something unusual at initialization > that makes the NVIDIA card feel like it has to kick on. I don??t have to > actually launch any X windows to see this occur, it happens moments after I > launch the Cygwin/X server. The Cygwin X server doesn't do anything special (and specifically, doesn't do any of the things listed in [1] to explicitly use the high-performance GPU), so if it's being allowed to use OpenGL on the high-performance GPU despite the application profile you have created, I would say that might be a bug in the optimus driver. Note that this policy does belong in your hands, not in XWin, as it cannot know if you are going to be running any X programs using OpenGL, and if you are, if you want high-performance rendering in them at the cost of additional power usage. As a workaround, you could start the X server with the -nowgl option added, which should prevent any use of native OpenGL, forcing the use of software rendering using mesa and see if that helps. > I haven??t been able to find anyone else mentioning this. It may be because > Optimus configurations aren??t very common. This also means that this issue > may be tricky to track down. I??m not sure if it will be easy to find > someone who knows about Cygwin/X development who also has access to an > Optimus environment. This might be something that has to go for NVIDIA for > them to fix in their drivers, but it??d be nice to know a little more about > the issue before trying to get in touch with them. > > I??m interested in doing anything I can do help address this but I don??t know > where to begin, so I??m welcoming your feedback. For a start, you could look for the GL_VENDOR and GL_RENDERER lines in /var/log/xwin/XWin.0.log to confirm that XWin also thinks it is using the high-performance GPU. [1] http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From tpadilha84@gmail.com Wed Mar 27 15:52:00 2013 From: tpadilha84@gmail.com (Thiago Padilha) Date: Wed, 27 Mar 2013 15:52:00 -0000 Subject: Is there a way to spawn processes from the XWin login shell? In-Reply-To: References: Message-ID: Actually, I use windows shortcut with the following command line: C:\cygwin\bin\run.exe /usr/bin/zsh -l -c 'exec startxwin' I'm guessing the startxwin is responsible for setting up the login environment. Still, the only way to start processes inheriting from the login shell seems to be by using the tray icon. It would be nice to have a startxwin flag that did that, eg: startxwin -command 'urxvtc -e zsh' # instead of starting a new xwin instance, this would send a command to be spawned by the running login shell which would have the same effect as select a .XWinrc menu entry with the following 'urxvtc -e zsh' On Fri, Mar 22, 2013 at 9:02 PM, Thiago Padilha wrote: > XWin uses a login shell to configure its environment when it starts > up, and processes spawned from the tray icon inherit XWin environment > so they don't have to be spawned from login shells. Is there a way to > achieve the same effect without using a tray icon? > > For example, can I have a desktop shortcut that launches a terminal > emulator with a simple interactive(non-login) shell and still have it > inherit the currently running XWin environment like it was started > from the tray icon? -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 16:09:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 16:09:00 -0000 Subject: text fields in app don't allow input when running Cygwin X In-Reply-To: <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> References: <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com> <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> Message-ID: <515319B4.8060707@dronecode.org.uk> On 25/03/2013 18:39, KM wrote: > I have an application that I have always compiled on Linux and then invoked > via X Windows with my installed Cygwin X. Basically use a shortcut to > startwin.exe (full command is C:\cygwin\bin\run.exe /usr/bin/bash.exe -l > -c /usr/bin/startxwin.exe ). This always started my X server in the > background (no root window, or invisible root window), and still does. > All I had to do is log into my server, export my DISPLAY and start the > app. > > However I have recompiled my application with java 7 and now all of the > radio buttons, buttons, scrollbars, and checkboxes, etc. all still work as > before. The only thing that does NOT work is a text field. I can not get > the focus of the mouse in there, nor can I change or enter any data in > those fields. > > When I start Cygwin x from the Cygwin xterminal in a windowed env (e.g. > starx from command line), and export my DISPLAY on the server, the > application works, but is contained within the root window. I never had to > do it this way before and it looks slightly different, no separate window > borders etc. > > We also use Reflection for an X server - that seems to run the recompiled > application fine. > > Any ideas? Also I apologize if I'm not saying this quite right! Thanks for > any help. If you need more info let me know. There have been some problems in the past with assumptions that Java Windowing toolkits makes about window manager behaviour which XWin's multiwidow mode breaks (e.g. [1],[2]), so this might be something similar. If you can provide a *small* Java application which demonstrates the problem, and the precise java version which you are using, I will see if I can reproduce and investigate the problem. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=36806 [2] http://cygwin.com/ml/cygwin-xfree/2010-07/msg00079.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 16:41:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 16:41:00 -0000 Subject: text fields in app don't allow input when running Cygwin X In-Reply-To: <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> References: <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com> <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> Message-ID: <515319B4.8060707@dronecode.org.uk> On 25/03/2013 18:39, KM wrote: > I have an application that I have always compiled on Linux and then invoked > via X Windows with my installed Cygwin X. Basically use a shortcut to > startwin.exe (full command is C:\cygwin\bin\run.exe /usr/bin/bash.exe -l > -c /usr/bin/startxwin.exe ). This always started my X server in the > background (no root window, or invisible root window), and still does. > All I had to do is log into my server, export my DISPLAY and start the > app. > > However I have recompiled my application with java 7 and now all of the > radio buttons, buttons, scrollbars, and checkboxes, etc. all still work as > before. The only thing that does NOT work is a text field. I can not get > the focus of the mouse in there, nor can I change or enter any data in > those fields. > > When I start Cygwin x from the Cygwin xterminal in a windowed env (e.g. > starx from command line), and export my DISPLAY on the server, the > application works, but is contained within the root window. I never had to > do it this way before and it looks slightly different, no separate window > borders etc. > > We also use Reflection for an X server - that seems to run the recompiled > application fine. > > Any ideas? Also I apologize if I'm not saying this quite right! Thanks for > any help. If you need more info let me know. There have been some problems in the past with assumptions that Java Windowing toolkits makes about window manager behaviour which XWin's multiwidow mode breaks (e.g. [1],[2]), so this might be something similar. If you can provide a *small* Java application which demonstrates the problem, and the precise java version which you are using, I will see if I can reproduce and investigate the problem. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=36806 [2] http://cygwin.com/ml/cygwin-xfree/2010-07/msg00079.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From jon.turney@dronecode.org.uk Wed Mar 27 17:36:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Wed, 27 Mar 2013 17:36:00 -0000 Subject: Is there a way to spawn processes from the XWin login shell? In-Reply-To: References: Message-ID: <51532129.6070603@dronecode.org.uk> On 23/03/2013 00:02, Thiago Padilha wrote: > XWin uses a login shell to configure its environment when it starts > up, and processes spawned from the tray icon inherit XWin environment > so they don't have to be spawned from login shells. Is there a way to > achieve the same effect without using a tray icon? Yes. > For example, can I have a desktop shortcut that launches a terminal > emulator with a simple interactive(non-login) shell and still have it > inherit the currently running XWin environment like it was started > from the tray icon? To inherit implies that it is a child of XWin, so no. However, you can create a process with an identical login environment by requesting the shell to create a login environment. On 27/03/2013 15:52, Thiago Padilha wrote: > Actually, I use windows shortcut with the following command line: > C:\cygwin\bin\run.exe /usr/bin/zsh -l -c 'exec startxwin' > > I'm guessing the startxwin is responsible for setting up the login > environment. Still, the only way to start processes inheriting from > the login shell seems to be by using the tray icon. Reading 'man zsh' would save you having to guess. The login environment is nothing to do with startxwin. You are requesting zsh to create the login environment with the '-l' flag. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From tpadilha84@gmail.com Wed Mar 27 19:37:00 2013 From: tpadilha84@gmail.com (Thiago Padilha) Date: Wed, 27 Mar 2013 19:37:00 -0000 Subject: Is there a way to spawn processes from the XWin login shell? In-Reply-To: <51532129.6070603@dronecode.org.uk> References: <51532129.6070603@dronecode.org.uk> Message-ID: As you have shown me, I probably overcomplicated my question. It would have been simpler if I asked: 'can I make XWin start child processes without using the tray icon?' :) The reason I was trying to do that is because my zsh login scripts set things that only make sense once in a traditional XServer lifetime(setxkbmap,xmodmap,ssh-agent), not to mention xmodmap complains the second time it is ran. I managed to refactor the scripts so they can be run many times in the same x-server so everything is fine now. In any case, you should consider implementing a flag to XWin.exe so it can spawn processes in an already running instance of XWin.exe, as this would bring XWin more close to the spirit of traditional X window managers where a login environment is only created once per session. Anyway, thanks for your help Jon On Wed, Mar 27, 2013 at 1:41 PM, Jon TURNEY wrote: > On 23/03/2013 00:02, Thiago Padilha wrote: >> XWin uses a login shell to configure its environment when it starts >> up, and processes spawned from the tray icon inherit XWin environment >> so they don't have to be spawned from login shells. Is there a way to >> achieve the same effect without using a tray icon? > > Yes. > >> For example, can I have a desktop shortcut that launches a terminal >> emulator with a simple interactive(non-login) shell and still have it >> inherit the currently running XWin environment like it was started >> from the tray icon? > > To inherit implies that it is a child of XWin, so no. > > However, you can create a process with an identical login environment by > requesting the shell to create a login environment. > > On 27/03/2013 15:52, Thiago Padilha wrote: >> Actually, I use windows shortcut with the following command line: >> C:\cygwin\bin\run.exe /usr/bin/zsh -l -c 'exec startxwin' >> >> I'm guessing the startxwin is responsible for setting up the login >> environment. Still, the only way to start processes inheriting from >> the login shell seems to be by using the tray icon. > > Reading 'man zsh' would save you having to guess. > > The login environment is nothing to do with startxwin. You are requesting zsh > to create the login environment with the '-l' flag. > > -- > Jon TURNEY > Volunteer Cygwin/X X Server maintainer -- 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/ From meh@winfirst.com Thu Mar 28 06:58:00 2013 From: meh@winfirst.com (Mark Hansen) Date: Thu, 28 Mar 2013 06:58:00 -0000 Subject: text fields in app don't allow input when running Cygwin X In-Reply-To: <515319B4.8060707@dronecode.org.uk> References: <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com> <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> <515319B4.8060707@dronecode.org.uk> Message-ID: <51534A52.10104@winfirst.com> On 3/27/2013 9:09 AM, Jon TURNEY wrote: > On 25/03/2013 18:39, KM wrote: >> I have an application that I have always compiled on Linux and then invoked >> via X Windows with my installed Cygwin X. Basically use a shortcut to >> startwin.exe (full command is C:\cygwin\bin\run.exe /usr/bin/bash.exe -l >> -c /usr/bin/startxwin.exe ). This always started my X server in the >> background (no root window, or invisible root window), and still does. >> All I had to do is log into my server, export my DISPLAY and start the >> app. >> >> However I have recompiled my application with java 7 and now all of the >> radio buttons, buttons, scrollbars, and checkboxes, etc. all still work as >> before. The only thing that does NOT work is a text field. I can not get >> the focus of the mouse in there, nor can I change or enter any data in >> those fields. >> >> When I start Cygwin x from the Cygwin xterminal in a windowed env (e.g. >> starx from command line), and export my DISPLAY on the server, the >> application works, but is contained within the root window. I never had to >> do it this way before and it looks slightly different, no separate window >> borders etc. >> >> We also use Reflection for an X server - that seems to run the recompiled >> application fine. >> >> Any ideas? Also I apologize if I'm not saying this quite right! Thanks for >> any help. If you need more info let me know. > > There have been some problems in the past with assumptions that Java Windowing > toolkits makes about window manager behaviour which XWin's multiwidow mode > breaks (e.g. [1],[2]), so this might be something similar. > > If you can provide a *small* Java application which demonstrates the problem, > and the precise java version which you are using, I will see if I can > reproduce and investigate the problem. > > [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=36806 > [2] http://cygwin.com/ml/cygwin-xfree/2010-07/msg00079.html > I had a problem with one Java application when running on a Linux host and displaying to my Cygwin X server on my local PC. This started when the application first moved to Java 1.6 and the problems I encountered were not identical to the OP's problems, but I thought I would mention my work around anyway, in case it helps. I just added the following command-line argument to the Java command line: -Dawt.toolkit=sun.awt.motif.MToolkit Good luck. -- 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/ From Todd.Owen@health.wa.gov.au Thu Mar 28 12:57:00 2013 From: Todd.Owen@health.wa.gov.au (Owen, Todd) Date: Thu, 28 Mar 2013 12:57:00 -0000 Subject: Unable to connect to font server Message-ID: I am trying to use an element of the form "tcp/127.0.0.1:7100" in my font path, and it is being rejected. Furthermore, my testing shows that XWin is not even attempting to open a socket. Is the "tcp" transport still supported in the font path? Question 7.7 of the FAQ refers to this syntax, so presumably it worked at some stage. The font server I actually wish to use is on a remote machine, but I have reduced it to a failing test case using localhost: # Listen for connections on port 7100, in the background $ socat TCP-LISTEN:7100 stdio >/dev/null & $ jobs [1]+ Running socat TCP-LISTEN:7100 stdio > /dev/null & $ startxwin /usr/bin/true -- -fp tcp/127.0.0.1:7100 Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.13.3.0 ... [dix] Could not init font path element tcp/127.0.0.1:7100, removing from list! ... # The background process is still waiting for a connection on port 7100 $ jobs [1]+ Running socat TCP-LISTEN:7100 stdio > /dev/null & # But if we make a connection to the port, then the listening process will stop: $ socat stdio TCP-CONNECT:127.0.0.1:7100 /dev/null # Conclusion: XWin never even made a connection to port 7100. I have tested this on two machines, both running Window XP Professional SP3. The difference is that on one machine Cygwin runs under a non-admin account, and on the other machine the account has local admin rights. I got the same results on both. I've also tested this with Xming, and it does work. Any idea what's going on? Kind regards, Todd -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.0.log Type: application/octet-stream Size: 9113 bytes Desc: XWin.0.log URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cygcheck.out Type: application/octet-stream Size: 109187 bytes Desc: cygcheck.out URL: -------------- next part -------------- -- 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/ From jon.turney@dronecode.org.uk Thu Mar 28 13:09:00 2013 From: jon.turney@dronecode.org.uk (Jon TURNEY) Date: Thu, 28 Mar 2013 13:09:00 -0000 Subject: Unable to connect to font server In-Reply-To: References: Message-ID: <51543E52.9060602@dronecode.org.uk> On 28/03/2013 06:58, Owen, Todd wrote: > I am trying to use an element of the form "tcp/127.0.0.1:7100" in my > font path, and it is being rejected. Furthermore, my testing shows that > XWin is not even attempting to open a socket. Is the "tcp" transport > still supported in the font path? Question 7.6 of the FAQ refers to this > syntax, so presumably it worked at some stage. > # Conclusion: XWin never even made a connection to port 7100. Sorry, font server font path elements are disabled because of an upstream bug (See [1],[2]) If you really, truly need font server support, I would suggest you use xorg-server 1.8.2-1 (unfortunately I can't arrange for this to be offered through setup due to setup limitations, so you'll have to get it from the cygwin time machine [3]), or agitate for this upstream bug to be fixed. > I have tested this on two machines, both running Window XP Professional > SP3. The difference is that on one machine Cygwin runs under a non-admin > account, and on the other machine the account has local admin rights. I > got the same results on both. > > Any idea what's going on? [1] http://cygwin.com/ml/cygwin-xfree-announce/2012-09/msg00000.html [2] https://bugs.freedesktop.org/show_bug.cgi?id=31501 [3] http://www.fruitbat.org/Cygwin/#cygwintimemachine -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From aaronkelley@hotmail.com Fri Mar 29 13:06:00 2013 From: aaronkelley@hotmail.com (Aaron A. Kelley) Date: Fri, 29 Mar 2013 13:06:00 -0000 Subject: Cygwin/X causes NVIDIA GPU to turn on in Optimus systems In-Reply-To: <51530C21.8000203@dronecode.org.uk> References: <51530C21.8000203@dronecode.org.uk> Message-ID: Hi, thanks for your reply. Very helpful. I checked the XWin.0.log and found: [ 73510.875] GL_VERSION: 4.3.0 [ 73510.875] GL_VENDOR: NVIDIA Corporation [ 73510.875] GL_RENDERER: Quadro K5000M/PCIe/SSE2 So, it looks like XWin is running on the NVIDIA GPU even though the Intel GPU is set at the default rendering device (both for all apps by default and by XWin.exe specifically) in the NVIDIA control panel. I'll see if I can get NVIDIA to comment on this at all but who knows if I'll actually be able to get in touch with anyone. Anyway, I don't need OpenGL for the programs that I use, so I checked into using the -nowgl parameter that you suggested and that took care of it. With -nowgl set, XWin happily runs on the Intel GPU and Optimus does not engage. Thanks, -- Aaron -----Original Message----- From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] Sent: Wednesday, March 27, 2013 11:11 AM To: cygwin-xfree@cygwin.com Cc: aaronkelley@hotmail.com Subject: Re: Cygwin/X causes NVIDIA GPU to turn on in Optimus systems On 26/03/2013 15:58, Aaron A. Kelley wrote: > I usually leave Cygwin/X open on my machine because I use it to access GUI > apps running in SSH terminals from time to time. Today I noticed that in an > Optimus environment, it is causing the NVIDIA GPU to kick in, which causes > the NVIDIA GPU to stay powered on when maybe it doesn't need to. > > http://stuff.aaron-kelley.net/2013/03/cygxoptimus.png > > I went to the NVIDIA control panel and set xwin.exe specifically to use the > integrated GPU but it still says that xwin.exe is running on the NVIDIA GPU > when I run it. Cygwin/X must be doing something unusual at initialization > that makes the NVIDIA card feel like it has to kick on. I don't have to > actually launch any X windows to see this occur, it happens moments after I > launch the Cygwin/X server. The Cygwin X server doesn't do anything special (and specifically, doesn't do any of the things listed in [1] to explicitly use the high-performance GPU), so if it's being allowed to use OpenGL on the high-performance GPU despite the application profile you have created, I would say that might be a bug in the optimus driver. Note that this policy does belong in your hands, not in XWin, as it cannot know if you are going to be running any X programs using OpenGL, and if you are, if you want high-performance rendering in them at the cost of additional power usage. As a workaround, you could start the X server with the -nowgl option added, which should prevent any use of native OpenGL, forcing the use of software rendering using mesa and see if that helps. > I haven't been able to find anyone else mentioning this. It may be because > Optimus configurations aren't very common. This also means that this issue > may be tricky to track down. I'm not sure if it will be easy to find > someone who knows about Cygwin/X development who also has access to an > Optimus environment. This might be something that has to go for NVIDIA for > them to fix in their drivers, but it'd be nice to know a little more about > the issue before trying to get in touch with them. > > I'm interested in doing anything I can do help address this but I don't know > where to begin, so I'm welcoming your feedback. For a start, you could look for the GL_VENDOR and GL_RENDERER lines in /var/log/xwin/XWin.0.log to confirm that XWin also thinks it is using the high-performance GPU. [1] http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/Op timusRenderingPolicies.pdf -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/ From tpadilha84@gmail.com Fri Mar 29 16:11:00 2013 From: tpadilha84@gmail.com (Thiago Padilha) Date: Fri, 29 Mar 2013 16:11:00 -0000 Subject: Hardware acceleration Message-ID: Hi I'm testing cygwin hardware acceleration using the instructions found here: http://cygwin.com/xfree/docs/ug/using-aiglx.html When running the the default options(which implies -wgl) I can see my graphics card (Intel HD graphics 3000) when running glxinfo | grep OpenGL If I start the server with -nowgl, I see the software renderer. The problem is that I see absolutely no difference between the two when running the 'glxgears' program: It starts fine and stays like that for 2-3 seconds, then I start to see some flickering(the gears seem to be constantly "struggling to rotate), but the fps displayed in the terminal is not affected(I get a constant average of 1500fps), just the rendering gets strange. Perhaps I'm missing something(some other lib that needs to be installed)? -- 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/ From richardvoigt@gmail.com Sat Mar 30 04:16:00 2013 From: richardvoigt@gmail.com (richardvoigt@gmail.com) Date: Sat, 30 Mar 2013 04:16:00 -0000 Subject: Hardware acceleration In-Reply-To: References: Message-ID: > that for 2-3 seconds, then I start to see some flickering(the gears > seem to be constantly "struggling to rotate), but the fps displayed in > the terminal is not affected(I get a constant average of 1500fps), > just the rendering gets strange. What you're seeing is a result of aliasing, which is an interaction between the framerate of the software and the refresh rate of the display. -- 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/