Re: drm confusion / xorg / AMD RX580 GPU

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 8 Oct 2018 07:06:47 -0600
On Mon, Oct 8, 2018 at 6:47 AM tech-lists <tech-lists_at_zyxst.net> 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_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Mon Oct 08 2018 - 11:07:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC