Jump to content

Only default HDMI resolutions, no EDID modes available


camstar

Recommended Posts

Armbian version 22.05.3 Focal

Nanopi M4V2

 

There seem to be only default modes available with the nanopiM4V2. Manual adding a resolution does not work (it is added, but has no effect when selected)

 

NanoPIM4V2

 

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axi>
   1920x1080     60.00*   60.00    50.00
   1920x1080i    60.00    50.00
   1280x1024     60.02
   1280x960      60.00
   1280x720      60.00    50.00
   1024x768      60.00
   800x600       60.32    56.25
   720x576       50.00
   720x480       59.94

 

The monitor is a Philips 498P (5120 x 1440). On my Pine64  with Armbian (22.05.3 Jammy)  it does support additional resolutions up to 4K. I would like the 2560 x 1440 resolution to work. It looks like the nanopi is not able to read the edid data from the monitor. I have also mentioned this to NicoD and he did confirm this finding. 

 

Pine64

Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
HDMI-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axi>
   3840x1080     59.97 +
   3840x2160     30.00    25.00    24.00    29.97    23.98
   2560x1440     74.97*   59.95
   1920x1080     60.00    60.00    50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08

I have read that in the past this or a similar problem existed which was solved by removing the edid reading from u-boot. I have unsuccessfully tried that by building a new u-boot.

 

Does anyone have a solution?

Link to comment
Share on other sites

I did log an issue and successfully followed the procedure a couple of months ago (will look it it up and update). This included the armbianmonitor -u upload. But never heard of it again. So I hoped another nanopi M4V2 user had maybe solved the problem.

 

I know I am not the only one encountering this problem, but you have to connect a monitor capable of  > 1920 x 1080 resolution to see this happening.

 

Link to comment
Share on other sites

Small update:

 

It seeems the EDID is read by the nanopi.  By using cros-chameleon to convert the edid binary to readable JASON id did get the info for my monitor:

 

{
    "Base": {
        "Basic Display": {
            "Aspect ratio (landscape)": null,
            "Aspect ratio (portrait)": null,
            "Color Bit Depth": null,
            "Continuous frequency supported": false,
            "DPM active-off supported": true,
            "DPM standby supported": false,
            "DPM suspend supported": false,
            "Digital Video Interface Standard Support": null,
            "Display color type": "RGB 4:4:4 + YCrCb 4:4:4",
            "Display gamma": 2.2,
            "Maximum dimensions (cm)": {
                "x": 119,
                "y": 34
            },
            "Preferred timing includes native timing pixel format and refresh rate": true,
            "Video input type": "Digital",
            "sRGB Standard is default colour space": true
        },
        "Chromaticity": {
            "Blue": {
                "x": 153,
                "y": 68
            },
            "Green": {
                "x": 287,
                "y": 660
            },
            "Red": {
                "x": 691,
                "y": 321
            },
            "White": {
                "x": 320,
                "y": 337
            }
        },
        "Descriptors": [
            {
                "Addressable": {
                    "x": 3840,
                    "y": 1080
                },
                "Blanking": {
                    "x": 160,
                    "y": 31
                },
                "Border": {
                    "x": 0,
                    "y": 0
                },
                "Front porch": {
                    "x": 48,
                    "y": 3
                },
                "Image size (mm)": {
                    "x": 1193,
                    "y": 336
                },
                "Interlace": false,
                "Pixel clock (MHz)": 266.5,
                "Stereo viewing": "No stereo",
                "Sync pulse": {
                    "x": 32,
                    "y": 10
                },
                "Sync type": {
                    "Horizontal sync (outside of V-sync)": "Positive",
                    "Type": "Digital Separate Sync",
                    "Vertical sync": "Negative"
                },
                "Type": "Detailed Timing Descriptor"
            },
            {
                "Data string": "AU02102000537",
                "Type": "Display Product Serial Number"
            },
            {
                "Data string": "PHL 498P9",
                "Type": "Display Product Name"
            },
            {
                "Horizontal rate (kHz)": {
                    "Maximum": 114,
                    "Minimum": 30
                },
                "Pixel clock (MHz)": 600,
                "Subtype": "Default GTF supported",
                "Type": "Display Range Limits Descriptor",
                "Vertical rate (Hz)": {
                    "Maximum": 75,
                    "Minimum": 48
                }
            }
        ],
        "Established Timing": {
            "1024x768 @ 60 Hz": true,
            "1024x768 @ 72 Hz": true,
            "1024x768 @ 75 Hz": true,
            "1024x768 @ 87 Hz, interlaced (1024x768i)": false,
            "1152x870 @ 75 Hz (Apple Macintosh II)": false,
            "1280x1024 @ 75 Hz": true,
            "640x480 @ 60 Hz": true,
            "640x480 @ 67 Hz": true,
            "640x480 @ 72 Hz": true,
            "640x480 @ 75 Hz": true,
            "720x400 @ 70 Hz": true,
            "720x400 @ 88 Hz": false,
            "800x600 @ 56 Hz": true,
            "800x600 @ 60 Hz": true,
            "800x600 @ 72 Hz": true,
            "800x600 @ 75 Hz": true,
            "832x624 @ 75 Hz": true,
            "Manufacturer specific display mode 1": false,
            "Manufacturer specific display mode 2": false,
            "Manufacturer specific display mode 3": false,
            "Manufacturer specific display mode 4": false,
            "Manufacturer specific display mode 5": false,
            "Manufacturer specific display mode 6": false,
            "Manufacturer specific display mode 7": false
        },
        "Manufacturer Info": {
            "ID Product Code": 2388,
            "Manufacturer ID": "PHL",
            "Model year": null,
            "Serial number": 537,
            "Week of manufacture": 2,
            "Year of manufacture": 2021
        },
        "Standard Timing": [
            {
                "Frequency": 60,
                "Ratio": "16:9",
                "X resolution": 1920
            },
            {
                "Frequency": 60,
                "Ratio": "16:10",
                "X resolution": 1680
            },
            {
                "Frequency": 60,
                "Ratio": "16:10",
                "X resolution": 1440
            },
            {
                "Frequency": 60,
                "Ratio": "5:4",
                "X resolution": 1280
            },
            {
                "Frequency": 60,
                "Ratio": "4:3",
                "X resolution": 1280
            },
            {
                "Frequency": 60,
                "Ratio": "16:9",
                "X resolution": 1280
            }
        ]
    },
    "Extensions": [
        {
            "Basic audio": true,
            "Data blocks": [
                {
                    "Short video descriptors": [
                        {
                            "Nativity": "Non-native",
                            "VIC": 16
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 31
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 5
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 20
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 4
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 19
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 3
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 18
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 2
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 17
                        },
                        {
                            "Nativity": "Non-native",
                            "VIC": 1
                        },
                        {
                            "Nativity": "Unspecified",
                            "VIC": 96
                        },
                        {
                            "Nativity": "Unspecified",
                            "VIC": 97
                        },
                        {
                            "Nativity": "Unspecified",
                            "VIC": 93
                        },
                        {
                            "Nativity": "Unspecified",
                            "VIC": 94
                        },
                        {
                            "Nativity": "Unspecified",
                            "VIC": 95
                        }
                    ],
                    "Type": "Video Data Block"
                },
                {
                    "Short audio descriptors": [
                        {
                            "Bit depth": {
                                "16 bit": true,
                                "20 bit": true,
                                "24 bit": true
                            },
                            "Max channel count": 2,
                            "Supported sampling": {
                                "176.4kHz": false,
                                "192kHz": false,
                                "32kHz": true,
                                "44.1kHz": true,
                                "48kHz": true,
                                "88.2kHz": false,
                                "96kHz": false
                            },
                            "Type": "Linear Pulse Code Modulation (LPCM)"
                        }
                    ],
                    "Type": "Audio Data Block"
                },
                {
                    "Speaker allocation": {
                        "Front Center": false,
                        "Front Center High": false,
                        "Front Left / Front Right": true,
                        "Front Left Center / Front Right Center": false,
                        "Front Left High / Front Right High": false,
                        "Front Left Wide / Front Right Wide": false,
                        "LFE": false,
                        "Rear Center": false,
                        "Rear Left / Rear Right": false,
                        "Rear Left Center / Rear Right Center": false,
                        "Top Center": false
                    },
                    "Type": "Speaker Allocation Block"
                },
                {
                    "Data payload": [
                        16,
                        0,
                        0,
                        60
                    ],
                    "IEEE OUI": "00-0c-03",
                    "Type": "Vendor-Specific Data Block"
                },
                {
                    "Data payload": [
                        1,
                        120,
                        128,
                        0
                    ],
                    "IEEE OUI": "c4-5d-d8",
                    "Type": "Vendor-Specific Data Block"
                },
                {
                    "Supported descriptor indices": [
                        11,
                        12
                    ],
                    "Type": "YCbCr 4:2:0 Capability Map Data Block"
                },
                {
                    "Data payload": [
                        1,
                        1,
                        48,
                        75,
                        230
                    ],
                    "IEEE OUI": "00-00-1a",
                    "Type": "Vendor-Specific Data Block"
                }
            ],
            "Descriptors": [
                {
                    "Addressable": {
                        "x": 3840,
                        "y": 1080
                    },
                    "Blanking": {
                        "x": 160,
                        "y": 31
                    },
                    "Border": {
                        "x": 0,
                        "y": 0
                    },
                    "Front porch": {
                        "x": 48,
                        "y": 3
                    },
                    "Image size (mm)": {
                        "x": 1193,
                        "y": 336
                    },
                    "Interlace": false,
                    "Pixel clock (MHz)": 333.3,
                    "Stereo viewing": "No stereo",
                    "Sync pulse": {
                        "x": 32,
                        "y": 10
                    },
                    "Sync type": {
                        "Horizontal sync (outside of V-sync)": "Positive",
                        "Type": "Digital Separate Sync",
                        "Vertical sync": "Negative"
                    },
                    "Type": "Detailed Timing Descriptor"
                },
                {
                    "Addressable": {
                        "x": 2560,
                        "y": 1440
                    },
                    "Blanking": {
                        "x": 106,
                        "y": 41
                    },
                    "Border": {
                        "x": 0,
                        "y": 0
                    },
                    "Front porch": {
                        "x": 8,
                        "y": 3
                    },
                    "Image size (mm)": {
                        "x": 1193,
                        "y": 336
                    },
                    "Interlace": false,
                    "Pixel clock (MHz)": 296.0,
                    "Stereo viewing": "No stereo",
                    "Sync pulse": {
                        "x": 32,
                        "y": 5
                    },
                    "Sync type": {
                        "Horizontal sync (outside of V-sync)": "Positive",
                        "Type": "Digital Separate Sync",
                        "Vertical sync": "Negative"
                    },
                    "Type": "Detailed Timing Descriptor"
                },
                {
                    "Addressable": {
                        "x": 2560,
                        "y": 1440
                    },
                    "Blanking": {
                        "x": 160,
                        "y": 41
                    },
                    "Border": {
                        "x": 0,
                        "y": 0
                    },
                    "Front porch": {
                        "x": 48,
                        "y": 3
                    },
                    "Image size (mm)": {
                        "x": 1193,
                        "y": 336
                    },
                    "Interlace": false,
                    "Pixel clock (MHz)": 241.5,
                    "Stereo viewing": "No stereo",
                    "Sync pulse": {
                        "x": 32,
                        "y": 5
                    },
                    "Sync type": {
                        "Horizontal sync (outside of V-sync)": "Positive",
                        "Type": "Digital Separate Sync",
                        "Vertical sync": "Positive"
                    },
                    "Type": "Detailed Timing Descriptor"
                }
            ],
            "Native DTD count": 1,
            "Type": "CEA-861 Series Timing Extension",
            "Underscan": true,
            "Version": 3,
            "YCbCr 4:2:2": true,
            "YCbCr 4:4:4": true
        }
    ],
    "Version": "1.3"
}

 

This was found in the /sys/class/drm/card0-HDMI-A-1/edid file. 

 

If I look in the Xorg.log there are two sets of modes, the default and the EDID modes under Supported established timings and the Philips monitor timings under supported detailed timings, but the latter cannot be selected or activated in the display settings.

 

[    20.481] (II) modeset(0): Supported established timings:
[    20.481] (II) modeset(0): 720x400@70Hz
[    20.481] (II) modeset(0): 640x480@60Hz
[    20.481] (II) modeset(0): 640x480@67Hz
[    20.481] (II) modeset(0): 640x480@72Hz
[    20.481] (II) modeset(0): 640x480@75Hz
[    20.481] (II) modeset(0): 800x600@56Hz
[    20.481] (II) modeset(0): 800x600@60Hz
[    20.481] (II) modeset(0): 800x600@72Hz
[    20.481] (II) modeset(0): 800x600@75Hz
[    20.481] (II) modeset(0): 832x624@75Hz
[    20.481] (II) modeset(0): 1024x768@60Hz
[    20.481] (II) modeset(0): 1024x768@70Hz
[    20.481] (II) modeset(0): 1024x768@75Hz
[    20.481] (II) modeset(0): 1280x1024@75Hz
[    20.481] (II) modeset(0): Manufacturer's mask: 0
[    20.481] (II) modeset(0): Supported standard timings:
[    20.481] (II) modeset(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[    20.481] (II) modeset(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    20.481] (II) modeset(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    20.481] (II) modeset(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    20.481] (II) modeset(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    20.481] (II) modeset(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    20.481] (II) modeset(0): Supported detailed timing:
[    20.481] (II) modeset(0): clock: 266.5 MHz   Image Size:  1193 x 336 mm
[    20.481] (II) modeset(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[    20.481] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1093 v_blanking: 1111 v_border: 0
[    20.481] (II) modeset(0): Serial No: AU02102000537
[    20.481] (II) modeset(0): Monitor name: PHL 498P9
[    20.481] (II) modeset(0): Ranges: V min: 48 V max: 75 Hz, H min: 30 H max: 114 kHz, PixClock max 605 MHz
[    20.481] (II) modeset(0): Supported detailed timing:
[    20.481] (II) modeset(0): clock: 333.3 MHz   Image Size:  1193 x 336 mm
[    20.481] (II) modeset(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[    20.481] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1093 v_blanking: 1111 v_border: 0
[    20.481] (II) modeset(0): Supported detailed timing:
[    20.481] (II) modeset(0): clock: 296.0 MHz   Image Size:  1193 x 336 mm
[    20.482] (II) modeset(0): h_active: 2560  h_sync: 2568  h_sync_end 2600 h_blank_end 2666 h_border: 0
[    20.482] (II) modeset(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[    20.482] (II) modeset(0): Supported detailed timing:
[    20.482] (II) modeset(0): clock: 241.5 MHz   Image Size:  1193 x 336 mm
[    20.482] (II) modeset(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[    20.482] (II) modeset(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[    20.482] (II) modeset(0): Number of EDID sections to follow: 1

 

There was an entry in the log regarding the dimensions of the screen (it is a 5k ultra wide Philips 498P) , but keeping in mind the resolutions above 1920x1080 also don't work on a regular sized 4K monitor I don't think this is a problem:

 

[    51.351] (WW) modeset(0): Output HDMI-1: Strange aspect ratio (1193/336), consider adding a quirk
[    51.352] (WW) modeset(0): Output HDMI-1: Strange aspect ratio (1193/336), consider adding a quirk
[    51.352] (WW) modeset(0): Output HDMI-1: Strange aspect ratio (1193/336), consider adding a quirk
[    51.352] (WW) modeset(0): Output HDMI-1: Strange aspect ratio (1193/336), consider adding a quirk

 

Also I don't now how to add a quirk to solve this.

 

 

How to make these resolutions availabe in X11? I have tried the XRANDR and CVT route, but without success.

Edited by camstar
added quirk info
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines