Date: Wed, 15 Jul 2020 16:10:47 +0200 From: Niclas Zeising <zeising+freebsd@daemonic.se> To: Michael Schuster <michaelsprivate@gmail.com>, freebsd-x11@freebsd.org Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics Message-ID: <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> In-Reply-To: <CADqw_gKaifH9Q9aXR4VAtX7_tkoAGnL-dO9TXCDEpUju=4SKOw@mail.gmail.com> References: <CADqw_gKaifH9Q9aXR4VAtX7_tkoAGnL-dO9TXCDEpUju=4SKOw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-15 14:25, Michael Schuster wrote: > Hi all, > > I got a new HP laptop (455 G7) and put latest GhostBSD (20.04, based on > 12.1 release) on it. During installation, the only graphics selection that > didn't fail was 'scfb', which I'm still using. > > AFAICT from my research, Renoir is supported by latest drm driver/module, > so I installed that ( > https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1). That branch isn't used, and may be broken. If you want to get anything more recent than drm-fbds12.0-kmod, which tracks Linux 4.16, you have to upgrade to current and use drm-devel-kmod (which currently is at 5.3). > > > "pciconf -lv" shows: > vgapci0@pci0:5:0:0: class=0x030000 card=0x8730103c chip=0x16361002 > rev=0xc2 hdr=0x00 > vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' > device = 'Renoir' > class = display > subclass = VGA > > I did quite a bit of research (or so I claim ;-)), with mixed results, but > not success, I'm afraid. I have "kld_list ... amdgpu.ko" in my > /etc/rc.conf, I've moved the position in the line around other items > (linux*, cuse), w/o change > > some of the attempts I made: > 1) remove all xorg.conf files (recommended in several posts) > amdgpu isn't loaded, Xorg immediately falls back on scfb (I can post log if > required) > 2) use this xorg.conf: > Section "Device" > Identifier "Card0" > Driver "amdgpu" > BusID "PCI:5:0:0 > EndSection > > ... produces this in the log: > > [ 8.577] (II) AMDGPU: Driver for AMD Radeon: > All GPUs supported by the amdgpu kernel driver > [ 8.577] (--) Using syscons driver with X support (version 2.0) > [ 8.577] (++) using VT number 9 > > [ 8.589] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported. > [ 8.589] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card > support > [ 8.589] (EE) Screen 0 deleted because of no matching config section. > [ 8.589] (II) UnloadModule: "amdgpu" > > ... and the screen stays in text mode. This looks very much like the kernel driver hasn't loaded properly, or hasn't attached to the hardware. You try to force X to use amdgpu, and it fails because that kernel driver isn't loaded properly. > > 3) I tried removing all the config files in > /usr/local/{share|etc}/X11/xorg.conf.d, same result as in 2). > Don't remove the files in .usr/local/share/X11/xorg.conf.d, they are part of the packaged distribution. > I'd appreciate some advice/pointers as to what I could do to get this card > working ... then I'll follow up about the touchpad :-) The touchpad could be an iic touchpad, try with iichid from ports. Regards -- Niclas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9980e1d7-00c3-5d29-3a9c-a358949fee55>