Missing HDMI pixel clock frequencies on DG2 and MTL for 21:9 widescreen
When using ARC dGPU or Meteor Lake iGPU the max resolution is 1920x1080 on a widescreen HDMI display (max resolution 3440x1440), because some pixel clock frequencies are missing for HDMI in intel_snps_phy.c for those platforms:
The missing modelines > 1920x1080 based on my EDID are:
Modeline "3440x1440_49.99" 265.25 3440 3488 3520 3600 1440 1443 1453 1474 +hsync -vsync (73.7 kHz eP)
Modeline "3440x1440_29.99" 157.75 3440 3488 3520 3600 1440 1443 1453 1461 +hsync -vsync (43.8 kHz e)
Modeline "2560x1080_60.00" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync (66.7 kHz e)
i915 with drm.debug=0xe shows all the missing HDMI pixel clock frequencies:
...
[ 3.702935] i915 0000:00:02.0: [drm:intel_hdmi_detect [i915]] [CONNECTOR:246:HDMI-A-2]
...
[ 3.731356] [drm:drm_mode_debug_printmodeline] Modeline "3440x1440": 50 265250 3440 3488 3520 3600 1440 1443 1453 1474 0x48 0x9
[ 3.731374] [drm:drm_mode_prune_invalid] Not using 3440x1440 mode: CLOCK_RANGE
[ 3.731384] [drm:drm_mode_debug_printmodeline] Modeline "3440x1440": 30 157750 3440 3488 3520 3600 1440 1443 1453 1461 0x40 0x9
[ 3.731397] [drm:drm_mode_prune_invalid] Not using 3440x1440 mode: CLOCK_RANGE
[ 3.731406] [drm:drm_mode_debug_printmodeline] Modeline "2560x1080": 60 185580 2560 2624 2688 2784 1080 1083 1093 1111 0x40 0xa
[ 3.731418] [drm:drm_mode_prune_invalid] Not using 2560x1080 mode: CLOCK_RANGE
[ 3.731427] [drm:drm_mode_debug_printmodeline] Modeline "1152x864": 60 81579 1152 1216 1336 1520 864 865 868 895 0x0 0x6
[ 3.731440] [drm:drm_mode_prune_invalid] Not using 1152x864 mode: CLOCK_RANGE
[ 3.731449] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[ 3.731461] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 3.731470] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[ 3.731481] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
and those modlines cannot be used with manual setting (xrandr > 2560x1080@60):
[drm:intel_hdmi_compute_config [i915]] unsupported HDMI clock (185580 kHz), rejecting mode
I also tried the timing from #8008 (closed) (2560x1080@60 > 181.250 MHz) but it looks like https://patchwork.freedesktop.org/patch/526479/?series=115036&rev=1 was never merged.
[ 62.008688] i915 0000:00:02.0: [drm:intel_hdmi_compute_config [i915]] unsupported HDMI clock (181250 kHz), rejecting mode
[ 62.009590] i915 0000:00:02.0: [drm:intel_modeset_pipe_config [i915]] [ENCODER:245:DDI B/PHY B] config failure: -22
btw. tested on Linux 6.8.0-31-generic from Ubuntu 24.04 LTS, but I see the same on 6.9 kernel source:
static const struct intel_mpllb_state * const dg2_hdmi_tables[] = {
&dg2_hdmi_25_175,
&dg2_hdmi_27_0,
&dg2_hdmi_74_25,
&dg2_hdmi_148_5,
&dg2_hdmi_297,
&dg2_hdmi_594,
&dg2_hdmi_25200,
&dg2_hdmi_27027,
&dg2_hdmi_28320,
&dg2_hdmi_30240,
&dg2_hdmi_31500,
&dg2_hdmi_36000,
&dg2_hdmi_40000,
&dg2_hdmi_49500,
&dg2_hdmi_50000,
&dg2_hdmi_57284,
&dg2_hdmi_58000,
&dg2_hdmi_65000,
&dg2_hdmi_71000,
&dg2_hdmi_74176,
&dg2_hdmi_75000,
&dg2_hdmi_78750,
&dg2_hdmi_85500,
&dg2_hdmi_88750,
&dg2_hdmi_106500,
&dg2_hdmi_108000,
&dg2_hdmi_115500,
&dg2_hdmi_119000,
&dg2_hdmi_135000,
&dg2_hdmi_138500,
&dg2_hdmi_147160,
&dg2_hdmi_148352,
&dg2_hdmi_154000,
&dg2_hdmi_162000,
&dg2_hdmi_209800,
&dg2_hdmi_241500,
&dg2_hdmi_262750,
&dg2_hdmi_267300,
&dg2_hdmi_268500,
&dg2_hdmi_296703,
&dg2_hdmi_319890,
&dg2_hdmi_497750,
&dg2_hdmi_592000,
&dg2_hdmi_593407,
NULL,
};
please tell me if you need more information
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author
edid-decode (hex): 00 ff ff ff ff ff ff 00 1e 6d d7 76 a6 48 03 00 06 18 01 03 80 50 22 78 ea ca 95 a6 55 4e a1 26 0f 50 54 21 08 00 71 40 81 80 81 c0 a9 c0 b3 00 d1 c0 81 00 01 01 9d 67 70 a0 d0 a0 22 50 30 20 3a 00 20 4f 31 00 00 1a 00 00 00 fd 00 38 3d 1e 5a 1e 00 0a 20 20 20 20 20 20 00 00 00 fc 00 33 34 55 4d 39 35 0a 20 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 0f 02 03 17 f1 44 10 04 03 01 23 09 07 07 83 01 00 00 65 03 0c 00 10 00 9f 3d 70 a0 d0 a0 15 50 30 20 3a 00 20 4f 31 00 00 1a 7e 48 00 e0 a0 38 1f 40 40 40 3a 00 20 4f 31 00 00 18 01 1d 00 72 51 d0 1e 20 6e 28 55 00 20 4f 31 00 00 1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 20 4f 31 00 00 18 00 00 00 ff 00 34 30 36 4b 4b 52 54 36 42 32 30 36 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b1 ---------------- Block 0, Base EDID: EDID Structure Version & Revision: 1.3 Vendor & Product Identification: Manufacturer: GSM Model: 30423 Serial Number: 215206 Made in: week 6 of 2014 Basic Display Parameters & Features: Digital display Maximum image size: 80 cm x 34 cm Gamma: 2.20 DPMS levels: Standby Suspend Off RGB color display First detailed timing is the preferred timing Color Characteristics: Red : 0.6513, 0.3320 Green: 0.3066, 0.6308 Blue : 0.1503, 0.0595 White: 0.3134, 0.3291 Established Timings I & II: DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz Standard Timings: GTF : 1152x864 60.000000 Hz 4:3 53.700 kHz 81.624000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz DMT 0x53: 1600x900 60.000000 Hz 16:9 60.000 kHz 108.000000 MHz (RB) DMT 0x3a: 1680x1050 59.954250 Hz 16:10 65.290 kHz 146.250000 MHz DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz DMT 0x1c: 1280x800 59.810326 Hz 16:10 49.702 kHz 83.500000 MHz Detailed Timing Descriptors: DTD 1: 3440x1440 49.986808 Hz 43:18 73.681 kHz 265.250000 MHz (800 mm x 335 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 10 Vback 21 Vpol N Display Range Limits: Monitor ranges (GTF): 56-61 Hz V, 30-90 kHz H, max dotclock 300 MHz Display Product Name: '34UM95' Empty Descriptor Extension blocks: 1 Checksum: 0x0f ---------------- 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 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 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 Speaker Allocation Data Block: FL/FR - Front Left/Right Vendor-Specific Data Block (HDMI), OUI 00-0C-03: Source physical address: 1.0.0.0 Detailed Timing Descriptors: DTD 2: 3440x1440 29.992775 Hz 43:18 43.819 kHz 157.750000 MHz (800 mm x 335 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 10 Vback 8 Vpol N DTD 3: 2560x1080 59.999534 Hz 64:27 66.659 kHz 185.580000 MHz (800 mm x 335 mm) Hfront 64 Hsync 64 Hback 96 Hpol N Vfront 3 Vsync 10 Vback 18 Vpol N DTD 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz (800 mm x 335 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 (800 mm x 335 mm) Hfront 16 Hsync 62 Hback 60 Hpol N Vfront 9 Vsync 6 Vback 30 Vpol N Display Product Serial Number: '406KKRT6B206' Checksum: 0xb1
edid:edid.bin
- Tejasree Illipilli added Community label
added Community label
- Reporter
please attach full dmesg logs: as in below instructions: drm.debug=0x1e log_buf_len=4M https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
- Suresh added feature: display/HDMI label
added feature: display/HDMI label
- Reporter
@aknautiyal @uma_mnnit @vsyrjala @jani It seems to be the same known issue with the pre-calculated table based clock values but I am surprised why this is seen on MTL ? Cc: @jani.saarinen
Collapse replies - Owner
Why wouldn't it be seen on MTL? Just another set of C10/C20 PHY clock values.
- Reporter
What I understood from code that C20 is calculating the PHY PLL in display/intel_cx0_phy.c : static int intel_c20_compute_hdmi_tmds_pll(u64 pixel_clock, struct intel_c20pll_state *pll_state)
Edited by Suresh
- Author
attached the full dmesg drm debug log with the MTL platform: MTL_i915_debug_0xe.txt
relevant parts are already in first post. Thank you for your support.
btw. I bought a 2nd display which should arrive tomorrow at my end
- Author
and the full dmesg drm debug log with DG2 platform: DG2_i915_debug_0xe.txt
- Author
btw. I tested with the new display (standard asus UHD wide screen - not ultra wide screen) on the MTL iGPU and there are less HDMI pixel clock frequencies that get rejected:
[ 3.900779] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:246:HDMI-A-2] status updated from unknown to connected [ 3.901791] [drm:drm_mode_debug_printmodeline] Modeline "1920x2160": 60 277250 1920 1968 2000 2080 2160 2163 2173 2222 0x40 0x9 [ 3.901805] [drm:drm_mode_prune_invalid] Not using 1920x2160 mode: CLOCK_RANGE [ 3.901813] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa [ 3.901823] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE [ 3.901830] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15 [ 3.901840] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE [ 3.901847] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa [ 3.901856] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE [ 3.901863] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15 [ 3.901872] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE [ 3.901878] [drm:drm_mode_debug_printmodeline] Modeline "1440x480": 60 54000 1440 1472 1596 1716 480 489 495 525 0x40 0xa [ 3.901887] [drm:drm_mode_prune_invalid] Not using 1440x480 mode: CLOCK_RANGE [ 3.901894] [drm:drm_mode_debug_printmodeline] Modeline "1440x480": 60 54000 1440 1472 1596 1716 480 489 495 525 0x40 0xa [ 3.901902] [drm:drm_mode_prune_invalid] Not using 1440x480 mode: CLOCK_RANGE [ 3.901909] [drm:drm_mode_debug_printmodeline] Modeline "1440x576": 50 54000 1440 1464 1592 1728 576 581 586 625 0x40 0xa [ 3.901918] [drm:drm_mode_prune_invalid] Not using 1440x576 mode: CLOCK_RANGE [ 3.901925] [drm:drm_mode_debug_printmodeline] Modeline "1440x576": 50 54000 1440 1464 1592 1728 576 581 586 625 0x40 0xa [ 3.901933] [drm:drm_mode_prune_invalid] Not using 1440x576 mode: CLOCK_RANGE [ 3.901940] [drm:drm_mode_debug_printmodeline] Modeline "720x480i": 60 13500 720 739 801 858 480 488 494 525 0x40 0x101a [ 3.901949] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE [ 3.901956] [drm:drm_mode_debug_printmodeline] Modeline "720x480i": 60 13500 720 739 801 858 480 488 494 525 0x40 0x101a [ 3.901964] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE [ 3.901971] [drm:drm_mode_debug_printmodeline] Modeline "720x576i": 50 13500 720 732 795 864 576 580 586 625 0x40 0x101a [ 3.901979] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE [ 3.901986] [drm:drm_mode_debug_printmodeline] Modeline "720x576i": 50 13500 720 732 795 864 576 580 586 625 0x40 0x101a [ 3.901994] [drm:drm_mode_prune_invalid] Not using 720x576i mode: NO_INTERLACE [ 3.902001] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15 [ 3.902010] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE [ 3.902016] [drm:drm_mode_debug_printmodeline] Modeline "1440x480": 60 54054 1440 1472 1596 1716 480 489 495 525 0x40 0xa [ 3.902025] [drm:drm_mode_prune_invalid] Not using 1440x480 mode: CLOCK_RANGE [ 3.902031] [drm:drm_mode_debug_printmodeline] Modeline "1440x480": 60 54054 1440 1472 1596 1716 480 489 495 525 0x40 0xa [ 3.902040] [drm:drm_mode_prune_invalid] Not using 1440x480 mode: CLOCK_RANGE [ 3.902047] [drm:drm_mode_debug_printmodeline] Modeline "720x480i": 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a [ 3.902055] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE [ 3.902062] [drm:drm_mode_debug_printmodeline] Modeline "720x480i": 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a [ 3.902070] [drm:drm_mode_prune_invalid] Not using 720x480i mode: NO_INTERLACE
edid:
edid-decode (hex): 00 ff ff ff ff ff ff 00 06 b3 63 32 01 01 01 01 2e 20 01 03 80 47 28 78 ee d7 f9 ad 50 33 b8 26 0b 4c 51 af cf 00 71 4f 81 80 81 40 95 00 a9 40 b3 00 d1 c0 d1 00 08 e8 00 30 f2 70 5a 80 b0 58 8a 00 c4 8f 21 00 00 1a 00 00 00 fd 00 2d 41 6d 8e 3c 00 0a 20 20 20 20 20 20 00 00 00 fc 00 50 41 33 32 39 43 0a 20 20 20 20 20 20 00 00 00 ff 00 4e 42 4c 4d 51 53 30 30 39 30 38 31 0a 01 cb 02 03 55 f0 58 61 60 5f 5e 5d 10 05 04 03 02 01 11 12 13 14 1f 0e 0f 1d 1e 06 07 15 16 23 09 07 07 83 01 00 00 e2 00 6a 6d 03 0c 00 10 00 38 44 20 00 60 01 02 03 67 d8 5d c4 01 78 80 01 68 1a 00 00 01 01 2d 41 e6 e3 05 ff 01 e2 0f 03 e6 06 07 01 73 5a 00 56 5e 00 a0 a0 a0 29 50 30 20 35 00 c4 8f 21 00 00 1a 4d 6c 80 a0 70 70 3e 80 30 20 3a 00 c4 8f 21 00 00 1a 00 00 00 00 00 00 55 ---------------- Block 0, Base EDID: EDID Structure Version & Revision: 1.3 Vendor & Product Identification: Manufacturer: AUS Model: 12899 Serial Number: 16843009 Made in: week 46 of 2022 Basic Display Parameters & Features: Digital display Maximum image size: 71 cm x 40 cm Gamma: 2.20 DPMS levels: Standby Suspend Off RGB color display Default (sRGB) color space is primary color space First detailed timing is the preferred timing Color Characteristics: Red : 0.6787, 0.3134 Green: 0.2001, 0.7216 Blue : 0.1513, 0.0458 White: 0.2988, 0.3173 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 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.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 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.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 0x15: 1152x864 75.000000 Hz 4:3 67.500 kHz 108.000000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz DMT 0x20: 1280x960 60.000000 Hz 4:3 60.000 kHz 108.000000 MHz DMT 0x2f: 1440x900 59.887445 Hz 16:10 55.935 kHz 106.500000 MHz DMT 0x33: 1600x1200 60.000000 Hz 4:3 75.000 kHz 162.000000 MHz DMT 0x3a: 1680x1050 59.954250 Hz 16:10 65.290 kHz 146.250000 MHz DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz DMT 0x45: 1920x1200 59.884600 Hz 16:10 74.556 kHz 193.250000 MHz Detailed Timing Descriptors: DTD 1: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz (708 mm x 399 mm) Hfront 176 Hsync 88 Hback 296 Hpol P Vfront 8 Vsync 10 Vback 72 Vpol N Display Range Limits: Monitor ranges (GTF): 45-65 Hz V, 109-142 kHz H, max dotclock 600 MHz Display Product Name: 'PA329C' Display Product Serial Number: 'NBLMQS009081' Extension blocks: 1 Checksum: 0xcb ---------------- 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: 0 Video Data Block: VIC 97: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz VIC 96: 3840x2160 50.000000 Hz 16:9 112.500 kHz 594.000000 MHz VIC 95: 3840x2160 30.000000 Hz 16:9 67.500 kHz 297.000000 MHz VIC 94: 3840x2160 25.000000 Hz 16:9 56.250 kHz 297.000000 MHz VIC 93: 3840x2160 24.000000 Hz 16:9 54.000 kHz 297.000000 MHz VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz 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 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz VIC 14: 1440x480 59.940060 Hz 4:3 31.469 kHz 54.000000 MHz VIC 15: 1440x480 59.940060 Hz 16:9 31.469 kHz 54.000000 MHz VIC 29: 1440x576 50.000000 Hz 4:3 31.250 kHz 54.000000 MHz VIC 30: 1440x576 50.000000 Hz 16:9 31.250 kHz 54.000000 MHz VIC 6: 1440x480i 59.940060 Hz 4:3 15.734 kHz 27.000000 MHz VIC 7: 1440x480i 59.940060 Hz 16:9 15.734 kHz 27.000000 MHz VIC 21: 1440x576i 50.000000 Hz 4:3 15.625 kHz 27.000000 MHz VIC 22: 1440x576i 50.000000 Hz 16:9 15.625 kHz 27.000000 MHz Audio Data Block: Linear PCM: Max channels: 2 Supported sample rates (kHz): 48 44.1 32 Supported sample sizes (bits): 24 20 16 Speaker Allocation Data Block: FL/FR - Front Left/Right Video Capability Data Block: YCbCr quantization: No Data RGB quantization: Selectable (via AVI Q) PT scan behavior: Always Underscanned IT scan behavior: Always Underscanned CE scan behavior: Always Underscanned Vendor-Specific Data Block (HDMI), OUI 00-0C-03: Source physical address: 1.0.0.0 DC_36bit DC_30bit DC_Y444 Maximum TMDS clock: 340 MHz Extended HDMI video details: HDMI VICs: HDMI VIC 1: 3840x2160 30.000000 Hz 16:9 67.500 kHz 297.000000 MHz HDMI VIC 2: 3840x2160 25.000000 Hz 16:9 56.250 kHz 297.000000 MHz HDMI VIC 3: 3840x2160 24.000000 Hz 16:9 54.000 kHz 297.000000 MHz Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8: Version: 1 Maximum TMDS Character Rate: 600 MHz SCDC Present Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding Vendor-Specific Data Block (AMD), OUI 00-00-1A: Version: 1.1 Minimum Refresh Rate: 45 Hz Maximum Refresh Rate: 65 Hz Flags 1.x: 0xe6 (MCCS) Colorimetry Data Block: xvYCC601 xvYCC709 sYCC601 opYCC601 opRGB BT2020cYCC BT2020YCC BT2020RGB Reserved MD0 YCbCr 4:2:0 Capability Map Data Block: VIC 97: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz VIC 96: 3840x2160 50.000000 Hz 16:9 112.500 kHz 594.000000 MHz HDR Static Metadata Data Block: Electro optical transfer functions: Traditional gamma - SDR luminance range Traditional gamma - HDR luminance range SMPTE ST2084 Supported static metadata descriptors: Static metadata type 1 Desired content max luminance: 115 (603.666 cd/m^2) Desired content max frame-average luminance: 90 (351.250 cd/m^2) Desired content min luminance: 0 (0.000 cd/m^2) Detailed Timing Descriptors: DTD 2: 2560x1440 59.950550 Hz 16:9 88.787 kHz 241.500000 MHz (708 mm x 399 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 33 Vpol N DTD 3: 1920x2160 59.987970 Hz 8:9 133.293 kHz 277.250000 MHz (708 mm x 399 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 10 Vback 49 Vpol N Checksum: 0x55
- Suresh added platform: ADL_P platform: MTL_P labels
added platform: ADL_P platform: MTL_P labels
- Reporter
@lintomdev Thanks for the logs, we are looking further for the resolution.
Hi. Do you need support in checking the solution? I also have this problem with the LG UltraWide 34" monitor.
- Reporter
@marplusz Yes, we will share the solution soon.
- Developer
@marplusz Can you check with the below patches: https://patchwork.freedesktop.org/series/134542/
Collapse replies - Author
I tried rev 3 from today - but there are still build errors in: ERROR: modpost: "intel_snps_phy_compute_hdmi_tmds_pll" [drivers/gpu/drm/xe/xe.ko] undefined! ERROR: modpost: "intel_c10_phy_compute_hdmi_tmds_pll" [drivers/gpu/drm/xe/xe.ko] undefined!
Are you also syncing your changes to the xe driver tree or do I have to create a separate issue in the other space?
btw. I'll test again whenever you say you are ready.
I had the same problem. In the file intel_pll_algorithm.c i added at the end
EXPORT_SYMBOL(intel_c10_phy_compute_hdmi_tmds_pll); EXPORT_SYMBOL(intel_snps_phy_compute_hdmi_tmds_pll);
The compilation was then successful.
- Developer
@marplusz @lintomdev Thanks for trying the patches.
I have tested with i915 driver only for now, not made changes with XE driver yet, missed to mention that upfront.
Latest rev will have some issues with XE as some other changes are missing on which the rev 3 depends.
I will do the needful changes for XE, and share the patches here.
1
I'm a beginner in Linux, so please verify my testing steps:
git clone git://anongit.freedesktop.org/drm-tip cd drm-tip/ git am Add-HDMI-PLL-Algorithm-for-SNPS-C10PHY.mbox cp /boot/config-`uname -r`* .config make olddefconfig make sudo make modules_install sudo makeinstall sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Compilation errors occurred. I added the following to the intel_pll_algorithm.c file:
EXPORT_SYMBOL(intel_c10_phy_compute_hdmi_tmds_pll); EXPORT_SYMBOL(intel_snps_phy_compute_hdmi_tmds_pll);
Now the compilation went without errors and I received the Linux fedora 6.10.0-rc2+ kernel.
The test result is positive. On my external monitor I got 3440x1440@85
xrandr Screen 0: minimum 16 x 16, current 6320 x 1800, maximum 32767 x 32767 HDMI-1 connected 3440x1440+2880+0 (normal left inverted right x axis y axis) 800mm x 330mm 3440x1440 84.93*+ 1920x1440 84.94 1600x1200 84.95 1440x1080 84.80 1400x1050 84.84 1280x1024 84.84 1280x960 84.86 1152x864 84.79 1024x768 84.89 800x600 84.52 640x480 84.60 320x240 83.33 1920x1200 84.93 1680x1050 84.84 1440x900 84.84 1280x800 84.88 1152x720 84.70 960x600 84.68 928x580 84.66 800x500 84.68 768x480 84.50 720x480 84.49 640x400 84.74 320x200 82.16 2560x1440 84.90 2048x1152 84.87 1920x1080 84.88 1600x900 84.85 1368x768 84.85 1280x720 84.85 1024x576 84.75 864x486 84.85 720x400 84.89 640x350 84.23
Collapse replies - Author
thank you for testing the patches - btw. you should never need to change the code/patches the developer provided
- Developer
For XE driver :
0001-drm-i915-display-Revert-drm-i915-display-Skip-C10-st.patch
0002-drm-i915-display-Add-compare-config-for-MTL-platform.patch
0003-drm-i915-display-Add-support-for-SNPS-PHY-HDMI-PLL-a.patch
0004-drm-i915-snps_phy-Use-HDMI-PLL-algorithm-for-DG2.patch
0005-drm-i915-cx0_phy_regs-Add-C10-registers-bits.patch
0006-drm-i915-pll_algorithm-Compute-C10-HDMI-PLLs-with-al.patch
Collapse replies - Author
ok, 0001+0002 were already in the latest drm-tip
I applied 3,4,5,6 -> build ok this time
and I tested with the MTL platform.
i915 debug 0xe: MTL_i915_debug_0xe_retest.txt
xe debug 0xe: MTL_xe_debug_0xe_retest.txt
I can confirm your new calculation works 100% with the ultra widescreen and also with the normal widescreen display.
Good job, I like your approach calculating instead of using fixed values.
Do I need to do something else so that your patches can be included in the drm tree?
Edited by Tom Lin
- Developer
Patch sent to intel-gfx and xe for review: https://patchwork.freedesktop.org/series/135397/
Collapse replies - Author
changes are ok, but nobody reviewed it so far - can you ping any of your colleagues to take a look?
1 @aknautiyal Is there any chance that these patches will eventually be included?
- Reporter
@aknautiyal @suresh_kurmi Maybe I'm looking in the wrong place, but I still don't see any progress with this fix. Can anyone tell me which kernel version this will appear in?
I also tested the fix here, and it is working! Is there any update on when this improvement might be merged?
- Developer
Thanks for testing the patches, reviews and suggestions, these are now merged: drm/tip@560de03d drm/tip@1efd5384
2 - Ankit Nautiyal closed
closed