xf86-video-amdgpu issueshttps://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues2024-01-04T21:41:21Zhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/73OpenGL 4.3 compute shader crash2024-01-04T21:41:21ZMrLovaskocsi2OpenGL 4.3 compute shader crashI'm developing a simulation using OpenGL 4.3 compute shaders. After a recent linux image update (maybe 5.14->5.15 but I am not 100% sure) a weird error started popping up. The application crashes and I get this message in the console out...I'm developing a simulation using OpenGL 4.3 compute shaders. After a recent linux image update (maybe 5.14->5.15 but I am not 100% sure) a weird error started popping up. The application crashes and I get this message in the console output:
```
amdgpu: amdgpu_cs_query_fence_status failed.
amdgpu: The CS has been rejected (-61), but the context isn't robust.
amdgpu: The process will be terminated.
```
dmesg:
```
Dec 26 12:50:44 ubuntu2204 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered
```
Things I tried:
- updated kernel to 6.5
- kernel parameters: amdgpu.mcbp=0, amdgpu.ppfeaturemask=0xfffd3fff (based on this thread: https://bbs.archlinux.org/viewtopic.php?id=284076&p=4 )
These did not help.
Config:
- Ubuntu 22.04
- Linux 6.5 (package linux-image-generic-hwe-22.04-edge, 6.5.0.14.14~22.04.6)
- X.Org X Server 1.21.1.4 (package 2:21.1.4-2ubuntu1.7~22.04.5)
- mesa libgl 23.0 (package 23.0.4-0ubuntu1~22.04.1)
- Video card: AMD RX 6750 XT
If I can provide any more info that could help resolve the problem I would be more than happy to help.https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/72glamor: not working with EGL provider if glvnd is disabled.2023-11-16T18:01:31ZKonstantinglamor: not working with EGL provider if glvnd is disabled.Originally reported to me by email by Sylvain BERTRAND.
Latest patches by me and @ajax added a new GLX provider from Xwayland, which enabled by default when glamor is enabled.
UPD: it works for me, it appears he do not use libglvnd and...Originally reported to me by email by Sylvain BERTRAND.
Latest patches by me and @ajax added a new GLX provider from Xwayland, which enabled by default when glamor is enabled.
UPD: it works for me, it appears he do not use libglvnd and use his variation of X server and mesa (with libglxvnd removed). I do not know, if this bug is valid.https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/69Steam's system information triggers crash2023-05-12T15:48:39ZSantiago TabaresSteam's system information triggers crashWhen using steam's system information tool the system crashes after a few seconds.
I crashes on 6.3.0, 6.1.26 on both kwin_x11 and kwin_wayland. However on 5.15.109 it works fine.
My notebook has amd+nvidia using prime but there are ot...When using steam's system information tool the system crashes after a few seconds.
I crashes on 6.3.0, 6.1.26 on both kwin_x11 and kwin_wayland. However on 5.15.109 it works fine.
My notebook has amd+nvidia using prime but there are other reports in valve, mesa and manjaro forums.
https://github.com/ValveSoftware/steam-for-linux/issues/9267
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8636
https://forum.manjaro.org/t/steam-native-getting-system-information-crashes-the-gpu-driver/131748/4
System information
```
System:
Kernel: 6.3.0-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.3-x86_64
root=UUID=9e8a1329-5938-4b09-8479-cbfdb008bacd rw rootflags=subvol=@ quiet
udev.log_priority=3 nvidia-drm.modeset=1
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_wayland vt: 2
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82JU v: Legion 5 15ACH6H
CPU:
Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-05) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-1,
DP-2, HDMI-A-1, eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2560 class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 40.0 C
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: nvidia,amdgpu display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.52 6.3.0-1-MANJARO) direct-render: Yes
```
journalctl -p err -b -1 --no-pager
```
Journal file /var/log/journal/f78631a4a95946c789aa2ca77170c8a4/user-1000@0005fb7feaefdf0a-e49a055ebdd0a34a.journal~ is truncated, ignoring file.
may 12 11:29:16 santiago-82ju kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20210730/dswload2-162)
may 12 11:29:16 santiago-82ju kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210730/psobject-220)
may 12 11:29:16 santiago-82ju systemd[1]: systemd-rfkill.socket: Socket service systemd-rfkill.service not loaded, refusing.
may 12 11:29:16 santiago-82ju systemd[1]: Failed to listen on Load/Save RF Kill Switch Status /dev/rfkill Watch.
may 12 11:29:17 santiago-82ju kernel:
may 12 11:29:19 santiago-82ju bluetoothd[673]: src/plugin.c:plugin_init() Failed to init vcp plugin
may 12 11:29:19 santiago-82ju bluetoothd[673]: src/plugin.c:plugin_init() Failed to init mcp plugin
may 12 11:29:19 santiago-82ju bluetoothd[673]: src/plugin.c:plugin_init() Failed to init bap plugin
may 12 11:29:19 santiago-82ju bluetoothd[673]: Failed to set mode: Blocked through rfkill (0x12)
may 12 11:29:19 santiago-82ju sddm[743]: Failed to read display number from pipe
may 12 11:29:25 santiago-82ju bluetoothd[673]: Failed to set mode: Blocked through rfkill (0x12)
may 12 11:29:28 santiago-82ju wpa_supplicant[895]: bgscan simple: Failed to enable signal strength monitoring
may 12 11:30:46 santiago-82ju systemd-coredump[3317]: [🡕] Process 3311 (i386-linux-gnu-) of user 1000 dumped core.
Stack trace of thread 3311:
#0 0x00000000f5f9b3cf n/a (libnvidia-glcore.so.530.41.03 + 0x19ed3cf)
#1 0x00000000f5f1fa0d n/a (libnvidia-glcore.so.530.41.03 + 0x1971a0d)
#2 0x00000000f5f21fb3 n/a (libnvidia-glcore.so.530.41.03 + 0x1973fb3)
#3 0x00000000f5f231af n/a (libnvidia-glcore.so.530.41.03 + 0x19751af)
#4 0x00000000f766ae35 n/a (libGLX_nvidia.so.0 + 0x94e35)
#5 0x00000000f7c09680 n/a (libvulkan.so.1 + 0x27680)
#6 0x00000000e7772c57 n/a (/home/santiago/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so + 0x15c57)
ELF object binary architecture: Intel 80386
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: [mmhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32790, for process i386-linux-gnu- pid 3327 thread i386-linux:cs0 pid 3328)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100768000 from IH client 0x12 (VMC)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00143851
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: VCN (0x1c)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x1
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x5
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: RW: 0x1
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: [mmhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32790, for process i386-linux-gnu- pid 3327 thread i386-linux:cs0 pid 3328)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: in page starting at address 0x0000800100769000 from IH client 0x12 (VMC)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: Faulty UTCL2 client ID: MP1 (0x0)
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: MORE_FAULTS: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: WALKER_ERROR: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: PERMISSION_FAULTS: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: MAPPING_ERROR: 0x0
may 12 11:30:46 santiago-82ju kernel: amdgpu 0000:06:00.0: amdgpu: RW: 0x0
may 12 11:30:47 santiago-82ju systemd-coredump[3934]: [🡕] Process 3928 (x86_64-linux-gn) of user 1000 dumped core.
Stack trace of thread 3928:
#0 0x00007f63fda28dd8 n/a (libnvidia-glcore.so.530.41.03 + 0x1990dd8)
#1 0x00007f63fd9a9d3f n/a (libnvidia-glcore.so.530.41.03 + 0x1911d3f)
#2 0x00007f63fd9ac675 n/a (libnvidia-glcore.so.530.41.03 + 0x1914675)
#3 0x00007f63fd9ad2fb n/a (libnvidia-glcore.so.530.41.03 + 0x19152fb)
#4 0x00007f6400b768f0 n/a (libGLX_nvidia.so.0 + 0x9c8f0)
#5 0x00007f64013acc06 n/a (libvulkan.so.1 + 0x23c06)
#6 0x00007f63ffe95257 n/a (/home/santiago/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so + 0x19257)
ELF object binary architecture: AMD x86-64
may 12 11:30:50 santiago-82ju systemd-coredump[5333]: [🡕] Process 5327 (i386-linux-gnu-) of user 1000 dumped core.
Stack trace of thread 5327:
#0 0x00000000f5c4e3cf n/a (/run/host/usr/lib32/libnvidia-glcore.so.530.41.03 + 0x19ed3cf)
ELF object binary architecture: Intel 80386
may 12 11:30:51 santiago-82ju systemd-coredump[6496]: [🡕] Process 6490 (x86_64-linux-gn) of user 1000 dumped core.
Stack trace of thread 6490:
#0 0x00007f7fb6828dd8 n/a (/run/host/usr/lib/libnvidia-glcore.so.530.41.03 + 0x1990dd8)
ELF object binary architecture: AMD x86-64
may 12 11:30:53 santiago-82ju systemd-coredump[7649]: [🡕] Process 7643 (i386-linux-gnu-) of user 1000 dumped core.
Stack trace of thread 7643:
#0 0x00000000f5cfb3cf n/a (/run/host/usr/lib32/libnvidia-glcore.so.530.41.03 + 0x19ed3cf)
ELF object binary architecture: Intel 80386
may 12 11:30:54 santiago-82ju systemd-coredump[8613]: [🡕] Process 8607 (x86_64-linux-gn) of user 1000 dumped core.
Stack trace of thread 8607:
#0 0x00007f2bd4628dd8 n/a (/run/host/usr/lib/libnvidia-glcore.so.530.41.03 + 0x1990dd8)
ELF object binary architecture: AMD x86-64
may 12 11:33:39 santiago-82ju systemd-logind[677]: Failed to start autovt@tty2.service: Transaction for getty@tty2.service/start is destructive (shutdown.target has 'start' job queued, but 'stop' is included in transaction).
```https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/66X11 dies without displaying anything on screen on startup when a 4k144Hz moni...2023-02-28T16:27:41ZFrederik MadsenX11 dies without displaying anything on screen on startup when a 4k144Hz monitor is connectedHi,
After getting a new 4k144Hz monitor my system will start to a black screen and stay on it (although I can ssh into it or boot in text mode and have things work just fine), if I reboot the machine while SSH'ed into it will switch to ...Hi,
After getting a new 4k144Hz monitor my system will start to a black screen and stay on it (although I can ssh into it or boot in text mode and have things work just fine), if I reboot the machine while SSH'ed into it will switch to text-mode on shutdown and print things just fine. If I start the system with my 4k60Hz monitor everything boots fine without any major issues (except for the mouse cursor not rendering unless SWCursor is enabled, and tearing when tearfree isn't enabled). GPU is an AMD Radeon RX 7900 XTX
I have attached `Xorg.0.log` ([Xorg.0.log](/uploads/63a1eb7f4260e48e9fe1f6958b1b28b5/Xorg.0.log)). I am running kernel `6.1.0-5-amd64` with debian unstable using lightdm and xfce, with the latest packages installed, some relevant ones might be:
```
xserver-xorg-video-amdgpu/unstable,now 23.0.0-1 amd64
libdrm-amdgpu1/unstable,now 2.4.114-1 amd64
libegl-mesa0/unstable,now 22.3.6-1 amd64
libgl1-mesa-dri/unstable,now 22.3.6-1 amd64
libglapi-mesa/unstable,now 22.3.6-1 amd64
libglu1-mesa/unstable,now 9.0.2-1.1 amd64
libglx-mesa0/unstable,now 22.3.6-1 amd64
mesa-utils-bin/unstable,now 8.5.0-1 amd64
mesa-utils/unstable,now 8.5.0-1 amd64
mesa-va-drivers/unstable,now 22.3.6-1 amd64
mesa-vdpau-drivers/unstable,now 22.3.6-1 amd64
mesa-vulkan-drivers/unstable,now 22.3.6-1 amd64
firmware-amd-graphics/now 20221214-3 all
```https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/61Invisible mouse pointer under RDNA32023-02-26T10:48:02ZVasya SovariInvisible mouse pointer under RDNA3Issue encountered with CachyOS (Arch) running kernel 6.1 with Sapphire Nitro+ 7900XTX, Mesa 22 and Mesa-git 23
Mouse pointer is invisible. Consistent across various cursor themes. Issue is not present under Wayland
Can be resolved local...Issue encountered with CachyOS (Arch) running kernel 6.1 with Sapphire Nitro+ 7900XTX, Mesa 22 and Mesa-git 23
Mouse pointer is invisible. Consistent across various cursor themes. Issue is not present under Wayland
Can be resolved locally by creating
`/etc/X11/xorg.conf.d/99-modesetting.conf`
```
Section "Device"
Identifier "modesetting"
Driver "modesetting"
EndSection
```https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/64Xorg crash on vulkan with mailbox present mode2023-02-17T11:24:51ZQwinciXorg crash on vulkan with mailbox present modeScreen goes off and on when using the mailbox present mode on vulkan. Reproducible by using `vkcube --present_mode 1`. The mailbox present mode works fine on wayland, so I would guess this is a xorg issue. Xorg log diff:
```
[ 8455.896]...Screen goes off and on when using the mailbox present mode on vulkan. Reproducible by using `vkcube --present_mode 1`. The mailbox present mode works fine on wayland, so I would guess this is a xorg issue. Xorg log diff:
```
[ 8455.896] (WW) modeset(0): Present-flip: queue flip during flip on CRTC 0 failed: Cannot allocate memory
[ 8455.896] (WW) modeset(0): Present-unflip: queue flip during flip on CRTC 0 failed: Cannot allocate memory
```
System info:
```
System:
Host: arch Kernel: 6.1.11-arch1-1 arch: x86_64 bits: 64
compiler: gcc v: 12.2.1 Desktop: KDE Plasma v: 5.26.5
tk: Qt v: 5.15.8 wm: kwin_x11 dm: SDDM
Distro: Arch Linux
CPU:
Info: quad core model: 12th Gen Intel Core i3-12100F
bits: 64 type: MT MCP arch: Alder Lake rev: 5 cache:
L1: 320 KiB L2: 5 MiB L3: 12 MiB
Speed (MHz): avg: 1425 high: 3300 min/max: 800/5500
cores: 1: 3300 2: 800 3: 800 4: 800 5: 800 6: 3300 7: 800
8: 800 bogomips: 52856
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1
sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-1
pcie: speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1
empty: DP-1,DP-2,DP-3 bus-ID: 03:00.0
chip-ID: 1002:7340
Display: x11 server: X.Org v: 21.1.7 with: Xwayland
v: 22.1.8 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: VG2791R
res: 1920x1080 dpi: 82 diag: 676mm (26.6")
API: OpenGL v: 4.6 Mesa 22.3.4 renderer: AMD Radeon RX
5500 XT (navi14 LLVM 15.0.7 DRM 3.49 6.1.11-arch1-1)
direct-render: Yes
```https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/63Mouse cursor invisible on xorg X11 with amdgpu and 7900XTX gpu2023-02-10T11:54:21ZAndrei AmurariteiMouse cursor invisible on xorg X11 with amdgpu and 7900XTX gpu- Operating System: Debian GNU/Linux
- KDE Plasma Version: 5.26.90
- KDE Frameworks Version: 5.102.0
- Qt Version: 5.15.8
- Kernel Version: 6.1.0-3-amd64 (64-bit)
- Graphics Platform: Wayland
- Processors: 32 × AMD Ryzen 9 5950X 16-Core ...- Operating System: Debian GNU/Linux
- KDE Plasma Version: 5.26.90
- KDE Frameworks Version: 5.102.0
- Qt Version: 5.15.8
- Kernel Version: 6.1.0-3-amd64 (64-bit)
- Graphics Platform: Wayland
- Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
- Memory: 32 GiB of RAM
- Graphics Processor: [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] (rev c8)
- Package: xserver-xorg-video-amdgpu Version: 22.0.0-3
- Package: xserver-xorg Version: 1:7.7+23
Hello,
Using the above configuration, when SDDM starts there is no visible mouse cursor. When starting a KDE Plasma X11 session, there is no visible mouse cursor. With a KDE Plasma wayland session, the mouse cursor is visible.
Same behavior on Fedora 37 for example, just with GNOME (and GDM).
Adding Option "SWCursor" "True" to xorg.conf makes the mouse cursor visible.
Is this expected behavior?https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/37DisplayLink displays confiured as output source runs at 1FPS when laptop lid ...2022-12-14T09:57:45ZŁukasz SpintzykDisplayLink displays confiured as output source runs at 1FPS when laptop lid is closed.This issue is related to xorg/xserver#1028 which is already fixed. Amdgpu has to return correct crtc from secondary screen in `amdgpu_present_get_crtc`This issue is related to xorg/xserver#1028 which is already fixed. Amdgpu has to return correct crtc from secondary screen in `amdgpu_present_get_crtc`https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/54next release?2022-11-16T15:38:04ZStefanos Kalantzisnext release?Hi,
I just wanted to ask when this PR will be released: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/merge_requests/75
From what I understand (from this repo's tags and CI pipelines), this PR is the only functional ch...Hi,
I just wanted to ask when this PR will be released: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/merge_requests/75
From what I understand (from this repo's tags and CI pipelines), this PR is the only functional change since the last release 5 months ago (22.0.0).
Also I have no idea about this project's release guidelines, so sorry if I'm overstepping here. Just a curiosity question :)
Thanks!https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/58Screen flickering/tearing on MSI Bravo 15 AMD Ryzen 7 4800H 15.6" 16GB A4DDR-...2022-10-31T11:01:21ZAdvait CScreen flickering/tearing on MSI Bravo 15 AMD Ryzen 7 4800H 15.6" 16GB A4DDR-212IN laptopUbuntu 22.04 Gnome Wayland. I'm experiencing screen flickering/tearing on my MSI Bravo 15 AMD Ryzen 7 4800H 15.6" 16GB A4DDR-212IN laptop. The laptop is about 15 months old and the problem started about 2 weeks ago. The problem does not ...Ubuntu 22.04 Gnome Wayland. I'm experiencing screen flickering/tearing on my MSI Bravo 15 AMD Ryzen 7 4800H 15.6" 16GB A4DDR-212IN laptop. The laptop is about 15 months old and the problem started about 2 weeks ago. The problem does not appear on my HDMI connected external monitor. The problem persists when I switch to Xorg. The problem persists when I boot from an Ubuntu 22.04 USB ISO stik. The problem persists when I switch to another user. prime-select = on demand. Ubuntu is up-to-date.
Let me know if you need any other info. How do I fix this issue? Thanks.
![2022_10_25_Screen_problem__lasted_about_2min_then_cleared](/uploads/a6331ae8e66467ea4bf7626d671b2348/2022_10_25_Screen_problem__lasted_about_2min_then_cleared.jpg)
`advait@advait-Bravo-15-A4DDR:~$ inxi -Fxz
System:
Kernel: 5.15.0-52-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: GNOME 42.4 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
Machine:
Type: Laptop System: Micro-Star product: Bravo 15 A4DDR v: REV:1.0
serial: <superuser required>
Mobo: Micro-Star model: MS-16WK v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends v: E16WKAMS.110 date: 10/29/2020
Battery:
ID-1: BAT1 charge: 51.8 Wh (97.9%) condition: 52.9/51.3 Wh (103.0%)
volts: 12.8 min: 11.4 model: MSI Corp. MS-16WK status: Full
CPU:
Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64
type: MT MCP arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
Speed (MHz): avg: 1404 high: 1528 min/max: 1400/2900 boost: enabled
cores: 1: 1528 2: 1397 3: 1397 4: 1397 5: 1397 6: 1396 7: 1390 8: 1396
9: 1397 10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1397 16: 1398
bogomips: 92621
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Micro-Star MSI driver: amdgpu v: kernel bus-ID: 03:00.0
Device-2: AMD Renoir vendor: Micro-Star MSI driver: amdgpu v: kernel
bus-ID: 08:00.0
Device-3: Chicony USB 2.0 Webcam Device type: USB driver: uvcvideo
bus-ID: 1-4:2
Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
compositor: gnome-shell driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu
resolution: 1920x1080~144Hz
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.42 5.15.0-52-generic)
v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
Device-1: AMD Navi 10 HDMI Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 03:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Micro-Star MSI driver: N/A bus-ID: 08:00.5
Device-3: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 08:00.6
Sound Server-1: ALSA v: k5.15.0-52-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 04:00.0
IF: wlp4s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 05:00.0
IF: enp5s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-3:2
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 7.74 TiB used: 4.1 TiB (52.9%)
ID-1: /dev/nvme0n1 vendor: Seagate model: FireCuda 520 SSD ZP2000GM30002
size: 1.82 TiB temp: 33.9 C
ID-2: /dev/nvme1n1 vendor: Kingston model: OM8PCP3512F-AI1
size: 476.94 GiB temp: 33.9 C
ID-3: /dev/sda type: USB model: USB Hard Drive size: 1.82 TiB
ID-4: /dev/sdb type: USB vendor: Lenovo model: USB Hard Drive
size: 1.82 TiB
ID-5: /dev/sdc type: USB vendor: Seagate model: BUP Slim size: 1.82 TiB
Partition:
ID-1: / size: 1.79 TiB used: 1.35 TiB (75.6%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 4 KiB (0.0%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 62.0 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: 43.0 C fan: 65535 device: amdgpu temp: 41.0 C
Info:
Processes: 449 Uptime: 2h 50m Memory: 38.58 GiB used: 6.43 GiB (16.7%)
Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 2951 Shell: Bash
v: 5.1.16 inxi: 3.3.13
advait@advait-Bravo-15-A4DDR:~$`
(next)
`advait@advait-Bravo-15-A4DDR:~$ sudo lshw -c display
[sudo] password for advait:
*-display
description: Display controller
product: Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:03:00.0
version: c1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:104 memory:d0000000-dfffffff memory:e0000000-e01fffff memory:fe400000-fe47ffff memory:fe480000-fe49ffff
*-display
description: VGA compatible controller
product: Renoir
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:08:00.0
logical name: /dev/fb0
version: c6
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
resources: irq:51 memory:b0000000-bfffffff memory:c0000000-c01fffff ioport:e000(size=256) memory:fe300000-fe37ffff memory:c0000-dffff
advait@advait-Bravo-15-A4DDR:~$`https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/55Enable SI/CIK in amdgpu by default/remove from radeon?2022-07-28T08:47:47ZLegacy DevicesEnable SI/CIK in amdgpu by default/remove from radeon?Vulkan performance and OpenGL performance using radv and amdgpu mesa drivers is great with SI and CIK cards when paired with amdgpu rather than radeon.
There is no reason the average user should have to make modprobe.d/radeon.conf with...Vulkan performance and OpenGL performance using radv and amdgpu mesa drivers is great with SI and CIK cards when paired with amdgpu rather than radeon.
There is no reason the average user should have to make modprobe.d/radeon.conf with `option radeon si_support=0 cik_support=0` or modprobe.d/amdgpu.conf with `option amdgpu si_support=1 cik_support=1`, blocklist radeon and also ensure that the amdgpu module loads before radeon.
Why does this remain incomplete, what is needed to move it forward, and are there any volunteers to make it happen?https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/53Dual head unstable after upgrading to 5.18.10-arch1-12022-07-15T14:01:43ZPaulo MatosDual head unstable after upgrading to 5.18.10-arch1-1After upgrading on ArchLinux to 5.18.10-arch1-1 I am getting a lot of instability. Most often, after leaving my PC on its own for a while, I return to find one of the monitors is not displaying anything and I have the following in the ke...After upgrading on ArchLinux to 5.18.10-arch1-1 I am getting a lot of instability. Most often, after leaving my PC on its own for a while, I return to find one of the monitors is not displaying anything and I have the following in the kernel logs:
```
Jul 15 07:34:37 andromeda kernel: ------------[ cut here ]------------
Jul 15 07:34:37 andromeda kernel: WARNING: CPU: 9 PID: 369223 at drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce110/dce110_clk_mgr.c:140 dce11>
Jul 15 07:34:37 andromeda kernel: Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ip>
Jul 15 07:34:37 andromeda kernel: libarc4 drm_dp_helper pktcdvd rng_core snd_timer crypto_simd snd cryptd rapl cfg80211 e1000e intel_cstate soundc>
Jul 15 07:34:37 andromeda kernel: CPU: 9 PID: 369223 Comm: kworker/9:1H Tainted: G OE 5.18.10-arch1-1 #1 8c6fe491a259a093918bb378266a>
Jul 15 07:34:37 andromeda kernel: Hardware name: MSI MS-7885/X99A SLI PLUS(MS-7885), BIOS 1.D0 07/15/2016
Jul 15 07:34:37 andromeda kernel: Workqueue: events_highpri dm_irq_work_func [amdgpu]
Jul 15 07:34:37 andromeda kernel: RIP: 0010:dce110_fill_display_configs+0x4e/0x150 [amdgpu]
Jul 15 07:34:37 andromeda kernel: Code: 31 ff 4d 8d 98 f0 01 00 00 49 8b 0c f8 4c 89 da 31 c0 48 39 0a 0f 84 e4 00 00 00 83 c0 01 48 81 c2 10 08 00>
Jul 15 07:34:37 andromeda kernel: RSP: 0018:ffffbe3e479d3be8 EFLAGS: 00010246
Jul 15 07:34:37 andromeda kernel: RAX: 0000000000000006 RBX: ffff9ee75f820000 RCX: ffff9ee0d6772800
Jul 15 07:34:37 andromeda kernel: RDX: ffff9ee75f823250 RSI: ffff9ee75f832980 RDI: 0000000000000000
Jul 15 07:34:37 andromeda kernel: RBP: ffff9ee0d6ca0000 R08: ffff9ee75f820000 R09: 0000000000000000
Jul 15 07:34:37 andromeda kernel: R10: ffff9ee75f832980 R11: ffff9ee75f8201f0 R12: ffff9ee75f832980
Jul 15 07:34:37 andromeda kernel: R13: 0000000000000000 R14: 0000000000000006 R15: 0000000000003258
Jul 15 07:34:37 andromeda kernel: FS: 0000000000000000(0000) GS:ffff9ef03fc40000(0000) knlGS:0000000000000000
Jul 15 07:34:37 andromeda kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 15 07:34:37 andromeda kernel: CR2: 00007fc3e9353000 CR3: 0000000461744001 CR4: 00000000001706e0
Jul 15 07:34:37 andromeda kernel: Call Trace:
Jul 15 07:34:37 andromeda kernel: <TASK>
Jul 15 07:34:37 andromeda kernel: dce11_pplib_apply_display_requirements+0x12b/0x200 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dce112_update_clocks+0xa3/0xf0 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dc_commit_updates_for_stream+0x1b6a/0x1f90 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: ? detect_link_and_local_sink+0x4fe/0xaa0 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: set_all_streams_dpms_off_for_link+0x10e/0x120 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dc_link_detect+0x379/0x460 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: handle_hpd_irq_helper+0xe7/0x190 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: process_one_work+0x1c4/0x380
Jul 15 07:34:37 andromeda kernel: worker_thread+0x51/0x380
Jul 15 07:34:37 andromeda kernel: ? rescuer_thread+0x3a0/0x3a0
Jul 15 07:34:37 andromeda kernel: kthread+0xdb/0x110
Jul 15 07:34:37 andromeda kernel: ? kthread_complete_and_exit+0x20/0x20
Jul 15 07:34:37 andromeda kernel: ret_from_fork+0x1f/0x30
Jul 15 07:34:37 andromeda kernel: </TASK>
Jul 15 07:34:37 andromeda kernel: ---[ end trace 0000000000000000 ]---
```
Let me know if there's anything else helpful I can provide.
```
~ uname -a
Linux andromeda 5.18.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 07 Jul 2022 17:18:13 +0000 x86_64 GNU/Linux
```
Also from `lspci -k`:
```
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
Subsystem: ASUSTeK Computer Inc. Device 0525
Kernel driver in use: amdgpu
Kernel modules: amdgpu
```https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/50vmware stucks on high cpu usage when guest running after host wakeup from sus...2022-04-14T09:00:22ZJohann Wöckingervmware stucks on high cpu usage when guest running after host wakeup from suspend to ram amdgpuAfter changing the graphics card from nvidia to amd based card (device: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590], card: Sapphire Nitro+ Radeon RX570-4GB) I encounter the following issue:
When starting the host (debian 11...After changing the graphics card from nvidia to amd based card (device: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590], card: Sapphire Nitro+ Radeon RX570-4GB) I encounter the following issue:
When starting the host (debian 11 testing) from power off, vmware works as expected, windows10 guest running ok.
After stopping the vmware guest and put the host into suspend to ram and waking up again, vmware guest is most of the time unuseable because all vmware process on the host put all assigned cpus to 100% load.
As this effect was not there using the nvidia graphics card, I suspect it is connected to the amdgpu graphics stack.
I tested this behavior on two different PC's with the same graphics card.
I could not find any associated error messages in the system or vmware logs.
Used VMware product: VMware Workstation Professional 16https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/51Game Hellpoint (v366) has very bad framerates (below 10fps)2022-04-14T08:56:45ZMachionGame Hellpoint (v366) has very bad framerates (below 10fps)Hi,
I don't know if the problem is based on amdgpu or mesa, but I have to start somewhere:
So I tried playing Hellpoint (GOG Linux version 366, Unity-Engine) on my Manjaro PC and it was unplayable because framerates dropped below 10fp...Hi,
I don't know if the problem is based on amdgpu or mesa, but I have to start somewhere:
So I tried playing Hellpoint (GOG Linux version 366, Unity-Engine) on my Manjaro PC and it was unplayable because framerates dropped below 10fps!
I tested it on Win7 (same PC) and on a Manjaro notebook with no problems. Details below:
1. PC - AMD Ryzen 5 2600, 8GB RAM, AMD Bonaire XT/Radeon HD 7790
Manjaro Linux (Cinnamon), Kernel 5.15, amdgpu 22.0.0, Mesa/Vulkan 21.3.7-2 > bad framerates (vkcube runs good)
Win7, 64bit > good framerates
2. PC (Notebook) - AMD Ryzen 3 5300u, AMD Renoir Graphics, 8GB RAM
Manjaro Linux (Gnome), Kernel 5.15, amdgpu 22.0.0, Mesa/Vulkan 21.3.7-2 > good framerates
Manjaro Linux (Cinnamon), Kernel 5.15, amdgpu 22.0.0, Mesa/Vulkan 21.3.7-2 > good framerates
The test with Win7 just shows, that the old graphics card in my first PC is capable of running the game.
It has something to do with my HD7990 and amdgpu/mesa. I know, the support is experimental for GCN2 cards, but I had never problems with other applications.https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/27Cannot use hdmi monitor on second GPU Segfaut in Xserver when using xrandr2022-02-25T16:42:03ZEricVCannot use hdmi monitor on second GPU Segfaut in Xserver when using xrandrI have a MSI bravo 17 Laptop that has two GPU
- **xrandr --listproviders**
Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 0 name:U...I have a MSI bravo 17 Laptop that has two GPU
- **xrandr --listproviders**
Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:07:00.0
Provider 1: id: 0x84 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 5 outputs: 1 associated providers: 0 name:Radeon RX 5500M @ pci:0000:03:00.0
- **xrandr --verbose**
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (0x55) normal (normal left inverted right x axis y axis) 382mm x 215mm
Identifier: 0x53
Timestamp: 21687
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0006af9d4700000000
181d0104a526167803707593585a9429
20505400000001010101010101010101
010101010101d17780b6703888403020
a5007ed710000018ee2f80b670388840
3020a5007ed710000018000000fd0030
7892921f010a202020202020000000fe
004231373348414e30342e37200a002f
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 1
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 16
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 73
supported: 73
non-desktop: 0
range: (0, 1)
1920x1080 (0x55) 306.730MHz -HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1080 start 1090 end 1095 total 1216 clock 120.00Hz
1920x1080 (0x56) 122.700MHz -HSync -VSync
h: width 1920 start 1968 end 2000 total 2102 skew 0 clock 58.37KHz
v: height 1080 start 1090 end 1095 total 1216 clock 48.00Hz
1680x1050 (0x57) 306.730MHz -HSync -VSync
h: width 1680 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1050 start 1090 end 1095 total 1216 clock 120.00Hz
1280x1024 (0x58) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1024 start 1090 end 1095 total 1216 clock 120.00Hz
1440x900 (0x59) 306.730MHz -HSync -VSync
h: width 1440 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 900 start 1090 end 1095 total 1216 clock 120.00Hz
1280x800 (0x5a) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 800 start 1090 end 1095 total 1216 clock 120.00Hz
1280x720 (0x5b) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 720 start 1090 end 1095 total 1216 clock 120.00Hz
1024x768 (0x5c) 306.730MHz -HSync -VSync
h: width 1024 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 768 start 1090 end 1095 total 1216 clock 120.00Hz
800x600 (0x5d) 306.730MHz -HSync -VSync
h: width 800 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 600 start 1090 end 1095 total 1216 clock 120.00Hz
640x480 (0x5e) 306.730MHz -HSync -VSync
h: width 640 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 480 start 1090 end 1095 total 1216 clock 120.00Hz
- **xrandr --setprovideroutputsource 0x84 0x54**
- **xrandr --verbose**
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (0x55) normal (normal left inverted right x axis y axis) 382mm x 215mm
Identifier: 0x53
Timestamp: 25144
Subpixel: unknown
Gamma: 1.0:1.2:1.4
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0006af9d4700000000
181d0104a526167803707593585a9429
20505400000001010101010101010101
010101010101d17780b6703888403020
a5007ed710000018ee2f80b670388840
3020a5007ed710000018000000fd0030
7892921f010a202020202020000000fe
004231373348414e30342e37200a002f
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 1
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 16
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 73
supported: 73
non-desktop: 0
range: (0, 1)
1920x1080 (0x55) 306.730MHz -HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1080 start 1090 end 1095 total 1216 clock 120.00Hz
1920x1080 (0x56) 122.700MHz -HSync -VSync
h: width 1920 start 1968 end 2000 total 2102 skew 0 clock 58.37KHz
v: height 1080 start 1090 end 1095 total 1216 clock 48.00Hz
1680x1050 (0x57) 306.730MHz -HSync -VSync
h: width 1680 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1050 start 1090 end 1095 total 1216 clock 120.00Hz
1280x1024 (0x58) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 1024 start 1090 end 1095 total 1216 clock 120.00Hz
1440x900 (0x59) 306.730MHz -HSync -VSync
h: width 1440 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 900 start 1090 end 1095 total 1216 clock 120.00Hz
1280x800 (0x5a) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 800 start 1090 end 1095 total 1216 clock 120.00Hz
1280x720 (0x5b) 306.730MHz -HSync -VSync
h: width 1280 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 720 start 1090 end 1095 total 1216 clock 120.00Hz
1024x768 (0x5c) 306.730MHz -HSync -VSync
h: width 1024 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 768 start 1090 end 1095 total 1216 clock 120.00Hz
800x600 (0x5d) 306.730MHz -HSync -VSync
h: width 800 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 600 start 1090 end 1095 total 1216 clock 120.00Hz
640x480 (0x5e) 306.730MHz -HSync -VSync
h: width 640 start 1968 end 2000 total 2102 skew 0 clock 145.92KHz
v: height 480 start 1090 end 1095 total 1216 clock 120.00Hz
HDMI-A-1-0 connected (normal left inverted right x axis y axis)
Identifier: 0x83
Timestamp: 4762
Subpixel: unknown
Clones:
CRTCs: 4 5 6 7 8
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
EDID:
00ffffffffffff0026cd056601010101
07160103813c22782ab205a3564f9e28
0f5054bfef80b300a94095008180950f
714f01010101023a801871382d40582c
450056502100001e000000ff00313131
32323230373031373533000000fd0037
4c1e5111000a202020202020000000fc
00504c3237373648440a20202020014c
020322f14f1f14131211161590050403
02070601230907018301000065030c00
1000023a80d072382d40102c45805650
2100001e011d80d0721c1620102c2500
56502100009e011d00bc52d01e20b828
554056502100001e8c0ad09020403120
0c405500565021000018023a80187138
2d40582c450056502100001e00000049
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 0
range: (0, 1)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 80
supported: 80
non-desktop: 0
range: (0, 1)
1920x1080 (0x85) 148.500MHz +HSync +VSync +preferred
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1920x1080 (0x86) 148.500MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
1920x1080 (0x87) 148.352MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
1600x1200 (0x88) 162.000MHz +HSync +VSync
h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.00KHz
v: height 1200 start 1201 end 1204 total 1250 clock 60.00Hz
1680x1050 (0x89) 119.000MHz +HSync -VSync
h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.67KHz
v: height 1050 start 1053 end 1059 total 1080 clock 59.88Hz
1280x1024 (0x8a) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0x8b) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1440x900 (0x8c) 136.750MHz -HSync +VSync
h: width 1440 start 1536 end 1688 total 1936 skew 0 clock 70.64KHz
v: height 900 start 903 end 909 total 942 clock 74.98Hz
1440x900 (0x8d) 88.750MHz +HSync -VSync
h: width 1440 start 1488 end 1520 total 1600 skew 0 clock 55.47KHz
v: height 900 start 903 end 909 total 926 clock 59.90Hz
1280x800 (0x8e) 148.500MHz +HSync +VSync
h: width 1280 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 800 start 1084 end 1089 total 1125 clock 60.00Hz
1152x864 (0x8f) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1280x720 (0x90) 74.250MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
v: height 720 start 725 end 730 total 750 clock 60.00Hz
1280x720 (0x91) 74.250MHz +HSync +VSync
h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
v: height 720 start 725 end 730 total 750 clock 50.00Hz
1280x720 (0x92) 74.176MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
v: height 720 start 725 end 730 total 750 clock 59.94Hz
1024x768 (0x93) 78.750MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
v: height 768 start 769 end 772 total 800 clock 75.03Hz
1024x768 (0x94) 75.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
v: height 768 start 771 end 777 total 806 clock 70.07Hz
1024x768 (0x95) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
832x624 (0x96) 57.284MHz -HSync -VSync
h: width 832 start 864 end 928 total 1152 skew 0 clock 49.73KHz
v: height 624 start 625 end 628 total 667 clock 74.55Hz
800x600 (0x97) 50.000MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
v: height 600 start 637 end 643 total 666 clock 72.19Hz
800x600 (0x98) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
800x600 (0x99) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
800x600 (0x9a) 36.000MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
720x576 (0x9b) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x480 (0x9c) 27.027MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
720x480 (0x9d) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
640x480 (0x9e) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0x9f) 31.500MHz -HSync -VSync
h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
v: height 480 start 489 end 492 total 520 clock 72.81Hz
640x480 (0xa0) 30.240MHz -HSync -VSync
h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
v: height 480 start 483 end 486 total 525 clock 66.67Hz
640x480 (0xa1) 25.200MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
v: height 480 start 490 end 492 total 525 clock 60.00Hz
640x480 (0xa2) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
720x400 (0xa3) 28.320MHz -HSync +VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
v: height 400 start 412 end 414 total 449 clock 70.08Hz
- **xrandr --output eDP --auto --output HDMI-A-1-0 --auto --same-as eDP**
Generate a crash[Xorg.0.log.old](/uploads/486f7b9e91457f415318ee7ef668b1e9/Xorg.0.log.old)https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/48Mosaic screen occurred on second display from igpu while set display mode fro...2022-02-16T15:29:35Zjie zhangMosaic screen occurred on second display from igpu while set display mode from "single display" to "Mirror"Mosaic screen occurred on second display while set display mode from "single" to "Mirror" ,when display from igpu and Dgpu.
Because it don't create pixmap correctly in this case.
This issue occur when we use the following commit:
https:/...Mosaic screen occurred on second display while set display mode from "single" to "Mirror" ,when display from igpu and Dgpu.
Because it don't create pixmap correctly in this case.
This issue occur when we use the following commit:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commit/69365526d0a477e0d7842571a72266631c77742d
If we don't use this patch. display is normal when set display mode from "single" to "Mirror".
And we submit a patch to fixed, please review:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/merge_requests/71/diffs
![image](/uploads/0d95a8609cc7a26902e0b2c09ac30577/image.png)https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/41GPU artifcats since xf86-video-amdgpu-21.0.0 (bisected)2022-01-29T17:41:38ZDor AskayoGPU artifcats since xf86-video-amdgpu-21.0.0 (bisected)Since `xf86-video-amdgpu-21.0.0`, a corruption is seen in some fullscreen games. It's also seen when logging out of the desktop session or switching focus between fullscreen games.
It reproduces consistently in Brutal Legend (Steam), in...Since `xf86-video-amdgpu-21.0.0`, a corruption is seen in some fullscreen games. It's also seen when logging out of the desktop session or switching focus between fullscreen games.
It reproduces consistently in Brutal Legend (Steam), in what appears like every frame:
![IMG_20210821_002152](/uploads/3ded3c8ce1459d01ba2e0c758e0b4209/IMG_20210821_002152.jpg)
I bisected it to the following commit:
```
git bisect start
# bad: [0d68a91dce88eeacd15bf1159ddc6200a01b1f2e] Bump version for the 21.0.0 release
git bisect bad 0d68a91dce88eeacd15bf1159ddc6200a01b1f2e
# good: [b467d2569a003da05ad222b0dc095bee5eec450a] Bump version for the 19.1.0 release
git bisect good b467d2569a003da05ad222b0dc095bee5eec450a
# good: [e2cd67abb4aa8b5c942b46dd66dac091b9fad7ad] Bail from amdgpu_pixmap_get_handle with ShadowFB
git bisect good e2cd67abb4aa8b5c942b46dd66dac091b9fad7ad
# bad: [442efe73dd579dc36445a3b232937abbed9d2fbb] Make drmmode_crtc_scanout_create/destroy static
git bisect bad 442efe73dd579dc36445a3b232937abbed9d2fbb
# bad: [e923642bae6077f71a8f251fe885342757737224] gitlab CI: update to use the latest CI templates
git bisect bad e923642bae6077f71a8f251fe885342757737224
# bad: [0732f81a2c67354ddfa7a495bee6b0997c6ef244] glamor: Make pixmap scanout compatible if its dimensions are
git bisect bad 0732f81a2c67354ddfa7a495bee6b0997c6ef244
# good: [cb27a5b1120266e4baaa3eb784ff041977ded43f] Handle NULL fb_ptr in pixmap_get_fb
git bisect good cb27a5b1120266e4baaa3eb784ff041977ded43f
# first bad commit: [0732f81a2c67354ddfa7a495bee6b0997c6ef244] glamor: Make pixmap scanout compatible if its dimensions are
```
```
commit 0732f81a2c67354ddfa7a495bee6b0997c6ef244 (HEAD, refs/bisect/bad)
Author: Michel Dänzer <mdaenzer@redhat.com>
Date: Tue Apr 21 10:54:47 2020 +0200
glamor: Make pixmap scanout compatible if its dimensions are
Namely, if its dimensions match those of the screen pixmap (enough that
it could stand in for it). When that's the case, the pixmap may end up
being scanned out directly due to page flipping via the Present
extension, e.g. with xfwm4 --vblank=xpresent .
v2:
* Use AMDGPU_CREATE_PIXMAP_SCANOUT instead of second-guessing in
amdgpu_alloc_pixmap_bo, fixes corruption when resizing from smaller
to larger virtual size via RandR.
Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/10
```
OS: Fedora 34 (GNOME 40, Xorg session)
GPU: RX 580
Mesa: 21.1.4 (Running on Flatpak)
Kernel: 5.13.10-200.fc34
Log from 0732f81a2c67354ddfa7a495bee6b0997c6ef244: [Xorg.0.log](/uploads/cd65ce7ec6f50d391650a55a37e8eab2/Xorg.0.log)
CC: @daenzer, @agd5fhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/47chromium can't render settings dropdown2022-01-04T15:39:02ZOisínchromium can't render settings dropdownI recently upgraded my system to Pop!_OS 21.10 on a Lenovo Idea Pad 3 which uses an AMD GPU (reported by lspci as `Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1)`).
Before the upgrade, Chromium was working fine, but now it's a...I recently upgraded my system to Pop!_OS 21.10 on a Lenovo Idea Pad 3 which uses an AMD GPU (reported by lspci as `Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1)`).
Before the upgrade, Chromium was working fine, but now it's a bit unstable, and can't render the settings dropdown. Opening it (clicking the three dots on the top right) shows a completely blank popup, and the browser freezes for maybe 10 seconds. It becomes responsive again, but I can't interact with anything in the menu.
The following is displayed at startup if run Chromium from the terminal with `chromium-browser --temp-profile`:
```
[23179:23179:1225/171738.011136:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
```
After opening the settings dropdown, the following appears:
```
[23149:23149:1225/171838.020687:ERROR:command_buffer_proxy_impl.cc(328)] GPU state invalid after WaitForGetOffsetInRange.
[23149:23149:1225/171838.022348:ERROR:gpu_process_host.cc(967)] GPU process exited unexpectedly: exit_code=512
si_init_perfcounters: max_sh_per_se = 2 not supported (inaccurate performance counters)
[23647:23647:1225/171838.106601:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
```
Here's what it looks like in the browser:
![chromium-amdgpu-bug-2021-12-25](/uploads/12a57d57b735e71c5d64e90216036fd0/chromium-amdgpu-bug-2021-12-25.png)
I've tried using Wayland as well as the default Xorg, and both produce the same result. Video playback on Youtube and WebGL seems to work fine (although video playback stops and the video area goes purple if I crash the GPU process by clicking the settings button).https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/7igt@amdgpu/amd_basic@userptr - dmesg-warn - DEBUG_LOCKS_WARN_ON(lock->magic !...2021-12-02T15:04:31ZLAKSHMINARAYANA VUDUMigt@amdgpu/amd_basic@userptr - dmesg-warn - DEBUG_LOCKS_WARN_ON(lock->magic != lock)https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7586/fi-kbl-8809g/igt@amdgpu_amd_basic@userptr.html
````
<4> [180.914698] DEBUG_LOCKS_WARN_ON(lock->magic != lock)
<4> [180.914703] WARNING: CPU: 2 PID: 4066 at kernel/locking/mutex.c:941 _...https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7586/fi-kbl-8809g/igt@amdgpu_amd_basic@userptr.html
````
<4> [180.914698] DEBUG_LOCKS_WARN_ON(lock->magic != lock)
<4> [180.914703] WARNING: CPU: 2 PID: 4066 at kernel/locking/mutex.c:941 __mutex_lock+0x66c/0x9c0
<4> [180.914704] Modules linked in: vgem snd_hda_codec_realtek snd_hda_codec_generic amdgpu mei_hdcp x86_pkg_temp_thermal coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core ghash_clmulni_intel btusb btrtl btbcm btintel bluetooth igb e1000e snd_pcm ptp gpu_sched pps_core ttm ecdh_generic ecc prime_numbers mei_me mei intel_lpss_pci pinctrl_sunrisepoint pinctrl_intel [last unloaded: i915]
<4> [180.914714] CPU: 2 PID: 4066 Comm: amd_basic Tainted: G U 5.5.0-rc2-CI-CI_DRM_7586+ #1
<4> [180.914731] Hardware name: Intel Corporation NUC8i7HVK/NUC8i7HVB, BIOS HNKBLi70.86A.0047.2018.0718.1706 07/18/2018
<4> [180.914733] RIP: 0010:__mutex_lock+0x66c/0x9c0
<4> [180.914735] Code: c0 0f 84 1e fa ff ff 44 8b 05 50 2d d4 00 45 85 c0 0f 85 0e fa ff ff 48 c7 c6 f1 c9 2c 82 48 c7 c7 0a b5 2b 82 e8 a4 9f 6a ff <0f> 0b e9 f4 f9 ff ff 41 f6 c5 04 0f 84 79 fc ff ff 4c 89 ea 83 e2
<4> [180.914736] RSP: 0018:ffffc900003e3a30 EFLAGS: 00010282
<4> [180.914737] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
<4> [180.914738] RDX: 0000000080000001 RSI: 0000000000000000 RDI: ffffffff8112e35c
<4> [180.914739] RBP: ffffc900003e3ae0 R08: 0000000000000000 R09: 000000000003ae40
<4> [180.914740] R10: ffffc900003e3b00 R11: 0000000000000fe2 R12: 0000000000000000
<4> [180.914762] R13: 0000000000000002 R14: ffff88824f8be5c0 R15: 0000000000000000
<4> [180.914763] FS: 00007f8eafbae500(0000) GS:ffff888276b00000(0000) knlGS:0000000000000000
<4> [180.914764] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [180.914765] CR2: 00007f8eafbe2000 CR3: 0000000274974002 CR4: 00000000003606e0
<4> [180.914766] Call Trace:
<4> [180.914769] ? __module_address+0x23/0xe0
<4> [180.914794] ? amdgpu_cs_ioctl+0x14ea/0x1ee0 [amdgpu]
<4> [180.914797] ? rcu_read_lock_sched_held+0x4d/0x80
<4> [180.914799] ? dma_fence_init+0x10c/0x140
<4> [180.914822] ? amdgpu_cs_ioctl+0x14ea/0x1ee0 [amdgpu]
<4> [180.914859] amdgpu_cs_ioctl+0x14ea/0x1ee0 [amdgpu]
<4> [180.914885] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
<4> [180.914888] drm_ioctl_kernel+0xa7/0xf0
<4> [180.914890] drm_ioctl+0x2e1/0x390
<4> [180.914911] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
<4> [180.914913] ? __pm_runtime_resume+0x4f/0x80
<4> [180.914915] ? _raw_spin_unlock_irqrestore+0x47/0x60
<4> [180.914917] ? lockdep_hardirqs_on+0xe3/0x1c0
<4> [180.914918] ? _raw_spin_unlock_irqrestore+0x34/0x60
<4> [180.914937] amdgpu_drm_ioctl+0x44/0x80 [amdgpu]
<4> [180.914939] do_vfs_ioctl+0x9c/0x730
<4> [180.914942] ? __do_page_fault+0x2da/0x4f0
<4> [180.914944] ksys_ioctl+0x35/0x60
<4> [180.914946] __x64_sys_ioctl+0x11/0x20
<4> [180.914948] do_syscall_64+0x4f/0x220
<4> [180.914949] entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [180.914950] RIP: 0033:0x7f8eaee2c5d7
<4> [180.914952] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [180.914953] RSP: 002b:00007fffbf5f7df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [180.914954] RAX: ffffffffffffffda RBX: 000056376c025d00 RCX: 00007f8eaee2c5d7
<4> [180.914955] RDX: 00007fffbf5f7f20 RSI: 00000000c0186444 RDI: 0000000000000006
<4> [180.914956] RBP: 00007fffbf5f7f20 R08: 000056376c025d08 R09: 0000000000000002
<4> [180.914957] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c0186444
<4> [180.914958] R13: 0000000000000006 R14: 00007fffbf5f7e40 R15: 000056376c025230
<4> [180.914961] irq event stamp: 41311
<4> [180.914963] hardirqs last enabled at (41311): [<ffffffff81247a6d>] __slab_alloc.isra.83.constprop.88+0x4d/0x70
<4> [180.914965] hardirqs last disabled at (41310): [<ffffffff81247a39>] __slab_alloc.isra.83.constprop.88+0x19/0x70
<4> [180.914967] softirqs last enabled at (41220): [<ffffffff81e00385>] __do_softirq+0x385/0x47f
<4> [180.914968] softirqs last disabled at (40297): [<ffffffff810b932a>] irq_exit+0xba/0xc0
<4> [180.914969] ---[ end trace 7ccbaa7c67fd9538 ]---
````https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/6Some 2D workloads are unusably slow without ShadowPrimary (such as doing anyt...2021-12-02T15:04:31ZTynachSome 2D workloads are unusably slow without ShadowPrimary (such as doing anything in TKGate).TKGate in particular, but possibly other applications (I saw similar behavior when creating an empty QML window if I disable hardware acceleration), are unusably slow when using the default configuration options for AMDGPU. This slowness...TKGate in particular, but possibly other applications (I saw similar behavior when creating an empty QML window if I disable hardware acceleration), are unusably slow when using the default configuration options for AMDGPU. This slowness goes away when ShadowPrimary is enabled, but enabling that disables page flipping (and generally causes the experience in other applications to be worse). This applies to both older versions of TKGate, and the newer 2.1 version released by Andrey Skvortsov.
The specific way it acts, and why I deem it unusable, is that it seems like drawing some of the lines blocks other lines from being drawn - so it takes multiple frames for *all* the lines to be drawn. While this doesn't cause too many troubles with small projects with few components being drawn at a time, this very quickly bogs the whole thing down as more components are added.
What's more, it seems as if each draw operation (sometimes individual lines, other times batches of lines) takes longer, or less time, depending on how large the window is. I have a feeling that the program is trying to draw each pixel.
I am using KDE Neon, based on Ubuntu 18.04. These are the current versions I'm using of various relevant packages (that I can think of; also, note that I have previously used the 'hwe' variant of the xorg packages from the official Ubuntu repositories, and had the same problem):
- xserver-xorg-core:
2:1.19.6-1ubuntu4.3
- xserver-xorg-video-amdgpu:
19.1.0+git1910171153.b467d25~b~padoka0
- libdrm-amdgpu1:
2.4.100+git1910271846.0a7ad7d~b~padoka0
- linux-image-generic-hwe-18.04:
5.0.0.36.94
- libgl1-mesa-dri:
1:20.0~git191125160500.01eb6ef~b~padoka0
My hardware:
- CPU:
Intel i7 4790K
- GPU:
AMD Radeon R9 290X (Hawaii XT)
The problem does not happen on other drivers, though I can't test Nouveau. But it didn't happen on the old proprietary driver (I don't think), and does not happen on the Intel driver. I'm not sure if it happens on the Radeon driver, but I think it might (as it also defaults to having ShadowPrimary disabled).