<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AMDGPU error(failed to set mode: cannot allocate memory) when hdmi connected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110478">110478</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AMDGPU error(failed to set mode: cannot allocate memory) when hdmi connected
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cmdrrdo@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=144053" name="attach_144053" title="xorg log">attachment 144053</a> <a href="attachment.cgi?id=144053&action=edit" title="xorg log">[details]</a></span>
xorg log

Hi,

I'm using a Ryzen 3550H laptop with integrated Vega graphics and an additional
Radeon 560. Whenever I boot the laptop with a screen connected to the HDMI
port, the screen turns blank upon lxdm start and I can see these error messages
in the Xorg log:

[   263.699] (II) AMDGPU(0): Setting screen physical size to 1524 x 571
[   263.716] (EE) AMDGPU(0): failed to set mode: Cannot allocate memory
[   263.716] (WW) AMDGPU(0): Failed to set mode on CRTC 0
[   263.817] (EE) AMDGPU(0): failed to set mode: Cannot allocate memory
[   263.817] (WW) AMDGPU(0): Failed to set mode on CRTC 1
[   263.887] (EE) AMDGPU(0): Failed to enable any CRTC


Kernel: is a self-built 5.0.9, but the same has happened with debian
experimental 5.0.2, as well as the debian buster's 4.19.
xserver-xorg-video-amdgpu: 19.0.1-1

If HDMI is not connected, everything is working.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>