From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed Date: Tue, 20 Feb 2018 08:43:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0473336339==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 22F6D6E23C for ; Tue, 20 Feb 2018 08:43:59 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0473336339== Content-Type: multipart/alternative; boundary="15191162390.9DC37C0.5341" Content-Transfer-Encoding: 7bit --15191162390.9DC37C0.5341 Date: Tue, 20 Feb 2018 08:43:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105172 Bug ID: 105172 Summary: [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: lothmordor@gmail.com Created attachment 137457 --> https://bugs.freedesktop.org/attachment.cgi?id=3D137457&action=3Dedit xorg log # first bad commit: [5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66] drm/amdgpu: expose the VA above the hole to userspace commit 5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66 (refs/bisect/bad) Author: Christian K=C3=B6nig 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=C3=B6nig Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher 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-rc= 2+, 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 http://wayland.freedesktop.org Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=3DWayland&component=3Dwe= ston&version=3D3.0.0 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) --=20 You are receiving this mail because: You are the assignee for the bug.= --15191162390.9DC37C0.5341 Date: Tue, 20 Feb 2018 08:43:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 105172
Summary [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_s= etup_kernel_mem failed
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter lothmordor@gmail.com

Created attachment 137457 [detai=
ls]
xorg log

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

commit 5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66 (refs/bisect/bad)
Author: Christian K=C3=B6nig <christian.koenig@amd.com>
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=C3=B6nig <christian.koenig@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

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-rc=
2+,
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
               http://wayland.fr=
eedesktop.org
               Bug reports to:
https://bugs.freedesktop.org/enter=
_bug.cgi?product=3DWayland&component=3Dweston&version=3D3.0.0
               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)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15191162390.9DC37C0.5341-- --===============0473336339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0473336339==--