Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAF52C433DB for ; Tue, 9 Feb 2021 20:43:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 605CB64E30 for ; Tue, 9 Feb 2021 20:43:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 605CB64E30 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE5B36E890; Tue, 9 Feb 2021 20:43:58 +0000 (UTC) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 812606E890 for ; Tue, 9 Feb 2021 20:43:57 +0000 (UTC) Received: by mail-ed1-x52e.google.com with SMTP id s5so25695327edw.8 for ; Tue, 09 Feb 2021 12:43:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JdOXJBXg4QfV+GyeosVBioTdZ0W7oHj9/sC0n6oHYhE=; b=NwOCekSeGB/zeo2iLrfQ5Ap8fE++wFYZpfcdbJ8yDfwYjZ5tphMJjK8SbXyua5S1YQ oRzomUiWAyXeCHAlv3Xvo28MKnnKp/pF8uhWR60qyS1aMj+4r0d+2HiJ/1FLKRakNLwo T9fE90xethagos2B0dQTc3tXtOKevFF7NWg1Z4ylxBzov3pbJhEWhl4wpaYlNcWoDAx5 BFV0yTEXVxKBnxPFoBEzkccjo9mCUisRsPk5WAU0WE8mP9b7oS3DbbMsU3QDXDQF9Kx4 arRXdb51abAgBK040VwM6gTJbv+7kzZS9cIvtV8dmvxJLI6/2j0ahH3qVoz5imja+Ai/ 3iIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JdOXJBXg4QfV+GyeosVBioTdZ0W7oHj9/sC0n6oHYhE=; b=Duab4oFZ46dv7Ax+CFp7LB6/cu+6jsuvsyYIOqDKGRd0zKbVMxYX5na/ESJCGhtvzq UDBg/uJzfvpqp4sVtmFAee+++daP0d+YpAtRPkwMLyZnwjSonhRq1Ikq4iYFksYQqXYd JkLFwwf4OLAeFR8/+VPNb5d/Xp4fxpn/BONzuVHzdjPA5yDR0Gktt2pw90lsfRC99I3B 514kZFFLRBRhHtkiw2sneWRtWXVBPbJf6K+EkWMJ/cZT317LmeGkxy2YT8Ks+bfj5Z2K jeV71Zi1v/F7pPaJywwIiK3reA3oZsL9u7ntgQLUVIDUY8is4A5fy04Q+20gLL9YLvnB IL6A== X-Gm-Message-State: AOAM53359O7ygMJ4NjfdNYVF0nRqt4q+Lu87FjkfzICl1qwQ3VFyBUhk ffIn18zifggFZM3cMbC+yssxkGoYaTo= X-Google-Smtp-Source: ABdhPJylDl331P7eu1yQZ74ayFSxeX3CrtQUyY8cY3QgagWyrNScF3/TWPzOoMXhDwX1GhuS2j8lkg== X-Received: by 2002:a05:6402:125a:: with SMTP id l26mr25829402edw.188.1612903436135; Tue, 09 Feb 2021 12:43:56 -0800 (PST) Received: from ?IPv6:2a02:8070:a396:f000:7549:17bd:ed49:8057? ([2a02:8070:a396:f000:7549:17bd:ed49:8057]) by smtp.googlemail.com with ESMTPSA id g9sm11079808ejp.55.2021.02.09.12.43.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Feb 2021 12:43:55 -0800 (PST) To: Ilia Mirkin , nouveau References: <5af5c2c5-4764-e0b3-ecf8-d46b5b73455e@gmail.com> <917e6a2d-11f5-6d34-e927-b3f5ed461853@gmail.com> From: Uwe Sauter Message-ID: Date: Tue, 9 Feb 2021 21:43:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: de-DE Subject: Re: [Nouveau] nouveau 1.0.17 and GT-710 (GK208B): graphics stack freezes when turning off display X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uwe.sauter.de@gmail.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" Re-adding the list to receipients as it got lost. I'm unsure how to configure the modeset ddx. Do I need to rebuild my initrd so it does not include the nouveau driver? Do I need to blacklist nouveau? Am 09.02.21 um 21:34 schrieb Ilia Mirkin: > I don't see any indication of a nouveau failure here. You could try > with the modeset ddx, perhaps the nouveau ddx gets hung up somehow. > > On Tue, Feb 9, 2021 at 3:32 PM Uwe Sauter wrote: >> >> When I stop the X server I fall back to the console and I can through vt1 to vt6. >> >> Starting X another time brings me back to a desktop where the seconds in the clock applet are counting. Pulling a frame >> around desktop symbols is working and applications started from the panel show their window. >> >> What's strange is that the issue doesn't occur when using the proprietary drivers. Do you really think that the driver >> would make a difference for Mate? >> >> Attached are the logs from the second run. >> >> Am 09.02.21 um 21:11 schrieb Ilia Mirkin: >>> And presumably at the point where the display was turned back on, the >>> image was stuck? There are no prints in dmesg here, which means you're >>> not getting a traditional error... although curiously the stream of >>> framebuffer creations stops too. Maybe not a kernel issue after all? >>> Could it be MATE getting stuck somehow? Perhaps it waits for some >>> event and doesn't get it? >>> >>> What happens if you restart X after it gets into this stuck state? >>> >>> On Tue, Feb 9, 2021 at 2:57 PM Uwe Sauter wrote: >>>> >>>> Hi Ilia, >>>> >>>> this is a first shot on getting the logs. >>>> >>>> Does the list allow attachments? Else I need to find a place where I can upload the files. >>>> >>>> The dmesg log was created with kernel command line arguments "log_buf_len=16M drm.debug=12". >>>> >>>> I have indicated within the file when the desktop environment was ready, when the display was turned off by the >>>> screensaver and back on when moving the mouse. I then stopped the X server. >>>> >>>> Please let me know if this test should be repeated with more verbose settings or if other log files are required, too. >>>> >>>> >>>> Regards, >>>> >>>> Uwe >>>> >>>> >>>> Am 08.02.21 um 23:32 schrieb Ilia Mirkin: >>>>> The referenced issue is a context switching error / timeout. Is that >>>>> what you're seeing? >>>>> >>>>> Is there anything in dmesg when the problem occurs? Can you reproduce >>>>> it by forcing the monitor to sleep (xset s off or equivalent)? >>>>> >>>>> What you're describing sounds most like a display engine hang. Cursor >>>>> position updates happen on another channel, so that makes sense it >>>>> keeps working. Usually when there's an error, we'll print what the >>>>> failing transition was. But sometimes that info isn't available, and >>>>> it just says "timeout" a lot on the core channel. In that case, we'll >>>>> have to enable more logging. >>>>> >>>>> On Mon, Feb 8, 2021 at 4:58 PM Uwe Sauter wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> I don't know if this is the appropriate list to post; if not please point me in the right direction. >>>>>> >>>>>> >>>>>> I have an issue with the nouveau driver for a GT 710 (GK208B) card, hardware details and software versions below. >>>>>> Once the X server decides to switch into power saving mode and turns the display off using DPMS some part of the >>>>>> graphics stack seems to freeze. I can wake up the display and it will show me the last picture but most of the >>>>>> functionality is still frozen. I can move the mouse pointer but the clock applet won't show the current time and >>>>>> selecting desktop icons does not work. >>>>>> It seems that I can still start programs from the panel (I can see the process when remotely logging in) but they >>>>>> produce no graphics output. >>>>>> >>>>>> This happens in either of the two clock settings I can set in /sys/kernel/debug/dri/0/pstate . >>>>>> >>>>>> >>>>>> The proprietary driver does not show this behavior but seems to be much slower with glxgears, though this is not a >>>>>> proper benchmark, I know. The results between nouveau and nvidia are about the same when nouveau is in the low pstate >>>>>> but performance almost triples when the high pstate is configured. >>>>>> >>>>>> I bought this card just recently because it was said to be the last model that was properly usable without the >>>>>> proprietary driver. >>>>>> >>>>>> As you can see below, I'm already running xf86-video-nouveau 1.0.17 but compiling from git shouldn't be a problem if >>>>>> necessary. >>>>>> >>>>>> Currently the nvidia driver is in use but I should be able to quickly switch back to nouveau for any logs that might be >>>>>> required. >>>>>> >>>>>> Please advise what logs (and log levels) are needed in order to get to the bottom of this. >>>>>> >>>>>> >>>>>> This bug reports also describes what I see: >>>>>> >>>>>> https://gitlab.freedesktop.org/mesa/mesa/-/issues/1171#note_385608 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Uwe >>>>>> >>>>>> >>>>>> >>>>>> ### hardware ### >>>>>> CPU: AMD Ryzen 3 3100 >>>>>> Mainboard: Gigabyte B550M S2H, Bios F13a with AMD AGESA ComboV2 1.2.0.0 >>>>>> RAM: 2x 16GB Kingston DDR4 3200MHz ECC >>>>>> GPU: ASUS GT710-4H-SL-2GD5, 2GB GDDR5, 4x HDMI, VideoBIOS: 80.28.b8.00.05 >>>>>> Display: ViewSonic VP2468 >>>>>> ################ >>>>>> >>>>>> ### software ### >>>>>> Arch Linux >>>>>> Kernel: 5.10.13-arch1-2 >>>>>> linux-firmware: 20201218.646f159-1 >>>>>> mate-desktop: 1.24.1-1 >>>>>> Mesa: 20.3.4-1 >>>>>> xorg-server: 1.20.10-3 >>>>>> xf86-video-nouveau: 1.0.17-1 >>>>>> >>>>>> alternatively: >>>>>> nvidia-dkms: 460.39-1 >>>>>> ################# >>>>>> >>>>>> ### lspci fpr GPU ### >>>>>> # lspci -s 3:0.0 -v | head -n 2 >>>>>> #03:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) (prog-if 00 [VGA controller]) >>>>>> Subsystem: ASUSTeK Computer Inc. Device 8770 >>>>>> >>>>>> # lspci -s 3:0.0 -vvn >>>>>> 03:00.0 0300: 10de:128b (rev a1) (prog-if 00 [VGA controller]) >>>>>> Subsystem: 1043:8770 >>>>>> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ >>>>>> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- >>>>> Latency: 0 >>>>>> Interrupt: pin A routed to IRQ 55 >>>>>> IOMMU group: 12 >>>>>> Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M] >>>>>> Region 1: Memory at fff0000000 (64-bit, prefetchable) [size=128M] >>>>>> Region 3: Memory at fff8000000 (64-bit, prefetchable) [size=32M] >>>>>> Region 5: I/O ports at f000 [size=128] >>>>>> Expansion ROM at fc000000 [virtual] [disabled] [size=512K] >>>>>> Capabilities: [60] Power Management version 3 >>>>>> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) >>>>>> Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- >>>>>> Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+ >>>>>> Address: 00000000fee00000 Data: 0000 >>>>>> Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00 >>>>>> DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us >>>>>> ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- >>>>>> DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- >>>>>> RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ >>>>>> MaxPayload 128 bytes, MaxReadReq 512 bytes >>>>>> DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- >>>>>> LnkCap: Port #6, Speed 5GT/s, Width x8, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us >>>>>> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ >>>>>> LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ >>>>>> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- >>>>>> LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded) >>>>>> TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- >>>>>> DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR- >>>>>> 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- >>>>>> EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- >>>>>> FRS- >>>>>> AtomicOpsCap: 32bit- 64bit- 128bitCAS- >>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, >>>>>> AtomicOpsCtl: ReqEn- >>>>>> LnkCap2: Supported Link Speeds: 2.5-5GT/s, Crosslink- Retimer- 2Retimers- DRS- >>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- >>>>>> Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- >>>>>> Compliance De-emphasis: -6dB >>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+ >>>>>> EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest- >>>>>> Retimer- 2Retimers- CrosslinkRes: unsupported >>>>>> Capabilities: [100 v1] Virtual Channel >>>>>> Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 >>>>>> Arb: Fixed- WRR32- WRR64- WRR128- >>>>>> Ctrl: ArbSelect=Fixed >>>>>> Status: InProgress- >>>>>> VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- >>>>>> Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- >>>>>> Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 >>>>>> Status: NegoPending- InProgress- >>>>>> Capabilities: [128 v1] Power Budgeting >>>>>> Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 >>>>>> Kernel driver in use: nvidia >>>>>> Kernel modules: nouveau, nvidia_drm, nvidia >>>>>> ###################### >>>>>> _______________________________________________ >>>>>> Nouveau mailing list >>>>>> Nouveau@lists.freedesktop.org >>>>>> https://lists.freedesktop.org/mailman/listinfo/nouveau _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau