Lines Matching +full:a +full:- +full:display

2 Display Core Debug tools
6 driver from the display perspective. This page introduces debug mechanisms and
7 procedures to help you identify if some issues are related to display code.
9 Narrow down display issues
12 Since the display is the driver's visual component, it is common to see users
13 reporting issues as a display when another component causes the problem. This
14 section equips users to determine if a specific issue was caused by the display
18 ---------------------------
43 (**Display Manager**), was loaded, which means that display can be part of the
45 amdgpu loads the display component, indicating that we don't have a
46 display issue.
49 display version of the hardware in use, which can be retrieved from the dmesg
52 dmesg | grep -i 'display core'
54 This command shows a message that looks like this::
56 [ 4.655828] [drm] Display Core v3.2.285 initialized on DCN 3.2
60 * **The DC version (e.g., v3.2.285)**: Display developers release a new DC version
61 every week, and this information can be advantageous in a situation where a
62 user/developer must find a good point versus a bad point based on a tested
63 version of the display code. Remember from page :ref:`Display Core <amdgpu-display-core>`,
64 that every week the new patches for display are heavily tested with IGT and
74 as those from another DCN. In summary, use the DCN version just as a guide.
78 dmesg | grep -i 'ATOM BIOS'
82 [ 4.274534] amdgpu: ATOM BIOS: 113-D7020100-102
86 Avoid loading display core
87 --------------------------
90 the issue; if you suspect that the display is not part of the problem and your
92 the display component from the equation. First, you need to identify `dm` ID
121 necessary to use the display component to reproduce the issue (e.g., play a
124 **Note: This will probably lead to the absence of a display output.**
126 Display flickering
127 ------------------
129 Display flickering might have multiple causes; one is the lack of proper power
130 to the GPU or problems in the DPM switches. A good first generic verification
133 bash -c "echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level"
138 disappears, there is a good chance that other components might be involved, and
139 the display should not be ignored since this could be a DPM issues. From the
140 display side, if the power increase fixes the issue, it is worth debugging the
144 Display artifacts
145 -----------------
150 this type of issue, there is a considerable chance that you have a userspace
152 entire screen. They might be caused by a misconfiguration at the driver level
153 of the display parameters, but the userspace might also cause this issue. One
154 way to identify the source of the problem is to take a screenshot or make a
159 rendering, and the display code just got the framebuffer already corrupted.
164 DC has a struct named `dc_debug_options`, which is statically initialized by
166 structure usually facilitates the bring-up phase since developers can start
171 For example, dGPU users sometimes see a problem where a horizontal fillet of
173 indication of Sub-Viewport issues; after the users identified the target DCN,
183 Display core provides a feature named visual confirmation, which is a set of
194 ---------------------
196 If you want to enable or debug multiple planes in a specific user-space
197 application, you can leverage a debug feature named visual confirm. For
203 configuration changes or a full update occurs there will be a colored bar at
206 * The color indicates the format - For example, red is AR24 and green is NV12
208 * Pipe split can be observed if there are two bars with a difference in height
211 Consider the video playback case in which a video is played in a specific
224 ----------------
232 In this case, if you have a pipe split, you will see one small red bar at the
233 bottom of the display covering the entire display width and another bar
234 covering the second pipe. In other words, you will see a bit high bar in the
242 using Display Test Next (DTN) log, which can be captured via debugfs by using::
247 change in real-time by using something like::
249 sudo watch -d cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
251 When reporting a bug related to DC, consider attaching this log before and
263 From the display perspective, pay attention to the firmware of the DMCU and
269 Sometimes, dmesg logs aren't enough. This is especially true if a feature is
278 ------------
280 .. csv-table::
281 :header-rows: 1
283 :file: ./trace-groups-table.csv