Ryzen3-3200G - graphics

Vasilis Papadiamantopoulos vp at varchs.com
Sun Sep 27 22:22:50 UTC 2020


Hi Peter,
thank you so much for your time and effort.


> On Sep 27, 2020, at 5:45 AM, Peter Jeremy <peter at rulingia.com> wrote:
> 
> On 2020-Sep-26 11:16:57 -0400, Vasilis Papadiamantopoulos <vp at varchs.com> wrote:
>> I recently built a system with MSI B450 PRO-VDH MAX with a Ryzen-3 3200G with Radeon RX Vega 8 (picasso) [APU].
>> I am running 12.1-RELEASE-p9
> 
> I've just finished setting up a laptop with a Ryzen 7-3700U (RX Vego 10)
> and it's working (though I'm running 13-current and drm-current-kmod).
> Possibly you need to use drm-devel-kmod, rather than drm-kmod.
Following your message I tried
# pkg install drm-devel-kmod
but
pkg: No package available to install matching 'drm-devel-kmod' have been found in the repositories
So I left drm-kmod… (drm-kmod-g20190719)
There is one other package called drm-fbsd12.0-kmod-4.16.g20200221 Shall I try this one? It is newer...

>> % vi /usr/local/etc/X11/xorg.conf.d/xorg.conf
> 
> This should be unnecessary.  I suggest you delete the xorg.conf.
I deleted xorg.conf
See Xorg.0.log for the EE after startx

>> * I tried Driver “amdgpu”
> 
> By default, xorg doesn't include the amdgpu driver.  Since you are
> loading the amdgpu kernel module, you should have KMS enabled and
> xorg should default to using the xorg modesetting driver.
> 
>> The system gave me an ERROR UNSUPPORTED GPU.
> 
> I don't see this message anywhere in the followup you posted.  I do see
> "Warning, couldn't open module amdgpu" - which is what I'd expect.
> 
>> I assume that as the system doesn’t complain about the amdgpu.ko at boot, after an update I will see my screen flickering while loading the module.
>> Now nothing happens when it passes [drm] amdgpu kernel modesetting enabled.
> 
> That [drm] line is expected and should be followed by another ~100 lines
> of drm-related output.  This information will be in the output from the
> "dmesg" command as well as on the console.
> 
> What do you mean by "nothing happens”?
As you said, nothing appears under this line.
And there is no flickering in my screen as I expected.

> If X still doesn't work after you delete xorg.conf, could you please
> post your Xorg.0.log and the dmesg output starting with the line:
> [drm] amdgpu kernel modesetting enabled.
> Xorg.0.log
" " “
[   207.403] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   207.403] Build Operating System: FreeBSD 12.1-RELEASE-p8 amd64 
[   207.403] Current Operating System: FreeBSD rainbow.mydomain.com 12.1-RELEASE-p9 FreeBSD 12.1-RELEASE-p9 GENERIC amd64
[   207.403] Build Date: 30 August 2020  05:54:13AM
[   207.403]  
[   207.403] Current version of pixman: 0.40.0
[   207.403] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   207.403] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   207.403] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 27 17:57:35 2020
[   207.404] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   207.405] (==) No Layout section.  Using the first Screen section.
[   207.405] (==) No screen section available. Using defaults.
[   207.405] (**) |-->Screen "Default Screen Section" (0)
[   207.405] (**) |   |-->Monitor "<default monitor>"
[   207.405] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   207.405] (==) Automatically adding devices
[   207.405] (==) Automatically enabling devices
[   207.405] (==) Not automatically adding GPU devices
[   207.405] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   207.408] (==) 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
[   207.408] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   207.408] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   207.408] (II) Loader magic: 0x42e020
[   207.408] (II) Module ABI versions:
[   207.408] 	X.Org ANSI C Emulation: 0.4
[   207.408] 	X.Org Video Driver: 24.1
[   207.408] 	X.Org XInput driver : 24.1
[   207.408] 	X.Org Server Extension : 10.0
[   207.408] (--) PCI:*(41 at 0:0:0) 1002:15d8:1462:7a38 rev 201, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfcc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/65536
[   207.408] (II) LoadModule: "glx"
[   207.408] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   207.416] (II) Module glx: vendor="X.Org Foundation"
[   207.416] 	compiled for 1.20.8, module version = 1.0.0
[   207.416] 	ABI class: X.Org Server Extension, version 10.0
[   207.416] (==) Matched ati as autoconfigured driver 0
[   207.416] (==) Matched modesetting as autoconfigured driver 1
[   207.416] (==) Matched scfb as autoconfigured driver 2
[   207.416] (==) Matched vesa as autoconfigured driver 3
[   207.416] (==) Assigned the driver to the xf86ConfigLayout
[   207.416] (II) LoadModule: "ati"
[   207.416] (WW) Warning, couldn't open module ati
[   207.416] (EE) Failed to load module "ati" (module does not exist, 0)
[   207.416] (II) LoadModule: "modesetting"
[   207.416] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[   207.417] (II) Module modesetting: vendor="X.Org Foundation"
[   207.417] 	compiled for 1.20.8, module version = 1.20.8
[   207.417] 	Module class: X.Org Video Driver
[   207.417] 	ABI class: X.Org Video Driver, version 24.1
[   207.417] (II) LoadModule: "scfb"
[   207.417] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[   207.417] (II) Module scfb: vendor="X.Org Foundation"
[   207.417] 	compiled for 1.20.8, module version = 0.0.5
[   207.417] 	ABI class: X.Org Video Driver, version 24.1
[   207.417] (II) LoadModule: "vesa"
[   207.417] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[   207.418] (II) Module vesa: vendor="X.Org Foundation"
[   207.418] 	compiled for 1.20.8, module version = 2.4.0
[   207.418] 	Module class: X.Org Video Driver
[   207.418] 	ABI class: X.Org Video Driver, version 24.1
[   207.418] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   207.418] (II) scfb: driver for wsdisplay framebuffer: scfb
[   207.418] (II) VESA: driver for VESA chipsets: vesa
[   207.418] (--) Using syscons driver with X support (version 2.0)
[   207.418] (--) using VT number 9

[   207.418] (EE) open /dev/dri/card0: No such file or directory
[   207.418] (WW) Falling back to old probe method for modesetting
[   207.418] (EE) open /dev/dri/card0: No such file or directory
[   207.418] (WW) Falling back to old probe method for scfb
[   207.418] scfb trace: probe start
[   207.418] (II) scfb(1): using default device
[   207.418] scfb trace: probe done
[   207.418] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   207.418] (EE) Screen 0 deleted because of no matching config section.
[   207.418] (II) UnloadModule: "modesetting"
[   207.418] (EE) 
Fatal server error:
[   207.418] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   207.418] (EE) 
[   207.418] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   207.418] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   207.418] (EE) 
[   207.418] (EE) Server terminated with error (1). Closing log file.

" “ "
> dmesg
" " “
[drm] amdgpu kernel modesetting enabled.
lo0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
ums0 on uhub3
ums0: <Mitsumi Electric Apple Optical USB Mouse, class 0/0, rev 1.10/1.08, addr 2> on usbus0
ums0: 4 buttons and [XYZW] coordinates ID=0
uhid0 on uhub3
uhid0: <Chicony Apple Extended USB Keyboard, class 0/0, rev 1.10/4.00, addr 3> on usbus0

" “ “

Thank you again for your help.

Best,

Vasilis Papadiamantopoulos, PhD


More information about the freebsd-x11 mailing list