Date: Sun, 27 Sep 2020 18:22:39 -0400 From: Vasilis Papadiamantopoulos <vp@varchs.com> To: Peter Jeremy <peter@rulingia.com> Cc: freebsd-x11@freebsd.org Subject: Re: Ryzen3-3200G - graphics Message-ID: <33A29A7C-20AA-422E-ABC5-C8C04373B921@varchs.com> In-Reply-To: <20200927094557.GA19345@server.rulingia.com> References: <C3ED48C3-688E-454D-BA41-6BD6FACEEF86@varchs.com> <20200927094557.GA19345@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Peter, thank you so much for your time and effort. > On Sep 27, 2020, at 5:45 AM, Peter Jeremy <peter@rulingia.com> wrote: >=20 > On 2020-Sep-26 11:16:57 -0400, Vasilis Papadiamantopoulos = <vp@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 >=20 > 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=E2=80=A6 (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 >=20 > 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 =E2=80=9Camdgpu=E2=80=9D >=20 > 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. >=20 >> The system gave me an ERROR UNSUPPORTED GPU. >=20 > 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. >=20 >> I assume that as the system doesn=E2=80=99t 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. >=20 > 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. >=20 > What do you mean by "nothing happens=E2=80=9D? 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 " " =E2=80=9C [ 207.403]=20 X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 207.403] Build Operating System: FreeBSD 12.1-RELEASE-p8 amd64=20 [ 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] =20 [ 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, (=3D=3D) = default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 207.403] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 27 = 17:57:35 2020 [ 207.404] (=3D=3D) Using system config directory = "/usr/local/share/X11/xorg.conf.d" [ 207.405] (=3D=3D) No Layout section. Using the first Screen = section. [ 207.405] (=3D=3D) No screen section available. Using defaults. [ 207.405] (**) |-->Screen "Default Screen Section" (0) [ 207.405] (**) | |-->Monitor "<default monitor>" [ 207.405] (=3D=3D) No monitor specified for screen "Default Screen = Section". Using a default monitor configuration. [ 207.405] (=3D=3D) Automatically adding devices [ 207.405] (=3D=3D) Automatically enabling devices [ 207.405] (=3D=3D) Not automatically adding GPU devices [ 207.405] (=3D=3D) Max clients allowed: 256, resource mask: 0x1fffff [ 207.408] (=3D=3D) 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] (=3D=3D) 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@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=3D"X.Org Foundation" [ 207.416] compiled for 1.20.8, module version =3D 1.0.0 [ 207.416] ABI class: X.Org Server Extension, version 10.0 [ 207.416] (=3D=3D) Matched ati as autoconfigured driver 0 [ 207.416] (=3D=3D) Matched modesetting as autoconfigured driver 1 [ 207.416] (=3D=3D) Matched scfb as autoconfigured driver 2 [ 207.416] (=3D=3D) Matched vesa as autoconfigured driver 3 [ 207.416] (=3D=3D) 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=3D"X.Org Foundation" [ 207.417] compiled for 1.20.8, module version =3D 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=3D"X.Org Foundation" [ 207.417] compiled for 1.20.8, module version =3D 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=3D"X.Org Foundation" [ 207.418] compiled for 1.20.8, module version =3D 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)=20 Fatal server error: [ 207.418] (EE) Cannot run in framebuffer mode. Please specify busIDs = for all framebuffer devices [ 207.418] (EE)=20 [ 207.418] (EE)=20 Please consult the The X.Org Foundation support=20 at http://wiki.x.org for help.=20 [ 207.418] (EE) Please also check the log file at = "/var/log/Xorg.0.log" for additional information. [ 207.418] (EE)=20 [ 207.418] (EE) Server terminated with error (1). Closing log file. " =E2=80=9C " > dmesg " " =E2=80=9C [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=3D0 uhid0 on uhub3 uhid0: <Chicony Apple Extended USB Keyboard, class 0/0, rev 1.10/4.00, = addr 3> on usbus0 " =E2=80=9C =E2=80=9C Thank you again for your help. Best, Vasilis Papadiamantopoulos, PhD=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A29A7C-20AA-422E-ABC5-C8C04373B921>