From owner-freebsd-x11@freebsd.org Sun Nov 18 18:21:09 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D59911094BE for ; Sun, 18 Nov 2018 18:21:09 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7996A69A1E; Sun, 18 Nov 2018 18:21:08 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id g131so2762257wmg.3; Sun, 18 Nov 2018 10:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3q6C3EszMFu08K3UrKuNyqEBUBLjgL37j57oiW9oaO4=; b=EqSg42z7JB4HT5SVb9WwKoVrNl/16CHM6c7HF1rCc/Vm0hisVVWf5DrapLpXVLcow9 NfdeeeDiFOyjRBagps0sawer+zHG/xJJeYV70RrwZJB2vt7pWi5zuaTikWpsiBY6/IA0 Q9BxhUAEgCcNOp+kbjNxB0glSkhe+tXaOEtyKPPjt/8m4el+H7f2sgwABfGcd4NsNYJw xNVpMVmK+QZW3oO/Rpjx/+wEli7JQeSYYaX68cUBmz30BGZqgp3MdEcsaoPk42FOD9em HT+j98USbQQaMhySftwSDLxtlN0qqBMo4wfRUW3NKFsWeAqJoIosBE6N+Ja7a69AJqTF h1AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3q6C3EszMFu08K3UrKuNyqEBUBLjgL37j57oiW9oaO4=; b=bzM/7J2wf71B1MUnaij9/whC7aLQGVRtzAUh8GSTDkct1uEBs7zoDG2lmUVd+G4gTY TZH27V1m68T2McsxmvN9KCh79JpJAF3b4p5qQCo8WtwZU8TBtVFHxr/B2RlGq2S6yIpQ 8iiX87ggWCQ08LadrUMlz4TnT75NjgiatZUx6n+pqOAAdG8xqn3Wfby+rqgy9hAvJNsq I3uPS8LIl5B2y6UFvDZXOxg5esBuWDOA42WnH77FUam5OCUFrUO3Y1EARNCtCGYTZCmJ qsf1VKOlQd58uVtmvYo2DWSIyMnDKCMNo6kHcObhT1U3ZBO0K91ApIMwhdszIPegGU6g iE1g== X-Gm-Message-State: AA+aEWaGE6V+XPkNDsUD29VORj4Vfbl0+3w/QqPpI7AnOfXp9TI5dZw1 t4CMd9iUjkE1pY8ED7iAGcNlbBBynjwHe5RR2SMJPg== X-Google-Smtp-Source: AJdET5chH2f0sZIiX7Tp7JT9/46ybuWSmkIleaQEB6ID5OoJQhDNr5TlnDd7AdWhPDv76VJyuLJxPlretLN0aeEE7Qk= X-Received: by 2002:a1c:6d3:: with SMTP id 202-v6mr4667215wmg.7.1542565267009; Sun, 18 Nov 2018 10:21:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Sun, 18 Nov 2018 18:20:56 +0000 Message-ID: Subject: Re: drm-devel-kmod amdgpu To: Daniel Eischen Cc: x11-list freebsd X-Rspamd-Queue-Id: 7996A69A1E X-Spamd-Result: default: False [-3.63 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.72)[ipnet: 2a00:1450::/32(-1.77), asn: 15169(-1.73), country: US(-0.09)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[d.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.91)[-0.910,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 18:21:09 -0000 On Sun, Nov 18, 2018 at 18:17 Daniel Eischen wrote: > > On Nov 18, 2018, at 12:53 PM, Johannes Lundberg > wrote: > > > > On Sat, Nov 17, 2018 at 7:08 PM Daniel Eischen > 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 >