From nobody Fri Jun 21 06:17:50 2024 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W56bv2sVnz5PZ4y; Fri, 21 Jun 2024 06:18:03 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W56bt4NMnz40CF; Fri, 21 Jun 2024 06:18:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=awSL9n0E; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryeh.friedman@gmail.com designates 2607:f8b0:4864:20::e33 as permitted sender) smtp.mailfrom=aryeh.friedman@gmail.com Received: by mail-vs1-xe33.google.com with SMTP id ada2fe7eead31-48c52a1f1ffso635269137.3; Thu, 20 Jun 2024 23:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718950681; x=1719555481; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ffD87+xxSb89S9hfhkSRYsP1Tmr0GA8RVYT4gnzS+1Q=; b=awSL9n0EdK3fQe5IzR4volBmBTR7tOOcl69BbcCQChdfUvhgdaMEI1iuc8NXxd5+ye U0VtTuyoBXa6PbtdLx2bUd3K99DL5EFYvdBYFHSFGcavJmXPcqae5MNBNrh4DHOt5cy6 6PSD790il86O7G53D9OzZYaG8JfS4SDVQFkmSE5oFagcX6Cb+yDDyXSrtwhqQFgZ5jFx iDjtZiyqwObXOJ8fBkfEA+D/LdiFhgBK+UFs/FYibEaJWR/b4cwq2gR6CRVJsRLHVRN9 A30QCJDiim7k5zs6yPcjuDlk+00IaxME2fjfr3sNAXYATWJCMqNvuWySkYtrGhV08lMW fqsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718950681; x=1719555481; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ffD87+xxSb89S9hfhkSRYsP1Tmr0GA8RVYT4gnzS+1Q=; b=eMllxQlOMVL89PIuK/A1FrxBXmhLqc8jOxpE99p9QRIr6gBfckynslPm1rtKrpx2qb pkra2W8sEaA0sXOlSWUzjaKJmtYd7hVdcboaWBP0+hw4rmdEmWll9U1k/rDa4c2pV9Db 8T/B1/GDmXaIhE5hZ1qjFZGSUESru2IBSQlWZEskPIP3PM2DfXVfWeedXUgytJTlI9o2 WoSMxrjmud4if1aJk34qMe3yNm6iUTpPFXNIeO6ysQMdfS6zWHHDvpMUov08f+Igzh79 CyPIpZUeF04VR4zDOe7872kp4VFZd51Bw/vXrX8YmspSLkJdCM4XSwWgIoGD/NuNtgKL HoRg== X-Forwarded-Encrypted: i=1; AJvYcCVnp7CQXKODa41iHrYviw8Dx4OnHqxVRTctWp2siewXwW20QX7Cz5JToARRbOlS5APEc7VJOCtfGjOdPxaFANMdxKIBcU9UetcvQ7fSPA== X-Gm-Message-State: AOJu0Yy4PlzFfn75AOnIWVpQZVQCGNLbXGI5HDKzjBHztsAIc3reilx3 NEjdoY5C4O7LmNJ1ZrPiVXXziTDLkE3C2THUh/dGzkMmF+b0lAgkbK8RUdD9clX12GDoeyll5q9 FbqVFwYeVcWez2oGft1bWS9BT74Mo11UL X-Google-Smtp-Source: AGHT+IF/dFkrOMNtRtcbIwetEu53sDQRIGKWYvSHpFPmZgKPYr+j9r2J19bxpoWE6M0xCB1zePnt4OF6Q3D5m0lkIeI= X-Received: by 2002:a05:6102:126b:b0:48c:311f:d256 with SMTP id ada2fe7eead31-48f13069277mr7101035137.13.1718950681089; Thu, 20 Jun 2024 23:18:01 -0700 (PDT) List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 From: Aryeh Friedman Date: Fri, 21 Jun 2024 02:17:50 -0400 Message-ID: Subject: Strange screen blanking behavior with HDMI switch To: freebsd-x11@freebsd.org, FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org,freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e33:from] X-Rspamd-Queue-Id: 4W56bt4NMnz40CF I have a 3 to 1 HDMI switch (3 inputs to one output) and sometimes (about 10% of the time) when the screen blanker/screen saver kicks in (power save mode) the switch thinks the input actually turned off and goes to another one. Once I give the original one some keyboard/mouse input and switch back the resolution has been reset to 3840x2160 from my preferred 2560x1440 and thus I have to switch back using the XFCE4 settings panel. In the past I have played around with every possible xrander setting I can think of from the command line, my .xinitrc/.xsession, system boot time, my .cshrc/.login nothing seems to turn this behaviour off (or even let me disable power saving mode or the screen saver). I am using X11/nvidia-driver on a GeForce GT 710 (I have a 1030 in the machine but it is used for CUDA [via linux vm running on bhyve] but the behavior was the same before I demoted the 1030 to CUDA only. On host machine: GPU 0: NVIDIA GeForce GT 710 (UUID: GPU-91031c64-bd2e-82ba-ee0a-db10353810b3) On VM (proof that it is a different GPU since I use this for TensorFlow which will not work on a 710) GPU 0: NVIDIA GeForce GT 1030 (UUID: GPU-e29dac8e-ab72-a9d4-e7ef-9f3faa7ed55f) To prove passthrough here is my /boot/loader.conf: vmm_load="YES" nmdm_load="YES" pptdevs="37/0/0 37/0/1" hw.vmm.amdvi.enable=1 -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org