You are not logged in.
Pages: 1
Hello everyone ,
i have recently bought Amd advantage edition laptop . i have installed Arch distro on this but the amd driver keep on crashing on external gpu (6800 m). To install the driver i have followed the instructions given on this link -->
https://wiki.archlinux.org/title/AMDGPU.
After N minutes the amd gpu driver crashes and external monitor get stuck. i have checked the dmesg and got the following errors
[ 6163.126502] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 6163.339786] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 6474.791361] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
[ 6479.911375] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
[ 6484.828256] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=84158, emitted seq=84159
[ 6484.828557] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Xorg pid 22213 thread Xorg:cs0 pid 22235
[ 6484.828806] amdgpu 0000:03:00.0: amdgpu: GPU reset begin!
[ 6485.227644] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
[ 6485.241847] [drm] free PSP TMR buffer
[ 6485.286722] amdgpu 0000:03:00.0: amdgpu: MODE1 reset
[ 6485.286727] amdgpu 0000:03:00.0: amdgpu: GPU mode1 reset
[ 6485.286729] amd_iommu_report_page_fault: 124 callbacks suppressed
[ 6485.286732] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cb9a00 flags=0x0010]
[ 6485.286740] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cbd600 flags=0x0010]
[ 6485.286744] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cb0700 flags=0x0010]
[ 6485.286747] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cc1200 flags=0x0010]
[ 6485.286750] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20c1ff80 flags=0x0010]
[ 6485.286753] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cc8a00 flags=0x0010]
[ 6485.286757] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20c23b80 flags=0x0010]
[ 6485.286760] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cc4e00 flags=0x0010]
[ 6485.286763] amdgpu 0000:03:00.0: AMD-Vi: Evnt logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20ccc600 flags=0x0010]
[ 6485.286766] amdgpu 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xf7d20cca800 flags=0x0010]
[ 6485.286769] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d20cd0200 flags=0x0010]
[ 6485.286773] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf8500a58300 flags=0x0010]
[ 6485.286776] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00def580 flags=0x0010]
[ 6485.286780] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00ddb980 flags=0x0010]
[ 6485.286783] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00db4180 flags=0x0010]
[ 6485.286786] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00de5780 flags=0x0010]
[ 6485.286789] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00e16d80 flags=0x0010]
[ 6485.286792] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00dbdf80 flags=0x0010]
[ 6485.286795] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00df9380 flags=0x0010]
[ 6485.286798] AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x000d address=0xf7d00dd1b80 flags=0x0010]
[ 6485.286803] amdgpu 0000:03:00.0: amdgpu: GPU smu mode1 reset
[ 6485.805008] amdgpu 0000:03:00.0: amdgpu: GPU reset succeeded, trying to resume
[ 6485.805158] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
[ 6485.805193] [drm] VRAM is lost due to GPU reset!
[ 6485.805411] [drm] PSP is resuming...
[ 6485.998058] [drm] reserve 0xa00000 from 0x82fe000000 for PSP TMR
[ 6486.077943] amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 6486.088420] amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 6486.088425] amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
[ 6486.142974] amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
[ 6486.144486] [drm] DMUB hardware initialized: version=0x02020003
[ 6486.235642] [drm] kiq ring mec 2 pipe 1 q 0
[ 6486.239343] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 6486.239619] [drm] JPEG decode initialized successfully.
[ 6486.239677] amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 6486.239679] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 6486.239680] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 6486.239681] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 6486.239681] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 6486.239682] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 6486.239683] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 6486.239683] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 6486.239684] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 6486.239685] amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[ 6486.239686] amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[ 6486.239686] amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[ 6486.239687] amdgpu 0000:03:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
[ 6486.239688] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
[ 6486.239688] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
[ 6486.239689] amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
[ 6486.244423] amdgpu 0000:03:00.0: amdgpu: recover vram bo from shadow start
[ 6486.244683] amdgpu 0000:03:00.0: amdgpu: recover vram bo from shadow done
[ 6486.244685] [drm] Skip scheduling IBs!
[ 6486.244726] amdgpu 0000:03:00.0: amdgpu: GPU reset(4) succeeded!
[ 6486.246557] [drm] Skip scheduling IBs!
[ 6490.691122] amdgpu_cs_ioctl: 231 callbacks suppressed
[ 6490.691135] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.753490] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.799665] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.808938] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.825510] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.842965] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.858935] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.875747] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.893410] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6490.909337] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6495.693816] amdgpu_cs_ioctl: 47 callbacks suppressed
[ 6495.693823] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6495.845323] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6495.944725] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.044228] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.177711] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.245409] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.259331] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.287632] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.777463] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6496.943921] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6500.893250] amdgpu_cs_ioctl: 24 callbacks suppressed
[ 6500.893259] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.236270] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.251196] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.336576] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.393948] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.477374] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6501.860770] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6502.111187] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6502.232867] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 6502.393406] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!e i have also tried many arch based distro like manjaro , arco etc but the issue is same on all the distributions.
i have connected 2 monitors to the , one monitor is connected to HDMI port (Connected to igpu) and other monitor is connected to type-C to hdmi card (Connected to radeon 6800m external gpu).
This setup is working fine on windows so it is driver issue.
Have i done something wrong during driver installation ?
Note: My laptop specs
> CPU - ryzen 5 5900hx
> GPU - amd 6800m
Last edited by parasbhanot (2021-09-02 14:37:31)
Offline
First : use [ code ] tags for such outputs, see https://bbs.archlinux.org/help.php#bbcode
second :
This setup is working fine on windows so it is driver issue.
Please, don't jump to conclusions.
Your description indicates your system has 2 videocards : an iGPU and a dGPU .
The amdgpu wiki page is intended for systems with only one amd videocard
For systems with iGPU + dGPU additional setup is needed , check https://wiki.archlinux.org/title/PRIME to get an idea what options you have.
"Amd advantage edition" laptops are available from atleast ASUS and MSi .
What brand and model is your laptop ?
please post lspci -k output , dmesg and SYSTEMD_LESS=FRXMK journalctl -b (run the last 2 as root).
dmesg and journal are probably large, use ix.io to uploaded them.
(https://wiki.archlinux.org/title/List_of_applications#Pastebin_services for details)
Welcome to Archlinux forums.
P.S.
The 5900HX is classified by amd as a ryzen 9 processor from the ryzen 5000 family .
A ryzen 5 (or 7) HX processor doesn't seem to exist.
Last edited by Lone_Wolf (2021-09-02 11:26:54)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
it is asus amd advantage edition laptop .
i have checked https://wiki.archlinux.org/title/PRIME but i cannot figure out which package do i need to install ?
So far i have installed the following graphical packages for amd gpu :
* xf86-video-amdgpu
* lib32-mesa
* lib32-vulkan-radeon
* libva-mesa-driver
* lib32-libva-mesa-driver
* mesa-vdpau
* lib32-mesa-vdpau
here is the output fo 'lspci -k' command
~ ❯ sudo lspci -k 17:50:05
[sudo] password for parasbhanot:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
Subsystem: ASUSTeK Computer Inc. Device 16c2
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
Subsystem: ASUSTeK Computer Inc. Device 16c2
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 16c2
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c3)
Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
Kernel driver in use: pcieport
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT / 6800M] (rev c3)
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. Device 208f
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller: MEDIATEK Corp. Device 7961
Subsystem: AzureWave Device 4680
Kernel driver in use: mt7921e
Kernel modules: mt7921e, wl
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
Subsystem: Samsung Electronics Co Ltd Device a801
Kernel driver in use: nvme
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
Subsystem: Samsung Electronics Co Ltd Device a801
Kernel driver in use: nvme
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c4)
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: amdgpu
Kernel modules: amdgpu
08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
08:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: ASUSTeK Computer Inc. Device 16c2
Kernel driver in use: ccp
Kernel modules: ccp
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
08:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 104f
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x
08:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
DeviceName: HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 104f
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intelShould i install xf86-video-ati as well ?
Last edited by parasbhanot (2021-09-02 13:52:12)
Offline
Should i install xf86-video-ati as well ?
No, but please edit your first post and wrap the output in code tags. Thanks.
The error is from the Radeon 6800M and because of the fencnig timeout (and in general) the 1st thing I'd check would be whether you can reliably run on the IGP *only*.
Then whether you can realiably run on the 6800M *only*.
Do you have xf86-video-amdgpu installed atm? What if you remove that (that's not the kernel module)?
Online
yes , i have installed the xf86-video-amdgpu.
After removing the xf86-video-amdgpu the second monitor which is connected to usb type c to hdmi adapter is not working anymore.
Last edited by parasbhanot (2021-09-02 14:43:30)
Offline
xrandr --listprovidersOnline
The igpu is working fine as when the crash happens only second monitor which is connected to external gpu (amd 6800m) get stuck .
Offline
Here is the output of 'xrandr --listproviders'
❯ xrandr --listproviders 20:15:34
Providers: number : 2
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:modesetting
Provider 1: id: 0x12e cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 1 associated providers: 1 name:modesettingOffline
xrandr --setprovideroutputsource 0x45 0x12e(Guessing that the first provider is the one that's currently running X11)
Online
This issue looks very similar to this :
https://gitlab.freedesktop.org/drm/amd/-/issues/934
should i try amdgpu pro driver instead ?
Last edited by parasbhanot (2021-09-02 15:47:16)
Offline
No, amdgpu pro has its own issues and is not in official repos .
Try the command that seth posted.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
After reinstalling the amdgpu driver on arco linux the issue seems to be solved but i will test this for a week to get the confirmation .
Offline
Issue is still the same . i have even tried experimental gpu driver along with mesa-git .
I am running out of ideas now .
Amd provides drives for distros like ubuntu /redhat /opensuse
Offline
Try the command that seth posted.
Online
Pages: 1