From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Adam Chasen <adam@chasen.name>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] Tracing a "drm_mode_prune_invalid"
Date: Wed, 12 May 2021 23:04:26 +0300 [thread overview]
Message-ID: <YJw0ysSSWXEEBtU+@intel.com> (raw)
In-Reply-To: <904b8186-4d49-4292-bc6e-04726c571138@beta.fastmail.com>
On Wed, May 12, 2021 at 12:31:14PM -0400, Adam Chasen wrote:
> Hoping I can (help) craft a patch to address what appears to be an issue with overaggressive mode pruning. I am having trouble with rejection of a Dual-DVI compatible mode out of the DisplayPort specific to i915 in Fedora 33. It seems that drm_mode_validate_pipeline is the wall I hit when digging for why this mode is pruned. Requesting additional troubleshooting guidance.
>
> ```
> kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 268000 2560 2608 2640 2720 1600 1603 1609 1646 0x48 0x9
> kernel: [drm:drm_mode_prune_invalid [drm]] Not using 2560x1600 mode: CLOCK_HIGH
> ```
>
> This is an HP LP3065 Dual-DVI monitor connected via DisplayPort with a BizLink "active" adapter (recommended by HP and DELL for their Dual-DVI monitors).
>
> The adapter appears to be "transparent" to the system (unlike some adapters reporting similar issues). I2C probes and EDIDs all appear to be direct from the monitor. Though, there is a mention of a m2DVIa "branch device" in the `i915_display_info` output.
>
> The pruned mode works with X-Org with manually setting the mode via `xrandr` on Xorg (my current fallback setup):
> `xrandr --newmode "2560x1600R" 268.50 2560 2608 2640 2720 1600 1603 1609 1646 +hsync -vsync`
>
> My setup is a bit different than some older reported "dual mode" issues (i.e. passive adapters), so I do not believe it is the "faulty dual mode detection" (i.e. https://github.com/hansmi/fake-dp-dual-mode). I was thinking it could be related by some "state" of the port detection limiting output to 165MHz clock.
>
> Thanks,
> Adam
>
> with `echo 0x6 > /sys/module/drm/parameters/debug`
>
> ```
> kernel: [drm:drm_add_display_info [drm]] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
> kernel: [drm:drm_add_display_info [drm]] non_desktop set to 0
> kernel: i915 0000:00:02.0: [drm:intel_dp_set_edid [i915]] [CONNECTOR:95:DP-1] DFP max bpc 8, max dotclock 0, TMDS clock 25000-165000
That one seems to be saying that it's the adapter itself that's
telling us it can't handle >165MHz. What does the "DPCD DFP: ..." line say?
Alternatively you can do something like
for aux in /dev/drm_dp_aux* ; do dd if=$aux bs=1 count=16 skip=$((0x80)) 2>/dev/null | hexdump -C ; done
to get the raw dump..
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2021-05-12 20:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 16:31 [Intel-gfx] Tracing a "drm_mode_prune_invalid" Adam Chasen
2021-05-12 20:04 ` Ville Syrjälä [this message]
2021-05-12 21:07 ` Adam Chasen
2021-05-28 18:15 ` Adam Chasen
2021-05-31 14:15 ` Ville Syrjälä
2021-05-31 14:28 ` Adam Chasen
2021-06-04 16:57 ` Adam Chasen
2021-06-04 17:13 ` Ville Syrjälä
2021-08-26 14:59 ` Adam Chasen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YJw0ysSSWXEEBtU+@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=adam@chasen.name \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox