Plugging in AMD 7800xt GPU bricks my archlinux pc
Hello, I have built a fresh new PC and installed arch on it. The PC works fine and is fast, but it does not do this when I install my GPU.
Whenever I connect the power cables for my GPU, the computer will still start up and work fine for about 5-10s. Then it freezes up and becomes completely unusable. This only happens when the GPU is plugged in. I was able to launch top before the system froze and it showed that there was a process called kworker which was using 100% cpu. If i leave the computer in this frozen state for a few minutes it crashes. Things I have tried. - Swapping Desktop Environment from LXQT to Cinnamon - Many Reboots - Upgrading my motherboard BIOS (I have a gigabyte b650 x ax) - installing mesa |
This might indicate your power supply is inadequate for the GPU. What model power supply are you using?
|
Visen,
I agree with biker_rat. AMD recommends a PSU rated at a minimum of 700W for that 7800xt gpu. |
Quote:
|
I am now powering the gpu with two separate cables - no change in symptoms. After about 5 seconds the computer starts lagging incredibly badly - probably ten seconds to register a mouse movement.
|
My system stats:
robert@archlinux ~> inxi -Fxxxri System: Host: archlinux Kernel: 6.8.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc Desktop: Cinnamon v: 6.0.4 tk: GTK v: 3.24.41 wm: Muffin v: 6.0.1 vt: 2 dm: SDDM Distro: Arch Linux Machine: Type: Desktop Mobo: Gigabyte model: B650 GAMING X AX v: x.x serial: <superuser required> uuid: <superuser required> UEFI: American Megatrends LLC. v: F20 date: 12/14/2023 CPU: Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP smt: enabled arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 96 MiB Speed (MHz): avg: 599 high: 3592 min/max: 400/5050 cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 3592 16: 400 bogomips: 134185 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1, DP-3, HDMI-A-1, Writeback-1 bus-ID: 0f:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 33.0 C Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 driver: X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 note: <missing: xdpyinfo/xrandr> Monitor-1: DP-2 model: AOC Q27G3XMN serial: 1APQ1JA003556 res: 2560x1440 dpi: 109 size: 597x336mm (23.5x13.23") diag: 685mm (27") modes: max: 2560x1440 min: 720x400 API: OpenGL Message: Unable to show GL data. glxinfo is missing. Audio: Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 0f:00.1 chip-ID: 1002:1640 class-ID: 0403 Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 0f:00.6 chip-ID: 1022:15e3 class-ID: 0403 API: ALSA v: k6.8.1-arch1-1 status: kernel-api Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin Network: Device-1: Realtek RTL8852CE PCIe 802.11ax Wireless Network driver: rtw89_8852ce v: kernel pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:c852 class-ID: 0280 IF: wlan0 state: up mac: bc:c7:46:a0:8a:f3 IP v4: 192.168.1.154/24 type: dynamic noprefixroute scope: global broadcast: 192.168.1.255 IP v6: 2600:100c:a119:1aac:7c6b:a9e8:cd11:8d47/64 type: dynamic noprefixroute scope: global IP v6: fe80::b8ed:1009:4a82:3d91/64 type: noprefixroute scope: link Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1 port: d000 bus-ID: 06:00.0 chip-ID: 10ec:8125 class-ID: 0200 IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: 74:56:3c:bd:1b:0f IP v4: 192.168.1.152/24 type: dynamic noprefixroute scope: global broadcast: 192.168.1.255 IP v6: 2600:100c:a119:1aac:fcb5:3969:6b62:bbe2/64 type: dynamic noprefixroute scope: global IP v6: fe80::71b4:fab0:df7a:2c4a/64 type: noprefixroute scope: link WAN IP: 97.139.105.175 Bluetooth: Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-9:3 chip-ID: 0bda:0852 class-ID: e001 serial: 00e04c000001 Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: not found rfk-block: hardware: no software: no address: see --recommends Drives: Local Storage: total: 1.82 TiB used: 137.13 GiB (7.4%) ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P3PSSD8 size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: 2401E88BA1B1 fw-rev: P9CR40D temp: 31.9 C scheme: GPT Partition: ID-1: / size: 1.82 TiB used: 137.07 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p2 ID-2: /boot size: 511 MiB used: 61 MiB (11.9%) fs: vfat dev: /dev/nvme0n1p1 ID-3: /home size: 1.82 TiB used: 137.07 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p2 ID-4: /var/log size: 1.82 TiB used: 137.07 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p2 Swap: ID-1: swap-1 type: zram size: 4 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 Sensors: System Temperatures: cpu: 38.4 C mobo: 29.0 C gpu: amdgpu temp: 34.0 C Fan Speeds (rpm): N/A Repos: Packages: pm: pacman pkgs: 622 Active pacman repo servers in: /etc/pacman.d/mirrorlist 1: https://mirror.lty.me/archlinux/$repo/os/$arch 2: https://mirrors.dotsrc.org/archlinux/$repo/os/$arch 3: https://archmirror.it/repos/$repo/os/$arch 4: https://mirror.theo546.fr/archlinux/$repo/os/$arch 5: https://mirror.cyberbits.eu/archlinux/$repo/os/$arch 6: https://mirror.ufscar.br/archlinux/$repo/os/$arch 7: https://mirror.ubrco.de/archlinux/$repo/os/$arch 8: https://sydney.mirror.pkgbuild.com/$repo/os/$arch 9: https://america.mirror.pkgbuild.com/$repo/os/$arch 10: https://seoul.mirror.pkgbuild.com/$repo/os/$arch 11: https://mirror.sunred.org/archlinux/$repo/os/$arch 12: https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch 13: https://london.mirror.pkgbuild.com/$repo/os/$arch 14: https://archlinux.thaller.ws/$repo/os/$arch 15: https://mirror.erickochen.nl/archlinux/$repo/os/$arch 16: https://mirror.f4st.host/archlinux/$repo/os/$arch 17: https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch 18: https://mirror.moson.org/arch/$repo/os/$arch 19: https://asia.mirror.pkgbuild.com/$repo/os/$arch 20: https://mirror.telepoint.bg/archlinux/$repo/os/$arch Info: Memory: total: 32 GiB note: est. available: 30.5 GiB used: 1.95 GiB (6.4%) Processes: 348 Power: uptime: 13m states: freeze,mem,disk suspend: deep wakeups: 0 hibernate: platform Init: systemd v: 255 default: graphical Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: fish v: 3.7.0 running-in: alacritty inxi: 3.3.33 |
More system info
robert@archlinux ~> lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14d8 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14d9 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da 00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd 00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e7 01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01) 02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 02:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852CE PCIe 802.11ax Wireless Network Controller (rev 01) 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) 0c:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller (rev 01) 0d:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01) 0e:00.0 Non-Volatile memory controller: Micron/Crucial Technology Device 5421 (rev 01) 0f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb) 0f:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller 0f:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP 0f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b6 0f:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b7 0f:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller 10:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8 robert@archlinux ~> find /dev -group video /dev/dri/card1 /dev/fb0 |
VGA controller
0f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb) (prog-if 00 [VGA controller]) Subsystem: Gigabyte Technology Co., Ltd Raphael Flags: bus master, fast devsel, latency 0, IRQ 71, IOMMU group 24 Memory at fce0000000 (64-bit, prefetchable) [size=256M] Memory at fcf0000000 (64-bit, prefetchable) [size=2M] I/O ports at f000 [size=256] Memory at f6900000 (32-bit, non-prefetchable) [size=512K] Capabilities: <access denied> Kernel driver in use: amdgpu Kernel modules: amdgpu |
Update: I removed arch and tried installing ubuntu - same issue
Then I removed ubuntu and booted up windows - the GPU works fine with no issues or computer freezes. This lets me determine that it is not a hardware issue, probably has to do with a bug in the linux kernel amd drivers if I had to guess. |
If you think its a kernel /driver bug you should maybe post xorg and kernel logs? You should be research bug reports to the kernel and mesa. Also, you might try messsing with bios settings and other stuff to try & work around a bug. For instance you can leave the cpu graphics on & plug the video cable into the motherboard outputs and use the gpu purely as a vulkan/glx accelerator, or switch the cpu graphics off & plug the cable into the gpu outputs. You can mess with the graphic slot pcie settings and possibly the resizable bar setting.
If that doesn't work, you can look into reasearching amdgpu kernel module options which might prove helpful. |
All times are GMT -5. The time now is 10:02 PM. |