All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
@ 2018-02-20  8:43 bugzilla-daemon
  2018-02-20  8:45 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  8:43 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 3426 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

            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=137457&action=edit
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 <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önig <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-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
               http://wayland.freedesktop.org
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.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.

[-- Attachment #1.2: Type: text/html, Size: 5251 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
@ 2018-02-20  8:45 ` bugzilla-daemon
  2018-02-20  8:54 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  8:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

--- Comment #1 from James Harvey <lothmordor@gmail.com> ---
Created attachment 137458
  --> https://bugs.freedesktop.org/attachment.cgi?id=137458&action=edit
dmesg with amdgpu.dc_log=1 drm.debug=6

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1354 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
  2018-02-20  8:45 ` bugzilla-daemon
@ 2018-02-20  8:54 ` bugzilla-daemon
  2018-02-20  8:55 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  8:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137457|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1160 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
  2018-02-20  8:45 ` bugzilla-daemon
  2018-02-20  8:54 ` bugzilla-daemon
@ 2018-02-20  8:55 ` bugzilla-daemon
  2018-02-20  9:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  8:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 253 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

--- Comment #2 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Have you updated libdrm recently as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1121 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-02-20  8:55 ` bugzilla-daemon
@ 2018-02-20  9:03 ` bugzilla-daemon
  2018-02-20  9:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  9:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 278 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

--- Comment #3 from James Harvey <lothmordor@gmail.com> ---
I last updated libdrm from git on the 14th, I'll update it and see if that
helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1130 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-02-20  9:03 ` bugzilla-daemon
@ 2018-02-20  9:04 ` bugzilla-daemon
  2018-02-20  9:08 ` bugzilla-daemon
  2018-02-20 10:18 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  9:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 303 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
https://cgit.freedesktop.org/mesa/drm/commit/?id=33a2851ab9bc3cd8a68bedf4cf0fdc549b0f3596
should fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1259 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-02-20  9:04 ` bugzilla-daemon
@ 2018-02-20  9:08 ` bugzilla-daemon
  2018-02-20 10:18 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20  9:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 568 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Yeah that commit came to my mind as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2204 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed
  2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-02-20  9:08 ` bugzilla-daemon
@ 2018-02-20 10:18 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-20 10:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 602 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105172

--- Comment #6 from James Harvey <lothmordor@gmail.com> ---
Thanks for your patience guys.

Using kernel 4.16-rc2 (but with the bisected commit reverted) X and weston
work.

Updating libdrm to master-33a2851, X and weston work again (yay!).

Updating also mesa (master-af5f232), now I'm getting hard lockups.  Downgrading
the kernel to 4.15-rc9 or using the 4.16-rc2 kernel with 5b565e0 reverted and
things work again.  Maybe a new related bug, but in mesa?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1506 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-20 10:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20  8:43 [Bug 105172] [bisected] Unable to start X on Vega (EE) AMDGPU(0): amdgpu_setup_kernel_mem failed bugzilla-daemon
2018-02-20  8:45 ` bugzilla-daemon
2018-02-20  8:54 ` bugzilla-daemon
2018-02-20  8:55 ` bugzilla-daemon
2018-02-20  9:03 ` bugzilla-daemon
2018-02-20  9:04 ` bugzilla-daemon
2018-02-20  9:08 ` bugzilla-daemon
2018-02-20 10:18 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.