Discussion:
APU Bristol Ridge graphics support
(too old to reply)
Rozhuk Ivan
2018-09-30 10:01:49 UTC
Permalink
Hello!

Is this graphics supported?

A10-9700
Bristol Ridge Radeon R7

***@pci0:0:1:0: class=0x030000 card=0x1e201002 chip=0x98741002 rev=0xe2 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Wani [Radeon R5/R6/R7 Graphics]'
class = display
subclass = VGA
Johannes Dieterich
2018-09-30 17:04:26 UTC
Permalink
Post by Rozhuk Ivan
Hello!
Is this graphics supported?
A10-9700
Bristol Ridge Radeon R7
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Wani [Radeon R5/R6/R7 Graphics]'
class = display
subclass = VGA
Yes, I've had a Bristol Ridge as a daily driver until a few days ago. Use the LinuxKPI based DRM from ports, if you are on CURRENT graphics/drm-devel-kmod, and load amdgpu.ko.

Thanks,

Johannes

_______________________________________________
Post by Rozhuk Ivan
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
Rozhuk Ivan
2018-09-30 17:46:06 UTC
Permalink
On Sun, 30 Sep 2018 17:04:26 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
A10-9700
Bristol Ridge Radeon R7
chip=0x98741002 rev=0xe2 hdr=0x00 vendor = 'Advanced Micro
Devices, Inc. [AMD/ATI]' device = 'Wani [Radeon R5/R6/R7
Graphics]' class = display
subclass = VGA
Yes, I've had a Bristol Ridge as a daily driver until a few days ago.
Use the LinuxKPI based DRM from ports, if you are on CURRENT
graphics/drm-devel-kmod, and load amdgpu.ko.
I am on 11.2.

I try drm-stable-kmod-g20180822 but it fail to load, as I understand.

Is xf86-video-amdgpu must be used with drm-*-kmod* ?
Johannes Dieterich
2018-09-30 18:12:01 UTC
Permalink
Post by Rozhuk Ivan
On Sun, 30 Sep 2018 17:04:26 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
A10-9700
Bristol Ridge Radeon R7
chip=0x98741002 rev=0xe2 hdr=0x00 vendor = 'Advanced Micro
Devices, Inc. [AMD/ATI]' device = 'Wani [Radeon R5/R6/R7
Graphics]' class = display
subclass = VGA
Yes, I've had a Bristol Ridge as a daily driver until a few days ago.
Use the LinuxKPI based DRM from ports, if you are on CURRENT
graphics/drm-devel-kmod, and load amdgpu.ko.
I am on 11.2.
I try drm-stable-kmod-g20180822 but it fail to load, as I understand.
That should work, could you post the error messages? I assume you followed the instructions in the port?
Post by Rozhuk Ivan
Is xf86-video-amdgpu must be used with drm-*-kmod* ?
Yes, you should use the amdgpu DDX with the amdgpu kernel DRM. I used it and it works well but you may also be able to use the modesetting DDX, I haven't tried that.

Johannes
Rozhuk Ivan
2018-09-30 18:37:34 UTC
Permalink
On Sun, 30 Sep 2018 18:12:01 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
I try drm-stable-kmod-g20180822 but it fail to load, as I
understand.
That should work, could you post the error messages? I assume you
followed the instructions in the port?
# kldload /boot/modules/amdgpu.ko

[drm] Initialized
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] initializing kernel modesetting (CARRIZO 0x1002:0x9874 0x1002:0x1E20 0xE2).
[drm] register mmio base: 0xFE900000
[drm] register mmio size: 262144
[drm] doorbell mmio base: 0xF0000000
[drm] doorbell mmio size: 8388608
[drm:amdgpu_device_init]
Unable to find PCI I/O BAR
[drm] probing mlw for device 1002:9874 = 0
[drm] UVD is enabled in physical mode
[drm] VCE enabled in physical mode
[drm:amdgpu_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO
ATOM BIOS: BRISTOL
[drm] GPU post is not needed
Zone kernel: Available graphics memory: 3104154 kiB
Zone dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
drmn0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
drmn0: GTT: 3031M 0x0000000080000000 - 0x000000013D7667FF
[drm] Detected VRAM RAM=2048M, BAR=256M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3031M of GTT memory ready.
[drm] GART: num cpu pages 776038, num gpu pages 776038
[drm] PCIE GART of 3031M enabled (table at 0x0000000000040000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] amdgpu: irq initialized.
amdgpu: powerplay initialized
[drm] Connector DP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.DP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-1: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-2: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-2
[drm] - kern.vt.fb.default_mode
[drm] AMDGPU Display Connectors
[drm] Connector 0:
[drm] DP-1
[drm] HPD1
[drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[drm] Encoders:
[drm] DFP1: INTERNAL_UNIPHY
[drm] Connector 1:
[drm] HDMI-A-1
[drm] HPD2
[drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f
[drm] Encoders:
[drm] DFP2: INTERNAL_UNIPHY
[drm] Connector 2:
[drm] HDMI-A-2
[drm] HPD3
[drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873
[drm] Encoders:
[drm] DFP3: INTERNAL_UNIPHY1
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
drmn0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0x0xfffff800444aa010
drmn0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0x0xfffff800444aa020
drmn0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0x0xfffff800444aa030
drmn0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0x0xfffff800444aa040
drmn0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0x0xfffff800444aa050
drmn0: fence driver on ring 5 use gpu addr 0x0000000080000060, cpu addr 0x0xfffff800444aa060
drmn0: fence driver on ring 6 use gpu addr 0x0000000080000070, cpu addr 0x0xfffff800444aa070
drmn0: fence driver on ring 7 use gpu addr 0x0000000080000080, cpu addr 0x0xfffff800444aa080
drmn0: fence driver on ring 8 use gpu addr 0x0000000080000090, cpu addr 0x0xfffff800444aa090
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
drmn0: fence driver on ring 9 use gpu addr 0x00000000800000a0, cpu addr 0x0xfffff800444aa0a0
drmn0: fence driver on ring 10 use gpu addr 0x00000000800000b0, cpu addr 0x0xfffff800444aa0b0
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
[drm] Found UVD firmware Version: 1.91 Family ID: 11
drmn0: fence driver on ring 11 use gpu addr 0x0000000000681560, cpu addr 0x0xfffff800e0681560
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
[drm] Found VCE firmware Version: 52.4 Binary ID: 3
drmn0: fence driver on ring 12 use gpu addr 0x00000000800000d0, cpu addr 0x0xfffff800444aa0d0
drmn0: fence driver on ring 13 use gpu addr 0x00000000800000e0, cpu addr 0x0xfffff800444aa0e0
[drm:gfx_v8_0_ring_test_ring] amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)
[drm:amdgpu_init] hw_init of IP block <gfx_v8_0> failed -22
drmn0: amdgpu_init failed
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[TTM] Finalizing pool allocator
Zone kernel: Used memory at exit: 0 kiB
Zone dma32: Used memory at exit: 0 kiB
[drm] amdgpu: ttm finalized
drmn0: Fatal error during GPU init
[drm] amdgpu: finishing device.
[TTM] Memory type 2 has not been initialized
device_attach: drmn0 attach returned 22
Johannes Dieterich
2018-09-30 20:37:07 UTC
Permalink
Post by Rozhuk Ivan
On Sun, 30 Sep 2018 18:12:01 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
I try drm-stable-kmod-g20180822 but it fail to load, as I
understand.
That should work, could you post the error messages? I assume you
followed the instructions in the port?
# kldload /boot/modules/amdgpu.ko
[drm] Initialized
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] initializing kernel modesetting (CARRIZO 0x1002:0x9874 0x1002:0x1E20 0xE2).
[drm] register mmio base: 0xFE900000
[drm] register mmio size: 262144
[drm] doorbell mmio base: 0xF0000000
[drm] doorbell mmio size: 8388608
[drm:amdgpu_device_init]
Unable to find PCI I/O BAR
[drm] probing mlw for device 1002:9874 = 0
[drm] UVD is enabled in physical mode
[drm] VCE enabled in physical mode
[drm:amdgpu_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO
ATOM BIOS: BRISTOL
[drm] GPU post is not needed
Zone kernel: Available graphics memory: 3104154 kiB
Zone dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
drmn0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
drmn0: GTT: 3031M 0x0000000080000000 - 0x000000013D7667FF
[drm] Detected VRAM RAM=2048M, BAR=256M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3031M of GTT memory ready.
[drm] GART: num cpu pages 776038, num gpu pages 776038
[drm] PCIE GART of 3031M enabled (table at 0x0000000000040000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] amdgpu: irq initialized.
amdgpu: powerplay initialized
[drm] - kern.vt.fb.modes.DP-1
[drm] - kern.vt.fb.default_mode
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] - kern.vt.fb.modes.HDMI-A-2
[drm] - kern.vt.fb.default_mode
[drm] AMDGPU Display Connectors
[drm] DP-1
[drm] HPD1
[drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[drm] DFP1: INTERNAL_UNIPHY
[drm] HDMI-A-1
[drm] HPD2
[drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f
[drm] DFP2: INTERNAL_UNIPHY
[drm] HDMI-A-2
[drm] HPD3
[drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873
[drm] DFP3: INTERNAL_UNIPHY1
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_pfp.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_me.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_ce.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_rlc.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
amdgpu/carrizo_mec2.bin: could not load firmware image, error 2
drmn0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0x0xfffff800444aa010
drmn0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0x0xfffff800444aa020
drmn0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0x0xfffff800444aa030
drmn0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0x0xfffff800444aa040
drmn0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0x0xfffff800444aa050
drmn0: fence driver on ring 5 use gpu addr 0x0000000080000060, cpu addr 0x0xfffff800444aa060
drmn0: fence driver on ring 6 use gpu addr 0x0000000080000070, cpu addr 0x0xfffff800444aa070
drmn0: fence driver on ring 7 use gpu addr 0x0000000080000080, cpu addr 0x0xfffff800444aa080
drmn0: fence driver on ring 8 use gpu addr 0x0000000080000090, cpu addr 0x0xfffff800444aa090
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2
drmn0: fence driver on ring 9 use gpu addr 0x00000000800000a0, cpu addr 0x0xfffff800444aa0a0
drmn0: fence driver on ring 10 use gpu addr 0x00000000800000b0, cpu addr 0x0xfffff800444aa0b0
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
amdgpu/carrizo_uvd.bin: could not load firmware image, error 2
[drm] Found UVD firmware Version: 1.91 Family ID: 11
drmn0: fence driver on ring 11 use gpu addr 0x0000000000681560, cpu addr 0x0xfffff800e0681560
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
amdgpu/carrizo_vce.bin: could not load firmware image, error 2
[drm] Found VCE firmware Version: 52.4 Binary ID: 3
drmn0: fence driver on ring 12 use gpu addr 0x00000000800000d0, cpu addr 0x0xfffff800444aa0d0
drmn0: fence driver on ring 13 use gpu addr 0x00000000800000e0, cpu addr 0x0xfffff800444aa0e0
[drm:gfx_v8_0_ring_test_ring] amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)
[drm:amdgpu_init] hw_init of IP block <gfx_v8_0> failed -22
drmn0: amdgpu_init failed
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5
[drm:amdgpu_irq_disable_all] error disabling interrupt (-22)
[TTM] Finalizing pool allocator
Zone kernel: Used memory at exit: 0 kiB
Zone dma32: Used memory at exit: 0 kiB
[drm] amdgpu: ttm finalized
drmn0: Fatal error during GPU init
[drm] amdgpu: finishing device.
[TTM] Memory type 2 has not been initialized
device_attach: drmn0 attach returned 22
Just to make sure, the gpu-firmware port is installed and /boot/modules contains these files the load is looking for? Which drm port gets installed if you use the new graphics/drm-kmod metaport? If it is next, could you try with that?

Thanks!
Rozhuk Ivan
2018-09-30 21:15:51 UTC
Permalink
On Sun, 30 Sep 2018 20:37:07 +0000
Post by Johannes Dieterich
finishing device. [TTM] Memory type 2 has not been initialized
device_attach: drmn0 attach returned 22
Just to make sure, the gpu-firmware port is installed
and /boot/modules contains these files the load is looking for? Which
drm port gets installed if you use the new graphics/drm-kmod
metaport? If it is next, could you try with that?
# pkg version -v | grep gpu
gpu-firmware-kmod-g20180825 = up-to-date with index
xf86-video-amdgpu-1.3.0_3 = up-to-date with index

# pkg version -v | grep kmod
drm-stable-kmod-g20180822 = up-to-date with index
gpu-firmware-kmod-g20180825 = up-to-date with index

# ls /boot/modules/ | grep carrizo
-r-xr-xr-x 1 root wheel 13K Aug 26 21:20:06 2018 amdgpu_carrizo_ce_bin.ko*
-r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_me_bin.ko*
-r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec_bin.ko*
-r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec2_bin.ko*
-r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_pfp_bin.ko*
-r-xr-xr-x 1 root wheel 23K Aug 26 21:20:06 2018 amdgpu_carrizo_rlc_bin.ko*
-r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma_bin.ko*
-r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma1_bin.ko*
-r-xr-xr-x 1 root wheel 270K Aug 26 21:20:06 2018 amdgpu_carrizo_uvd_bin.ko*
-r-xr-xr-x 1 root wheel 176K Aug 26 21:20:06 2018 amdgpu_carrizo_vce_bin.ko*


drm-next requires FreeBSD 12, I do not try it yet.
Johannes Dieterich
2018-09-30 23:21:36 UTC
Permalink
Post by Rozhuk Ivan
On Sun, 30 Sep 2018 20:37:07 +0000
Post by Johannes Dieterich
finishing device. [TTM] Memory type 2 has not been initialized
device_attach: drmn0 attach returned 22
Just to make sure, the gpu-firmware port is installed
and /boot/modules contains these files the load is looking for? Which
drm port gets installed if you use the new graphics/drm-kmod
metaport? If it is next, could you try with that?
# pkg version -v | grep gpu
gpu-firmware-kmod-g20180825 = up-to-date with index
xf86-video-amdgpu-1.3.0_3 = up-to-date with index
# pkg version -v | grep kmod
drm-stable-kmod-g20180822 = up-to-date with index
gpu-firmware-kmod-g20180825 = up-to-date with index
# ls /boot/modules/ | grep carrizo
-r-xr-xr-x 1 root wheel 13K Aug 26 21:20:06 2018 amdgpu_carrizo_ce_bin.ko*
-r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_me_bin.ko*
-r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec_bin.ko*
-r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec2_bin.ko*
-r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_pfp_bin.ko*
-r-xr-xr-x 1 root wheel 23K Aug 26 21:20:06 2018 amdgpu_carrizo_rlc_bin.ko*
-r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma_bin.ko*
-r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma1_bin.ko*
-r-xr-xr-x 1 root wheel 270K Aug 26 21:20:06 2018 amdgpu_carrizo_uvd_bin.ko*
-r-xr-xr-x 1 root wheel 176K Aug 26 21:20:06 2018 amdgpu_carrizo_vce_bin.ko*
Ok, this looks good. It may be that Bristol is not well supported on DRM 4.9 yet, I need to check that.
Post by Rozhuk Ivan
drm-next requires FreeBSD 12, I do not try it yet.
It requires a FreeBSD version equal or higher than 1101511, could you provide sysctl kern.osrelease?

Johannes
Rozhuk Ivan
2018-09-30 23:28:25 UTC
Permalink
On Sun, 30 Sep 2018 23:21:36 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
drm-next requires FreeBSD 12, I do not try it yet.
It requires a FreeBSD version equal or higher than 1101511, could you
provide sysctl kern.osrelease?
kern.osrelease: 11.2-STABLE

/usr/ports/graphics/drm-kmod
/usr/ports/graphics/drm-stable-kmod
/usr/ports/graphics/drm-legacy-kmod
/usr/ports/graphics/drm-next-kmod
/usr/ports/graphics/drm-devel-kmod

Too many drm...
Johannes Dieterich
2018-09-30 23:38:02 UTC
Permalink
Post by Rozhuk Ivan
On Sun, 30 Sep 2018 23:21:36 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
drm-next requires FreeBSD 12, I do not try it yet.
It requires a FreeBSD version equal or higher than 1101511, could you
provide sysctl kern.osrelease?
kern.osrelease: 11.2-STABLE
/usr/ports/graphics/drm-kmod
/usr/ports/graphics/drm-stable-kmod
/usr/ports/graphics/drm-legacy-kmod
/usr/ports/graphics/drm-next-kmod
/usr/ports/graphics/drm-devel-kmod
Too many drm...
Which is why there is graphics/drm-kmod which will install the most recent recommended DRM for your OS version. Could you try that?
Rozhuk Ivan
2018-09-30 23:43:32 UTC
Permalink
On Sun, 30 Sep 2018 23:38:02 +0000
Post by Johannes Dieterich
Post by Rozhuk Ivan
/usr/ports/graphics/drm-kmod
/usr/ports/graphics/drm-stable-kmod
/usr/ports/graphics/drm-legacy-kmod
/usr/ports/graphics/drm-next-kmod
/usr/ports/graphics/drm-devel-kmod
Too many drm...
Which is why there is graphics/drm-kmod which will install the most
recent recommended DRM for your OS version. Could you try that?
It install graphics/drm-stable-kmod.

Rozhuk Ivan
2018-09-30 23:39:39 UTC
Permalink
On Mon, 1 Oct 2018 01:04:20 +0200
Post by Rozhuk Ivan
drm-next requires FreeBSD 12, I do not try it yet.
that is no longer true; drm-next requires at least FreeBSD 11.2 now
Got kernel panic on amdgpu load.
Loading...