From owner-freebsd-x11@freebsd.org Sun Nov 18 17:54:15 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 91D7F110898F for ; Sun, 18 Nov 2018 17:54:15 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 C03C486B08; Sun, 18 Nov 2018 17:54:14 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id u5-v6so24336711wrn.9; Sun, 18 Nov 2018 09:54:14 -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=oU5KYp8D2XuL2UxF4zj3NFglAVNRjAAiLWzGYWfmb+g=; b=Ztk8h679s0ADBvPLtcHnZO9rX8dPQKo+/ujRIuwuosLlGepJIV6XgEN9v1cPZctr+Q ibcC1SIVM3sVNMA3XLqbncmtQzhcJ9q46kmTrfG/FAS4GofrUMWs0FF0W5UWqgYXYP1K JMeVpCzqRAiv9ZPsQkWqYULV1vGp4q8lgYjAcOG0cGgVSVOZMymqP47BKoGQ4vpNSAef W4tUk30PYk6EjXF64097Q2w71Zau+kNG3cShEBSu2Ic+BfSwpFNYXd851Xnv3UB5Ni8d H9Poj9MdLOutmc6kEV6cfGRtUFBQYjokPU/PFrT4IhNCxqh6Ee+ovyCeeIT3jBX7X6Li EQHg== 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=oU5KYp8D2XuL2UxF4zj3NFglAVNRjAAiLWzGYWfmb+g=; b=K+g/4eW28YO0TutxoSPExU7oz1it3ybqJC5zz4IC3Xpt3qX7qUd/8CsQVfLaINHjjO 8SoxbCf1ihJG5V4TJXPDC74bbUVkxfE+Rb8/A/g9w2Z7wg4ksh83j2x4MLJ93eYvnyuu iHbqsWFOUc8TNbGUufpOga5q54/o+GI10x7tgEaIi/EfbftMqFNNd8qZUrpkmL5ZNbXr 85ox9/rDQe1aWDFv1FfVy7t+khxCHdYN84rSZbXoFeDjzrVunbwhW1eVzvDqkT3N4CAv DpJsqQtvKwvVx5Pm8c8eQg/Wx8hiTB+3fy/DqqbkLa68QV0q94fZoxUbVttH/MJkuo89 luLQ== X-Gm-Message-State: AA+aEWb1JeI5e0KJ78g/IiMxNiaVBvXwCj9bHRDnKjsTOsmqpnCXVBUI G54HlW6T8GMlXdfbiOpTFDgKbVp3fjEAcYDVDjLQJg== X-Google-Smtp-Source: AFSGD/VPId1AdVH7eXWgHYFVqqBqZ/3OpYu6ffjUECoNsBaq8uOXCDxlOmKl6l9itmaxeMj3zxfXmHXu0NoN+k2HY4k= X-Received: by 2002:a5d:42ce:: with SMTP id t14mr2868636wrr.51.1542563653413; Sun, 18 Nov 2018 09:54:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Sun, 18 Nov 2018 17:53:36 +0000 Message-ID: Subject: Re: drm-devel-kmod amdgpu To: deischen@freebsd.org Cc: x11-list freebsd X-Rspamd-Queue-Id: C03C486B08 X-Spamd-Result: default: False [-3.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(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)]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.975,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" 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 17:54:15 -0000 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="/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 VESA according to Xorg log. 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 are not obviously a FreeBSD problem). I think we can reach 4.18 before the end of this year. Until then, your best option is probably booting with UEFI if you can and using the scfb driver. It's much nicer than VESA... Cheers > -- > DE_______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >