X11 Graphics: changing resolution

The interest and worring thing is that there is not EDID in that output.

Let’s try a different tool to show the EDID from your monitor.

sudo dnf install edid-decode

List all the edid that kernel knows about:

sudo find /sys -name edid

Which outputs for me:

/sys/devices/platform/gpu/drm/card2/card2-HDMI-A-1/edid
/sys/devices/platform/gpu/drm/card2/card2-Writeback-1/edid
/sys/devices/platform/gpu/drm/card2/card2-HDMI-A-2/edid

Now use decode the edid from each HDMI connector.
I’m plugged into HDML-A-1, your monitor may be in that one of HDMI-A-2.

edid-decode < /sys/devices/platform/gpu/drm/card2/card2-HDMI-A-1/edid

I have a Dell monitor plugged and get this output:

edid-decode (hex):

00 ff ff ff ff ff ff 00 10 ac 2c a0 53 35 37 39
0b 12 01 03 80 34 20 78 ea b3 25 ac 51 30 b4 26
10 50 54 a5 4b 00 81 80 a9 40 71 4f 01 01 01 01
01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 30 20
36 00 07 44 21 00 00 1a 00 00 00 ff 00 43 58 32
36 38 38 33 45 39 37 35 53 0a 00 00 00 fc 00 44
45 4c 4c 20 32 34 30 38 57 46 50 0a 00 00 00 fd
00 38 4c 1e 53 11 00 0a 20 20 20 20 20 20 01 29

02 03 1b f1 48 90 05 04 03 02 07 16 01 23 09 07
07 65 03 0c 00 10 00 83 01 00 00 02 3a 80 18 71
38 2d 40 58 2c 45 00 07 44 21 00 00 1e 01 1d 80
18 71 1c 16 20 58 2c 25 00 07 44 21 00 00 9e 01
1d 00 72 51 d0 1e 20 6e 28 55 00 07 44 21 00 00
1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 07 44 21
00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: DEL
    Model: 41004
    Serial Number: 959919443
    Made in: week 11 of 2008
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 52 cm x 32 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6738, 0.3193
    Green: 0.1875, 0.7060
    Blue : 0.1484, 0.0644
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
  Standard Timings:
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x33:  1600x1200   60.000000 Hz   4:3     75.000 kHz    162.000000 MHz
    DMT 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1200   59.950171 Hz  16:10    74.038 kHz    154.000000 MHz (519 mm x 324 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   6 Vback   26 Vpol N
    Display Product Serial Number: 'CX26883E975S'
    Display Product Name: 'DELL 2408WFP'
    Display Range Limits:
      Monitor ranges (GTF): 56-76 Hz V, 30-83 kHz H, max dotclock 170 MHz
  Extension blocks: 1
Checksum: 0x29

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC   7:  1440x480i   59.940060 Hz  16:9     15.734 kHz     27.000000 MHz
    VIC  22:  1440x576i   50.000000 Hz  16:9     15.625 kHz     27.000000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Detailed Timing Descriptors:
    DTD 2:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (519 mm x 324 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    DTD 3:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz (519 mm x 324 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    2 Vsync   5 Vback   15 Vpol P Vfront +0.5 Odd Field
                 Vfront    2 Vsync   5 Vback   15 Vpol P Vback  +0.5 Even Field
    DTD 4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz (519 mm x 324 mm)
                 Hfront  110 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 5:   720x480    59.940060 Hz   3:2     31.469 kHz     27.000000 MHz (519 mm x 324 mm)
                 Hfront   16 Hsync  62 Hback   60 Hpol N
                 Vfront    9 Vsync   6 Vback   30 Vpol N
Checksum: 0x47  Unused space in Extension Block: 28 bytes

If you get this message EDID of 'stdin' was empty. then run this command:

edid-decode < /sys/devices/platform/gpu/drm/card2/card2-HDMI-A-2/edid

If both HDMI-A-1 and HDMI-A-2 have no EDID then you have a bad monitor or a bad cable.
Try replacing cable then the monitor and see if things improve.

Let us know what the output is please.

Ian
could you also let us know what monitor you are using, ie make and model.
its specifications may give a clue to your problem.
regards peter

Hello Peter,

My monitors are Samsung C27F390FH

Thanks

Hello Barry

Before I try this would running my displays though a matrix switcher have anything to do with it?

I only have the one HDMI port

Thanks

It might.
Some kvm switches block edid data transfer. I suggest you connect one of the monitors direct to the laptop (bypassing the switch) and see if there is a difference. If the switch is interfering this would be a very quick way to find out.

so that monitor should do FullHD (1920x1080@60HTS max)
knowing that at the beginning would have eliminated the question about
cable as 1.4a would have been fine.

theres another topic ive been following because I have a RX6800XT , whereby a guy has a black screen when using a kvm switch, and its fine when he removes it from the equation, probably same reason as the edid cant be detected and therefore the system chooses resolution the monitor does not support. , while not directly related to your problem, as barry says, always cut your problem in half, get rid of the unknown from the setup, and see what does work on its own.
regards peter

Hello, I have made a direct HDMI cable connection from my Pi4 to the monitor, no change to report its still stuck on 1824x984 with no option to change it, so I assume that rules out the switcher I am using.

One other thing I am using an adaptor on the HDMI cable to get the mini-HDMI however this is rated for the Pi4 so it should be ok.

How about the EDID data asked for above when directly connected?
From the earlier posts it seems you were not receiving edid data, but was there a change in that data after bypassing the switch?

You said you are using an adapter. Have you tried the mini-hdmi – hdmi cable specifically sold for use with the Pi. The adapter and/or cable should support 4k @ 60 Hz like the Pi itself does. One source is amazon
https://www.amazon.com/AmazonBasics-High-Speed-Mini-HDMI-Adapter-Cable/dp/B014I8UEGY/ref=sr_1_7_ffob_sspa?keywords=mini%2Bhdmi%2Bto%2Bhdmi&qid=1696428318&sr=8-7-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9tdGY&th=1

My RPi 4B does not have an issue when using the cables that were received with the Pi. I have no other cables to test your issue.

Please decode the EDID so that we can prove the the RPi is seeing the EDID.
See my previous reply for how to do this.

Hello, as per the above I installed edid-decode ran it, and all I got is below.

This was done using a direct cable.

]$ sudo find /sys -name edid
/sys/devices/platform/3e513000.framebuffer/drm/card0/card0-Unknown-1/edid
]$ edid-decode < /sys/devices/platform/3e513000.framebuffer/drm/card0/card0-Unknown-1/edid
EDID of 'stdin' was empty.

You have a hardware problem.

You should have seen 2 HDMI edid files in /sys.
I also get empty on my RPi 4 for card0-Unknown-1 as well.

definite hardware or could it be the lead and connector I am using? if it’s hardware think I have gone past the send back date

The Pi4 does have two hdmi out, but I only currently have one socket in use, would that be why I only see one?

You have zero connectors showing up.

See my output in message 20 of this topic.

yes I see what you mean, but could it just be a cable problem?

It could be a cable problem. Also if you can plug into another monitor that is worth checking.
As others have commented KVM’s are notorious for breaking EDID, always test without first.

Now here is a strange one, a direct connection to one of my monitors using raspberry pi 64bit OS gives me in total 8 resolutions to pick from, and 1920x1080 is fine

If that is a different monitor then it seems quite likely that the original monitor is not sending appropriate edid data. It may be too old, improperly designed, or even potentially beginning to fail.

Sorry maybe I worded that a little wrong, it was the same monitor I had been connecting to during this thread, but this time the connection was direct at install and I tried the official raspberry pi OS.

I will be doing the same with the fedora OS next, as it’s looking like being connected via a matrix switcher at install is the problem.

Will post again when I have done that.

Thanks again

Have installed fresh fedora on a direct HDMI connection then loaded KDE workspaces, still the exact same problem as the above postings with the same output as above also, set on wrong resolution with no way to change it to another, which is very strange when using raspberry pi OS, it was fine so my cables and hardware must be ok too.