I get seconds up to minute long hangs nearly every time I switch tabs on firefox or start mpv or any other program that apparently uses graphics
CPU goes up to 99% for Xorg and mpv or firefox etc.
The longer the system is up the worse it gets.
The problem exists at least since 14.0 and drm-515.
Xorg.0.log:
(truncated due to forum limitations)
CPU goes up to 99% for Xorg and mpv or firefox etc.
The longer the system is up the worse it gets.
Code:
gpu-firmware-amd-kmod-renoir-20230625_2
xf86-video-amdgpu-22.0.0_2
drm-61-kmod-6.1.69_2
14.1-PRERELEASE #106 stable/14-n267475-f4ccd1122a79
The problem exists at least since 14.0 and drm-515.
Xorg.0.log:
Code:
[ 50.296]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 50.296] Current Operating System: FreeBSD thinkpad 14.1-PRERELEASE FreeBSD 14.1-PRERELEASE #106 stable/14-n267475-f4ccd1122a79: Tue Apr 23 00:44:19 CEST 2024 root@:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[ 50.296]
[ 50.296] Current version of pixman: 0.42.2
[ 50.296] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 50.296] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 50.296] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 22 22:54:43 2024
[ 50.299] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 50.299] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 50.300] (==) No Layout section. Using the first Screen section.
[ 50.300] (**) |-->Screen "Screen0" (0)
[ 50.300] (**) | |-->Monitor "<default monitor>"
[ 50.300] (==) No device specified for screen "Screen0".
Using the first device section listed.
[ 50.300] (**) | |-->Device "Card0"
[ 50.300] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 50.300] (**) Allowing byte-swapped clients
[ 50.300] (==) Automatically adding devices
[ 50.300] (==) Automatically enabling devices
[ 50.300] (==) Automatically adding GPU devices
[ 50.300] (==) Automatically binding GPU devices
[ 50.300] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 50.304] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 50.304] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 50.304] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 50.304] (II) Module ABI versions:
[ 50.304] X.Org ANSI C Emulation: 0.4
[ 50.304] X.Org Video Driver: 25.2
[ 50.304] X.Org XInput driver : 24.4
[ 50.304] X.Org Server Extension : 10.0
[ 50.306] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 50.306] (II) Platform probe for /dev/dri/card0
[ 50.339] (--) PCI:*(5@0:0:0) 1002:1636:17aa:507f rev 195, Mem @ 0x660000000/268435456, 0x670000000/2097152, 0xfd300000/524288, I/O @ 0x00001000/256, BIOS @ 0x????????/65536
[ 50.339] (II) LoadModule: "glx"
[ 50.341] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 50.346] (II) Module glx: vendor="X.Org Foundation"
[ 50.346] compiled for 1.21.1.13, module version = 1.0.0
[ 50.346] ABI class: X.Org Server Extension, version 10.0
[ 50.346] (II) LoadModule: "amdgpu"
[ 50.346] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so
[ 50.349] (II) Module amdgpu: vendor="X.Org Foundation"
[ 50.349] compiled for 1.21.1.11, module version = 22.0.0
[ 50.349] Module class: X.Org Video Driver
[ 50.349] ABI class: X.Org Video Driver, version 25.2
[ 50.349] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 50.349] (--) Using syscons driver with X support (version 2.0)
[ 50.349] (--) using VT number 9
[ 50.376] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 50.376] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[ 50.376] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 50.376] (==) AMDGPU(0): Default visual is TrueColor
[ 50.376] (==) AMDGPU(0): RGB weight 888
[ 50.376] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[ 50.376] (--) AMDGPU(0): Chipset: "AMD Radeon Graphics" (ChipID = 0x1636)
[ 50.376] (II) Loading sub module "fb"
[ 50.376] (II) LoadModule: "fb"
[ 50.376] (II) Module "fb" already built-in
[ 50.376] (II) Loading sub module "dri2"
[ 50.376] (II) LoadModule: "dri2"
[ 50.376] (II) Module "dri2" already built-in
[ 50.520] (II) Loading sub module "glamoregl"
[ 50.520] (II) LoadModule: "glamoregl"
[ 50.520] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[ 50.527] (II) Module glamoregl: vendor="X.Org Foundation"
[ 50.527] compiled for 1.21.1.13, module version = 1.0.1
[ 50.527] ABI class: X.Org ANSI C Emulation, version 0.4
[ 50.540] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Graphics (radeonsi, renoir, LLVM 15.0.7, DRM 3.49, 14.1-PRERELEASE)
[ 50.540] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 50.540] (==) AMDGPU(0): TearFree property default: auto
[ 50.540] (==) AMDGPU(0): VariableRefresh: disabled
[ 50.540] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[ 50.540] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 50.542] (II) AMDGPU(0): Output eDP has no monitor section
[ 50.542] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[ 50.542] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[ 50.557] (II) AMDGPU(0): EDID for output eDP
[ 50.557] (II) AMDGPU(0): Manufacturer: AUO Model: 403d Serial#: 0
[ 50.557] (II) AMDGPU(0): Year: 2018 Week: 33
[ 50.558] (II) AMDGPU(0): EDID Version: 1.4
[ 50.558] (II) AMDGPU(0): Digital Display Input
[ 50.558] (II) AMDGPU(0): 8 bits per channel
[ 50.558] (II) AMDGPU(0): Digital interface is DisplayPort
[ 50.558] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 31 vert.: 17
[ 50.558] (II) AMDGPU(0): Gamma: 2.20
[ 50.558] (II) AMDGPU(0): No DPMS capabilities specified
[ 50.558] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
[ 50.558] (II) AMDGPU(0): First detailed timing is preferred mode
[ 50.558] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[ 50.558] (II) AMDGPU(0): Display is continuous-frequency
[ 50.558] (II) AMDGPU(0): redX: 0.572 redY: 0.337 greenX: 0.350 greenY: 0.565
[ 50.558] (II) AMDGPU(0): blueX: 0.162 blueY: 0.125 whiteX: 0.313 whiteY: 0.329
[ 50.558] (II) AMDGPU(0): Manufacturer's mask: 0
[ 50.558] (II) AMDGPU(0): Supported detailed timing:
[ 50.558] (II) AMDGPU(0): clock: 141.0 MHz Image Size: 309 x 174 mm
[ 50.558] (II) AMDGPU(0): h_active: 1920 h_sync: 1936 h_sync_end 1952 h_blank_end 2104 h_border: 0
[ 50.558] (II) AMDGPU(0): v_active: 1080 v_sync: 1083 v_sync_end 1097 v_blanking: 1116 v_border: 0
[ 50.558] (II) AMDGPU(0): Unknown vendor-specific block 0
[ 50.558] (II) AMDGPU(0): AUO
[ 50.558] (II) AMDGPU(0): B140HAN04.0
[ 50.558] (II) AMDGPU(0): EDID (in hex):
[ 50.558] (II) AMDGPU(0): 00ffffffffffff0006af3d4000000000
[ 50.558] (II) AMDGPU(0): 211c0104a51f1178039b859256599029
[ 50.558] (II) AMDGPU(0): 20505400000001010101010101010101
[ 50.558] (II) AMDGPU(0): 010101010101143780b8703824401010
[ 50.558] (II) AMDGPU(0): 3e0035ae100000180000000000000000
[ 50.558] (II) AMDGPU(0): 00000000000000000020000000fe0041
[ 50.558] (II) AMDGPU(0): 554f0a202020202020202020000000fe
[ 50.558] (II) AMDGPU(0): 004231343048414e30342e30200a0097
[ 50.558] (II) AMDGPU(0): Printing probed modes for output eDP
[ 50.558] (II) AMDGPU(0): Modeline "1920x1080"x60.0 141.00 1920 1936 1952 2104 1080 1083 1097 1116 -hsync -vsync (67.0 kHz UeP)
[ 50.558] (II) AMDGPU(0): Modeline "1680x1050"x60.0 141.00 1680 1936 1952 2104 1050 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "1280x1024"x60.0 141.00 1280 1936 1952 2104 1024 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "1440x900"x60.0 141.00 1440 1936 1952 2104 900 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "1280x800"x60.0 141.00 1280 1936 1952 2104 800 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "1280x720"x60.0 141.00 1280 1936 1952 2104 720 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "1024x768"x60.0 141.00 1024 1936 1952 2104 768 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "800x600"x60.0 141.00 800 1936 1952 2104 600 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): Modeline "640x480"x60.0 141.00 640 1936 1952 2104 480 1083 1097 1116 -hsync -vsync (67.0 kHz e)
[ 50.558] (II) AMDGPU(0): EDID for output HDMI-A-0
[ 50.558] (II) AMDGPU(0): EDID for output DisplayPort-0
[ 50.558] (II) AMDGPU(0): Output eDP connected
[ 50.558] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[ 50.558] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[ 50.558] (II) AMDGPU(0): Using user preference for initial modes
[ 50.558] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
[ 50.558] (II) AMDGPU(0): mem size init: gart size :2e5767800 vram size: s:1df28000 visible:1df28000
[ 50.558] (==) AMDGPU(0): DPI set to (96, 96)
[ 50.558] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[ 50.558] (II) Loading sub module "ramdac"
[ 50.558] (II) LoadModule: "ramdac"
[ 50.558] (II) Module "ramdac" already built-in
[ 50.558] (II) AMDGPU(0): [DRI2] Setup complete
[ 50.558] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 50.558] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 50.600] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[ 50.601] (II) AMDGPU(0): SYNC extension fences enabled
[ 50.601] (II) AMDGPU(0): Present extension enabled
[ 50.601] (==) AMDGPU(0): DRI3 enabled
[ 50.601] (==) AMDGPU(0): Backing store enabled
[ 50.601] (II) AMDGPU(0): Direct rendering enabled
[ 50.620] (II) AMDGPU(0): Use GLAMOR acceleration.
[ 50.620] (II) AMDGPU(0): Acceleration enabled
[ 50.620] (==) AMDGPU(0): DPMS enabled
[ 50.620] (==) AMDGPU(0): Silken mouse enabled
[ 50.621] (II) AMDGPU(0): Set up textured video (glamor)
[ 50.639] (II) Initializing extension Generic E
....
[ 52514.974] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 52514.974] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 52730.344] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 52730.344] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 52858.390] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 52858.391] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 52919.028] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 52919.028] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 52936.941] (WW) AMDGPU(0): flip queue failed: Invalid argument
etc.etc.