<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 - [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105172">105172</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
          </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>lothmordor@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=137457" name="attach_137457" title="xorg log">attachment 137457</a> <a href="attachment.cgi?id=137457&action=edit" title="xorg log">[details]</a></span>
xorg log

# first bad commit: [5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66] drm/amdgpu:
expose the VA above the hole to userspace

commit 5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66 (refs/bisect/bad)
Author: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
Date:   Tue Nov 7 12:03:31 2017 +0100

    drm/amdgpu: expose the VA above the hole to userspace

    Let userspace know how much area we have above the 48bit VA hole on
    Vega10.

    Signed-off-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
    Reviewed-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>

My system:

Software versions:
    Linux 4.15.0-rc2+ x86_64
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.0-devel
(git-7be5f30bb1)

GPU hardware:
    OpenGL renderer string: Radeon RX Vega (VEGA10 / DRM 3.23.0 / 4.15.0-rc2+,
LLVM 7.0.0)
    03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c3)

CPU hardware:
    AMD Phenom(tm) II X4 955 Processor

Weston also fails to start:

weston-launch: spawned weston with pid: 2501
Date: 2018-02-19 PST
[21:52:45.451] weston 3.0.0
               <a href="http://wayland.freedesktop.org">http://wayland.freedesktop.org</a>
               Bug reports to:
<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0</a>
               Build: unknown (not built from git or tarball)
[21:52:45.451] Command line: /usr/bin/weston
[21:52:45.451] OS: Linux, 4.16.0-rc2, #2 SMP PREEMPT Mon Feb 19 19:32:23 PST
2018, x86_64
[21:52:45.452] Using config file '/home/james/.config/weston.ini'
[21:52:45.452] Output repaint window is 7 ms maximum.
[21:52:45.452] Loading module '/usr/lib64/libweston-3/drm-backend.so'
[21:52:45.453] initializing drm backend
weston-launch: opened /dev/dri/card0: ret: 0, fd: 4
[21:52:45.454] using /dev/dri/card0
[21:52:45.455] Loading module '/usr/lib64/libweston-3/gl-renderer.so'
radeonsi: Failed to create a context.
[21:52:45.531] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
               EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11
               EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless
[21:52:45.531] warning: neither EGL_EXT_swap_buffers_with_damage or
EGL_KHR_swap_buffers_with_damage is supported. Performance could be aff$
[21:52:45.531] EGL_KHR_surfaceless_context available
radeonsi: Failed to create a context.
[21:52:45.531] failed to create context
[21:52:45.531] EGL error state: EGL_BAD_ALLOC (0x3003)
[21:52:45.531] EGL error state: EGL_SUCCESS (0x3000)</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>