You are not logged in.

#1 2023-01-06 16:07:24

dataphract
Member
Registered: 2023-01-06
Posts: 2

graphical bugs with newly added RX 7900 XTX in console and GNOME

I replaced my NVIDIA GTX 1050 Ti with an AMD RX 7900 XTX. The system boots successfully and is using the amdgpu driver, but after the driver is loaded I experience graphical glitches:

  • In the text console, the cursor appears to stutter occasionally.

  • In GNOME, the contents of the framebuffer do not appear to be cleared properly. In certain cases, such as opening the activities panel, the display rapidly (~60Hz) flashes between the correct output and whatever was displayed previously. Dragging windows around the screen leaves compositor artifacts like duplicate borders and drop shadows.

I believe the card itself functions correctly, as these issues do not occur on my Windows installation. Oddly, glxgears appears to run totally normally.

(Edit: the issue persists on a fresh installation of Arch with only base, linux and linux-firmware groups installed.)

Kernel version:

$ uname -srv
Linux 6.1.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Jan 2023 16:28:15 +0000

From lsmod:

$ lsmod | rg amdgpu
amdgpu              10739712  1
drm_ttm_helper         16384  1 amdgpu
ttm                    94208  2 amdgpu,drm_ttm_helper
video                  65536  2 asus_wmi,amdgpu
gpu_sched              49152  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    212992  1 amdgpu

From lspci -v:

0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] (rev c8) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 0e3b
        Flags: bus master, fast devsel, latency 0, IRQ 46, IOMMU group 27
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at e0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at fc900000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

There's nothing immediately obvious in the kernel log:

$ dmesg | rg -i amdgpu
[    2.371207] [drm] amdgpu kernel modesetting enabled.
[    2.377388] amdgpu: Ignoring ACPI CRAT on non-APU system
[    2.377390] amdgpu: Virtual CRAT table created for CPU
[    2.377397] amdgpu: Topology: Add CPU node
[    2.377514] amdgpu 0000:0c:00.0: vgaarb: deactivate vga console
[    2.393294] amdgpu 0000:0c:00.0: No more image in the PCI ROM
[    2.393312] amdgpu 0000:0c:00.0: amdgpu: Fetched VBIOS from ROM BAR
[    2.393313] amdgpu: ATOM BIOS: 113-D7020100-102
[    2.393320] amdgpu 0000:0c:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
[    2.393544] amdgpu 0000:0c:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[    2.393565] amdgpu 0000:0c:00.0: amdgpu: MEM ECC is not presented.
[    2.393566] amdgpu 0000:0c:00.0: amdgpu: SRAM ECC is not presented.
[    2.393575] amdgpu 0000:0c:00.0: amdgpu: VRAM: 24560M 0x0000008000000000 - 0x00000085FEFFFFFF (24560M used)
[    2.393577] amdgpu 0000:0c:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[    2.393604] [drm] amdgpu: 24560M of VRAM memory ready
[    2.393605] [drm] amdgpu: 48232M of GTT memory ready.
[    2.424027] amdgpu 0000:0c:00.0: amdgpu: CP RS64 enable
[    2.448002] amdgpu 0000:0c:00.0: amdgpu: Will use PSP to load VCN firmware
[    2.737310] amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    2.737311] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    2.737341] amdgpu 0000:0c:00.0: amdgpu: smu driver if version = 0x00000032, smu fw if version = 0x00000034, smu fw program = 0, smu fw version = 0x004e4700 (78.71.0)
[    2.737344] amdgpu 0000:0c:00.0: amdgpu: SMU driver if version not matched
[    2.905016] amdgpu 0000:0c:00.0: amdgpu: SMU is initialized successfully!
[    3.215188] amdgpu 0000:0c:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
[    3.216988] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    3.217100] amdgpu: sdma_bitmap: fff0
[    3.289664] amdgpu: HMM registered 24560MB device memory
[    3.289901] amdgpu: SRAT table not found
[    3.289902] amdgpu: Virtual CRAT table created for GPU
[    3.290140] amdgpu: Topology: Add dGPU node [0x744c:0x1002]
[    3.290143] kfd kfd: amdgpu: added device 1002:744c
[    3.290158] amdgpu 0000:0c:00.0: amdgpu: SE 6, SH per SE 2, CU per SH 8, active_cu_number 96
[    3.290224] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[    3.290225] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    3.290226] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    3.290227] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[    3.290228] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[    3.290229] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[    3.290229] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[    3.290230] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[    3.290231] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[    3.290232] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[    3.290233] amdgpu 0000:0c:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[    3.290234] amdgpu 0000:0c:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 1
[    3.290235] amdgpu 0000:0c:00.0: amdgpu: ring vcn_unified_1 uses VM inv eng 1 on hub 1
[    3.290235] amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 4 on hub 1
[    3.290236] amdgpu 0000:0c:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
[    3.298149] amdgpu 0000:0c:00.0: amdgpu: Using BACO for runtime pm
[    3.298425] [drm] Initialized amdgpu 3.49.0 20150101 for 0000:0c:00.0 on minor 0
[    3.304537] fbcon: amdgpudrmfb (fb0) is primary device
[    3.445103] amdgpu 0000:0c:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[   17.193027] snd_hda_intel 0000:0c:00.1: bound 0000:0c:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

Any help is much appreciated.

Last edited by dataphract (2023-01-06 18:40:24)

Offline

#2 2023-01-06 16:12:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: graphical bugs with newly added RX 7900 XTX in console and GNOME

GNOME on Wayland or Xorg?

Offline

#3 2023-01-06 16:16:03

dataphract
Member
Registered: 2023-01-06
Posts: 2

Re: graphical bugs with newly added RX 7900 XTX in console and GNOME

Scimmia wrote:

GNOME on Wayland or Xorg?

Wayland. The issue is already present when the system boots to GDM; I disabled GDM and rebooted, but the issue persists when starting GNOME manually from the console with

$ gnome-shell --wayland

.

Offline

Board footer

Powered by FluxBB