FreeBSDDesktop / DEPRECATED-freebsd-base-graphics

Fork of FreeBSD's base repository to work on graphics-stack-related projects
Other
49 stars 13 forks source link

drm-next-4.7 amdgpu bios problem #92

Closed rut78HR closed 7 years ago

rut78HR commented 7 years ago

Hello .. Anybody else have this problem?

[drm] Initialized drm 1.1.0 20060810 [drm] amdgpu kernel modesetting enabled. linux_pci_find failed! drmn1: on vgapci1 vgapci1: child drmn1 requested pci_enable_io vgapci1: child drmn1 requested pci_enable_io [drm] initializing kernel modesetting (TOPAZ 0x1002:0x6900 0x0000:0x0000 0x00). [drm] register mmio base: 0xC4100000 [drm] register mmio size: 262144 [drm] doorbell mmio base: 0xC0000000 [drm] doorbell mmio size: 2097152 [drm] probing gen 2 caps for device 1002:6900 = 400c82/e [drm] probing mlw for device 1002:6900 = 400c82 [drm:0xffffffff8266bb05s] ERROR Unable to locate a BIOS ROM drmn1: Fatal error during GPU init [drm] amdgpu: finishing device. [TTM] Memory type 2 has not been initialized drmn1: linux_pci_attach failed! -22device_attach: drmn1 attach returned 22

vgapci1@pci0:9:0:0: class=0x038000 card=0xf9231179 chip=0x69001002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Topaz XT [Radeon R7 M260/M265 / M340/M360]' class = display

rut78HR commented 7 years ago

does this have anything to do with EFI boot ?

nomadlogic commented 7 years ago

I don't think this is related to EFI (although I could be wrong). To me it looks like the driver doesn't currently have the appropriate firmware for your GPU - although looking at the source i do see references for the Topaz GPU in the source in:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

mmacy@ may be able to shed additional light on this though.

btw - what git revision are you running?

Cheers, -pete

On Tue, Sep 27, 2016 at 11:35 PM, rut78HR notifications@github.com wrote:

does this have anything to do with EFI boot ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/92#issuecomment-250083821, or mute the thread https://github.com/notifications/unsubscribe-auth/AH-D02FHC2TNcvz-JdybeP1OV4XDXnRPks5qugqngaJpZM4KHYWy .

pete wright www.nycbug.org @nomadlogicLA

iotamudelta commented 7 years ago

@rut78HR is this maybe a dual-GPU notebook (i.e., APU + GPU)? IIRC, we've seen similar issues with those. In general, amdgpu is not yet fully functional (it works well with modesetting, 2D only) and radeon is completely untested.

rut78HR commented 7 years ago

https://github.com/FreeBSDDesktop/freebsd-base-graphics/commit/2652d2a6e8c714932dc3331bb130b31b176c3bc9

It is toshiba L-50B-27N serie notebook. Intel broadwell + radeon R7 M260

mattmacy commented 7 years ago

you currently have to disable efifb in order for amdgpu to work on APUs