From owner-freebsd-questions@freebsd.org Wed Dec 30 13:25:23 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BD404C3898 for ; Wed, 30 Dec 2020 13:25:23 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5X8f2qPlz3Pp0 for ; Wed, 30 Dec 2020 13:25:22 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id 81so14648758ioc.13 for ; Wed, 30 Dec 2020 05:25:22 -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=8cZDWUOCJ3f9SCALAAYTkn1e6V5TfI+WGnMyvz5LTvU=; b=iz5Pggc0pkjJ3pXK5Gx3M7kzQQy28xOXxPOUM+JilNKD7UzUYACoUDiG6yjLePeGPL puOhtDqWdktJwAeyO7FRzs4jKCQXE8xFe0BYdPYEjk6NO9TF2Myl4ADgjrybQZWKdPIb p291Rr1u7FR1XCd71++OSXnpthIGti2jpBzeqBaRDYG1UN4WbPNT07oL0pVT2pukv28N 88uERBmHrLoS02UC5mXAFx0SIcDDYJXigkR5bfY+GxS01NJNhJ52LjoQ0IweG0EefqJE q/lkbQJY10oOkND8GJ+/N0rU7Jp61wOXoi0jN3i4gonPMTZbRVkiujaPMoHtnPtbQSQm hU3A== 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=8cZDWUOCJ3f9SCALAAYTkn1e6V5TfI+WGnMyvz5LTvU=; b=GcIz7YmWrgRnmT7tz/7S29OYowZr/AoeZ3LAAWONzVA2u9flYRUD2NH2YeeZpFDIYj Zx1YvewP1CySxMYoXxyR5+3txUJYsxDx+B4xmmkeqMLuxXGIM20i9/Zfv1OKFh/6D91G B/ShHyl6AlOYOkZdxhGnrJitboUC7GGxMxEfCZ4hlg0DwKZ4AEYfIyFuL1bOJCYd5As5 oG6aLCj1jAVByXXL660RuiqDb3Arkyhl9TANkZUNqYkGACw8GaW4ek8XWtBDqfIeM5kI /J0XajQXu/dsADiI1DxKHSk3BWKveUsf1zjKPQDW7Vau+E3SLPEY8mDogQq0oWkRi/aU y8Ug== X-Gm-Message-State: AOAM532Mkzpljg/he/ck2HZTGhNbaTa8dcOfyvzpVe/0OaWzrqrr4L90 zLB63LewqOUhPqLRNmsIIZ/VDA6oXQ7s2GVr3cQ= X-Google-Smtp-Source: ABdhPJyO40JrOlywLhaSXIbRH+8U+cxZ5Z5RpuTfzBBXMTFk1yCpgPgnJxJK0N+9iFAUhs7LiTF5L4TOSBoaQX9WY9U= X-Received: by 2002:a5d:970c:: with SMTP id h12mr43029960iol.103.1609334720546; Wed, 30 Dec 2020 05:25:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michael Schuster Date: Wed, 30 Dec 2020 14:25:09 +0100 Message-ID: Subject: Re: graphics on amd radeon vega To: Vasily Postnicov Cc: Oskar Sharipov , freeBSD Mailing List X-Rspamd-Queue-Id: 4D5X8f2qPlz3Pp0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iz5Pggc0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.04 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::d2f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.96)[0.958]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::d2f:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2020 13:25:23 -0000 On Wed, Dec 30, 2020 at 2:01 PM Vasily Postnicov wrote: > Does sysctl -a | grep exp_hw_support show anything? > indeed it does: $ sysctl -a | grep exp_hw_support hw.amdgpu.exp_hw_support: 0 compat.linuxkpi.amdgpu_exp_hw_support: 0 $ > Usual way to tweak kernel parameters is via sysctl. > from looking at other settings, I would guess I need to put this in /boot/loader.conf to make this persistent across reboot ... correct? (again, sorry if that's an FAQ - feel free to point me to documentation about this) > But this is linux stuff so it can be anything else. > > If sysctl does not help, you can recompile the whole driver changing > int amdgpu_exp_hw_support =3D 0; > to > int amdgpu_exp_hw_support =3D 1; > in drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > I already found that, though I wanted to keep that as a very last resort :-= ) thx Michael > > =D1=81=D1=80, 30 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3., 15:17 Michael Schuster= : > >> On Tue, Dec 29, 2020 at 3:35 PM Oskar Sharipov >> wrote: >> >> > On Tue, Dec 29, 2020 at 05:04:38PM +0300, Vasily Postnicov wrote: >> > > 13-CURRENT supports that chip. See >> > > >> > >> https://github.com/freebsd/drm-kmod/blob/drm_v5.4.62_4/drivers/gpu/drm/a= md/amdgpu/amdgpu_drv.c >> > > >> > > > {0x1002, 0x15d8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, >> CHIP_RAVEN|AMD_IS_APU} >> > >> > Oh, wow. Then I will consider could I try CURRENT now or wait >> > until it released. Thank you! >> > >> >> when I Install this version on current as of today, I see this in >> /var/log/messages: >> >> Dec 30 13:11:56 hbeast kernel: [drm] amdgpu kernel modesetting enabled. >> Dec 30 13:11:56 hbeast kernel: drmn0: on vgapci0 >> Dec 30 13:11:56 hbeast kernel: [drm] This hardware requires experimental >> hardware support. >> Dec 30 13:11:56 hbeast kernel: See modparam exp_hw_support >> Dec 30 13:11:56 hbeast kernel: device_attach: drmn0 attach returned 19 >> sorry if this is an FAQ, but I couldn't find an answer: how do I >> enable/modify "modparam exp_hw_support"? >> >> thx >> Michael >> >> -- >> Michael Schuster >> http://recursiveramblings.wordpress.com/ >> recursion, n: see 'recursion' >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > --=20 Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'