• Re: [gentoo-user] New machine: Contents of display are offset around 2

    From Alan Mackenzie@21:1/5 to Alan Mackenzie on Tue Aug 27 18:10:01 2024
    Hello, everybody.

    On Mon, Aug 26, 2024 at 14:49:14 +0000, Alan Mackenzie wrote:
    On Mon, Aug 26, 2024 at 12:54:20 +0100, Michael wrote:
    On Monday, 26 August 2024 11:40:43 BST Alan Mackenzie wrote:
    On Sun, Aug 25, 2024 at 22:04:05 +0100, Michael wrote:

    I'm beginning to think getting an MSI board was a mistake.

    I'm still thinking that.

    Or, I could go back to the shop that built the machine. Maybe I
    should try it connected directly to an HDMI monitor.

    OK, I'm just back from the shop. The technician there plugged the
    machine into an HDMI monitor, and it just worked. Before leaving, I
    assured him that I _would_ get the machine working, even if that might
    involve buying a new monitor. ;-(

    When I got back home again and plugged in the new machine, it was
    slightly different. It was still pumping out 2112x1116, but the 2" gap
    has become a 1" gap on both the left hand and the right hand sides.
    There's still a (smaller) gap at the top. I haven't yet tried booting
    into Linux.

    At least we now have an indication of something "analog" perhaps not
    being in order. I'm thinking that perhaps my HDMI->DVI adapter is
    broken. I should have bought a new one while I was at the shop, just to
    test. I did have trouble with Windows laptops when I plugged them in
    via this adapter a couple of years ago. Maybe I'll go back to the shop
    to get that new HDMI->DVI adapter tomorrow.

    There might still be errors in the MSI's BIOS firmware's handling of the
    EDID, I still think that.

    [ .... ]

    Another thing to try to confirm is if the EDID of the monitor is
    correct:

    Emerge sys-apps/edid-decode, then capture the EDID of the monitor
    with get- edid in a file and feed it to 'edid-decode -p'. It will
    parse the file and output a human readable output. Then you can see
    what the preferred resolution is as far as the monitor EDID content
    is concerned, or if it is indeed missing as you reported previously.

    After reading the fine manual page, I tried edid-decode -pc, the -c
    meaninguto check the correctness of the EDID. It output a warning and (attleastdone)efault - something about some indicated resolutions' verticallsyncptimetlying(outside the given bounds.

    The diagnostics look like this:

    Warnings:

    Block 1, CTA-861 Extension Block:
    Display Product Serial Number is set, so the Serial Number in the Base EDID should be 0.
    Add a Colorimetry Data Block with the sRGB colorimetry bit set to avoid interop issues.

    Failures:

    Block 1, CTA-861 Extension Block:
    Missing VCDB, needed for Set Selectable RGB Quantization to avoid interop issues.
    EDID:
    Base EDID: Some timings are out of range of the Monitor Ranges:
    Vertical Freq: 50.000 - 75.062 Hz (Monitor: 56.000 - 75.000 Hz)

    EDID conformity: FAIL

    [ .... ]

    The recurring flickering of the display after you've loaded your desktop shows
    the linux OS is trying to re-adjust the display. Usually this happens when the connection/power to the monitor is disrupted, which again points to a connector issue, or it can also happen if you specified in your GUI the wrong
    resolution/frequency.

    Yes. I think the connectors are OK, but maybe we'll see how the machine performs differently at the shop tomorrow.

    I've decided I'm definitely going to get a new HDMI->DVI adapter.

    --
    Alan Mackenzie (Nuremberg, Germany).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Tue Aug 27 19:36:49 2024
    On Tuesday, 27 August 2024 17:05:26 BST Alan Mackenzie wrote:
    Hello, everybody.

    On Mon, Aug 26, 2024 at 14:49:14 +0000, Alan Mackenzie wrote:
    On Mon, Aug 26, 2024 at 12:54:20 +0100, Michael wrote:
    On Monday, 26 August 2024 11:40:43 BST Alan Mackenzie wrote:
    On Sun, Aug 25, 2024 at 22:04:05 +0100, Michael wrote:
    I'm beginning to think getting an MSI board was a mistake.

    I'm still thinking that.

    Or, I could go back to the shop that built the machine. Maybe I
    should try it connected directly to an HDMI monitor.

    OK, I'm just back from the shop. The technician there plugged the
    machine into an HDMI monitor, and it just worked. Before leaving, I
    assured him that I _would_ get the machine working, even if that might involve buying a new monitor. ;-(

    Well, that's a different monitor and the cable was an HDMI-to-HDMI cable (I assume?). Since you went to all this trouble it would be better if you
    dragged your monitor along with you. Either way, I admire your doggedness to get to the bottom of this. :-)


    When I got back home again and plugged in the new machine, it was
    slightly different. It was still pumping out 2112x1116, but the 2" gap
    has become a 1" gap on both the left hand and the right hand sides.
    There's still a (smaller) gap at the top. I haven't yet tried booting
    into Linux.

    At least we now have an indication of something "analog" perhaps not
    being in order. I'm thinking that perhaps my HDMI->DVI adapter is
    broken. I should have bought a new one while I was at the shop, just to test. I did have trouble with Windows laptops when I plugged them in
    via this adapter a couple of years ago. Maybe I'll go back to the shop
    to get that new HDMI->DVI adapter tomorrow.

    It would be best if you could buy a cable with the requisite HDMI on one end and a DVI-D on the other. DVI-DL is capable of higher than 1920x1080 resolutions, although the optimal resolution of your panel is at 1920x1080.


    There might still be errors in the MSI's BIOS firmware's handling of the EDID, I still think that.

    [ .... ]

    Another thing to try to confirm is if the EDID of the monitor is
    correct:

    Emerge sys-apps/edid-decode, then capture the EDID of the monitor
    with get- edid in a file and feed it to 'edid-decode -p'. It will
    parse the file and output a human readable output. Then you can see
    what the preferred resolution is as far as the monitor EDID content
    is concerned, or if it is indeed missing as you reported previously.

    After reading the fine manual page, I tried edid-decode -pc, the -c meaninguto check the correctness of the EDID. It output a warning and (attleastdone)efault - something about some indicated resolutions' verticallsyncptimetlying(outside the given bounds.

    Normally warnings and errors reported by the DDC check can be overcome by the graphics and/or Xorg drivers. I have monitors here which complain about all sorts of warnings and errors and fail the DDC compatibility check, but still work fine *and* display a more accurate picture (chromatically) than other monitors which pass the EDID/DDC check and post no warnings. Go figure ...
    :-/


    The diagnostics look like this:

    Warnings:

    Block 1, CTA-861 Extension Block:
    Display Product Serial Number is set, so the Serial Number in the Base
    EDID should be 0. Add a Colorimetry Data Block with the sRGB colorimetry
    bit set to avoid interop issues.

    Failures:

    Block 1, CTA-861 Extension Block:
    Missing VCDB, needed for Set Selectable RGB Quantization to avoid interop issues. EDID:

    This Extended Block Type Tag 1 is used to provide the Video Capability Data Block. I don't think this is critical. It just means the EDID Extension
    block with additional information may not be provided wholly or partly by the monitor.

    Base EDID: Some timings are out of range of the Monitor Ranges:
    Vertical Freq: 50.000 - 75.062 Hz (Monitor: 56.000 - 75.000 Hz)

    This could be relevant, especially as your display keeps flickering on & off, as it tries to find a suitable frequency.


    EDID conformity: FAIL

    [ .... ]

    The recurring flickering of the display after you've loaded your desktop shows the linux OS is trying to re-adjust the display. Usually this happens when the connection/power to the monitor is disrupted, which again points to a connector issue, or it can also happen if you
    specified in your GUI the wrong resolution/frequency.

    Yes. I think the connectors are OK, but maybe we'll see how the machine performs differently at the shop tomorrow.

    I've decided I'm definitely going to get a new HDMI->DVI adapter.

    I suggest you buy an HDMI-to-DVI-D bidirectional adaptor, or a cable with such connectors on each end. A DVI-DL will be able to display higher resolutions than 1920x1080, if both ends had this connector, but the HDMI is a single link interface so only one of the dual link connectors on the DVI end will be wired in.

    Random links as an example:

    https://cablenet.co.uk/product/32-3750

    https://www.kenable.co.uk/en/computer-cables-/dvi-cables-adapters/dvi-to-hdmi-cables/8970-dvi-d-24-1pin-male-to-hdmi-digital-video-cable-lead-gold-05m-50cm-008970-5055383489701.html

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbOHMEACgkQseqq9sKV ZxmnwhAAtYCubGW3mtkpMA/X+UYXQm9cEn5b3aj6RiMsdBgZcOt8fHkFthQQYhBm KeprsabUOKsYyvbiU20KNABNqdyOE3NQXiHsI9fzLfsID5sTs7MOkj0unNt4fbPF J8lKtFJxO5JXChTTRSDOozbgRJeEFd2AxyLvaj3ZWgzIvv9Z3QMlW+RJ3utrF7fm it8OYKU5C/nH5WL1GAiRzt8Dmp/dpaaDzBMge0L+abC7MfnL+gY040PW1Gof0kIG SRyFYEK1MSSdUrQpYIyusX9mgd95t63W6LfdjQz3LM5I4nZQ0WH7FMv+l22SGLvv dSS7vNBwU5f6Iivs0jODf+Ohs81TlnDyWH7iHTsjXYPdi98qOIMyhrmJrZDwwppg ap2Pb12Le3kBTVNLqFnh1a/YR1pcjppMAd6Rl3RV56K0uw/jC3j9IH3yO9O79kjk 2J+QyCTjfz/RSQlbLhEEXrRbxEt1cGxOr6WQp84YtSR6BE3XIQOAJ6DE9SCMpVZR cyflLsmsG7WxGftOj0BzcSnaKwqWFqDspGgxsTON+VLxcRMJn+b1zZ6mwMpfH9ZB +bLjuzfbBtiJgSMcvuomlgQYuN0a+Tj19XdwNS+0fQ9/vs5ILBZCfnsdiHos1C8Z lBurcZk11Oi9TFJ1XG3ulQ13UisLWIsaph+wheiEjYg6m1lx3BE=
    =EB25
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Mackenzie@21:1/5 to Michael on Tue Aug 27 23:00:01 2024
    Hello, Michael.

    On Tue, Aug 27, 2024 at 19:36:49 +0100, Michael wrote:
    On Tuesday, 27 August 2024 17:05:26 BST Alan Mackenzie wrote:
    On Mon, Aug 26, 2024 at 14:49:14 +0000, Alan Mackenzie wrote:
    On Mon, Aug 26, 2024 at 12:54:20 +0100, Michael wrote:
    On Monday, 26 August 2024 11:40:43 BST Alan Mackenzie wrote:
    On Sun, Aug 25, 2024 at 22:04:05 +0100, Michael wrote:

    [ .... ]

    OK, I'm just back from the shop. The technician there plugged the
    machine into an HDMI monitor, and it just worked. Before leaving, I assured him that I _would_ get the machine working, even if that
    might involve buying a new monitor. ;-(

    Well, that's a different monitor and the cable was an HDMI-to-HDMI cable (I assume?).

    Yes.

    Since you went to all this trouble it would be better if you dragged
    your monitor along with you. Either way, I admire your doggedness to
    get to the bottom of this. :-)

    No, I had enough trouble getting the PC back to the shop, without somehow having to pack up the monitor and all the cables and KVM Box between it
    and the machine. That would have turned a minor inconvenience into a
    major expedition.

    But I've _got_ to get to the bottom of this, otherwise I don't have a
    working new machine. ;-(

    When I got back home again and plugged in the new machine, it was
    slightly different. It was still pumping out 2112x1116, but the 2" gap
    has become a 1" gap on both the left hand and the right hand sides.
    There's still a (smaller) gap at the top. I haven't yet tried booting
    into Linux.

    At least we now have an indication of something "analog" perhaps not
    being in order. I'm thinking that perhaps my HDMI->DVI adapter is
    broken. I should have bought a new one while I was at the shop, just to test. I did have trouble with Windows laptops when I plugged them in
    via this adapter a couple of years ago. Maybe I'll go back to the shop
    to get that new HDMI->DVI adapter tomorrow.

    It would be best if you could buy a cable with the requisite HDMI on one end and a DVI-D on the other. DVI-DL is capable of higher than 1920x1080 resolutions, although the optimal resolution of your panel is at 1920x1080.

    Such a cable would involve removing the KVM box from the setup, at which
    point I wouldn't have a fully working machine to read Gentoo
    documentation on, or carry on using email. I will stick with 1920x1080
    for the foreseeable future - I can barely make out the pixels on my
    screen (a 24" diagonal screen) as it is, without pushing up to a higher resolution.

    I think the manufacture of monitors is a finished art. It's reached the
    stage at which our eyes can't see any finer resolution or any more
    colours, and the current sizes of monitors are already sufficiently big
    to put on any desk top. It's not like when we had to put up with
    16-colour 640x480 VGA, eagerly lapping up any and every subsequent
    development.

    [ .... ]

    [ EDID block correctnes ]

    Normally warnings and errors reported by the DDC check can be overcome by the graphics and/or Xorg drivers. I have monitors here which complain about all sorts of warnings and errors and fail the DDC compatibility check, but still work fine *and* display a more accurate picture (chromatically) than other monitors which pass the EDID/DDC check and post no warnings. Go figure ... :-/

    My current monitor has been performing just fine since 2011. I doubt the warnings and errors in its EDID block have anything to do with the malfunctioning.

    [ .... ]

    The recurring flickering of the display after you've loaded your desktop
    shows the linux OS is trying to re-adjust the display. Usually this happens when the connection/power to the monitor is disrupted, which again points to a connector issue, or it can also happen if you specified in your GUI the wrong resolution/frequency.

    Yes. I think the connectors are OK, but maybe we'll see how the machine performs differently at the shop tomorrow.

    I've decided I'm definitely going to get a new HDMI->DVI adapter.

    I suggest you buy an HDMI-to-DVI-D bidirectional adaptor, or a cable with such
    connectors on each end. A DVI-DL will be able to display higher resolutions than 1920x1080, if both ends had this connector, but the HDMI is a single link
    interface so only one of the dual link connectors on the DVI end will be wired
    in.

    Again, to avoid having completely to rejig my cabling set up, I'm going
    for the HDMI male to DVI female to replace the one I've got. It only
    costs a little less than 9 euros, considerably less than the taxi rides I needed to get the machine to the shop and back again.

    [ .... ]

    --
    Alan Mackenzie (Nuremberg, Germany).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Aug 22 22:44:47 2024
    On Thursday, 22 August 2024 17:54:19 BST Alan Mackenzie wrote:
    Hello, Gentoo.

    Thanks to everybody who helped me get my video going in the other thread.

    I've now got a more puzzling problem: Every time I boot up my new
    machine, the 1920x1080 pixel display is offset by around 2 inches from
    the left hand side (and aroun 1 cm from the top). It still appears to be 1920x1080 pixels (more precisely, 240 columns x 67 lines of 16x8
    characters), but it's not filling the screen.

    The screen itself is attached to a KVM box, and it works just fine on the
    old machine. So it's not the physical display which is at fault. It's
    an around 10 year old Samsung digital monitor, not some ancient CRT, or anything like that. It's interface is a DVI cable.

    I seem to remember it filled the screen when it was new (on Monday).

    Part of my efforts to make the video work (see other thread) involved
    giving the kernel the drm.edid_firmware parameter. This parameter is intended to compensate for the display/KVM box/whatever failing to supply
    the correct EDID information to the PC. One of the settings I tried
    involved the offsets from the left and top mentioned above. But somehow
    they seem to have got stuck in the machine. It seems the BIOS has saved
    the offsets in the CMOS or something. I don't know how to undo these
    saved settings.

    Would somebody please help me on this, too.

    Thanks!

    I must have missed the other thread where you had to feed to the kernel an drm.edid_firmware file. Assuming the file is still available and built in the kernel as firmware, then the problem could well have to do with the DVI cable. It may be worth unplugging and replugging it.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbHsU8ACgkQseqq9sKV ZxllXBAAiPo3Whnzi60FcXc9AUDwp8uWQoz7rZPNGK3A1opGR5o2iuYfW/ri6rsA 3Uez891CW81yaY4Ubhvlqh8Ly/TiIaGU0B7b+zQHMMlu5vU9ixvHI+qswWUiiGUc 6aPX75TJUMoco78v9WvIEoNM6IEBbLqxlGZ1J4EZ2rJWzzmVAlZ+1TdGQ2qB4Klt Wixe0WGX4xjbcSmNZxyTfgt83ri7MoICMJf3H84HIhJZo26oVScjZ/aAEDfWgZMU vz5LWSxAJ8XCElsawVvQrOcFiJsMvbW33Y2JY2N/S4OlHLiUdmErGEf8fRcOy6xZ cH0NfAQgScbvsQwRuGm7wLhB8qR6m3khAOz+VyZ1xLakZ9ma7Yq6rfN25ssp4Hme /PK85B7mhso1+oc+tTkNNG3ezJrLqJkVg5CqRbW+WuTaOR41Sjv7jZOeNXorxH/b 8R+Xm3SPrM/ORSJx1rHSTWxz6iRLQYLUYiIqTbvaMdAMHkhz11bqk8hqMASTXIF2 n1eZt7ESwMS7nnvGjJKRC2urWTL9sJnzALdHThgUIlUIX9cqcmqeurT3LU6FjkOF R798XWv3OXP3Yj5x63QsoaxfVqEUNCmOMcVomAMgg9xh6Ld8N6W7EcU8HmTtVK0+ tf1HqjPNV6b5MD0UgjKK2W0u5N7mwXZQ/wdSF7MRhrP8GbNkrXw=
    =yWuS
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Mackenzie@21:1/5 to Michael on Fri Aug 23 18:30:01 2024
    Hello, Michael.

    On Thu, Aug 22, 2024 at 22:44:47 +0100, Michael wrote:
    On Thursday, 22 August 2024 17:54:19 BST Alan Mackenzie wrote:
    Hello, Gentoo.

    Thanks to everybody who helped me get my video going in the other thread.

    I've now got a more puzzling problem: Every time I boot up my new
    machine, the 1920x1080 pixel display is offset by around 2 inches from
    the left hand side (and aroun 1 cm from the top). It still appears to be 1920x1080 pixels (more precisely, 240 columns x 67 lines of 16x8 characters), but it's not filling the screen.

    The screen itself is attached to a KVM box, and it works just fine on the old machine. So it's not the physical display which is at fault. It's
    an around 10 year old Samsung digital monitor, not some ancient CRT, or anything like that. It's interface is a DVI cable.

    I seem to remember it filled the screen when it was new (on Monday).

    Part of my efforts to make the video work (see other thread) involved giving the kernel the drm.edid_firmware parameter. This parameter is intended to compensate for the display/KVM box/whatever failing to supply the correct EDID information to the PC. One of the settings I tried involved the offsets from the left and top mentioned above. But somehow they seem to have got stuck in the machine. It seems the BIOS has saved the offsets in the CMOS or something. I don't know how to undo these
    saved settings.

    Would somebody please help me on this, too.

    Thanks!

    I must have missed the other thread where you had to feed to the kernel an drm.edid_firmware file.

    Sorry, I phrased that badly. As part of the other problem I tried using drm.edid_firmware, but I didn't mention it in that thread.

    Assuming the file is still available and built in the kernel as
    firmware, ....

    I used one of the stock options, drm.edid_firmware=edid/1920x1080.bin.
    There's something in the kernel that recognises these 6 or 7 "file names"
    and uses the built in EDID blocks for them rather than reading from /lib/firmware.

    But the source code for these has things like XOFFSET parameters, so I'm thinking that one of these took effect and "got stuck", somehow.

    .... then the problem could well have to do with the DVI cable. It may
    be worth unplugging and replugging it.

    I tried pulling the cable (whilst switched on) and replacing it. This
    didn't help (but doesn't seem to have done any damage, either ;-).

    I haven't tried anything desperate, like clearing the CMOS, yet.

    I've sent a support request to the manufacturers, MSI, which they will hopefully answer some time next week. In the mean time, I'll just have
    to carry on intalling/configuring Gentoo with a nasty black stripe on my screen.

    I'm a bit fed up with all of this. It's a new machine, but the
    motherboard, an MSI B650 Tomahawk Wifi, has been around a fair while and
    bugs in its BIOS ought to have been fixed by now.

    --
    Alan Mackenzie (Nuremberg, Germany).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Alan Mackenzie on Fri Aug 23 20:40:01 2024
    On 2024.08.23 12:21, Alan Mackenzie wrote:
    I'm a bit fed up with all of this. It's a new machine, but the
    motherboard, an MSI B650 Tomahawk Wifi, has been around a fair while
    and
    bugs in its BIOS ought to have been fixed by now.

    Just because the latest available BIOS might have fixed a problem does
    not mean the physical mobo you bought actually has the latest BIOS
    installed. Have you checked, just to be compulsively certain?

    I say that because not too many years ago, I bought an MSI mobo and
    Ryzen CPU (from the same vendor) and I ended up having to buy (eBay) an
    older CPU just to boot the machine so I could update the BIOS to one
    which could handle the new CPU, because the installed BIOS was too old.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Mackenzie@21:1/5 to Dale on Fri Aug 23 21:10:02 2024
    Hello, Dale.

    On Fri, Aug 23, 2024 at 13:44:36 -0500, Dale wrote:
    Jack wrote:
    On 2024.08.23 12:21, Alan Mackenzie wrote:
    I'm a bit fed up with all of this.á It's a new machine, but the
    motherboard, an MSI B650 Tomahawk Wifi, has been around a fair while and >> bugs in its BIOS ought to have been fixed by now.

    Just because the latest available BIOS might have fixed a problem does
    not mean the physical mobo you bought actually has the latest BIOS installed.á Have you checked, just to be compulsively certain?

    I say that because not too many years ago, I bought an MSI mobo and
    Ryzen CPU (from the same vendor) and I ended up having to buy (eBay)
    an older CPU just to boot the machine so I could update the BIOS to
    one which could handle the new CPU, because the installed BIOS was too
    old.




    When I built my new rig, one of the first things I did after making sure
    it wasn't bad out of the box, update the BIOS.á Mine was like 2 or 3
    versions behind.á It booted and all but I did update anyway, just to
    prevent weirdness later.á Turns out I had enough weirdness with a old
    monitor so I needed to rid myself of some for sure.á

    With my current system (from 2017), I bought a new Ryzen processor and
    MB just as soon as I could find somebody with stock to sell. The MB was
    in a disgusting state, not being fit for its purpose. It crashed
    withing two minutes of booting up, just in the BIOS. Its programmers
    were clearly working to a deadline, rather than to QA structures.
    Thankfully, I knew to update the BIOS, which I did, after which the
    system ran more or less stably. Except for that bug in the early Ryzen
    chips which led to a sporadic segfault when building software. I could
    have swapped the processor for a debugged one, but with all the hassle
    of taking my new machine to pieces again, I never got round to it.

    I've not made the same mistake with my newest system - although there's
    a new generation of AMD chips just out, I've stuck with the previous generation, hoping I'll not need to go through the same palaver again.

    Though it's looking like there's at least one bug in my MB. :-( Maybe
    I'm going to have to update its BIOS anyway. But we'll see what MSI's technical support say to my support request, first.

    I might add, I had to do the same thing on my old system when I first
    built it.á I'm not sure on my very first rig.á I think newer mobos will update now even without a CPU.á At least mine seems claims that anyway.á

    I believe that is the case, yes. Hopefully, they'll update even with a
    CPU installed. ;-)

    Dale

    :-)á :-)á

    --
    Alan Mackenzie (Nuremberg, Germany).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Aug 24 10:44:44 2024
    On Friday, 23 August 2024 17:21:42 BST Alan Mackenzie wrote:
    Hello, Michael.

    On Thu, Aug 22, 2024 at 22:44:47 +0100, Michael wrote:

    Assuming the file is still available and built in the kernel as
    firmware, ....

    I used one of the stock options, drm.edid_firmware=edid/1920x1080.bin. There's something in the kernel that recognises these 6 or 7 "file names"
    and uses the built in EDID blocks for them rather than reading from /lib/firmware.

    But the source code for these has things like XOFFSET parameters, so I'm thinking that one of these took effect and "got stuck", somehow.

    I am not sure a modern BIOS would get stuck as you're describing. I think the MoBo will detect any graphics chips connected to it, in this case your integrated APU graphics chip, and the graphics chip will in turn prompt for
    any connected display hardware. In this case your monitor should respond and send the EDID data to the graphics chip, which will adjust its signal to what the monitor requires.


    .... then the problem could well have to do with the DVI cable. It may
    be worth unplugging and replugging it.

    I tried pulling the cable (whilst switched on) and replacing it. This
    didn't help (but doesn't seem to have done any damage, either ;-).

    I normally power off peripherals, except for USB devices, before I disconnect/ reconnect cables. Especially legacy IRQ connected kit which is not hot- swappable - e.g. PS/2 connectors. Modern systems don't have such issues, but I'm used to taking this precaution. :-p


    I haven't tried anything desperate, like clearing the CMOS, yet.

    I've sent a support request to the manufacturers, MSI, which they will hopefully answer some time next week. In the mean time, I'll just have
    to carry on intalling/configuring Gentoo with a nasty black stripe on my screen.

    Instead of resetting the firmware and losing all your MoBo settings, you'd be better off to flash the latest firmware on the MoBo. UEFI MoBo firmware usually offers the option to back up your settings first. MSI support would probably ask you to do this and reset all settings anyway, before they deal with any issues.

    Do you still get this offset problem if you remove the KVM switch and connect the monitor directly to the MoBo?

    What may be happening is the KVM causes some distortion to the signal amplitude/frequency, which the monitor interprets as an offset. You could try to tweak this by feeding a bespoke EDID to the kernel, but sometimes a simple cable swap or operating the KVM a few times can cure it.


    I'm a bit fed up with all of this. It's a new machine, but the
    motherboard, an MSI B650 Tomahawk Wifi, has been around a fair while and
    bugs in its BIOS ought to have been fixed by now.

    Well, we don't know if this is caused by a MoBo firmware bug, although the quality of firmware often leaves much to be desired.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbJq4wACgkQseqq9sKV ZxkToxAAxd3e+jU5rviV5ZwS6loyXL/HFH7dQDPvvmvJb9Y43BGR5xs84Gsg0mgZ 2YYkNZDHf35/nYWVyJnUgHV4iYZhpSNGxT/W2MtV75ej0jbtRigrP1e6DUss86kJ 6EDbZFPz46nc5G19k50A9NisFPQElmaRzp/O176L7ReOXxssy6Px/T99xW6GvWAh ftKnZNEchRf3wo3BPMwBvmRwLZYFoaPUkSBFt7ywd1RSAn/KClg/MhIoilnV7wuR lAKmw1KiYlMPg14DKevaMwnu5JgCHrCBa/DaDoZRnU7N/xihtZPWf5EJ4UExEjTL jZzpLV0Ojj2+NCisd8RqXMxLVKXoZykH2pgkUpBAATM/3FD74yFB1OBpH15cRGW7 3DUSEgoYzf71KDl2GGTWg/4pCrAE7Xdr6oz2ed4PifzOlyntAgIu/dpv9THSyrC8 KPYb5RLFonWuwN1Dv7jyU1BrCM4C8CGZtezEbJ55AjyAHg5ZT2yuGOnlHl2UG2w1 94Kc/pH68aZe4ENmrcKjLwQG2Qiy2dkmXL7L8MbWde1zd0UaaXSwgo60BAfegYk9 ybWl1YW9XnnfUoQTy1oUuPxYwk2vpkRaf7vPuD4sJR+u9BkatOF85AcclSpQqxcj 2gPZT8jzE9b94nWbCbNYiJOlxwQqt2EWoa9gb9FEypxRjXBJRNA=
    =bT1w
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Aug 24 11:08:44 2024
    On Friday, 23 August 2024 19:27:58 BST Dale wrote:

    I'm going to add a tidbit of info here. Might relate, might not. On my
    old system and my new system, I installed the sys-kernel/linux-firmware package. During the install of that package, a file magically appeared
    in /boot named amd-uc.img

    This is the CPU microcode for AMD CPUs:

    https://wiki.gentoo.org/wiki/AMD_microcode

    and when I run grub to create the config file,
    it sees and adds that the same as it does a init thingy and kernel for booting. I think a few months ago the way firmware works changed. I
    think there is a news item. Maybe.

    Even if you don't use init thingys, you might could use that file the linux-firmware package creates. Maybe you can put that in your kernel
    and include it inside the kernel. Then when you update your kernel,
    just include the newer file the package provides in /boot.

    It can be built in the kernel, or added to the initramfs if you use one.


    If nothing else, that may give you a idea, about something I really
    don't understand completely. o_O LOL

    Dale

    :-) :-)

    The CPU OEMs occasionally release microcode updates to address CPU instruction bugs, but for modern CPUs you're more likely to obtain a timely microcode
    patch by updating your MoBo's firmware.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbJsSwACgkQseqq9sKV Zxk1rA/6A9vJcC2zdoaBMvj9VhyDLWRRUyU7j9sXvTbAf7gOmqGHlopckT5jdTiJ IdlJxt1yXkCZRlwrjN6hlTDGGd0e8sNGvRul7+HoBmZmyI7W1aSOSnI7slomE4U3 SBP55EU+VI3Cmm9k1wTSKHXiKpqsh8YP9vX0eerSQHVLdKO5tJGspP22qzkeTpvn 3mNaTnG1XUXZXFjrw9N6Xk+BtN/7PyE+FVi6UU8gBDyH3FkcU+HxELk9x82tdC9Y wXTb5QMdbh0yDdaRkYCBW4LNgeW4JLQaVdzlVFhF49k462zPC5ZaWaKpcVf+OhNr m7JA2HX7vTNRQ7I4oDB6VjLOiQId3FWeKeO/8sxzhLQgRmr058jcDT8nRh9qEP8f 2pAyTVGf0I7lkGjb9X8PS3axjLvhtQ+RhzliGG3y6ieoqtgyP51tM6L2T/Ytypg5 8f+7nGxTxfA0CRFvJ3iOUot0N97gTKKVC0QLXZpUGfgpGVdIMiOnH+H2l67YdkXV zcbRoc+o9FMaKvzg2zlC5wNVEVydTqrqLpBr9XBadQUhQ2ZASugf0HfTBwenpLAW GsfAP/91ddFxyjFEqpm1o6lq8tHNet1k8ik1tW7IpUgeHlIyk/2oeBZL3clpOVCf 6Djxw2V0nEXgmPFdCC2fFKxtcn4DCovqDWz9RIlno5Q6ReX5kCs=
    =0goU
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)