[Bug 291852] graphics/drm-61-kmod + amdgpu: ThinkCentre M715q limited to 640x480

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Dec 2025 03:05:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291852

            Bug ID: 291852
           Summary: graphics/drm-61-kmod + amdgpu: ThinkCentre M715q
                    limited to 640x480
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: jwb@freebsd.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Graphics do not work at all on 15.0-RELEASE, so I tried 14.3 and got partial
success.

Same display (Roku TV) works in 1366x768 with an older ThinkCentre. Also tried
a generic 1280x1024 monitor that works with other systems.  Same result on
both: Only option is 640x480.

Hoping I can help make this system work out-of-the-box, as most PC hardware has
for me.

FreeBSD media.acadix.biz 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 GENERIC amd64

AMD Ryzen 3 Pro 2200GE

pciconf -lv:

vgapci0@pci0:4:0:0:     class=0x030000 rev=0xd7 hdr=0x00 vendor=0x1002
device=0x15dd sub
vendor=0x17aa subdevice=0x3130
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]'
    class      = display
    subclass   = VGA

Xorg.0.log:

[    29.295] (--) Log file renamed from "/var/log/Xorg.pid-1431.log" to
"/var/log/Xorg.0.log"
[    29.297] 
X.Org X Server 1.21.1.20
X Protocol Version 11, Revision 0
[    29.297] Current Operating System: FreeBSD media.acadix.biz 14.3-RELEASE-p7
FreeBSD 14.3-RELEASE-p7 GENERIC amd64
[    29.297]  
[    29.297] Current version of pixman: 0.46.2
[    29.297]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    29.298] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.298] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 20 20:22:12
2025
[    29.299] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    29.299] (==) Using system config directory
"/usr/local/share/X11/xorg.conf.d"
[    29.301] (==) No Layout section.  Using the first Screen section.
[    29.301] (==) No screen section available. Using defaults.
[    29.301] (**) |-->Screen "Default Screen Section" (0)
[    29.301] (**) |   |-->Monitor "<default monitor>"
[    29.301] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    29.301] (**) |   |-->Device "Device0"
[    29.301] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    29.301] (**) Allowing byte-swapped clients
[    29.301] (==) Automatically adding devices
[    29.301] (==) Automatically enabling devices
[    29.301] (==) Automatically adding GPU devices
[    29.301] (==) Automatically binding GPU devices
[    29.301] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.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
[    29.304] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    29.304] (II) The server relies on udev to provide the list of input
devices.
        If no devices become available, reconfigure udev or disable
AutoAddDevices.
[    29.304] (II) Module ABI versions:
[    29.304]    X.Org ANSI C Emulation: 0.4
[    29.304]    X.Org Video Driver: 25.2
[    29.304]    X.Org XInput driver : 24.4
[    29.304]    X.Org Server Extension : 10.0
[    29.308] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.308] (II) Platform probe for /dev/dri/card0
[    29.334] (--) PCI:*(4@0:0:0) 1002:15dd:17aa:3130 rev 215, Mem @
0xe0000000/268435456, 0xf0000000/2097152, 0xfe500000/524288, I/O @
0x0000e000/256, BIOS @ 0x????????/65536
[    29.335] (II) LoadModule: "glx"
[    29.335] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    29.343] (II) Module glx: vendor="X.Org Foundation"
[    29.343]    compiled for 1.21.1.20, module version = 1.0.0
[    29.343]    ABI class: X.Org Server Extension, version 10.0
[    29.343] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    29.343]    loading driver: amdgpu
[    29.343] (==) Matched amdgpu as autoconfigured driver 0
[    29.343] (==) Matched ati as autoconfigured driver 1
[    29.343] (==) Matched modesetting as autoconfigured driver 2
[    29.343] (==) Matched scfb as autoconfigured driver 3
[    29.343] (==) Matched vesa as autoconfigured driver 4
[    29.343] (==) Assigned the driver to the xf86ConfigLayout
[    29.343] (II) LoadModule: "amdgpu"
[    29.343] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so
[    29.345] (II) Module amdgpu: vendor="X.Org Foundation"
[    29.345]    compiled for 1.21.1.20, module version = 22.0.0
[    29.345]    Module class: X.Org Video Driver
[    29.345]    ABI class: X.Org Video Driver, version 25.2
[    29.345] (II) LoadModule: "ati"
[    29.345] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so
[    29.345] (II) Module ati: vendor="X.Org Foundation"
[    29.345]    compiled for 1.21.1.20, module version = 19.1.0
[    29.345]    Module class: X.Org Video Driver
[    29.345]    ABI class: X.Org Video Driver, version 25.2
[    29.368] (II) LoadModule: "modesetting"
[    29.368] (II) Loading
/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    29.368] (II) Module modesetting: vendor="X.Org Foundation"
[    29.368]    compiled for 1.21.1.20, module version = 1.21.1
[    29.368]    Module class: X.Org Video Driver
[    29.368]    ABI class: X.Org Video Driver, version 25.2
[    29.368] (II) LoadModule: "scfb"
[    29.368] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    29.368] (II) Module scfb: vendor="X.Org Foundation"
[    29.368]    compiled for 1.21.1.20, module version = 0.0.5
[    29.368]    ABI class: X.Org Video Driver, version 25.2
[    29.368] (II) LoadModule: "vesa"
[    29.368] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    29.369] (II) Module vesa: vendor="X.Org Foundation"
[    29.369]    compiled for 1.21.1.20, module version = 2.5.0
[    29.369]    Module class: X.Org Video Driver
[    29.369]    ABI class: X.Org Video Driver, version 25.2
[    29.369] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[    29.369] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    29.369] (II) scfb: driver for wsdisplay framebuffer: scfb
[    29.369] (II) VESA: driver for VESA chipsets: vesa
[    29.369] (--) Using syscons driver with X support (version 2.0)
[    29.369] (++) using VT number 9

[    29.385] (WW) Falling back to old probe method for modesetting
[    29.385] (WW) Falling back to old probe method for scfb
[    29.385] scfb trace: probe start
[    29.385] scfb trace: probe done
[    29.385] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
support
[    29.385] (II) AMDGPU(0): Creating default Display subsection in Screen
section
        "Default Screen Section" for depth/fbbpp 24/32
[    29.385] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    29.385] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp
pixmaps)
[    29.385] (==) AMDGPU(0): Default visual is TrueColor
[    29.385] (**) AMDGPU(0): Option "SWcursor" "on"
[    29.385] (==) AMDGPU(0): RGB weight 888
[    29.385] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    29.385] (--) AMDGPU(0): Chipset: "AMD Radeon Vega 8 Graphics" (ChipID =
0x15dd)
[    29.385] (II) Loading sub module "fb"
[    29.385] (II) LoadModule: "fb"
[    29.385] (II) Module "fb" already built-in
[    29.385] (II) Loading sub module "dri2"
[    29.385] (II) LoadModule: "dri2"
[    29.385] (II) Module "dri2" already built-in
[    29.606] (II) Loading sub module "glamoregl"
[    29.606] (II) LoadModule: "glamoregl"
[    29.607] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    29.622] (II) Module glamoregl: vendor="X.Org Foundation"
[    29.622]    compiled for 1.21.1.20, module version = 1.0.1
[    29.622]    ABI class: X.Org ANSI C Emulation, version 0.4
[    29.644] (II) AMDGPU(0): glamor: Using OpenGL 4.6 context.
[    29.645] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Vega 8
Graphics (radeonsi, raven, LLVM 19.1.7, DRM 3.49, 14.3-RELEASE-p7)
[    29.645] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    29.645] (==) AMDGPU(0): TearFree property default: auto
[    29.645] (==) AMDGPU(0): VariableRefresh: disabled
[    29.645] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[    29.645] (II) AMDGPU(0): KMS Pageflipping: enabled
[    29.645] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[    29.645] (II) AMDGPU(0): Output DisplayPort-1 has no monitor section
[    29.645] (II) AMDGPU(0): Output DisplayPort-2 has no monitor section
[    29.645] (II) AMDGPU(0): Output DisplayPort-3 has no monitor section
[    29.652] (II) AMDGPU(0): EDID for output DisplayPort-0
[    29.652] (II) AMDGPU(0): EDID for output DisplayPort-1
[    29.652] (II) AMDGPU(0): EDID for output DisplayPort-2
[    29.652] (II) AMDGPU(0): EDID for output DisplayPort-3
[    29.652] (II) AMDGPU(0): Printing probed modes for output DisplayPort-3
[    29.652] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800 
480 490 492 525 -hsync -vsync (31.5 kHz e)
[    29.652] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[    29.652] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[    29.652] (II) AMDGPU(0): Output DisplayPort-2 disconnected
[    29.652] (II) AMDGPU(0): Output DisplayPort-3 connected
[    29.652] (II) AMDGPU(0): Using exact sizes for initial modes
[    29.652] (II) AMDGPU(0): Output DisplayPort-3 using initial mode 640x480
+0+0
[    29.652] (II) AMDGPU(0): mem size init: gart size :1dc827000 vram size:
s:3e70a000 visible:3e70a000
[    29.652] (==) AMDGPU(0): DPI set to (96, 96)
[    29.652] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    29.652] (II) UnloadModule: "modesetting"
[    29.652] (II) Unloading modesetting
[    29.652] (II) UnloadModule: "scfb"
[    29.652] (II) Unloading scfb
[    29.652] (II) UnloadModule: "vesa"
[    29.652] (II) Unloading vesa
[    29.652] (II) AMDGPU(0): [DRI2] Setup complete
[    29.652] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    29.652] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    29.700] (II) AMDGPU(0): Front buffer pitch: 2560 bytes
[    29.701] (II) AMDGPU(0): SYNC extension fences enabled
[    29.701] (II) AMDGPU(0): Present extension enabled
[    29.701] (==) AMDGPU(0): DRI3 enabled
[    29.701] (==) AMDGPU(0): Backing store enabled
[    29.701] (II) AMDGPU(0): Direct rendering enabled
[    29.716] (II) AMDGPU(0): Use GLAMOR acceleration.
[    29.716] (II) AMDGPU(0): Acceleration enabled
[    29.716] (==) AMDGPU(0): DPMS enabled
[    29.716] (==) AMDGPU(0): Silken mouse enabled
[    29.716] (II) AMDGPU(0): Set up textured video (glamor)
[    29.735] (II) Initializing extension Generic Event Extension
[    29.735] (II) Initializing extension SHAPE
[    29.736] (II) Initializing extension MIT-SHM
[    29.736] (II) Initializing extension XInputExtension
[    29.736] (II) Initializing extension XTEST
[    29.736] (II) Initializing extension BIG-REQUESTS
[    29.737] (II) Initializing extension SYNC
[    29.737] (II) Initializing extension XKEYBOARD
[    29.737] (II) Initializing extension XC-MISC
[    29.737] (II) Initializing extension SECURITY
[    29.737] (II) Initializing extension XFIXES
[    29.738] (II) Initializing extension RENDER
[    29.738] (II) Initializing extension RANDR
[    29.738] (II) Initializing extension COMPOSITE
[    29.738] (II) Initializing extension DAMAGE
[    29.739] (II) Initializing extension MIT-SCREEN-SAVER
[    29.739] (II) Initializing extension DOUBLE-BUFFER
[    29.739] (II) Initializing extension RECORD
[    29.739] (II) Initializing extension DPMS
[    29.739] (II) Initializing extension Present
[    29.739] (II) Initializing extension DRI3
[    29.740] (II) Initializing extension X-Resource
[    29.740] (II) Initializing extension XVideo
[    29.740] (II) Initializing extension XVideo-MotionCompensation
[    29.740] (II) Initializing extension GLX
[    29.748] (II) GLX: Initialized glamor GL provider for screen 0
[    29.748] (II) GLX: Another vendor is already registered for screen 0
[    29.748] (II) Initializing extension XFree86-VidModeExtension
[    29.748] (II) Initializing extension XFree86-DGA
[    29.748] (II) Initializing extension XFree86-DRI
[    29.748] (II) Initializing extension DRI2
[    29.749] (II) AMDGPU(0): Setting screen physical size to 169 x 127
[    29.841] (II) config/udev: Adding input device System keyboard multiplexer
(/dev/input/event0)
[    29.841] (**) System keyboard multiplexer: Applying InputClass "Evdev
keyboard"
[    29.841] (**) System keyboard multiplexer: Applying InputClass "libinput
keyboard catchall"
[    29.841] (II) LoadModule: "libinput"
[    29.841] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[    29.845] (II) Module libinput: vendor="X.Org Foundation"
[    29.845]    compiled for 1.21.1.20, module version = 1.3.0
[    29.845]    Module class: X.Org XInput Driver
[    29.845]    ABI class: X.Org XInput driver, version 24.4
[    29.845] (II) Using input driver 'libinput' for 'System keyboard
multiplexer'
[    29.845] (**) System keyboard multiplexer: always reports core events
[    29.845] (**) Option "Device" "/dev/input/event0"
[    29.854] (II) event0  - System keyboard multiplexer: is tagged by udev as:
Keyboard
[    29.855] (II) event0  - System keyboard multiplexer: device is a keyboard
[    29.857] (II) event0  - System keyboard multiplexer: device removed
[    29.857] (**) Option "config_info" "udev:/dev/input/event0"
[    29.857] (II) XINPUT: Adding extended input device "System keyboard
multiplexer" (type: KEYBOARD, id 6)
[    29.857] (**) Option "xkb_rules" "evdev"
[    29.883] (II) event0  - System keyboard multiplexer: is tagged by udev as:
Keyboard
[    29.884] (II) event0  - System keyboard multiplexer: device is a keyboard
[    29.886] (II) config/udev: Adding input device System mouse
(/dev/input/event1)
[    29.886] (**) System mouse: Applying InputClass "libinput pointer catchall"
[    29.886] (II) Using input driver 'libinput' for 'System mouse'
[    29.886] (**) System mouse: always reports core events
[    29.886] (**) Option "Device" "/dev/input/event1"
[    29.888] (II) event1  - System mouse: is tagged by udev as: Mouse
[    29.889] (II) event1  - System mouse: device is a pointer
[    29.890] (II) event1  - System mouse: device removed
[    29.890] (II) libinput: System mouse: Step value 0 was provided, libinput
Fallback acceleration function is used.
[    29.890] (II) libinput: System mouse: Step value 0 was provided, libinput
Fallback acceleration function is used.
[    29.890] (II) libinput: System mouse: Step value 0 was provided, libinput
Fallback acceleration function is used.
[    29.890] (**) Option "config_info" "udev:/dev/input/event1"
[    29.890] (II) XINPUT: Adding extended input device "System mouse" (type:
MOUSE, id 7)
[    29.890] (**) Option "AccelerationScheme" "none"
[    29.890] (**) System mouse: (accel) selected scheme none/0
[    29.890] (**) System mouse: (accel) acceleration factor: 2.000
[    29.890] (**) System mouse: (accel) acceleration threshold: 4
[    29.891] (II) event1  - System mouse: is tagged by udev as: Mouse
[    29.892] (II) event1  - System mouse: device is a pointer
[    29.893] (II) config/udev: Adding input device Power Button
(/dev/input/event2)
[    29.893] (**) Power Button: Applying InputClass "Evdev keyboard"
[    29.893] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[    29.893] (II) Using input driver 'libinput' for 'Power Button'
[    29.893] (**) Power Button: always reports core events
[    29.893] (**) Option "Device" "/dev/input/event2"
[    29.895] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    29.895] (II) event2  - Power Button: device is a keyboard
[    29.896] (II) event2  - Power Button: device removed
[    29.896] (**) Option "config_info" "udev:/dev/input/event2"
[    29.896] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 8)
[    29.896] (**) Option "xkb_rules" "evdev"
[    29.898] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    29.898] (II) event2  - Power Button: device is a keyboard
[    29.899] (II) config/udev: Adding input device AT keyboard
(/dev/input/event3)
[    29.899] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[    29.899] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[    29.899] (II) Using input driver 'libinput' for 'AT keyboard'
[    29.899] (**) AT keyboard: always reports core events
[    29.899] (**) Option "Device" "/dev/input/event3"
[    29.900] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    29.901] (II) event3  - AT keyboard: device is a keyboard
[    29.904] (II) event3  - AT keyboard: device removed
[    29.904] (**) Option "config_info" "udev:/dev/input/event3"
[    29.904] (II) XINPUT: Adding extended input device "AT keyboard" (type:
KEYBOARD, id 9)
[    29.904] (**) Option "xkb_rules" "evdev"
[    29.905] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    29.906] (II) event3  - AT keyboard: device is a keyboard
[    29.908] (II) config/udev: Adding input device Logitech USB Receiver
(/dev/input/event4)
[    29.908] (**) Logitech USB Receiver: Applying InputClass "Evdev keyboard"
[    29.908] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard
catchall"
[    29.908] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[    29.908] (**) Logitech USB Receiver: always reports core events
[    29.908] (**) Option "Device" "/dev/input/event4"
[    29.910] (II) event4  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: is tagged by udev as: Keyboard
[    29.910] (II) event4  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device is a keyboard
[    29.912] (II) event4  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device removed
[    29.912] (**) Option "config_info" "udev:/dev/input/event4"
[    29.912] (II) XINPUT: Adding extended input device "Logitech USB Receiver"
(type: KEYBOARD, id 10)
[    29.912] (**) Option "xkb_rules" "evdev"
[    29.914] (II) event4  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: is tagged by udev as: Keyboard
[    29.914] (II) event4  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device is a keyboard
[    29.916] (II) config/udev: Adding input device Logitech USB Receiver
(/dev/input/event5)
[    29.916] (**) Logitech USB Receiver: Applying InputClass "libinput pointer
catchall"
[    29.916] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[    29.916] (**) Logitech USB Receiver: always reports core events
[    29.916] (**) Option "Device" "/dev/input/event5"
[    29.918] (II) event5  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: is tagged by udev as: Mouse
[    29.919] (II) event5  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device is a pointer
[    29.920] (II) event5  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device removed
[    29.920] (II) libinput: Logitech USB Receiver: Step value 0 was provided,
libinput Fallback acceleration function is used.
[    29.920] (II) libinput: Logitech USB Receiver: Step value 0 was provided,
libinput Fallback acceleration function is used.
[    29.920] (II) libinput: Logitech USB Receiver: Step value 0 was provided,
libinput Fallback acceleration function is used.
[    29.920] (**) Option "config_info" "udev:/dev/input/event5"
[    29.920] (II) XINPUT: Adding extended input device "Logitech USB Receiver"
(type: MOUSE, id 11)
[    29.920] (**) Option "AccelerationScheme" "none"
[    29.920] (**) Logitech USB Receiver: (accel) selected scheme none/0
[    29.920] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[    29.920] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[    29.922] (II) event5  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: is tagged by udev as: Mouse
[    29.923] (II) event5  - Logitech USB Receiver, class 0/0, rev 2.00/12.03,
addr 1: device is a pointer
[    30.402] (WW) AMDGPU(0): flip queue failed: Invalid argument
[    30.402] (WW) AMDGPU(0): Page flip failed: Invalid argument
[    46.009] (WW) AMDGPU(0): get vblank counter failed: Invalid argument

-- 
You are receiving this mail because:
You are the assignee for the bug.