From owner-freebsd-questions@freebsd.org Tue Dec 29 13:46:22 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 011724BF707 for ; Tue, 29 Dec 2020 13:46:22 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 4D4wgJ6y8Yz4ZwH for ; Tue, 29 Dec 2020 13:46:20 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id j12so11826503ota.7 for ; Tue, 29 Dec 2020 05:46:20 -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=cn+IgJBaDGkDu8Nsd1J2HggTS/UMNLVyShcp4nUFwpY=; b=KmkAgzprVWZuavFRWu0K0wkPI/2Yyw5zS9AFlulxGwHqO3mKIkNP4KEDu1TA5WCjp0 nkfSjwWtLkI8jsXnMAcuPQIUbhIjx9W+/5CXrNuo2OaREVEpird5U60h1x5y/wOzxaiY nkJaTYcY0xSeUhXZZhvNjlYVpS3myopQv6X/4BF5PnhfAAtUw+cGkbHWQjxnZSdWAsZO 5HTohu5P9E8gpvkTgRUqn2UcJnbNG9Z06a/jIucdP8DSA2hCuMLYElila/2pdf1uphvY A3CXZYHgHz/c7TBo0p7fc87h37AI5fHR5tWdTsHTPOkOBIiVdvnby9fpb3TmvJCLRMcs IWdw== 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=cn+IgJBaDGkDu8Nsd1J2HggTS/UMNLVyShcp4nUFwpY=; b=MLB6OXIA4fmNz66ilVXnBzZ45NPBd/IF5rYJyOAfORnEAwFEBwPGm6Fouifs+5y0iy 4diqFE7m3mzQ7s7f4UXVmUm9wP4viGWAP2bqHWVd0A7QOuQbL59V1k1E6jVpToAYoRHa pjRgmWhg79nZ6IPW5ofD4czF2+ctoUYJsQHzxg3mdWD5+M2W96WpLQ03n45psFtL2HeF G2fvqO7NTlI9X/l3GDQdPa0S0s3x2VO5UPOg7rC8QOHByU9R/c/Gq0FIWOs3ghfPhzPp hzSh30YN/zc8VSghsLkrkavxM2pZdpXh8NgS1P/etdIKZcLzZPhNCy/LmXHXh3s/bYzz C8xQ== X-Gm-Message-State: AOAM531mEvLRg6Bc5gu4GH/cuSFtP0Qf+5vOOGIXgb6nBVihBXHnkxjq DefZuZMadCHM/7wFDNpEfQVnT66H1ys3QumH3cVQyPcj5SG5Tw== X-Google-Smtp-Source: ABdhPJzjaEQygmWDz8opZ0NKLSJGxUt4t3N/ozH3OI+HPoi0IwwBimtET/Ie9d7ed/6gf3DqboapVBnSwe+Q0d9q3rQ= X-Received: by 2002:a9d:37c4:: with SMTP id x62mr36968734otb.87.1609249579913; Tue, 29 Dec 2020 05:46:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Vasily Postnicov Date: Tue, 29 Dec 2020 16:46:09 +0300 Message-ID: Subject: Re: graphics on amd radeon vega To: Oskar Sharipov Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4D4wgJ6y8Yz4ZwH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KmkAgzpr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamazmazum@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=shamazmazum@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32e:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32e: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: Tue, 29 Dec 2020 13:46:22 -0000 Oh, so there is nothing interesting ;) It seems that the driver does not see your card (which is strange enough, I think amdgpu should support Vega). The normal output in looks like this (this is on Radeon RX580): https://pastebin.com/tjKx0hCd I can only suggest you to try 13-CURRENT with graphics/drm-current-kmod if you have time. Those drivers must be the most recent. =D0=B2=D1=82, 29 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3. =D0=B2 16:28, Oskar Shari= pov : > On Tue, Dec 29, 2020 at 04:14:07PM +0300, Vasily Postnicov wrote: > > The interesting part of dmesg seems to be truncated: > > > > > [drm] radeon kernel modesetting enabled. > > > acpi_video0: on vgapci0 > > > > > > ... > > Yep, my fault. Wanted to not show everything that dmesg prints. > > > General hint: do not forget to add your user to the group called "video= " > > (this is not relevant to driver loading, but you will not be able to us= e > > /dev/dri/* devices without this step). Also, for FreeBSD 12 with EFI > > bootloader add the following line to /boot/loader.conf: > > hw.syscons.disable=3D"1" > > The user is in "video" group, it's shown by `groups username`. > hw.syscons.disable=3D"1" is in /boot/loader.conf as well. > > > and this line in /etc/rc.conf: > > kld_list=3D"amdgpu" > > Set it right now and rebooted. Nothing changed. > > I'm attaching dmesg again. Note: I rebooted PC a minute ago. > > -- > Oskar Sharipov > site (might be unpaid and cancelled): oskarsh.ru > e-mail (replace asterisk with dot): oskarsh at riseup * net > secondary e-mail (same): oskar * sharipov at tutanota * org > gpg fingerprint: BAC3 F049 748A D098 A144 BA89 0DC4 EA75 714C 75B5 >