On 2022-03-23 14:57, Pete Wright wrote:
On 3/23/22 14:44, Chris wrote:
On a releng/13 install. I've installed the drm-kmod and loaded both the amdgpu and the radeonkms (at different times). I also installed the xf86-ati driver.
But X isn't happy with it. This is in a laptop with the A8-7410. It claims
Radeon R5 (formerly Carrizo). I find no mention of it in the on the FBSD Graphics wiki, or any of the links from there. Has anyone set one of these up sucessfully?
Is it even possible? If so, what must I do?

hey chris - what happens when you load the amdgpu driver via rc.conf?  does it load correctly, or does the system crash on boot? for example what does "dmesg |
grep drm" look like?
Hey pete, thanks for the prompt reply!
It "flashes" but the resolution doesn't appear to change. It's booting UEFI, if that
should matter. grep(1) output attached. It's a bit long to paste inline.

assuming it does load successfully i think you are using the wrong xorg driver as the xf86-ati driver is ATI not amd devices.  Does loading xf86-video-amdgpu work
better?
You're probably right. I'll give that a try.

Thanks again! :-)

cheers,
-pete
--Chris
[drm] radeon 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 (MULLINS 0x1002:0x9851 0x1028:0x06BF 
0x45).
[drm] doorbell mmio base: 0xF0000000
[drm] doorbell mmio size: 8388608
[drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for 
ATOM IIO
drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drmn0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 128bits DDR
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 2048M of GTT memory ready.
[drm] Loading mullins Microcode
drmn0: successfully loaded firmware image 'radeon/mullins_pfp.bin'
drmn0: successfully loaded firmware image 'radeon/mullins_me.bin'
drmn0: successfully loaded firmware image 'radeon/mullins_ce.bin'
drmn0: successfully loaded firmware image 'radeon/mullins_mec.bin'
drmn0: successfully loaded firmware image 'radeon/mullins_rlc.bin'
drmn0: successfully loaded firmware image 'radeon/mullins_sdma.bin'
[drm] Internal thermal controller without fan control
[drm] radeon: dpm initialized
drmn0: successfully loaded firmware image 'radeon/bonaire_uvd.bin'
[drm] Found UVD firmware Version: 1.64 Family ID: 9
drmn0: successfully loaded firmware image 'radeon/BONAIRE_vce.bin'
[drm] Found VCE firmware/feedback version 40.2.2 / 15!
[drm] GART: num cpu pages 524288, num gpu pages 524288
[drm] PCIE GART of 2048M enabled (table at 0x000000000030E000).
drmn0: WB enabled
drmn0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 
0x0xfffff800079f1c00
drmn0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 
0x0xfffff800079f1c04
drmn0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 
0x0xfffff800079f1c08
drmn0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 
0x0xfffff800079f1c0c
drmn0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 
0x0xfffff800079f1c10
drmn0: fence driver on ring 5 use gpu addr 0x0000000000078d30 and cpu addr 
0x0xfffff800e0078d30
drmn0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 
0x0xfffff800079f1c18
drmn0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 
0x0xfffff800079f1c1c
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
drmn0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 3 usecs
[drm] ring test on 1 succeeded in 2 usecs
[drm] ring test on 2 succeeded in 2 usecs
[drm] ring test on 3 succeeded in 4 usecs
[drm] ring test on 4 succeeded in 4 usecs
[drm] ring test on 5 succeeded in 2 usecs
[drm] UVD initialized successfully.
[drm] ring test on 6 succeeded in 20 usecs
[drm] ring test on 7 succeeded in 2 usecs
[drm] VCE initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 1 succeeded in 0 usecs
[drm] ib test on ring 2 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 4 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
[drm] ib test on ring 6 succeeded
[drm] ib test on ring 7 succeeded
[drm] Connector eDP-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.eDP-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] radeon atom DIG backlight initialized
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   eDP-1
[drm]   HPD1
[drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[drm]   Encoders:
[drm]     LCD1: INTERNAL_UNIPHY
[drm] Connector 1:
[drm]   HDMI-A-1
[drm]   HPD2
[drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY
[drm] fb mappable at 0xE0731000
[drm] vram apper at 0xE0000000
[drm] size 5787648
[drm] fb depth is 24
[drm]    pitch is 6400
name=drmn0 flags=0x0 stride=6400 bpp=32
drmn0: fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0
[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 (MULLINS 0x1002:0x9851 0x1028:0x06BF 
0x45).
[drm] register mmio base: 0xFEB00000
[drm] register mmio size: 262144
[drm] add ip block number 0 <cik_common>
[drm] add ip block number 1 <gmc_v7_0>
[drm] add ip block number 2 <cik_ih>
[drm] add ip block number 3 <gfx_v7_0>
[drm] add ip block number 4 <cik_sdma>
[drm] add ip block number 5 <kv_dpm>
[drm] add ip block number 6 <dce_v8_0>
[drm] add ip block number 7 <uvd_v4_2>
[drm] add ip block number 8 <vce_v2_0>
drmn0: kfd not supported on this ASIC
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
drmn0: VRAM: 1024M 0x000000F400000000 - 0x000000F43FFFFFFF (1024M used)
drmn0: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 1024M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F40057F000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
drmn0: successfully loaded firmware image 'amdgpu/mullins_pfp.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_me.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_ce.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_mec.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_rlc.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_sdma.bin'
drmn0: successfully loaded firmware image 'amdgpu/mullins_sdma1.bin'
[drm] Internal thermal controller without fan control
[drm] amdgpu: dpm initialized
[drm] Connector eDP-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.eDP-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] amdgpu atom DIG backlight initialized
[drm] AMDGPU Display Connectors
[drm] Connector 0:
[drm]   eDP-1
[drm]   HPD1
[drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[drm]   Encoders:
[drm]     LCD1: INTERNAL_UNIPHY
[drm] Connector 1:
[drm]   HDMI-A-1
[drm]   HPD2
[drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY
drmn0: successfully loaded firmware image 'amdgpu/mullins_uvd.bin'
[drm] Found UVD firmware Version: 1.64 Family ID: 9
drmn0: successfully loaded firmware image 'amdgpu/mullins_vce.bin'
[drm] Found VCE firmware Version: 50.10 Binary ID: 2
[drm] UVD initialized successfully.
[drm] VCE initialized successfully.
[drm] fb mappable at 0xE096B000
[drm] vram apper at 0xE0000000
[drm] size 5787648
[drm] fb depth is 24
[drm]    pitch is 6400
name=drmn0 flags=0x0 stride=6400 bpp=32
drmn0: fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.35.0 20150101 for drmn0 on minor 0

Attachment: 0xBDE49540.asc
Description: application/pgp-keys

Reply via email to