All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
@ 2018-10-23  5:14 bugzilla-daemon
  2018-10-23 14:25 ` bugzilla-daemon
                   ` (61 more replies)
  0 siblings, 62 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-23  5:14 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 108521
           Summary: RX 580 as eGPU amdgpu: gpu post error!
           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: rstrube@gmail.com

Hello everyone,

I've been attempting to get my RX 580 working correctly as an eGPU using the
Akitio Node eGPU enclosure (over Thunderbolt 3).

I've confirmed that both the Akitio Node and my laptops Thunderbolt 3
controller are running the most up-to-date firmware.  I've also been able to
successfully authorize the Thunderbolt eGPU enclosure, and see the RX 580 in
lspci, see blow:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor
Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
Processor PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500
v5/6th Gen Core Processor Thermal Subsystem (rev 05)
00:13.0 Non-VGA unclassified device: Intel Corporation 100 Series/C230 Series
Chipset Family Integrated Sensor Hub (rev 31)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family
USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series
Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series
Chipset Family Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation 100 Series/C230 Series
Chipset Family Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series
Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller
[AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI
Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI
Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI
Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation QM175 Chipset LPC/eSPI Controller (rev
31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset
Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus
(rev 31)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Polaris 22
[Radeon RX Vega M GL] (rev c0)
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network
Adapter (rev 32)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI
Express Card Reader (rev 01)
04:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)
05:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)
05:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)
05:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)
06:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step)
[Alpine Ridge 4C 2016] (rev 02)
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine
Ridge 2C 2015]
08:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine
Ridge 2C 2015]
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7)
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon
RX 580]

Looking at just the RX 580 in more detail using lspci -v we have:

09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7) (prog-if 00 [VGA
controller])
        Subsystem: XFX Pine Group Inc. Ellesmere [Radeon RX
470/480/570/570X/580/580X]
        Flags: fast devsel, IRQ 18
        Memory at 2fb0000000 (64-bit, prefetchable) [size=256M]
        Memory at 2fc0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 2000 [size=256]
        Memory at bc000000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at bc040000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] #15
        Capabilities: [270] #19
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] Page Request Interface (PRI)
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [370] L1 PM Substates
        Kernel modules: amdgpu

When looking at demsg I see the following (I've removed non-relevant lines):

[    8.534250] amdgpu 0000:09:00.0: enabling device (0006 -> 0007)
[    8.534756] [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF
0x1682:0xC580 0xE7).
[    8.537567] [drm] register mmio base: 0xBC000000
[    8.537568] [drm] register mmio size: 262144
[    8.537598] [drm] add ip block number 0 <vi_common>
[    8.537599] [drm] add ip block number 1 <gmc_v8_0>
[    8.537599] [drm] add ip block number 2 <tonga_ih>
[    8.537599] [drm] add ip block number 3 <powerplay>
[    8.537600] [drm] add ip block number 4 <dm>
[    8.537600] [drm] add ip block number 5 <gfx_v8_0>
[    8.537601] [drm] add ip block number 6 <sdma_v3_0>
[    8.537602] [drm] add ip block number 7 <uvd_v6_0>
[    8.537602] [drm] add ip block number 8 <vce_v3_0>
[    8.537608] kfd kfd: skipped device 1002:67df, PCI rejects atomics
[    8.537630] [drm] UVD is enabled in VM mode
[    8.537630] [drm] UVD ENC is enabled in VM mode
[    8.537636] [drm] VCE enabled in VM mode
[    8.614467] ATOM BIOS: 401815-171128-QS1
[    8.614512] [drm] GPU posting now...
[   13.621276] [drm:atom_op_jump [amdgpu]] *ERROR* atombios stuck in loop for
more than 5secs aborting
[   13.621310] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios
stuck executing E650 (len 187, WS 0, PS 4) @ 0xE6FA
[   13.621341] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios
stuck executing C53A (len 193, WS 4, PS 4) @ 0xC569
[   13.621359] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios
stuck executing C410 (len 114, WS 0, PS 8) @ 0xC47C
[   13.621361] amdgpu 0000:09:00.0: gpu post error!
[   13.621363] amdgpu 0000:09:00.0: Fatal error during GPU init
[   13.621370] [drm] amdgpu: finishing device.
[   13.621792] amdgpu: probe of 0000:09:00.0 failed with error -22

Here are my system details:

System: Dell XPS 15 2 in 1 (Kaby Lake G)
Kernel: 4.19
Mesa: 18.2.2
Xorg: 1.20.1
Built in GPUs: Intel iGPU, Vega M
eGPU: RX 580

I'm not sure if I'm having problems because my laptop *also* contains a Vega M,
which also uses the amdgpu driver.  Perhaps there's a problem if there are
multiple GPUs using amdgpu?  One thing to point out is that the Vega M has
worked flawlessly since Kernel 4.18.x.

I did run across several other users posting about this same problem when
attempting to run AMD GPUs as eGPUs.  Here's a post where a user is reporting
the same issue:

https://egpu.io/forums/thunderbolt-linux-setup/egpus-under-linux-an-advanced-guide/#post-33304

And here's another post:

https://forum.manjaro.org/t/rx-580-in-a-thunderbolt-egpu-dock/58210

I'm comfortable applying and testing kernel patches, so please feel free to ask
me to test any fixes.  I'm currently running 4.19, but could also patch a
4.18.x kernel.

Thanks!

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

[-- Attachment #1.2: Type: text/html, Size: 10280 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
@ 2018-10-23 14:25 ` bugzilla-daemon
  2018-10-23 16:00 ` bugzilla-daemon
                   ` (60 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-23 14:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Please attach your dmesg output.

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

[-- Attachment #1.2: Type: text/html, Size: 992 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
  2018-10-23 14:25 ` bugzilla-daemon
@ 2018-10-23 16:00 ` bugzilla-daemon
  2018-10-23 16:00 ` bugzilla-daemon
                   ` (59 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-23 16:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142151
  --> https://bugs.freedesktop.org/attachment.cgi?id=142151&action=edit
dmesg log booting system with eGPU attched and powered

Starting at line:

[   11.192733] ATOM BIOS: 401815-171128-QS1

You can see the failure that occurs when trying to initialize the RX 580 as an
eGPU over Thunderbolt 3.

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

[-- Attachment #1.2: Type: text/html, Size: 1484 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
  2018-10-23 14:25 ` bugzilla-daemon
  2018-10-23 16:00 ` bugzilla-daemon
@ 2018-10-23 16:00 ` bugzilla-daemon
  2018-10-23 20:08 ` bugzilla-daemon
                   ` (58 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-23 16:00 UTC (permalink / raw)
  To: dri-devel


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

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

Robert Strube <rstrube@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142151|dmesg log booting system    |dmesg log booting system
        description|with eGPU attched and       |with eGPU attached and
                   |powered                     |powered

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

[-- Attachment #1.2: Type: text/html, Size: 1170 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-10-23 16:00 ` bugzilla-daemon
@ 2018-10-23 20:08 ` bugzilla-daemon
  2018-10-24  6:24 ` bugzilla-daemon
                   ` (57 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-23 20:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Robert Strube <rstrube@gmail.com> ---
Quick question:

Is it possible to completely disable the Vega M using kernel boot parameters. 
I did try using pci-stub.ids=xxxx:xxxx with the PCI hex id for my Vega M
(1002:694e) but amdgpu was still applied to the device, not sure why.  I also
thought there was explicit PCI device blacklisting support in the kernel, but I
have been unable to find any documentation on this.

Ideally I'd like to see if having the Vega M disabled allows the eGPU to be
correctly initialized.  I took a look at the documentation for amdgpu, but I
didn't see any boot parameters that stood out at me.

Blacklisting the amdgpu module wouldn't work either, as I need that to
correctly support the RX 580 once it's attached.

Thanks!

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

[-- Attachment #1.2: Type: text/html, Size: 1684 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-10-23 20:08 ` bugzilla-daemon
@ 2018-10-24  6:24 ` bugzilla-daemon
  2018-10-24 20:44 ` bugzilla-daemon
                   ` (56 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-24  6:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Robert Strube <rstrube@gmail.com> ---
I decided to apply a hack to 4.19 and see if I could get the eGPU to
initialize.  I noticed that this code in /drivers/gpu/drm/amd/amdgpu/atom.c

if ((jiffies_to_msecs(cjiffies) > 5000)) {
        DRM_ERROR("atombios stuck in loop for more than 5secs aborting\n");
        ctx->abort = true;
}

is where the error is being thrown, so I thought I would try giving the eGPU
more time.  I increased the 5000 value to 15000, recompiled the kernel, and
tried to attach the eGPU.  Unfortunately I received the same error, but this
time after 15 seconds of trying to initialize the GPU.  Should I increase the
time even more?

I'm not sure if the issue is actually related to not having enough time, or if
it's something else entirely.

I'll bump it up to 30 seconds in a final last ditch attempt.

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

[-- Attachment #1.2: Type: text/html, Size: 1777 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-10-24  6:24 ` bugzilla-daemon
@ 2018-10-24 20:44 ` bugzilla-daemon
  2018-10-25  1:13 ` bugzilla-daemon
                   ` (55 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-24 20:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
If you can get any of the other methods to work you can remove the vegam device
id from the driver.  That said, I doubt it will make a difference.  Usually the
problem with thunderbolt is that pci BAR resources don't get assigned properly
to the devices and the ones the driver needs are not available.  That doesn't
seem to be the case here, but I might be missing something.

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

[-- Attachment #1.2: Type: text/html, Size: 1340 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-10-24 20:44 ` bugzilla-daemon
@ 2018-10-25  1:13 ` bugzilla-daemon
  2018-10-25  1:15 ` bugzilla-daemon
                   ` (54 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  1:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142182
  --> https://bugs.freedesktop.org/attachment.cgi?id=142182&action=edit
dmesg log booting system with eGPU (Vega M device IDs removed in kernel)

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

[-- Attachment #1.2: Type: text/html, Size: 1362 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-10-25  1:13 ` bugzilla-daemon
@ 2018-10-25  1:15 ` bugzilla-daemon
  2018-10-25  1:34 ` bugzilla-daemon
                   ` (53 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  1:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Robert Strube <rstrube@gmail.com> ---
Thanks for the suggestions! I took your advice and commented out the Vega M
device IDs located here: /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

These are the lines of code that I commented out.
/* VEGAM */
{0x1002, 0x694C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGAM},
{0x1002, 0x694E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VEGAM},

This did indeed cause my Vega M to not be initialized, *but* the problem I'm
having with the eGPU remains. So it appears you were correct and my hunch that
the Vega M is interfering with the eGPU initialization was incorrect.  I'm back
to square one...

I uploaded a new dmesg log for this kernel, perhaps with the Vega M out of the
equation you might see something new?

Thanks!
Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1680 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-10-25  1:15 ` bugzilla-daemon
@ 2018-10-25  1:34 ` bugzilla-daemon
  2018-10-25  2:12 ` bugzilla-daemon
                   ` (52 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  1:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
There does not seem to be enough MMIO space for the BARs on the thunderbolt
bridges:
[    0.436946] pci 0000:04:00.0: BAR 13: no space for [io  size 0x4000]
[    0.436947] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x4000]
[    0.436949] pci 0000:04:00.0: BAR 13: assigned [io  0xc000-0xcfff]
[    0.436950] pci 0000:04:00.0: BAR 13: [io  0xc000-0xcfff] (failed to expand
by 0x3000)
[    0.436951] pci 0000:04:00.0: failed to add 3000 res[13]=[io  0xc000-0xcfff]
[    0.436955] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[    0.436956] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[    0.436957] pci 0000:05:01.0: BAR 13: no space for [io  size 0x2000]
[    0.436958] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x2000]
[    0.436959] pci 0000:05:02.0: BAR 13: assigned [io  0xc000-0xcfff]
[    0.436960] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000]
[    0.436961] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x1000]
[    0.436963] pci 0000:05:01.0: BAR 13: assigned [io  0xc000-0xcfff]
[    0.436964] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000]
[    0.436965] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x1000]
[    0.436967] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[    0.436968] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[    0.436969] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[    0.436970] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[    0.436971] pci 0000:05:01.0: BAR 13: [io  0xc000-0xcfff] (failed to expand
by 0x1000)
[    0.436972] pci 0000:05:01.0: failed to add 1000 res[13]=[io  0xc000-0xcfff]
I don't think that should be an issue for the devices behind it, but perhaps it
is?

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

[-- Attachment #1.2: Type: text/html, Size: 2804 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-10-25  1:34 ` bugzilla-daemon
@ 2018-10-25  2:12 ` bugzilla-daemon
  2018-10-25  2:16 ` bugzilla-daemon
                   ` (51 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  2:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Robert Strube <rstrube@gmail.com> ---
Any suggestion for how I can increase the MMIO space for the BARs on the
Thunderbolt bridges? Should I try to disable additional devices in the BIOS,
etc.?  I'm a little out of my element here.

Thanks!
Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1165 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-10-25  2:12 ` bugzilla-daemon
@ 2018-10-25  2:16 ` bugzilla-daemon
  2018-10-25  3:06 ` bugzilla-daemon
                   ` (50 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  2:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Robert Strube from comment #9)
> Any suggestion for how I can increase the MMIO space for the BARs on the
> Thunderbolt bridges? Should I try to disable additional devices in the BIOS,
> etc.?  I'm a little out of my element here.

Worth a shot if you can.

Alex

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

[-- Attachment #1.2: Type: text/html, Size: 1321 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-10-25  2:16 ` bugzilla-daemon
@ 2018-10-25  3:06 ` bugzilla-daemon
  2018-10-25  3:21 ` bugzilla-daemon
                   ` (49 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  3:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Robert Strube <rstrube@gmail.com> ---
I disabled a bunch of devices in the BIOS (sound, SD card reader, etc.) and I
confirmed that they are no longer showing up in lspci, but I'm still getting
the same error.

I also found one suggestion to pass in a kernel parameter of hpbussize=4 to
increase the bus size made available for hot-pluggable devices, this also
didn't help.

Thanks for all your assistance BTW!

Any other suggestions? I'm starting run out of options here.

Thanks!

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

[-- Attachment #1.2: Type: text/html, Size: 1410 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-10-25  3:06 ` bugzilla-daemon
@ 2018-10-25  3:21 ` bugzilla-daemon
  2018-10-25  7:05 ` bugzilla-daemon
                   ` (48 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  3:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142187
  --> https://bugs.freedesktop.org/attachment.cgi?id=142187&action=edit
dmesg log booting system *without* eGPU

So I decided to do a sanity check and completely remove the eGPU from the
equation.  I am still getting the BAR errors in dmesg, so perhaps this isn't
the problem after all?!

The one thing I noticed is that the BAR errors are for the pci module and not
the pcieport module.  One other thing worth mentioning is that I tried with a
different GPU (for the eGPU) yesterday.  I had a GTX 1060 available, and this
*did* work correctly.  I haven't double checked if the BAR errors are present
with the other GPU.

Perhaps it is a bug with amdgpu after all?

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

[-- Attachment #1.2: Type: text/html, Size: 1830 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-10-25  3:21 ` bugzilla-daemon
@ 2018-10-25  7:05 ` bugzilla-daemon
  2018-10-25 14:56 ` bugzilla-daemon
                   ` (47 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25  7:05 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #13 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
This problem isn't related to the GPU in any way, that the amdgpu driver fails
to load is just another symptom.

The Thunderbolt bridge doesn't get enough resources assigned for its devices
even when the GPU isn't present at all for some reason.

That could be a problem with the BIOS, with the Linux Thunderbolt or the
resource allocation in the PCI subsystem.

Please provide the output of "sudo cat /proc/iomem" and "lspci -t -nn -v"
together with an up to date dmesg.

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

[-- Attachment #1.2: Type: text/html, Size: 2547 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-10-25  7:05 ` bugzilla-daemon
@ 2018-10-25 14:56 ` bugzilla-daemon
  2018-10-25 15:01 ` bugzilla-daemon
                   ` (46 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 14:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142200
  --> https://bugs.freedesktop.org/attachment.cgi?id=142200&action=edit
lspci (no eGPU)

lspci -t -nn -v output when the eGPU is *not* connected.

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

[-- Attachment #1.2: Type: text/html, Size: 1313 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-10-25 14:56 ` bugzilla-daemon
@ 2018-10-25 15:01 ` bugzilla-daemon
  2018-10-25 15:02 ` bugzilla-daemon
                   ` (45 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142201
  --> https://bugs.freedesktop.org/attachment.cgi?id=142201&action=edit
sudo cat /proc/iomem when eGPU *not* connected

sudo cat /proc/iomem when eGPU *not* connected

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

[-- Attachment #1.2: Type: text/html, Size: 1396 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-10-25 15:01 ` bugzilla-daemon
@ 2018-10-25 15:02 ` bugzilla-daemon
  2018-10-25 15:07 ` bugzilla-daemon
                   ` (44 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:02 UTC (permalink / raw)
  To: dri-devel


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

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

Robert Strube <rstrube@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142200|lspci (no eGPU)             |lspci with eGPU *not*
        description|                            |connected.

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

[-- Attachment #1.2: Type: text/html, Size: 1138 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-10-25 15:02 ` bugzilla-daemon
@ 2018-10-25 15:07 ` bugzilla-daemon
  2018-10-25 15:11 ` bugzilla-daemon
                   ` (43 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142202
  --> https://bugs.freedesktop.org/attachment.cgi?id=142202&action=edit
fresh dmesg log booting system *without* eGPU

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

[-- Attachment #1.2: Type: text/html, Size: 1343 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-10-25 15:07 ` bugzilla-daemon
@ 2018-10-25 15:11 ` bugzilla-daemon
  2018-10-25 15:12 ` bugzilla-daemon
                   ` (42 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142203
  --> https://bugs.freedesktop.org/attachment.cgi?id=142203&action=edit
lspci *with* eGPU attached at boot

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

[-- Attachment #1.2: Type: text/html, Size: 1310 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-10-25 15:11 ` bugzilla-daemon
@ 2018-10-25 15:12 ` bugzilla-daemon
  2018-10-25 15:12 ` bugzilla-daemon
                   ` (41 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142204
  --> https://bugs.freedesktop.org/attachment.cgi?id=142204&action=edit
sudo cat /proc/iomem *with* eGPU connected at boot

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

[-- Attachment #1.2: Type: text/html, Size: 1358 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-10-25 15:12 ` bugzilla-daemon
@ 2018-10-25 15:12 ` bugzilla-daemon
  2018-10-25 15:13 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142205
  --> https://bugs.freedesktop.org/attachment.cgi?id=142205&action=edit
fresh dmesg log booting system *wite* eGPU connected at boot

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

[-- Attachment #1.2: Type: text/html, Size: 1388 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-10-25 15:12 ` bugzilla-daemon
@ 2018-10-25 15:13 ` bugzilla-daemon
  2018-10-25 20:05 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 15:13 UTC (permalink / raw)
  To: dri-devel


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

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

Robert Strube <rstrube@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142205|fresh dmesg log booting     |fresh dmesg log booting
        description|system *wite* eGPU          |system *with* eGPU
                   |connected at boot           |connected at boot

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

[-- Attachment #1.2: Type: text/html, Size: 1211 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (21 preceding siblings ...)
  2018-10-25 15:13 ` bugzilla-daemon
@ 2018-10-25 20:05 ` bugzilla-daemon
  2018-10-26  4:42 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-25 20:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Robert Strube <rstrube@gmail.com> ---
One more thing I thought of.  Would it help if I posted my dmesg log with the
GTX 1060 connected as an eGPU?

As I mentioned previously this card *is* working with nouveau.  I haven't
tested with the proprietary nvidia drivers.

I'd imagine that PCI resource issues you pointed out are still there, so I'm
surprised that the nvidia card is able to work.  Perhaps they have some hacks
in their drivers to work around issues like this?

I also have a friend that has an older RX 290, should I give that a shot as
well? It might take me a while to get a hold of that card.

I don't doubt that this is most likely a BIOS bug, but I've noticed people on
the windows side of the fence getting the XPS 9575 working with eGPUs, and
presumably they have the same BIOS as me.

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

[-- Attachment #1.2: Type: text/html, Size: 1796 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (22 preceding siblings ...)
  2018-10-25 20:05 ` bugzilla-daemon
@ 2018-10-26  4:42 ` bugzilla-daemon
  2018-10-26  5:11 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26  4:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from Robert Strube <rstrube@gmail.com> ---
Hi guys,

Apologies for the deluge of posts here, I've been trying really hard to
investigate this issue!

So I took a closer look at the PCI resource issues that you mentioned, I've
also been looking and thunderbolt driver issues in general, and I've noticed
that this type of log message is quite common.  Here's what I'm wondering:

These four devices correspond to the TB to PCI bridges in the system

0000:04:00.0
0000:05:01.0
0000:05:02.0
0000:05:04.0

04:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=04, secondary=05, subordinate=6e, sec-latency=0
        Memory behind bridge: bc000000-ea0fffff
        Prefetchable memory behind bridge: 0000002fb0000000-0000002ff9ffffff
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL6540 Thunderbolt 3
Bridge (C step) [Alpine Ridge 4C 2016]
        Capabilities: [c0] Express Upstream Port, MSI 00
        Capabilities: [100] Device Serial Number b7-de-04-b0-a6-c9-a0-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8
<?>
        Capabilities: [600] Latency Tolerance Reporting
        Capabilities: [700] #19
        Kernel driver in use: pcieport

05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=05, secondary=06, subordinate=06, sec-latency=0
        Memory behind bridge: ea000000-ea0fffff
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL6540 Thunderbolt 3
Bridge (C step) [Alpine Ridge 4C 2016]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Device Serial Number b7-de-04-b0-a6-c9-a0-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8
<?>
        Capabilities: [700] #19
        Kernel driver in use: pcieport

05:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Bus: primary=05, secondary=07, subordinate=39, sec-latency=0
        Memory behind bridge: bc000000-d3efffff
        Prefetchable memory behind bridge: 0000002fb0000000-0000002fcfffffff
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL6540 Thunderbolt 3
Bridge (C step) [Alpine Ridge 4C 2016]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Device Serial Number b7-de-04-b0-a6-c9-a0-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8
<?>
        Capabilities: [700] #19
        Kernel driver in use: pcieport

05:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=05, secondary=3a, subordinate=3a, sec-latency=0
        Memory behind bridge: d3f00000-d3ffffff
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL6540 Thunderbolt 3
Bridge (C step) [Alpine Ridge 4C 2016]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Device Serial Number b7-de-04-b0-a6-c9-a0-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8
<?>
        Capabilities: [700] #19
        Kernel driver in use: pcieport

05:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=05, secondary=3b, subordinate=6e, sec-latency=0
        Memory behind bridge: d4000000-e9ffffff
        Prefetchable memory behind bridge: 0000002fd0000000-0000002ff9ffffff
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL6540 Thunderbolt 3
Bridge (C step) [Alpine Ridge 4C 2016]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Device Serial Number b7-de-04-b0-a6-c9-a0-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8
<?>
        Capabilities: [700] #19
        Kernel driver in use: pcieport

First you see pci defining the bridge windows for devices:

[  104.290143] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus
07-39] add_size 1000
[  104.290152] pci 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3a]
add_size 1000
[  104.290155] pci 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit
pref] to [bus 3a] add_size 200000 add_align 100000
[  104.290169] pci 0000:05:04.0: bridge window [io  0x1000-0x0fff] to [bus
3b-6e] add_size 1000
[  104.290180] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus
05-6e] add_size 3000

Then you see a bunch of BAR errors, saying there's no space and that they can't
be assigned:

[  104.290184] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[  104.290185] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[  104.290187] pci 0000:04:00.0: BAR 13: no space for [io  size 0x3000]
[  104.290188] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x3000]
[  104.290193] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[  104.290194] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[  104.290196] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[  104.290197] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[  104.290198] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[  104.290199] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[  104.290201] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000]
[  104.290202] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x1000]
[  104.290203] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000]
[  104.290205] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x1000]
[  104.290207] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[  104.290208] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[  104.290209] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[  104.290210] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[  104.290212] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[  104.290213] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]

But then you see that the PCI bridges seem to initialize for all the devices:

[  104.290215] pci 0000:05:00.0: PCI bridge to [bus 06]
[  104.290221] pci 0000:05:00.0:   bridge window [mem 0xea000000-0xea0fffff]
[  104.290231] pci 0000:05:01.0: PCI bridge to [bus 07-39]
[  104.290237] pci 0000:05:01.0:   bridge window [mem 0xbc000000-0xd3efffff]
[  104.290241] pci 0000:05:01.0:   bridge window [mem 0x2fb0000000-0x2fcfffffff
64bit pref]
[  104.290248] pci 0000:05:02.0: PCI bridge to [bus 3a]
[  104.290254] pci 0000:05:02.0:   bridge window [mem 0xd3f00000-0xd3ffffff]
[  104.290264] pci 0000:05:04.0: PCI bridge to [bus 3b-6e]
[  104.290270] pci 0000:05:04.0:   bridge window [mem 0xd4000000-0xe9ffffff]
[  104.290274] pci 0000:05:04.0:   bridge window [mem 0x2fd0000000-0x2ff9ffffff
64bit pref]
[  104.290281] pci 0000:04:00.0: PCI bridge to [bus 05-6e]
[  104.290286] pci 0000:04:00.0:   bridge window [mem 0xbc000000-0xea0fffff]
[  104.290291] pci 0000:04:00.0:   bridge window [mem 0x2fb0000000-0x2ff9ffffff
64bit pref]

Perhaps the BAR errors are just a red herring and at the end of the process all
of the the Thunderbolt PCI bridges *are* initialized correctly?

As I said, I've probably spent way too much time looking at this, the main
thing I keep coming back to is that my other GPU *does* work correctly as an
eGPU.  It's also a PCI x16 card (I know it's operating over PCI x4 due to TB3
bandwitch limitations), so theoretically if there were any PCI resource
problems with the Thunderbolt bridge then this GPU should also fail, correct?

I noticed a couple other things in my research:

I found a bug that points to tlp (specifically power management) as causing the
same problems with the atom bios being stuck in a loop:
https://bugs.freedesktop.org/show_bug.cgi?id=103783
Perhaps the issue is caused by some sort of aggressive PM?  I might try adding
some kernel boot parameters amdgpu.dpm=0 amdgpu.apm=0 etc.

I was also thinking that perhaps I should try the AMDGPU-PRO drivers just to
see if they would work by chance.  Somebody else reported that these drivers
worked, while the amdgpu drivers failed.  It's worth a shot.

Thanks for any feedback and/or advice!
Rob

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

[-- Attachment #1.2: Type: text/html, Size: 11506 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (23 preceding siblings ...)
  2018-10-26  4:42 ` bugzilla-daemon
@ 2018-10-26  5:11 ` bugzilla-daemon
  2018-10-26  5:14 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26  5:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #22 from Robert Strube <rstrube@gmail.com> ---
OK! My hunch about the PM was right! The card is fully initialized now, so the
issue doesn't appear to be a PCI resource issue!

I took the brute force approach, compiled my own custom kernel that completely
disabled the Vega M (by commenting out it's device IDs). I then passed in the
following kernel boot parameters:

acpi=off apm=off amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

Rebooted the machine and *BAM* the eGPU was initialized!

I'm attaching the new dmesg!

I'm just super excited that I was able to get the eGPU initialized!

xrandr even sees it!

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x74 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7
associated providers: 1 name:modesetting
Provider 1: id: 0x4a cap: 0x6, Sink Output, Source Offload crtcs: 6 outputs: 5
associated providers: 1 name:Radeon RX 580 Series @ pci:0000:09:00.0

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

[-- Attachment #1.2: Type: text/html, Size: 1928 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (24 preceding siblings ...)
  2018-10-26  5:11 ` bugzilla-daemon
@ 2018-10-26  5:14 ` bugzilla-daemon
  2018-10-26  5:15 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26  5:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #23 from Robert Strube <rstrube@gmail.com> ---
Edit: taking a closer look at the dmesg I see that disabling the PM did indeed
eliminate the PCI resource issues.  So for some reason having PM enabled
affects the PCI resource allocation for the Thunderbolt PCI bridges!

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

[-- Attachment #1.2: Type: text/html, Size: 1238 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (25 preceding siblings ...)
  2018-10-26  5:14 ` bugzilla-daemon
@ 2018-10-26  5:15 ` bugzilla-daemon
  2018-10-26  5:30 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26  5:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #24 from Robert Strube <rstrube@gmail.com> ---
Created attachment 142209
  --> https://bugs.freedesktop.org/attachment.cgi?id=142209&action=edit
dmesg log booting system with PM *DISABLED*  and *WITH* eGPU

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

[-- Attachment #1.2: Type: text/html, Size: 1388 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (26 preceding siblings ...)
  2018-10-26  5:15 ` bugzilla-daemon
@ 2018-10-26  5:30 ` bugzilla-daemon
  2018-10-26 10:35 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26  5:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #25 from Robert Strube <rstrube@gmail.com> ---
acpi=off is the only parameter necessary to get the eGPU up and running.
Setting this parameter allows the Thunderbolt PCI bridge to correctly have it's
resources allocated. This incidentally also completely disables the Vega M
(even with Vanilla kernel that does not have the device IDs commented out).

I'm wondering where I can report the Thunderbolt Controller / Bridge bug? 
Perhaps you fine folks can point me in the right direction?

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

[-- Attachment #1.2: Type: text/html, Size: 1461 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (27 preceding siblings ...)
  2018-10-26  5:30 ` bugzilla-daemon
@ 2018-10-26 10:35 ` bugzilla-daemon
  2018-10-26 16:49 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26 10:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #26 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
I don't want to stop your cheering, but that isn't a perfect solution either.

(In reply to Robert Strube from comment #25)
> I'm wondering where I can report the Thunderbolt Controller / Bridge bug? 
> Perhaps you fine folks can point me in the right direction?

That is unfortunately most like a bug in the BIOS.

What happens here is when you specify acpi=off that the internal Vega M gets
disabled and the address space that one used freed up.

This address space is then used for the Thunderbolt Controller to handle the
Polaris.

What you could try is to blacklist amdgpu from automatically loading and then
issue the following commands as root manually:

#Disable the internal Vega M
echo 1 > ./bus/pci/devices/0000:01:00.0/remove
#Manually load amdgpu to initialize the Polaris
modprobe amdgpu
#Rescan the PCI bus to find the Vega M again
echo 1 > ./bus/pci/devices/0000:00:00.0/rescan

It's just a shot into the dark, but that might work as well.

Apart from that there isn't much else you could do except to upgrade the BIOS
or use different hardware.

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

[-- Attachment #1.2: Type: text/html, Size: 2221 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (28 preceding siblings ...)
  2018-10-26 10:35 ` bugzilla-daemon
@ 2018-10-26 16:49 ` bugzilla-daemon
  2018-11-29 22:54 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-10-26 16:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #27 from Robert Strube <rstrube@gmail.com> ---
Thanks for the response.

I think it was just a coincidence that the eGPU started working with acpi=off. 
Taking a closer look at the issue it really does appear to be a BIOS problem
that prevents the proper PCI resource allocation to one of the TB PCI bridges. 
In fact when I took a closer look at the dmesg with acpi=off I still see the
resource issues present.

I've opened up an official bug report here with the kernel ACPI BIOS team here:
https://bugzilla.kernel.org/show_bug.cgi?id=201527

I realize the issue should really be solved by the manufacturer, but perhaps
the kernel devs can create a work around and/or have more direct lines of
communication with the Dell engineers.  Thank you both for your suggestions and
comments.

Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1840 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (29 preceding siblings ...)
  2018-10-26 16:49 ` bugzilla-daemon
@ 2018-11-29 22:54 ` bugzilla-daemon
  2018-11-29 23:47 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-29 22:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #28 from Robert Strube <rstrube@gmail.com> ---
Quick update:

I heard back from the ACPI BIOS kernel developers (see:
https://bugzilla.kernel.org/show_bug.cgi?id=201527) and they seem to imply that
the PCI resource issues showing up in the dmseg log are *not* a problem.  Linux
is simply trying to allocate more resources, and that the failure is OK and it
does get the requisite resources required.

See this comment https://bugzilla.kernel.org/show_bug.cgi?id=201527#c8 from
Mika.

I'm not sure where this leaves us, is it a BIOS / PCI resource issue, or is it
a bug within amdgpu?

I've also been in contact with Dell regarding the possibility that there is a
BIOS bug causing some of these issues.  I'm going to need to conduct some
testing on Windows with eGPUs to see if the problem also exists there.

Thanks!
Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1941 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (30 preceding siblings ...)
  2018-11-29 22:54 ` bugzilla-daemon
@ 2018-11-29 23:47 ` bugzilla-daemon
  2018-11-30  1:26 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-29 23:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #29 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Robert Strube from comment #28)
> Quick update:
> 
> I heard back from the ACPI BIOS kernel developers (see:
> https://bugzilla.kernel.org/show_bug.cgi?id=201527) and they seem to imply
> that the PCI resource issues showing up in the dmseg log are *not* a
> problem.  Linux is simply trying to allocate more resources, and that the
> failure is OK and it does get the requisite resources required.

It would appear to not be ok as when it gets the resources, the GPU works.

Does disabling dpm make the GPU work?  E.g., append amdgpu.dpm=0 to the kernel
command line in grub.  The driver needs to query the supported pcie speeds from
the pcie bridge it is connected to in order to setup the power management
controller.  Maybe when the resources are not available, the driver is not able
to get that information or it gets garbage.

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

[-- Attachment #1.2: Type: text/html, Size: 2037 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (31 preceding siblings ...)
  2018-11-29 23:47 ` bugzilla-daemon
@ 2018-11-30  1:26 ` bugzilla-daemon
  2018-11-30  1:35 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-30  1:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #30 from Robert Strube <rstrube@gmail.com> ---
Hi Alex,

Thanks for the reply.  I wanted to clarify an important point: When I disabled
PM completely and ACPI completely, I did not see any PCI resource issues AND
the eGPU initialized successfully.

However, after testing a little more I was able to keep the PM enabled and only
disabled ACPI.  In this situation I encountered a scenario where the PCI
resource issues were present in the log, BUT the eGPU still initialized.  I
mentioned that briefly in one of my previous comments but didn't really
elaborate.

So under certain situations the eGPU did initialize despite seeing PCI BAR
resource issues.

I've been working with another user that has the exact same system (XPS 9575)
and an RX 580 and is having the same issues.  He was actually able to get the
eGPU initialized by passing in PCI=noacpi rather than completely disabling ACPI
as a whole.  I'll double check with him to see if he can post his dmesg log -
because I'm not sure if the PCI resource issues are present under those
circumstances.

Reference:
https://forum.manjaro.org/t/rx-580-in-a-thunderbolt-egpu-dock/58210/13

At this point I've had to return my RX 580 - great card but after about a month
of troubleshooting I was running out of time in the return window - so I'm
unable to do any more testing with that specific card at this time.  Kind of a
bummer... I'll probably pick up a Vega early next year and try again.

Rob

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

[-- Attachment #1.2: Type: text/html, Size: 2532 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (32 preceding siblings ...)
  2018-11-30  1:26 ` bugzilla-daemon
@ 2018-11-30  1:35 ` bugzilla-daemon
  2018-11-30  1:43 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-30  1:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #31 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Robert Strube from comment #30)
> Hi Alex,
> 
> Thanks for the reply.  I wanted to clarify an important point: When I
> disabled PM completely and ACPI completely, I did not see any PCI resource
> issues AND the eGPU initialized successfully.
> 
> acpi=off apm=off amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

the only relevant items here are acpi=off and amdgpu.dpm=0.  Did you test them
independently or just together?  setting dpm=0 is irrelevant if acpi=off since
there will be no resource restrictions.  You need to test them independently.

> 
> I've been working with another user that has the exact same system (XPS
> 9575) and an RX 580 and is having the same issues.  He was actually able to
> get the eGPU initialized by passing in PCI=noacpi rather than completely
> disabling ACPI as a whole.  I'll double check with him to see if he can post
> his dmesg log - because I'm not sure if the PCI resource issues are present
> under those circumstances.

looks like the same issue as yours.  PCI resources not getting assigned.

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

[-- Attachment #1.2: Type: text/html, Size: 2243 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (33 preceding siblings ...)
  2018-11-30  1:35 ` bugzilla-daemon
@ 2018-11-30  1:43 ` bugzilla-daemon
  2018-11-30  1:51 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-30  1:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #32 from Robert Strube <rstrube@gmail.com> ---
Hi Alex,

I just tested acpi=off independently and not amdgpu.dpm=0 independently. 

In regards to the other user, yes he had the exact same PCI resource issues as
me, what I'm curious to find out though, is when he passed in PCI=noacpi and
was able to get the card initialized if those same PCI resource issues are
present.  My hunch is that they are still present AND the card was able to
initialize, but I'd be anxious to see.

I've also asked him to test out amdgpu.dpm=0 independently and report back. 
Hopefully you're onto something here!

Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1579 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (34 preceding siblings ...)
  2018-11-30  1:43 ` bugzilla-daemon
@ 2018-11-30  1:51 ` bugzilla-daemon
  2019-01-09 21:05 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2018-11-30  1:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #33 from Alex Deucher <alexdeucher@gmail.com> ---
With respect to pci(e) devices, acpi=off and pci=noacpi are equivalent I think.

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

[-- Attachment #1.2: Type: text/html, Size: 1101 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (35 preceding siblings ...)
  2018-11-30  1:51 ` bugzilla-daemon
@ 2019-01-09 21:05 ` bugzilla-daemon
  2019-01-09 21:08 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 21:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #34 from Robert Strube <rstrube@gmail.com> ---
Created attachment 143044
  --> https://bugs.freedesktop.org/attachment.cgi?id=143044&action=edit
dmesg log amdgpu=0 with 580 as eGPU

Another user is reporting a similar problem with a different Dell laptop (the
XPS 9370).  He provided two dmesg log files.  This one has amdgpu=0.

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

[-- Attachment #1.2: Type: text/html, Size: 1464 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (36 preceding siblings ...)
  2019-01-09 21:05 ` bugzilla-daemon
@ 2019-01-09 21:08 ` bugzilla-daemon
  2019-01-09 21:09 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 21:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #35 from Robert Strube <rstrube@gmail.com> ---
Created attachment 143045
  --> https://bugs.freedesktop.org/attachment.cgi?id=143045&action=edit
dmesg log pci=noacpi with 580 as eGPU

Another user has reported a similar problem with a different laptop (XPS 9370).
 He provided to dmesg log files.  This one has pci=noacpi set as a kernel boot
parameter.

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

[-- Attachment #1.2: Type: text/html, Size: 1494 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (37 preceding siblings ...)
  2019-01-09 21:08 ` bugzilla-daemon
@ 2019-01-09 21:09 ` bugzilla-daemon
  2019-01-09 21:10 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 21:09 UTC (permalink / raw)
  To: dri-devel


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

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

Robert Strube <rstrube@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #143044|dmesg log amdgpu=0 with 580 |dmesg log amdgpu.dpm=0 with
        description|as eGPU                     |580 as eGPU

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

[-- Attachment #1.2: Type: text/html, Size: 1165 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (38 preceding siblings ...)
  2019-01-09 21:09 ` bugzilla-daemon
@ 2019-01-09 21:10 ` bugzilla-daemon
  2019-01-09 21:13 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 21:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #36 from Robert Strube <rstrube@gmail.com> ---
(In reply to Robert Strube from comment #34)
> Created attachment 143044 [details]
> dmesg log amdgpu.dpm=0 with 580 as eGPU
> 
> Another user is reporting a similar problem with a different Dell laptop
> (the XPS 9370).  He provided two dmesg log files.  This one has amdgpu=0.

Meant to say amdgpu.dpm=0 as a boot paramater.

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

[-- Attachment #1.2: Type: text/html, Size: 1666 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (39 preceding siblings ...)
  2019-01-09 21:10 ` bugzilla-daemon
@ 2019-01-09 21:13 ` bugzilla-daemon
  2019-01-09 22:26 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 21:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #37 from Robert Strube <rstrube@gmail.com> ---
One additional comment, the user with the XPS 9370 was able to get the RX 580
working as an eGPU flawlessly in Windows 10.  This lends some credibility to
the theory that it might not actually be a BIOS issue - unless the BIOS bug is
worked around in Windows 10 drivers.  Please see here for additional
information:

https://forum.manjaro.org/t/rx-580-in-a-thunderbolt-egpu-dock/58210/30

I'm planning on purchasing an Vega 56 or 64 in the near future so I can
continue to attempt to troubleshoot the issue.

Rob

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

[-- Attachment #1.2: Type: text/html, Size: 1624 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (40 preceding siblings ...)
  2019-01-09 21:13 ` bugzilla-daemon
@ 2019-01-09 22:26 ` bugzilla-daemon
  2019-03-29 10:01 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-01-09 22:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #38 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Robert Strube from comment #34)
> Created attachment 143044 [details]
> dmesg log amdgpu.dpm=0 with 580 as eGPU
> 
> Another user is reporting a similar problem with a different Dell laptop
> (the XPS 9370).  He provided two dmesg log files.  This one has amdgpu=0.

It would appear that this user is not experiencing the same issue as you.  In
your case the driver fails to even post the GPU.  That happens long before dpm
is initialized.  The other user can try adding amdgpu.ppfeaturemask=0xfffd3ffb
to disable pcie power management to see if his issue is related to comment 29.

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

[-- Attachment #1.2: Type: text/html, Size: 1984 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] 63+ messages in thread

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (41 preceding siblings ...)
  2019-01-09 22:26 ` bugzilla-daemon
@ 2019-03-29 10:01 ` bugzilla-daemon
  2019-03-29 10:06 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 10:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #39 from Dimitar Atanasov <phusho@yahoo.com> ---
I am with same problem. Computer is Dell Precision 5530 2-in-1 with VegaM
inside
EGPU is Vega56. EGPU is not starting even with acpi=off. Kernel 5.0.4

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (42 preceding siblings ...)
  2019-03-29 10:01 ` bugzilla-daemon
@ 2019-03-29 10:06 ` bugzilla-daemon
  2019-03-29 13:00 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 10:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #40 from Dimitar Atanasov <phusho@yahoo.com> ---
Created attachment 143804
  --> https://bugs.freedesktop.org/attachment.cgi?id=143804&action=edit
acpi=off amd.dpm=0

Vega 56

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (43 preceding siblings ...)
  2019-03-29 10:06 ` bugzilla-daemon
@ 2019-03-29 13:00 ` bugzilla-daemon
  2019-03-29 13:10 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 13:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #41 from Dimitar Atanasov <phusho@yahoo.com> ---
Created attachment 143805
  --> https://bugs.freedesktop.org/attachment.cgi?id=143805&action=edit
default boot vega 56

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (44 preceding siblings ...)
  2019-03-29 13:00 ` bugzilla-daemon
@ 2019-03-29 13:10 ` bugzilla-daemon
  2019-03-29 13:56 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 13:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #42 from Dimitar Atanasov <phusho@yahoo.com> ---
actualy with acpi=off, Vega 56 is not found at all during boot, only enclosure

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (45 preceding siblings ...)
  2019-03-29 13:10 ` bugzilla-daemon
@ 2019-03-29 13:56 ` bugzilla-daemon
  2019-03-29 16:31 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 13:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #43 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Dimitar Atanasov from comment #41)
> Created attachment 143805 [details]
> default boot vega 56

Similar issues on your system:
[  168.653171] pci 0000:3d:00.0: BAR 0: no space for [mem size 0x00004000]
[  168.653176] pci 0000:3d:00.0: BAR 0: failed to assign [mem size 0x00004000]

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (46 preceding siblings ...)
  2019-03-29 13:56 ` bugzilla-daemon
@ 2019-03-29 16:31 ` bugzilla-daemon
  2019-03-29 17:43 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 16:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #44 from Dimitar Atanasov <phusho@yahoo.com> ---
Works with 4.19.32 witch acpi=off, but CPU is single core

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (47 preceding siblings ...)
  2019-03-29 16:31 ` bugzilla-daemon
@ 2019-03-29 17:43 ` bugzilla-daemon
  2019-03-30 11:42 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-29 17:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #45 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Dimitar Atanasov from comment #44)
> Works with 4.19.32 witch acpi=off, but CPU is single core

Most likely some other device failed to get enumerated in that case and that
freed up resources for the bridges.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (48 preceding siblings ...)
  2019-03-29 17:43 ` bugzilla-daemon
@ 2019-03-30 11:42 ` bugzilla-daemon
  2019-03-30 11:44 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-30 11:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #46 from Rasmus Thomsen <cogitri@exherbo.org> ---
FWIW, I'm also hit by this on a HP Spectre X360 with a Vega M configuration
(thought it's notable as the other reports seem to only come from Dell
machines?). Disabling the Vega M by doing `echo 1 >
/sys/bus/pci//devices/0000:01:00.0/remove` hasn't changed a thing (Checked by
lspci first, that is the right device) and booting with `acpi=off` causes my
touchpad and the thunderbolt controller to not function at all (apparently?),
so there's that.

Am using a RX470 in a Razer Core X, which works flawlessly on Windows. But I
guess the Vega M does the trick on Linux for now, thanks for the great work on
amdgpu and Mesa :)

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (49 preceding siblings ...)
  2019-03-30 11:42 ` bugzilla-daemon
@ 2019-03-30 11:44 ` bugzilla-daemon
  2019-03-30 11:51 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-30 11:44 UTC (permalink / raw)
  To: dri-devel


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

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

Rasmus Thomsen <cogitri@exherbo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cogitri@exherbo.org

--- Comment #47 from Rasmus Thomsen <cogitri@exherbo.org> ---
Created attachment 143818
  --> https://bugs.freedesktop.org/attachment.cgi?id=143818&action=edit
dmesg-HP-SpectreX360-8705G

Seems that I also hit the

[13974.780260] pcieport 0000:03:04.0: BAR 13: failed to assign [io  size
0x1000]
[13974.780262] pcieport 0000:03:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (50 preceding siblings ...)
  2019-03-30 11:44 ` bugzilla-daemon
@ 2019-03-30 11:51 ` bugzilla-daemon
  2019-04-01 16:14 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-03-30 11:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #48 from Dimitar Atanasov <phusho@yahoo.com> ---
May be problem is the CPU, because it has only 16 PCIe lains, so 8 for vega M,
4 for NVME, and 4 for others, I have seen that card reader is also connected on
PCIe.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (51 preceding siblings ...)
  2019-03-30 11:51 ` bugzilla-daemon
@ 2019-04-01 16:14 ` bugzilla-daemon
  2019-04-19 19:46 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-04-01 16:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #49 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Dimitar Atanasov from comment #48)
> May be problem is the CPU, because it has only 16 PCIe lains, so 8 for vega
> M,
> 4 for NVME, and 4 for others, I have seen that card reader is also connected
> on PCIe.

It's the MMIO space in the CPU's address space.  The CPU (by way of the sbios)
defines a window of address space that is used for device MMIO.  By default
most platforms put a relatively small MMIO windows below 4GB for 32 bit OS
compatibility.  Having a small MMIO windows limits the amount of space for
devices and if there is not enough space some device resources can't be mapped
which is what causes the problem.  There is often a feature in the sbios config
called ">4GB MMIO" or similar which enables a bigger MMIO windows.  Some
sbioses also enable it dynamically depending on what OS is booted or conditions
in the system at boot time (legacy vs UEFI boot).  IIRC, it's a requirement for
windows 10, so there is probably something about the windows 10 OEM install
which causes it to boot with a larger MMIO window set up.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (52 preceding siblings ...)
  2019-04-01 16:14 ` bugzilla-daemon
@ 2019-04-19 19:46 ` bugzilla-daemon
  2019-04-25  0:18 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-04-19 19:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #50 from Dimitar Atanasov <phusho@yahoo.com> ---
There is two windows on this system. Small one below 4GB which is 2.5GB and
bigger one over 4GB which is 64GB. Address space for thunderbolt is only 200
MB. As I know AMDGPU needs 250 MB in low 4GB and rest is in big space.
Interesting enough, is that I have XPS 9570 which is 8750h and there is BIOS
option how to assign MMIO space, there is no such option here.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (53 preceding siblings ...)
  2019-04-19 19:46 ` bugzilla-daemon
@ 2019-04-25  0:18 ` bugzilla-daemon
  2019-04-25  0:18 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-04-25  0:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #51 from Robert Strube <rstrube@gmail.com> ---
Hello Everyone,

I realize it's been a long time since I updated this bug report, apologies in
advance.  I decided to give up on eGPUs + Linux (over Thunderbolt 3) for a
while, and didn't get a chance to really tackle the problem again until more
recently.

Since my initial report, I have been able to get an eGPU working with my Dell
XPS 9575, but only with a Nvidia GPU (specifically an RTX 2070).  I did try
another AMD card, but ran into the same problems.

I'll attach my dmesg and lspci information in the hopes that this might shed
some light on why the nvidia GPU works correctly (albeit with the proprietary
driver) and certain AMD GPUs don't.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (54 preceding siblings ...)
  2019-04-25  0:18 ` bugzilla-daemon
@ 2019-04-25  0:18 ` bugzilla-daemon
  2019-04-25  0:19 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-04-25  0:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #52 from Robert Strube <rstrube@gmail.com> ---
Created attachment 144090
  --> https://bugs.freedesktop.org/attachment.cgi?id=144090&action=edit
dmesg log with kernel 5.0.x with nvidia eGPU

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (55 preceding siblings ...)
  2019-04-25  0:18 ` bugzilla-daemon
@ 2019-04-25  0:19 ` bugzilla-daemon
  2019-11-02  9:13 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-04-25  0:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #53 from Robert Strube <rstrube@gmail.com> ---
Created attachment 144091
  --> https://bugs.freedesktop.org/attachment.cgi?id=144091&action=edit
lspci kernel 5.0.x with nividia eGPU

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (56 preceding siblings ...)
  2019-04-25  0:19 ` bugzilla-daemon
@ 2019-11-02  9:13 ` bugzilla-daemon
  2019-11-02  9:15 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-11-02  9:13 UTC (permalink / raw)
  To: dri-devel


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

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

kumquad <werbungspam@outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTOURBUG                   |---

--- Comment #54 from kumquad <werbungspam@outlook.com> ---
Hello, 

I think I have the same problem as all the others here.
My setup - working fine under Windows - is:
* HP Spectre x360 - chxx model with the i7-8705 CPU (so also with an vega M
dGPU
* Razer Core X with AMD Vega56
A normal boot with Kernel 5.3.7-2 gives me this in dmesg:

[   11.672442] [drm:atom_op_jump [amdgpu]] *ERROR* atombios stuck in loop for
more than 5secs aborting
[   11.672469] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios
stuck executing CF4E (len 1030, WS 8, PS 0) @ 0xD2C5
[   11.672492] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios
stuck executing C410 (len 114, WS 0, PS 8) @ 0xC41C
[   11.672495] amdgpu 0000:09:00.0: gpu post error!
[   11.672496] amdgpu 0000:09:00.0: Fatal error during GPU init
[   11.672497] [drm] amdgpu: finishing device.



but I also found some errors like this: Do they have to do something with our
GPU?
[    2.732913] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [D128] at bit
offset/length 128/1024 exceeds size of target Buffer (160 bits)
(20190703/dsopcode-198)
[    2.732919] ACPI Error: Aborting method \HWMC due to previous error
(AE_AML_BUFFER_LIMIT) (20190703/psparse-529)
[    2.732927] ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error
(AE_AML_BUFFER_LIMIT) (20190703/psparse-529)



I also have some of those BAR-errors, but I never have them with the PCI Adress
of the eGPU only with other adresses:
[    0.779001] pci 0000:02:00.0: BAR 13: assigned [io  0x2000-0x4fff]
[    0.779004] pci 0000:03:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[    0.779005] pci 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[    0.779006] pci 0000:03:01.0: BAR 13: assigned [io  0x2000-0x2fff]
[    0.779006] pci 0000:03:02.0: BAR 13: assigned [io  0x3000-0x3fff]
[    0.779007] pci 0000:03:04.0: BAR 13: assigned [io  0x4000-0x4fff]
[    0.779009] pci 0000:03:02.0: BAR 15: no space for [mem size 0x00200000
64bit pref]
[    0.779010] pci 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000
64bit pref]
[    0.779010] pci 0000:03:00.0: PCI bridge to [bus 04]
[    0.779016] pci 0000:03:00.0:   bridge window [mem 0xde000000-0xde0fffff]
[    0.779025] pci 0000:03:01.0: PCI bridge to [bus 05-37]
[    0.779027] pci 0000:03:01.0:   bridge window [io  0x2000-0x2fff]
[    0.779032] pci 0000:03:01.0:   bridge window [mem 0xb0000000-0xc7efffff]
[    0.779036] pci 0000:03:01.0:   bridge window [mem 0x2f90000000-0x2fafffffff
64bit pref]

Device Adress 03:02.0 Corresponds to my Thunderbolt controller:

03:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step)
[Alpine Ridge 4C 2016] (rev 02)


@Robert Strude: You wanted to buy a Vega and make some researches with it. As
you can see there is still something wrong here. Perhaps you are interested and
want to help me finding more information.

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (57 preceding siblings ...)
  2019-11-02  9:13 ` bugzilla-daemon
@ 2019-11-02  9:15 ` bugzilla-daemon
  2019-11-02  9:37 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-11-02  9:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #55 from kumquad <werbungspam@outlook.com> ---
Created attachment 145876
  --> https://bugs.freedesktop.org/attachment.cgi?id=145876&action=edit
Spectrex360 / Kernel 5.3.7 / Vega56 / normal boot

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

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

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

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

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

* [Bug 108521] RX 580 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (58 preceding siblings ...)
  2019-11-02  9:15 ` bugzilla-daemon
@ 2019-11-02  9:37 ` bugzilla-daemon
  2019-11-02  9:39 ` [Bug 108521] RX 580 / Vega56 " bugzilla-daemon
  2019-11-20  7:53 ` bugzilla-daemon
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-11-02  9:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #56 from kumquad <werbungspam@outlook.com> ---
More tests:

*pci=noacpi
PC is booting but either it freezes right after booting to GNOME or it blocks
the Touchpad/USB mouse/keyboard/Tochscreen from working

*amdgpu.dpm=0 or acpi=off
Screen turns black and nothing happens anymore

Another thing I noticed:
Sometimes when booting, GRUB shows on the external monitor hoocked up to the
eGPU and not on the Laptops internal one. But as soon as Linux starts it
switches back to the internal monitor. If I select Windows the whole boot
continues on the eGPU-monitor.

I also made a thread in the manjaro-forum two days ago. There you can also find
some more logs from my machine/system/configuration:
https://forum.manjaro.org/t/help-setting-up-egpu-stuck-on-boot-when-connected/109583/10

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

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

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

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

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

* [Bug 108521] RX 580 / Vega56 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (59 preceding siblings ...)
  2019-11-02  9:37 ` bugzilla-daemon
@ 2019-11-02  9:39 ` bugzilla-daemon
  2019-11-20  7:53 ` bugzilla-daemon
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-11-02  9:39 UTC (permalink / raw)
  To: dri-devel


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

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

kumquad <werbungspam@outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|RX 580 as eGPU amdgpu: gpu  |RX 580 / Vega56 as eGPU
                   |post error!                 |amdgpu: gpu post error!

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

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

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

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

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

* [Bug 108521] RX 580 / Vega56 as eGPU amdgpu: gpu post error!
  2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
                   ` (60 preceding siblings ...)
  2019-11-02  9:39 ` [Bug 108521] RX 580 / Vega56 " bugzilla-daemon
@ 2019-11-20  7:53 ` bugzilla-daemon
  61 siblings, 0 replies; 63+ messages in thread
From: bugzilla-daemon @ 2019-11-20  7:53 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #57 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/566.

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

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

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

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

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

end of thread, other threads:[~2019-11-20  7:53 UTC | newest]

Thread overview: 63+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23  5:14 [Bug 108521] RX 580 as eGPU amdgpu: gpu post error! bugzilla-daemon
2018-10-23 14:25 ` bugzilla-daemon
2018-10-23 16:00 ` bugzilla-daemon
2018-10-23 16:00 ` bugzilla-daemon
2018-10-23 20:08 ` bugzilla-daemon
2018-10-24  6:24 ` bugzilla-daemon
2018-10-24 20:44 ` bugzilla-daemon
2018-10-25  1:13 ` bugzilla-daemon
2018-10-25  1:15 ` bugzilla-daemon
2018-10-25  1:34 ` bugzilla-daemon
2018-10-25  2:12 ` bugzilla-daemon
2018-10-25  2:16 ` bugzilla-daemon
2018-10-25  3:06 ` bugzilla-daemon
2018-10-25  3:21 ` bugzilla-daemon
2018-10-25  7:05 ` bugzilla-daemon
2018-10-25 14:56 ` bugzilla-daemon
2018-10-25 15:01 ` bugzilla-daemon
2018-10-25 15:02 ` bugzilla-daemon
2018-10-25 15:07 ` bugzilla-daemon
2018-10-25 15:11 ` bugzilla-daemon
2018-10-25 15:12 ` bugzilla-daemon
2018-10-25 15:12 ` bugzilla-daemon
2018-10-25 15:13 ` bugzilla-daemon
2018-10-25 20:05 ` bugzilla-daemon
2018-10-26  4:42 ` bugzilla-daemon
2018-10-26  5:11 ` bugzilla-daemon
2018-10-26  5:14 ` bugzilla-daemon
2018-10-26  5:15 ` bugzilla-daemon
2018-10-26  5:30 ` bugzilla-daemon
2018-10-26 10:35 ` bugzilla-daemon
2018-10-26 16:49 ` bugzilla-daemon
2018-11-29 22:54 ` bugzilla-daemon
2018-11-29 23:47 ` bugzilla-daemon
2018-11-30  1:26 ` bugzilla-daemon
2018-11-30  1:35 ` bugzilla-daemon
2018-11-30  1:43 ` bugzilla-daemon
2018-11-30  1:51 ` bugzilla-daemon
2019-01-09 21:05 ` bugzilla-daemon
2019-01-09 21:08 ` bugzilla-daemon
2019-01-09 21:09 ` bugzilla-daemon
2019-01-09 21:10 ` bugzilla-daemon
2019-01-09 21:13 ` bugzilla-daemon
2019-01-09 22:26 ` bugzilla-daemon
2019-03-29 10:01 ` bugzilla-daemon
2019-03-29 10:06 ` bugzilla-daemon
2019-03-29 13:00 ` bugzilla-daemon
2019-03-29 13:10 ` bugzilla-daemon
2019-03-29 13:56 ` bugzilla-daemon
2019-03-29 16:31 ` bugzilla-daemon
2019-03-29 17:43 ` bugzilla-daemon
2019-03-30 11:42 ` bugzilla-daemon
2019-03-30 11:44 ` bugzilla-daemon
2019-03-30 11:51 ` bugzilla-daemon
2019-04-01 16:14 ` bugzilla-daemon
2019-04-19 19:46 ` bugzilla-daemon
2019-04-25  0:18 ` bugzilla-daemon
2019-04-25  0:18 ` bugzilla-daemon
2019-04-25  0:19 ` bugzilla-daemon
2019-11-02  9:13 ` bugzilla-daemon
2019-11-02  9:15 ` bugzilla-daemon
2019-11-02  9:37 ` bugzilla-daemon
2019-11-02  9:39 ` [Bug 108521] RX 580 / Vega56 " bugzilla-daemon
2019-11-20  7:53 ` 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.