From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0FBB1581FB for ; Sun, 25 Aug 2024 12:33:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60A0BE29E6; Sun, 25 Aug 2024 12:33:18 +0000 (UTC) Received: from mail.muc.de (mail.muc.de [193.149.48.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D6D2E29E0 for ; Sun, 25 Aug 2024 12:33:16 +0000 (UTC) Received: (qmail 82290 invoked by uid 3782); 25 Aug 2024 14:33:14 +0200 Received: from muc.de (p4fe152fc.dip0.t-ipconnect.de [79.225.82.252]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 25 Aug 2024 14:33:14 +0200 Received: (qmail 17163 invoked by uid 1000); 25 Aug 2024 12:33:14 -0000 Date: Sun, 25 Aug 2024 12:33:14 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] New machine: Contents of display are offset around 2 inches from the left hand side. Message-ID: References: <8417604.T7Z3S40VBb@rogueboard> <9330801.CDJkKcVGEf@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: e4d79ac8-5992-4134-a63d-63896b4631bb X-Archives-Hash: 6eb04a969ba7648080a45e9383ef9b06 Hello, Michael. On Sat, Aug 24, 2024 at 20:36:11 +0000, Alan Mackenzie wrote: > On Sat, Aug 24, 2024 at 16:40:38 +0100, Michael wrote: > > On Saturday, 24 August 2024 14:25:31 BST Alan Mackenzie wrote: > > > On Sat, Aug 24, 2024 at 10:44:44 +0100, Michael wrote: [ .... ] > > This reads like an unsuitable refresh rate problem. > I've read the "information" section from my monitor's adjustment panel. > It says 60 Hz. and 1920x1080 (on my current machine). On the new > machine, it reads 60 Hz., 2112x1016. This looks like being at the core > of the problem. 2112 / 1920 = 1.1 (more or less), i.e. 10% too many > pixels. > My monitor is ~52cm wide. 10% of this is the ~5cm. black strip at the > LHS of the monitor. > Is there any convenient way I can display the current EDID information > block? Yes, there is: there is the package x11-misc/read-edid, which contains two utilities get-edid and parse-edid. Calling # get-edid | parse-edid produces, on my current machine: This is read-edid version 3.0.2. Prepare for some fun. Attempting to use i2c interface No EDID on bus 0 No EDID on bus 2 No EDID on bus 3 No EDID on bus 4 No EDID on bus 5 No EDID on bus 6 No EDID on bus 7 1 potential busses found: 1 256-byte EDID successfully retrieved from i2c bus 1 Looks like i2c was successful. Have a good day. Checksum Correct Section "Monitor" Identifier "SMB2430L" ModelName "SMB2430L" VendorName "SAM" # Monitor Manufactured week 13 of 2011 # EDID version 1.3 # Digital Display DisplaySize 520 290 Gamma 2.20 Option "DPMS" "true" Horizsync 30-81 VertRefresh 56-75 # Maximum pixel clock is 170MHz #Not giving standard mode: 1280x800, 60Hz #Not giving standard mode: 1280x960, 60Hz #Not giving standard mode: 1280x1024, 60Hz #Not giving standard mode: 1440x900, 60Hz #Not giving standard mode: 1600x1200, 60Hz #Not giving standard mode: 1680x1050, 60Hz #Not giving standard mode: 1152x864, 75Hz #Not giving standard mode: 1440x900, 75Hz #Extension block found. Parsing... Modeline "Mode 0" +hsync +vsync Modeline "Mode 1" +hsync +vsync Modeline "Mode 2" +hsync +vsync Modeline "Mode 3" +hsync +vsync Modeline "Mode 4" -hsync -vsync EndSection .. On my new machine, it is almost identical, just using I2C bus 0, rather than 1. It is now clear that EDID contains not an optimal screen setting, but instead ranges (for example 56-75 Hz. screen refresh rate). The question arises, what exactly puts the display into 1920x1080 60Hz. at boot up time? Something must be chosing that resolution. I've tried grepping the kernel sources, but there are a lot lf "1920x1080"s there. :-( [ .... ] > My hypothesis at the moment is that something in the new machine is > wrongly pumping out 2112x1016 in place of 1980x1080 and this is > diminishing the size of (and reducing the quality of) the displayed > image. > I think the EDID being received from the monitor and KVM-box are correct, > but that the BIOS is applying some "correction" to them, for some reason. > Maybe I should try resetting the CMOS ram. > > Let's hope one of these things delivers a working display for you. :-) > Thanks! -- Alan Mackenzie (Nuremberg, Germany).