delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/15/08:27:41

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74C693857C4F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1647347258;
bh=IpjjgWDGQknJSJsGe7nZ6wmRFCVxILR/O8K83+nOO7M=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=opwwW2NqNJhn+DQPuneNcxpgDzltx87s5wlXX4Gc1/Ljg4Vpm6mY/o9yHo9itikds
gOO8ySfN0JpttAJDjrrKxy9EqBH2toTsV6E6rcljrxVtGnv0M8ye+/WrcbYg74bUqi
miuF03Iu87AToaGQp+vdnWK2A+x+IBsZ/U2G9OYs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 862073858D20
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1647347225; bh=GdM4LxYQNPam/noBvTHYgQG2GSWbmCO9nDRIhO87YU4=;
h=X-Sonic-MF:To:From:Subject:Date:From:Subject;
b=g/NTqYEsrHBmLb4DwhUL0EJrgQ+9/FW+wbhODU+bwTc1CbZsRQo2q4HV2ILZb+FOkdoiNKK+ViCqC3KGWt95M/vcSJz92wVoRKSSAZYBImQjFRF6OybGcDSONhBmVSE/h9svOE9eSkNQ1ct2ZORLtBcinAP/8/HxPPZ3Pgr5d0ClwTWI7N6mlV+PRaK0XeqVPRRS9wAfNW3uwLxJKzidr/g8cye1onKV9eDC/J6J6+Zu02mE416Os4ooz6/XGCGdwOcV3aOEeT/A4ItRmz0jgnQGMbpPyN3HFjWUWweGvI8ITlg8cmSMG3FQiERPA/SrGxZ1bAzdNXiEsud9flj3EA==
Message-ID: <584581456.837826.1647347225697@yaho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QlL59WGvD
OQ63OChz5pGlfJ16RdTsFRH9vwPAj9sakM_GpT.eruTUZS9pdgHarnX_OvOcviqOlpOHeUQ5LLIe
4RrLM5QyAjChju6egnLp5BE8.MC4eU_63tSm1j4JYEq031HW1VgmrAMp_m75T2ia.VxrsISefV4E
8.j8Wp1FpdiNpr0f1LLRTK0eXRoLFQm.LUAgTCrzHphCfZy5ZEwMjEA5KWwXh0qFXHpB76OLIAF0
wfdO5Hh6CdOYJCfkY
X-Sonic-MF: <sendjunk4me AT yahoo DOT com>
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: fonts and .xinitrc
Date: Tue, 15 Mar 2022 07:27:02 -0500
Importance: normal
X-Priority: 3
X-Mailer: WebService/1.1.19878
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "send, send, send, send junk, junk, junk,
junk via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "send, send, send, send junk, junk, junk,
junk" <sendjunk4me AT yahoo DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 22FCReHt027264

Hello Cygwin,

I hope I am using this list as it is intended to be used.  My name is Mark, and I have been using Cygwin for as long as I can remember (maybe 20 years now?).   I have only used X11 in Cygwin sporadically, and am having trouble getting a few things to work that I think should be fairly common.  I’ve been researching the FAQs and docs and stacks and forums and Googles and so on, and progress has been quite slow.

For example, when I run xinit and include a .xinitrc file in my home directory, it seems to immediately crash.    Also, fonts seem to be an issue for me now, requiring an xft: prefix to get working (which took me most of the day yesterday to finally hack back to some level of functionality).    

When I try to run cfg.py (which is just a program to create a visual control flow graph for a given Python program), all the text is “blanked out” with boxes.    I am theorizing that this is related to the graphviz library not being compatible with the new definitions of fonts.

Trying to debug this, I ran a “hello world”  for tkinter, and the default font was basically just a few pixels high (very small on my 4K monitor).   Also, the default font is unreadably small.   I have to choose enormous in the default window manager to see anything.

I’ve looked at the docs on initialization and configuration for both Cygwin and Linux in general (which I’m also quite rusty on), but cannot seem to get anything to work.   My next plan is to revert to older versions to see what worked in the past.   (I think the last time I really used X in Cygwin rxvt could run without launching X which from the docs seems to be maybe a decade or two ago? Lol.)  I have a string of laptops starting from when I designed graphics chips for Compaq  in the 80’s, so I have a bit of history all set up to easily remember how I worked with startup files, etc., previously.

I currently have the latest Cygwin packages installed on my brand new gaming laptop (MSI GF65 Thin).   Here is the output of xinit when I include an empty .xinitrc: 

x AT MSI ~
$ touch .xinitrc

x AT MSI ~
$ xinit

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.21.1.3
OS: CYGWIN_NT-10.0-19042 MSI 3.3.4-341.x86_64 2022-01-31 19:35 UTC x86_64
OS: Windows 10  [Windows NT 10.0 build 19042] x64
Package: version 21.1.3-1 built 2022-01-14

XWin was started with the following command line:

X :0

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winUpdateDpi - primary monitor native DPI x 192 y 192
LoadPreferences: Loading /home/x/.XWinrc
LoadPreferences: Done parsing my personal configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 00000005
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winWindowProc - WM_SIZE - new client area w: 3814 h: 2009
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
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
(EE) AIGLX: No native OpenGL in modes with a root window
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 1907 1004
(--) 5 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 7
(--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
winProcEstablishConnection - winInitClipboard returned.
winClipboardThreadProc - DISPLAY=:0.0
winClipboardProc - xcb_connect () returned and successfully opened the display.
xinit: connection to X server lost

waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
winDeinitMultiWindowWM - Noting shutdown in progress
(II) Server terminated successfully (0). Closing log file.


x AT MSI ~
$


Here is my XWin.0.log:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.21.1.3
OS: CYGWIN_NT-10.0-19042 MSI 3.3.4-341.x86_64 2022-01-31 19:35 UTC x86_64
OS: Windows 10  [Windows NT 10.0 build 19042] x64
Package: version 21.1.3-1 built 2022-01-14

XWin was started with the following command line:

X :0 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 3840 h 2160
[ 23420.234] (II) xorg.conf is not supported
[ 23420.234] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 23420.234] winUpdateDpi - primary monitor native DPI x 192 y 192
[ 23420.234] LoadPreferences: Loading /home/x/.XWinrc
[ 23420.234] LoadPreferences: Done parsing my personal configuration file...
[ 23420.234] winDetectSupportedEngines - RemoteSession: no
[ 23420.296] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[ 23420.296] winDetectSupportedEngines - Returning, supported engines 00000005
[ 23420.296] winSetEngine - Using Shadow DirectDraw NonLocking
[ 23420.312] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 23420.343] winWindowProc - WM_SIZE - new client area w: 3814 h: 2009
[ 23420.390] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 23420.390] MIT-SHM extension disabled due to lack of kernel support
[ 23420.390] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 23420.390] (EE) AIGLX: No native OpenGL in modes with a root window
[ 23420.390] (II) IGLX: Loaded and initialized swrast
[ 23420.390] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 23420.562] winPointerWarpCursor - Discarding first warp: 1907 1004
[ 23420.562] (--) 5 mouse buttons found
[ 23420.562] (--) Setting autorepeat to delay=500, rate=31
[ 23420.562] (--) Windows keyboard layout: "00000409" (00000409) "US", type 7
[ 23420.562] (--) Found matching XKB configuration "English (USA)"
[ 23420.562] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 23420.562] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 23420.609] winProcEstablishConnection - winInitClipboard returned.
[ 23420.609] winClipboardThreadProc - DISPLAY=:0.0
[ 23420.609] winClipboardProc - xcb_connect () returned and successfully opened the display.
[ 23420.656] winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
[ 23420.671] winDeinitMultiWindowWM - Noting shutdown in progress
[ 23420.671] (II) Server terminated successfully (0). Closing log file.

Thanks!
Mark



Sent from Mail for Windows


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019