<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - RX 480 does not work as eGPU (amdgpu crashes at amdgpu_bo_init)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98552">98552</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RX 480 does not work as eGPU (amdgpu crashes at amdgpu_bo_init)
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/AMDgpu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>xorg-driver-ati@lists.x.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gsedej@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xorg-team@lists.x.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=127690" name="attach_127690" title="dmesg from crash">attachment 127690</a> <a href="attachment.cgi?id=127690&action=edit" title="dmesg from crash">[details]</a></span>
dmesg from crash
I have recently new laptop with i7 4700qm CPU. The nvidia 840m is very slow
even with nvidia driver (I can play new steam linux games at 720p at low to
medium).
My idea is to user "eGPU" solution using RX 480 (external graphics connected to
laptop via expresscard or minipcie)
I prepeared my system - Ubuntu 16.04, kernel 4.9rc3, mesa 13.1 dev
If I start laptop connected to the RX 480, I get blank screen after GRUB, and
can't access it
When I connect GPU while running I can get dmesg using ssh from another
computer.
I am using kernel parameters pci=norcs and pci=realloc
here is probably the problematic part (rest is in the attachment)
[ 980.754662] [<ffffffffa1e705a9>] io_reserve_memtyp+e0x59/0x130
[ 980.754688] [<ffffffffa1e706af>] arch_io_reserve_memtype_wc+0x2f/0x50
[ 980.754780] [<ffffffffc08f3180>] amdgpu_bo_init+0x20/0x90 [amdgpu]
[ 980.754835] [<ffffffffc092cbca>] gmc_v8_0_sw_init+0x37a/0x5a0 [amdgpu]
[ 980.754885] [<ffffffffc08e12a4>] amdgpu_device_init+0xc64/0x11e0 [amdgpu]
[ 980.754920] [<ffffffffa1fd0584>] ? kmalloc_order_trace+0x24/0xa0
[ 980.754967] [<ffffffffc08e39db>] amdgpu_driver_load_kms+0x5b/0x1f0 [amdgpu]
[ 980.755028] [<ffffffffc00a5657>] drm_dev_register+0xa7/0xd0 [drm]
[ 980.755069] [<ffffffffc00a773c>] drm_get_pci_dev+0x9c/0x1c0 [drm]
[ 980.755121] [<ffffffffc08de49c>] amdgpu_pci_probe+0xbc/0xe0 [amdgpu]
[ 980.755150] [<ffffffffa226e415>] local_pci_probe+0x45/0xa0
[ 980.755173] [<ffffffffa226f8c9>] pci_device_probe+0x109/0x160
[ 980.755202] [<ffffffffa2393fd3>] driver_probe_device+0x223/0x430
[ 980.755229] [<ffffffffa23942bf>] __driver_attach+0xdf/0xf0
[ 980.755253] [<ffffffffa23941e0>] ? driver_probe_device+0x430/0x430
[ 980.755279] [<ffffffffa2391b0c>] bus_for_each_dev+0x6c/0xc0
[ 980.755306] [<ffffffffa239371e>] driver_attach+0x1e/0x20
[ 980.755330] [<ffffffffa2393140>] bus_add_driver+0x170/0x270
[ 980.755357] [<ffffffffc0a25000>] ? 0xffffffffc0a25000
[ 980.755383] [<ffffffffa2394c30>] driver_register+0x60/0xe0
[ 980.755407] [<ffffffffc0a25000>] ? 0xffffffffc0a25000
[ 980.755432] [<ffffffffa226dd0c>] __pci_register_driver+0x4c/0x50
[ 980.755468] [<ffffffffc00a794b>] drm_pci_init+0xeb/0x100 [drm]
[ 980.755493] [<ffffffffc0a25000>] ? 0xffffffffc0a25000
[ 980.755519] [<ffffffffc0a25000>] ? 0xffffffffc0a25000
[ 980.755566] [<ffffffffc0a25079>] amdgpu_init+0x79/0x7b [amdgpu]
[ 980.755596] [<ffffffffa1e02190>] do_one_initcall+0x50/0x180
[ 980.755624] [<ffffffffa1ff0201>] ? __vunmap+0x81/0xd0
[ 980.755651] [<ffffffffa200e742>] ? kmem_cache_alloc_trace+0x142/0x190
[ 980.755683] [<ffffffffa1fa3df1>] do_init_module+0x5f/0x1f7
[ 980.755707] [<ffffffffa1f1392b>] load_module+0x199b/0x1d00
[ 980.755732] [<ffffffffa1f10020>] ? __symbol_put+0x60/0x60
[ 980.755759] [<ffffffffa21bcf8e>] ? ima_post_read_file+0x7e/0xa0
[ 980.755790] [<ffffffffa2175edb>] ? security_kernel_post_read_file+0x6b/0x80
[ 980.755824] [<ffffffffa1f13eff>] SYSC_finit_module+0xdf/0x110
[ 980.755853] [<ffffffffa1f13f4e>] SyS_finit_module+0xe/0x10
[ 980.755878] [<ffffffffa268bbbb>] entry_SYSCALL_64_fastpath+0x1e/0xad</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>