From owner-freebsd-current@freebsd.org Mon Oct 8 13:07:00 2018 Return-Path: Delivered-To: freebsd-current@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 3CAFF10BEB4A for ; Mon, 8 Oct 2018 13:07:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x130.google.com (mail-it1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 AD6AF89BE9 for ; Mon, 8 Oct 2018 13:06:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x130.google.com with SMTP id l127-v6so10511153ith.1 for ; Mon, 08 Oct 2018 06:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a31lvoW9H+VFWTW8J3YOe3eJkhBhRu/NkpLdEUFYlY8=; b=2BWymztRlVET2fTaP4T/hNGvQ3IuSsZ+i0348yfFwYE7VMk0H4PXN677pyLKANncZQ vgpl8jFN8LsvzV664t6Vd9L75xj6hYa3o6OrBSXLgGRe35bjcEcG6zIeRcOv+B0oISWE U6/thVIeuIXU2z/jNyn5s+uKH2rSMseB1hATeNSltKe7JAyPwakaT8np8F/2i5sQuA8F dCrqgglx9e6Go5Abi2j0WzyNHtwCAEOSYj1BN5mv1k6gK+HNm7hrkMnNArEpo/QE8mya XnAoSjt94gb8//jMmgVvmBl0cSHZza1lv3czkSj1DgvQ/xHdEONJFyREGXV9fgFWGQ6r aUxA== 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=a31lvoW9H+VFWTW8J3YOe3eJkhBhRu/NkpLdEUFYlY8=; b=nv9itJEJGHdDPO98nzjpk3+Hu5LDYpOKco7kP02uau3QzUhq1Gakt/MfxFTsFKtQEj 0/3r1KYsZRcdVURdu2a4AoPv1Igs/TZYrU23MVfAv/U/eKRcQLuU1PI66FyYlOHG8uLF 8KXEKmF7TsV8/rnv79LhsMpPB5in21sp9McdGeDTF/qDwITs/rDdqE0PvX+rMEHCUs4m msh41dNPFY6Jn0QwJkSFEM+ii/forXMJjHPAPSnn5HWOZTiiH+6aCVWlLPSd64x8BCos pun2A9CSvz6Gzbbt0/34OVvBaNhzS3ofI6pnqA6KsPClNM7kjHrWNWw/iQHcNEHn3tfw JDBA== X-Gm-Message-State: ABuFfoiap8Cxxx8GZogJlw6Bt8OOHP7Nge8T9aRg5rSNapnNq/jo2KW0 lyiNPT+6s1CYpBbm8wQIL6mMPYVexylvu4u8vmcfNz0g X-Google-Smtp-Source: ACcGV62vjJ0Vy/bp0lbyIZSTFEA1bpZZWB445Xy63+Wb9Kbj0GCZ/IqKKqKtZPFjS2sTeCPqQgDDho7iJlZ0mJ5lUtg= X-Received: by 2002:a24:9ed7:: with SMTP id p206-v6mr3008956itd.39.1539004018554; Mon, 08 Oct 2018 06:06:58 -0700 (PDT) MIME-Version: 1.0 References: <365a9257-6858-f386-56d2-5dedb0883670@zyxst.net> In-Reply-To: <365a9257-6858-f386-56d2-5dedb0883670@zyxst.net> From: Warner Losh Date: Mon, 8 Oct 2018 07:06:47 -0600 Message-ID: Subject: Re: drm confusion / xorg / AMD RX580 GPU To: tech-lists Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 13:07:00 -0000 On Mon, Oct 8, 2018 at 6:47 AM tech-lists wrote: > Hi, > > context: 12-alpha8, amd64, xorg, AMD rx580 card > > As per /usr/ports/UPDATING, I have installed graphics/drm-kmod which has > installed drm-next-kmod-4.11.g20180822 > > As per pkg message, it's loaded with this line in /etc/rc.conf: > > kld_list="amdgpu" > You need "/boot/kernel/amdgpu.ko" here Warner > > But even though I get a graphical display, this shows in the X.org.0.log: > > [ 91.379] (II) LoadModule: "ati" > [ 91.379] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so > [ 91.379] (II) Module ati: vendor="X.Org Foundation" > [ 91.379] compiled for 1.18.4, module version = 18.1.0 > [ 91.379] Module class: X.Org Video Driver > [ 91.379] ABI class: X.Org Video Driver, version 20.0 > [ 91.382] (II) LoadModule: "amdgpu" > [ 91.383] (WW) Warning, couldn't open module amdgpu > [ 91.383] (II) UnloadModule: "amdgpu" > [ 91.383] (II) Unloading amdgpu > [ 91.383] (EE) Failed to load module "amdgpu" (module does not exist, 0) > > $ kldstat > Id Refs Address Size Name > 1 86 0xffffffff80200000 13341b0 kernel > 2 1 0xffffffff81536000 3ace18 zfs.ko > 3 2 0xffffffff818e3000 a500 opensolaris.ko > 4 1 0xffffffff81a22000 159978 amdgpu.ko > 5 1 0xffffffff81b7c000 75d70 drm.ko > 6 4 0xffffffff81bf2000 10570 linuxkpi.ko > 7 3 0xffffffff81c03000 11300 linuxkpi_gplv2.ko > 8 2 0xffffffff81c15000 6c0 debugfs.ko > 9 1 0xffffffff81c16000 80db amdgpu_polaris10_mc_bin.ko > 10 1 0xffffffff81c1f000 441d amdgpu_polaris10_pfp_bin.ko > 11 1 0xffffffff81c24000 441b amdgpu_polaris10_me_bin.ko > 12 1 0xffffffff81c29000 241b amdgpu_polaris10_ce_bin.ko > 13 1 0xffffffff81c2c000 5d3d amdgpu_polaris10_rlc_bin.ko > 14 1 0xffffffff81c32000 4042d amdgpu_polaris10_mec_bin.ko > 15 1 0xffffffff81c73000 4042f amdgpu_polaris10_mec2_bin.ko > 16 1 0xffffffff81cb4000 331f amdgpu_polaris10_sdma_bin.ko > 17 1 0xffffffff81cb8000 3321 amdgpu_polaris10_sdma1_bin.ko > 18 1 0xffffffff81cbc000 5bbfd amdgpu_polaris10_uvd_bin.ko > 19 1 0xffffffff81d18000 28d1d amdgpu_polaris10_vce_bin.ko > 20 1 0xffffffff81d41000 1fe51 amdgpu_polaris10_k_smc_bin.ko > 21 1 0xffffffff81d61000 1800 uhid.ko > 22 1 0xffffffff81d63000 2368 ums.ko > 23 1 0xffffffff81d66000 399d8 linux.ko > 24 2 0xffffffff81da0000 2d98 linux_common.ko > 25 1 0xffffffff81da3000 34008 linux64.ko > > Need to know: > > 1. is this the right/fastest/best driver for this card? > > 2. how can I tell if it's using all its capability? > > 3. I'd like this card to crunch with boinc. What determines if this is > possible? is it freebsd, boinc, the card driver, the project boinc is on > or something else? > > thanks, > -- > J. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >