Re: AMD Drivers

From: Alex Deucher
Date: Thu Jul 25 2019 - 15:50:37 EST


On Thu, Jul 25, 2019 at 3:29 PM Gilberto Nunes
<gilberto.nunes32@xxxxxxxxx> wrote:
>
> Hi there!
>
> I try the kernel 5.3.0-050300rc1-generic and almost everything works
> perfectly, except there's no sound in HDMI!!!

Sounds is fixed with this patch:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.3&id=92e6475ae0a0383b012eb21c1aaf0e5456b1a3d9
which is on it's way upstream for rc2.

Alex

> Pavucontrol show me device unplugged!
> But I have now work properly NIC and GPU!
>
>
> lspci
> 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Root Complex
> 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
> 60h-6fh) I/O Memory Management Unit
> 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c8)
> 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini
> HDMI/DP Audio
> 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Host Bridge
> 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Root Port
> 00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Root Port
> 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Host Bridge
> 00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Root Port
> 00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
> 00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
> 00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Audio Controller
> 00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB
> XHCI Controller (rev 20)
> 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA
> Controller [AHCI mode] (rev 49)
> 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB
> EHCI Controller (rev 49)
> 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
> 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
> 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 0
> 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 1
> 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 2
> 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 3
> 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 4
> 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
> (Models 60h-6fh) Processor Function 5
> 01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
> RTL8411B PCI Express Card Reader (rev 01)
> 01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
> 02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless
> Network Adapter (rev 31)
> 03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Lexa PRO [Radeon RX 550/550X] (rev c3)
> ---
> Gilberto Nunes Ferreira
>
> (47) 3025-5907
> (47) 99676-7530 - Whatsapp / Telegram
>
> Skype: gilberto.nunes36
>
>
> Em qui, 25 de jul de 2019 Ãs 14:26, Alex Deucher
> <alexdeucher@xxxxxxxxx> escreveu:
> >
> > 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