Bug 263761 - framework laptop: unable to output to HDMI monitor via HDMI expansion card
Summary: framework laptop: unable to output to HDMI monitor via HDMI expansion card
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 262152
  Show dependency treegraph
 
Reported: 2022-05-03 19:05 UTC by Jonathan Vasquez
Modified: 2022-05-03 19:51 UTC (History)
1 user (show)

See Also:


Attachments
dmesg (22.61 KB, text/plain)
2022-05-03 19:05 UTC, Jonathan Vasquez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Vasquez 2022-05-03 19:05:22 UTC
Created attachment 233703 [details]
dmesg

Hello all,

As part of my testing (https://xyinn.org/md/freebsd/framework_laptop), I've noticed that the HDMI Expansion Card (Type C as well since that's the framework laptop's primary expansion interface) for the framework laptop fails to output any data to the external monitor (The monitor signal light doesn't even light up). FreeBSD did detect the HDMI card, and I got some data in xrandr for the "DP-3" display. However the supported resolutions are incorrect. The same monitor works via my Anker Dongle's HDMI port (Dongle is Type C) and is detected as "DP-4" in that scenario and I can output through it.

Below is some information that I noticed in dmesg:

ugen1.2: <Framework HDMI Expansion Card> at usbus1

...

[drm ERROR :intel_dp_get_link_train_fallback_values] Link Training Unsuccessful

the drm error was repeated many times. 

This is the information xrandr reported when it was connected via the HDMI Expansion Card (DP-3):

DP-3 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   1440x576      50.00
   1024x768      60.00*
   1440x480      60.00    59.94
   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

---

This is the same monitor but connected via the Anker Dongle's HDMI port (DP-4):

DP-4 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+  99.95  
   1920x1080     60.00    60.00    50.00    59.94    30.00    29.97  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   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 

Lastly, this is all on the following:

FreeBSD 14.0-CURRENT #1 main-n255108-9fb40baf604: Fri Apr 29 00:08:48 EDT 2022     root@leslie:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

- Jonathan