Re: AMD Drivers

From: Alex Deucher
Date: Thu Jul 25 2019 - 14:08:57 EST


On Thu, Jul 25, 2019 at 3:30 AM Enrico Weigelt, metux IT consult
<lkml@xxxxxxxxx> wrote:
>
> On 24.07.19 16:17, Gilberto Nunes wrote:
>
> Hi,
>
> crossposting to dri-devel, as it smells like a problem w/ amdgpu driver.
>
> > CPU - AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G
> > GPU - Wani [Radeon R5/R6/R7 Graphics] (amdgpu)
> > Network Interface card:
> > 01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
> >
> > When I install kernel 4.18.x or 5.x, the network doesn't work anymore...
>
> What about other versions (eg. v4.19) ?
> Which is the last working version ?
>
> > I can loaded the modulo r8169 andr8168.
> > I saw enp1s0f1 as well but there's no link at all!
> > Even when I fixed the IP none link!
> > I cannot ping the network gateway or any other IP inside LAN!
> > Right now, I booted my laptop with kernel
> > Linux version 5.2.2-050202-generic (kernel@kathleen) (gcc version
> > 9.1.0 (Ubuntu 9.1.0-9ubuntu2)) #201907231250 SMP Tue Jul 23 12:53:21
> > UTC 2019
>
> Could you also try 5.3 ?
>
> > The system boot slowly, and I have a SSD Samsung, which in kernel
> > 4.15, boot quickly.
> > And there's many errors in dmesg command, like you can see in this pastbin
> >
> > https://paste.ubuntu.com/p/YhbjnzYYYh/
>
> looks like something's wrong w/ reading gpu registers (more precisely
> waiting for some changing), that's causing the soft lockup. (maybe too
> big timeout ?)

It looks like the dGPU fails to power up properly when you attempt to
use it. You can append amdgpu.runpm=0 to the kernel command line in
grub to disable dynamically powering down the dGPU.

Alex

>
> > Oh! By the way, the network card r8169 are work wonderful!
>
> Didn't you say (above) that it does not work ?
> Or is it just an immediate fail and later comes back ?
>
>
> --mtx
>
>
> --
> Enrico Weigelt, metux IT consult
> Free software and Linux embedded engineering
> info@xxxxxxxxx -- +49-151-27565287
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel