X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55010385840E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1710729654;
	bh=5uemt+7XOmNUjfxRtfT00LmZOT3whE/YGoOpLoQlbgA=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=AXs9KBIZl6OvBRdTpYwX9O+npOmWhRnbwCn8H5MHUYGLGxoiskQNXHaxdNVLoPhIK
	 /PMDkmLHaC5oSy8fSIZYZAQ/bTn46HQVDJwDFQIFooF2UFwlJ53/jzxhIaqAMb/aZn
	 viIySaCGJKUCBL82varC66+5utT5wYfCL2PAyLSU=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 692863858D37
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 692863858D37
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710729633; cv=none;
 b=rVvE+5paPryoHEU99jxHMvSsguoLeJzEUodLIkB6Q/bSfE9u5KMw1QF+qARtTPRcnvNXsvamxRutTfk4sfDG/x5ECqBUKDiRZlj9kNvsBzA9cthg/aZHJUCMWfwn9z+sB+KQntWQN4NJg/E0Su3N8Ef0vHjlsaP4CtDE6kQeEV4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1710729633; c=relaxed/simple;
 bh=uqpKgKQzdRsUvEnC1GpEgGKQVGv+F6yyLT1QxX7FDaM=;
 h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To;
 b=xisoStoWmqKrI23EOgkgCYLzxgr6Lv+qlShHybqo/HYUhhsZFzgsHy2RhK2HiSuRoT49PPzWtW7Lqh2SdttkeexOBYhshHBvMgGCOuaM5setfWl+Zxn7IttwK20lgP84iqhAgusptHGRLXhAd0X0rtweaZs6NRLTkSoiVTJZz0g=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1710729630; x=1711334430;
 h=content-transfer-encoding:in-reply-to:content-language:references
 :to:from:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=TahBa4OVNQg5dNtdBYiiXdvde4NM8AhFGdxlVqK1KW0=;
 b=ujS0BbZ7FLTPXRbYcV2k6YlFhA7ImWG1mQL3k42uCu+i36ghgCVaDGhSHSuJNYG3p5
 EroZnQv70jy8mOAhwj+OxpOsCxrbQ0y7lYQREyyEosF8gxXY0Cv7CzCMlho/5wsCUla/
 fNPfCOxM8HDqSI5j5wG3jJ8dm1v4B6Vwx2qHPH/pOHLgPqUwzmGbq9brs8f5B8W71ydm
 9B4ElrSMGpqP+TfvsPmztU2zjQQzzqloIzDgdqA75vyOm/q3KPccH64D5tafhEMCNAsS
 6/piz1hKLh4j+P+NoHy1zJCAcP+Httw89TEMydrpzglYvirGMNgxvJMA/msllgtKkxRQ
 GQqQ==
X-Gm-Message-State: AOJu0Yz8Ev9p6LagdlGkU5snaxtRj87aEsgLhjPHL8MiJrApAk+rvQBh
 JpR/t/Nn7plRmuGUsG8iIL5Muo+O+62wBJC+ujZm6i2srG2g/H7QATIIdVaCG5I=
X-Google-Smtp-Source: AGHT+IHR0Gj2qBEKBiUKiVYDLbvzWBHJX5+lkassZ2XTNhbifZebF1oNoiuT+BbM9TV417E9ZO/r0g==
X-Received: by 2002:a0c:e6e3:0:b0:691:6003:b835 with SMTP id
 m3-20020a0ce6e3000000b006916003b835mr10301760qvn.18.1710729629717; 
 Sun, 17 Mar 2024 19:40:29 -0700 (PDT)
Message-ID: <8aca0e59-d7fb-4e99-9595-7d49821eb335@gmail.com>
Date: Sun, 17 Mar 2024 22:40:28 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Re: Black screen running startx
To: Cygin Mailing List <cygwin@cygwin.com>
References: <1d334ee6-494d-4ba5-ae18-9148c40d7f1c@gmail.com>
Content-Language: en-US
In-Reply-To: <1d334ee6-494d-4ba5-ae18-9148c40d7f1c@gmail.com>
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_05, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
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: Frank Eskesen via Cygwin <cygwin@cygwin.com>
Reply-To: Frank Eskesen <fn.eskesen@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 42I2etB3190552

Easy to see problem symptom: When running xinit, the full-screen window 
has a white border.

I have an older machine with an "ASUS NVIDIA GeForce GTX 770" graphics card.

The problem was either with the NVIDIA Windows display driver or some 
underlying Windows update. Fixing it was a problem:
- Reinstalling a back-level driver *did not* fix the problem.
- Deleting the device driver *did not* fix the problem.
At first, Windows installed a basic windows driver and xinit worked and 
the screen was visible. However, after a short time the window turned 
all white. Examining the "(Control Panel/Device manager)machine/Display 
adapters" showed that the NVIDIA driver had been reinstalled. I found 
(with some difficulty) a Windows tool (wushowhide.diagcab) that's 
*supposed* to prevent driver reinstalls. It found the NVIDIA driver in 
the brief window between when the driver was deleted and before the 
automatic reinstall but *did not* prevent the re-install. Additionally:
   - Control panel delete of all NVIDIA programs (including device 
driver) didn't work.
   - Renaming all "C:/Program Files/NVIDA*" and "C:/Program 
Files/X86/NVIDIA*" folders to "../xxNVIDIA*" folders didn't work.
   (Windows still found "restored" the useless driver from a 
DriverStore/Repository.)

 > Disabling the NVIDIA driver finally fixed the problem. Drastic, but 
at least removing the video card wasn't required.

(Whew.)

On 3/16/2024 5:39 PM, Frank Eskesen wrote:
> When I ran xinit, I got the following events in the Windows event log:
>    Display driver nvlddmkm stopped responding and has successfully 
> recovered.
>
> Kernel diagnostic event: 
> =====================================================
> Fault bucket LKD_0x141_Tdr:6_IMAGE_nvlddmkm.sys_Kepler_3D, type 0
> Event Name: LiveKernelEvent
> Response: Not available
> Cab Id: a6403500-eabe-4cd3-b903-6bb2b419deb1
>
> Problem signature:
> P1: 141
> P2: ffff860f28aef050
> P3: fffff805298bc9b8
> P4: 0
> P5: 0
> P6: 10_0_19045
> P7: 0_0
> P8: 256_1
> P9:
> P10:
>
> Attached files:
> \\?\C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20240316-1657.dmp
> \\?\C:\WINDOWS\TEMP\WER-327258125-0.sysdata.xml
> \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA8C5.tmp.WERInternalMetadata.xml 
>
> \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA8E5.tmp.xml
> \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA8F8.tmp.csv
> \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA956.tmp.txt
>
> These files may be available here:
> \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Kernel_141_6cdced420649f37203e03acc79a72eda67e51_00000000_cab_efab5333-8f8d-44e4-a528-6ae62b848c4d 
>
>
> Analysis symbol:
> Rechecking for solution: 0
> Report Id: efab5333-8f8d-44e4-a528-6ae62b848c4d
> Report Status: 268435456
> Hashed bucket:
> ============================================================================== 
>
>
> Why this suddenly appeared is a mystery, but it's a Windows mystery. The
> ReportArchive information summary is:
> ReportDescription=A problem with your hardware caused Windows to stop 
> working correctly.
>
> So, the problem appears to in the Windows display driver. Please hold off
> looking at this problem, at least until I can get more usable 
> information.


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

