Date: Sun, 18 Nov 2018 18:20:56 +0000 From: Johannes Lundberg <johalun0@gmail.com> To: Daniel Eischen <deischen@freebsd.org> Cc: x11-list freebsd <freebsd-x11@freebsd.org> Subject: Re: drm-devel-kmod amdgpu Message-ID: <CAECmPwvgdBgbaD7e4F7BRevm3C%2BjHDpm_3-_F0f4NYMByZ%2B2pA@mail.gmail.com> In-Reply-To: <C1ECF137-D3F8-4419-9CFF-73C575248ED2@freebsd.org> References: <Pine.GSO.4.64.1811171352290.14741@sea.ntplx.net> <CAECmPwvdB7ec26qBOTrDDBcwKDLNonLeodV6z09zBxhp5X7ZiQ@mail.gmail.com> <C1ECF137-D3F8-4419-9CFF-73C575248ED2@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 18, 2018 at 18:17 Daniel Eischen <deischen@freebsd.org> wrote: > > On Nov 18, 2018, at 12:53 PM, Johannes Lundberg <johalun0@gmail.com> > wrote: > > > > On Sat, Nov 17, 2018 at 7:08 PM Daniel Eischen <deischen@freebsd.org> > wrote: > >> Greetings, >> >> I'm trying to get amdgpu to work with my AMD Ryzen 5 2400G (onboard >> graphics). I guess it is Vega 11. >> >> I'm running: >> >> FreeBSD vega 13.0-CURRENT FreeBSD 13.0-CURRENT r340429 vega amd64 >> (my machine name was chosen years ago, long before AMD Vega) >> >> $ pkg info drm-devel-kmod >> drm-devel-kmod-4.16.g20181027_1 >> Name : drm-devel-kmod >> Version : 4.16.g20181027_1 >> Installed on : Sat Nov 10 22:09:05 2018 EST >> ... >> >> I'm using radeonkms=3D"/boot/modules/radeonkms.ko" in /etc/rc.conf >> for now, as it works (mostly, the screen blanks briefly sometimes >> when playing videos or sometimes using firefox, always comes back. >> And VT switching works also). >> >> If I try using amdgpu, the screen will blank permanently, no VT >> switching is possible, or at least no consoles can be shown. >> Making sure that radeonkms is not loaded and X/KDE is not enabled, >> I tried booting single user and manually loading amdgpu, as well >> as letting it load from rc.conf. But a blank screen is all I >> get. >> >> X doesn't seem to detect my monitor when using amdgpu, which >> is probably part of the problem. I've attached both Xorg logs >> from radeonkms and amdgpu, as well as 'pciconf -lv' and >> 'devinfo -rv' output. >> >> I'm booting from a GPT partition, the default FreeBSD ZFS >> installation. >> > > Hi > > Thanks for the report. > > First, I can't believe that radeonkms does anything, unless you have an > older discrete GPU in your machine. In your case it's falling back to VES= A > according to Xorg log. > > > Yes, I believe it is using the VESA driver. > > Vega is still experimental as of 4.16. According to various online > sources, it seems like we have to wait for 4.18 until Vega can be > considered stable (meaning we won't spend time trying to fix bugs that ar= e > not obviously a FreeBSD problem). I think we can reach 4.18 before the en= d > of this year. > > > I see reports of the AMD 2400G running fine on the Linux 4.17 kernel. > > Until then, your best option is probably booting with UEFI if you can and > using the scfb driver. It's much nicer than VESA... > > > If I can find a spare disk, I may try that. > 4.17 might come soon if we can iron out the last few bugs. But now focus is on making 4.16 stable on 12. I have dual setup on my AMD box (both efi partition and legacy boot) so I can switch in BIOS setting and boot with either (same root partition). It= =E2=80=99s nice to have :) > -- > DE >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwvgdBgbaD7e4F7BRevm3C%2BjHDpm_3-_F0f4NYMByZ%2B2pA>