X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48F4A383542D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1611550276;
	bh=csZ2QzyS7J/GocfOFkhKtK6sxq57RXCiXP3mm/y+eIw=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=YPQLRgtCpSle0OtEcoew3u9Mkt5vJk4JHpx63O6foE8VNtYk989QNxUTuKFx8Zk2+
	 uCNBj/bBPdgQQSK9Q7BU3SDnSMMHfWkcj4LMqnv5UZeEGxGcsuLX0V/r51gQmDtPiw
	 919mW24G731H8eLqghI7oc2+kUQsbGrc/yXCDyUU=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F0D1E383542D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=BhQV4cKfdpZrwmKlRz2/FDS4WAEDrGUfSdG5C6uEW+A=;
 b=VVlmNwGr5vplQlBmLuXeZN/ihP9nkFpf4Tn0NWbjr0bimvMBuC2+6hYOAsNkzVNdmv
 cmlzABZRoI768tJau6Ro6NsEvSm9dJXMgMZKWZmxf9lQ1o9yQItRQyVXd17K67g9uCdG
 gSpfN0OoQtCIRKXB1iTLaDPsk0VKPi9Ya+XS+O9U8E1XXzH1WfxF9yheQ5tOSISVJ8g4
 dwOdcLUSNHq7lulQ7LzqCUOGGUUcSGZNRf31NrLnPwa1aBKN7cEdCXZFZOVCD4uFnteQ
 ube7Ct+Fd+XCfmqs4pMHsm+zpfaYyTsQM3atElv3w3D5abvpA68nyWfir7WGh0soEDzv
 hCvg==
X-Gm-Message-State: AOAM530dQx5HFR+qbnMJP4ghrSu2rfuCVoSyfteFCe3ghQUFStsOl3Ce
 PvPhvxDo02SY47MLuHxDes/DjZEH3Js=
X-Google-Smtp-Source: ABdhPJzOfzdKeMew36tAH4st4BSFVkvXi6LaNHYNltu3G4FdgjE+nRw2dJuIt5ekC4NN1DIkQfuuLg==
X-Received: by 2002:a05:6402:1102:: with SMTP id u2mr73462edv.18.1611550273043; 
 Sun, 24 Jan 2021 20:51:13 -0800 (PST)
Subject: Re: GLX and libX11
To: Michael Enright <mike@kmcardiff.com>
References: <AM0PR10MB25164C501D0B3CE08C3AE29DCCBE0@AM0PR10MB2516.EURPRD10.PROD.OUTLOOK.COM>
 <1b7b9d8d-d05a-a023-0160-377ab1d69965@gmail.com>
 <CAOC2fq8CzZZD_mUFJuTN6ZaaR3=wmYvnG8_M1xdxfZrZ1thnvw@mail.gmail.com>
Message-ID: <c29cac4d-96f0-4c4d-eccb-a77c4db55858@gmail.com>
Date: Mon, 25 Jan 2021 05:51:10 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <CAOC2fq8CzZZD_mUFJuTN6ZaaR3=wmYvnG8_M1xdxfZrZ1thnvw@mail.gmail.com>
Content-Language: it
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
 NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10P4pgtr004461

On 25.01.2021 00:46, Michael Enright wrote:
> On Sun, Jan 24, 2021 at 5:38 AM Marco Atzeri via Cygwin
> <cygwin@cygwin.com> wrote:
>>
>>
>> Have you started the program from inside a XTerm  with a running
>> XServer ?
>>
> 
> I compiled and ran the program in a mintty window, while X server was
> started and the environment variable DISPLAY was set. It ran
> perfectly. I don't have XTerm installed, it would probably have taken
> care of the DISPLAY variable.
> 
> I started a second mintty window and started the program from there
> without setting DISPLAY, and the program complained "cannot connect to
> X server".
> 
> I think Rafał started the program from a shell which had DISPLAY set,
> but @Rafał if you could confirm that it would help a bit. I think some
> Cygwin X components may be missing. The reason I think this is the
> message that says the Windows DRI extension is missing, which I guess
> is awfully specific.
> 
> It occurs to me that starting XTerm would be a useful diagnostic, but
> if "Windows DRI" is missing, XServer probably can't start, never mind
> "Windows DRI extension"
> 

you are likely right, I will bet on "dri-drivers" not be
properly installed or having problems

$ cygcheck -cd |grep -i DRI
dri-drivers                             19.1.6-1
libdbi-drivers                          0.9.0-2
libxcb-dri2-devel                       1.14-1
libxcb-dri2_0                           1.14-1

as it should be pulled by libGL

$ cygcheck-dep -q -S -n dri-drivers
  dri-drivers: is needed for ( libEGL1 libGL1 tigervnc-server 
xorg-server-common )

Regards
Marco


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

