<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 - [regression] [amdgpu] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving up!!!"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107855">107855</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression] [amdgpu] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving up!!!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </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>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>graaskaeg.via.forwarder@neverbox.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>kernel 4.18.0-041800-generic on AMD A10 (Kaveri)
kernel boot parameters:
amdgpu.cik_support=1 
radeon.cik_support=0 
amdgpu.dc=1 
amdgpu.dc_log=1 
drm.debug=0

Laptop has HDMI, VGA and internal eDP.

Using amdgpu.dc=1 to force use of amdgpu instead of radeon driver. This means
VGA connection is expected to be inoperative. (See <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [dc] No support for LVDS or VGA connectors (Cannot find any crtc or sizes)"
   href="show_bug.cgi?id=105880">bug 105880</a>)

dmesg show Video Coding Engine (VCE) is not successfully starting

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.18.0-041800-generic
root=<redacted> amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=1
amdgpu.dc_log=1 drm.debug=0
[    2.319941] [drm] radeon kernel modesetting enabled.
[    2.321218] fb: switching to radeondrmfb from EFI VGA
[    2.371470] [drm] amdgpu kernel modesetting enabled.
[    2.380860] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A
0x17AA:0x3988 0x00).
[    2.380878] [drm] register mmio base: 0xF0B00000
[    2.380881] [drm] register mmio size: 262144
[    2.380889] [drm] add ip block number 0 <cik_common>
[    2.380892] [drm] add ip block number 1 <gmc_v7_0>
[    2.380895] [drm] add ip block number 2 <cik_ih>
[    2.380898] [drm] add ip block number 3 <kv_dpm>
[    2.380901] [drm] add ip block number 4 <dm>
[    2.380904] [drm] add ip block number 5 <gfx_v7_0>
[    2.380907] [drm] add ip block number 6 <cik_sdma>
[    2.380909] [drm] add ip block number 7 <uvd_v4_2>
[    2.380912] [drm] add ip block number 8 <vce_v2_0>
[    2.404997] [drm] BIOS signature incorrect 0 0
[    2.405131] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment
size is 9-bit
[    2.405153] [drm] Detected VRAM RAM=1024M, BAR=1024M
[    2.405155] [drm] RAM width 64bits UNKNOWN
[    2.405409] [drm] amdgpu: 1024M of VRAM memory ready
[    2.405412] [drm] amdgpu: 3072M of GTT memory ready.
[    2.405424] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.405460] [drm] PCIE GART of 1024M enabled (table at 0x000000F4007E9000).
[    2.405542] [drm] Internal thermal controller without fan control
[    2.405546] [drm] amdgpu: dpm initialized
[    2.406632] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.406987] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.408834] [drm] Unsupported Connector type:5!
[    2.409033] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[    2.409141] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[    2.409248] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[    2.409419] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[    2.420176] [drm] Display Core initialized with v3.1.44!
[    2.426685] [drm] SADs count is: -2, don't need to read it
[    2.427264] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.427271] [drm] Driver supports precise vblank timestamp query.
[    2.446238] [drm] UVD initialized successfully.
[    2.562838] [drm] VCE initialized successfully.
[    2.567812] [drm] fb mappable at 0xA0BD1000
[    2.567821] [drm] vram apper at 0xA0000000
[    2.567824] [drm] size 8294400
[    2.567826] [drm] fb depth is 24
[    2.567828] [drm]    pitch is 7680
[    2.567942] fbcon: amdgpudrmfb (fb0) is primary device
[    2.570418] [drm] dce_get_required_clocks_state: clocks unsupported disp_clk
681000 pix_clk 141400
[    2.600980] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[    2.618335] [drm] Initialized amdgpu 3.26.0 20150101 for 0000:00:01.0 on
minor 0
[    5.754156] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[    6.774125] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[    7.794092] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[    8.812428] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[    9.829125] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   10.849149] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   11.869148] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   12.888162] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   13.908161] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   14.928124] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, trying
to reset the ECPU!!!
[   14.948142] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving
up!!!
[   14.948181] [drm:amdgpu_device_ip_set_powergating_state [amdgpu]] *ERROR*
set_powergating_state of IP block <vce_v2_0> failed -110
[   15.964329] [drm:amdgpu_vce_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test
timed out.
[   15.964388] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed
testing IB on ring 12 (-110).
[   15.964425] [drm:amdgpu_device_ip_late_init_func_handler [amdgpu]] *ERROR*
ib ring test failed (-110).
[  403.874735] [drm] dce_get_required_clocks_state: clocks unsupported disp_clk
681000 pix_clk 141400

The laptop screen remains blank, and the cpu fan ramps up. I used the 'magic
SysRq' key combination followed by R E I whereupon it was possible to get to
the first virtual console (Ctrl-Alt-F1) and save the dmesg ring buffer.

kernel 4.17.0-041700 generic does not show this behaviour, and the laptop
screen works, allowing X-Windows login.

[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.17.0-041700-generic
root=<redacted> amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=1
amdgpu.dc_log=1 drm.debug=0
[    2.356844] [drm] radeon kernel modesetting enabled.
[    2.358519] fb: switching to radeondrmfb from EFI VGA
[    2.403908] [drm] amdgpu kernel modesetting enabled.
[    2.412726] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A
0x17AA:0x3988 0x00).
[    2.412744] [drm] register mmio base: 0xF0B00000
[    2.412748] [drm] register mmio size: 262144
[    2.412757] [drm] add ip block number 0 <cik_common>
[    2.412760] [drm] add ip block number 1 <gmc_v7_0>
[    2.412763] [drm] add ip block number 2 <cik_ih>
[    2.412766] [drm] add ip block number 3 <kv_dpm>
[    2.412769] [drm] add ip block number 4 <dm>
[    2.412773] [drm] add ip block number 5 <gfx_v7_0>
[    2.412776] [drm] add ip block number 6 <cik_sdma>
[    2.412778] [drm] add ip block number 7 <uvd_v4_2>
[    2.412781] [drm] add ip block number 8 <vce_v2_0>
[    2.436383] [drm] BIOS signature incorrect 0 0
[    2.436506] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment
size is 9-bit
[    2.436528] [drm] Detected VRAM RAM=1024M, BAR=1024M
[    2.436531] [drm] RAM width 64bits UNKNOWN
[    2.436704] [drm] amdgpu: 1024M of VRAM memory ready
[    2.436708] [drm] amdgpu: 3072M of GTT memory ready.
[    2.436720] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.436758] [drm] PCIE GART of 1024M enabled (table at 0x000000F400040000).
[    2.436843] [drm] Internal thermal controller without fan control
[    2.436847] [drm] amdgpu: dpm initialized
[    2.437906] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.438263] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.440362] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[    2.440455] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[    2.440547] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[    2.440674] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[    2.456216] [drm] Display Core initialized with v3.1.38!
[    2.462792] [drm] SADs count is: -2, don't need to read it
[    2.463390] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.463397] [drm] Driver supports precise vblank timestamp query.
[    2.481585] [drm] UVD initialized successfully.
[    2.598081] [drm] VCE initialized successfully.
[    2.605222] [drm] fb mappable at 0xA042A000
[    2.605231] [drm] vram apper at 0xA0000000
[    2.605234] [drm] size 8294400
[    2.605236] [drm] fb depth is 24
[    2.605239] [drm]    pitch is 7680
[    2.605367] fbcon: amdgpudrmfb (fb0) is primary device
[    2.686915] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[    2.706752] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:00:01.0 on
minor 0</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>