On Fri, Apr 20, 2018 at 10:28:22AM +1000, Jonathan Gray wrote:
> On Thu, Apr 19, 2018 at 09:46:54AM -0700, Carlos Cardenas wrote:
> > On Thu, Apr 19, 2018 at 03:03:51PM +1000, Jonathan Gray wrote:
> > > On Wed, Apr 18, 2018 at 06:59:42PM -0700, Carlos Cardenas wrote:
> > > > On Thu, Apr 19, 2018 at 09:35:19AM +1000, Jonathan Gray wrote:
> > > > > On Wed, Apr 18, 2018 at 03:29:10PM -0700, Carlos Cardenas wrote:
> > > > > > Howdy.
> > > > > > 
> > > > > > Please excuse this poor bug report, I'm not able to obtain more 
> > > > > > info as
> > > > > > the system locks hard (below is transcribed by hand).
> > > > > > 
> > > > > > On a clean install, with the latest snap (as of time of email):
> > > > > > OpenBSD 6.3-current (GENERIC.MP) #207: Wed Apr 18 11:37:15 MDT 2018
> > > > > > 
> > > > > > CPU: AMD A8-7670K Radeon R7 aka Kaveri
> > > > > > 
> > > > > > extent_free(ffffffff819489f8,100,1000,7e281000) at extent_free+0x110
> > > > > > bus_space_unmap(0,ffff8000000de000,0) at bus_space_unmap+0x110
> > > > > > radeon_device_fini(ffff8000000de000) at radeon_device_fini+0x43
> > > > > > radeondrm_detach_kms(0,ffff8000000de000) at 
> > > > > > radeondrm_detach_kms+0x33
> > > > > > config_detach(ffff8000000dd600,ffff8000000de000) at 
> > > > > > config_detach+0x14e
> > > > > > radeondrm_attachhook(ffffffff81bf9420) at radeondrm_attachhook+0x9d
> > > > > > config_process_deferred_mountroot() at 
> > > > > > config_process_deferred_mountroot+0x56
> > > > > > main(6dd84e08) at main+0x80f
> > > > > 
> > > > > See the other thread on bugs.  Not sure when a snapshot with the fix
> > > > > will go out.
> > > > 
> > > > I'm tracking bluhm's thread as well.
> > > > 
> > > > With snap #209 (which has that patch), we get further along from a clean
> > > > install:
> > > > 
> > > > initializing kernel modesetting (KAVERI 0x1002:0x1313 0x1462:0x7969).
> > > > cik_cp: Failed to load firmware "radeon/KAVERI_pfp.bin"
> > > > error: [drm:pid0:cik_init] *ERROR* Failed to load Firmware!
> > > > drm:pid0:radeondrm_attachhook *ERROR* Fatal error during GPU init
> > > > ttm_pool_mm_shrink_fini: stub
> > > > drm0 detached
> > > > radeondrm0 detached
> > > > vendor "ATI", unknown product 0x1313 (class display subclass VGA, rev 
> > > > 0xd4) at
> > > > pci0 dev 1 function 0 not configured
> > > > init: can't open /dev/console: Device not configured
> > > > init: can't open /dev/console: Device not configured
> > > > init: can't open /dev/console: Device not configured
> > > > [repeats]
> > > 
> > > So I'm quite sure you are booting via uefi with efifb here.
> > > There was previously no code that reprobed efifb as efifb isn't probed
> > > via pci devices.
> > > 
> > > The following on top of radeon.diff.2 works here when removing the
> > > firmware and booting via efiboot on a mullins system.
> > > 
> > 
> > That was it....attached are two dmesg's:
> > * one after a clean install with no firmware loaded
> > * one after first boot with firmware loaded
> > 
> > With the firmware loaded, there's an artifact of a vertical purple line
> > along the left side of the screen (x=0) but everything seems to be ok (X
> > looks nice).
> 
> Are you setting a different gop mode via efiboot/boot.conf ?

Negative.

> 
> If you compile a kernel with efifb commented out (not just disabled via ukc)
> do the ring tests pass?

The tests still fail with the same messages:
initializing kernel modesetting (KAVERI 0x1002:0x1313 0x1462:0x7969).
error: [drm:pid0:cik_ring_test] *ERROR* radeon: ring 2 test failed 
(scratch(0x3010C)=0xCAFEDEAD)
error: [drm:pid0:cik_sdma_ring_test] *ERROR* radeon: ring 3 test failed 
(0xCAFEDEAD)
drm:pid0:cik_init *ERROR* disabling GPU acceleration
Can't enable IRQ/MSI because no handler is installed
radeondrm0: 1920x1080, 32bpp

> 
> Proper acceleration on kaveri requires building Mesa 17.3 against ports
> libLLVM.  But the ring tests should still pass without that.

+--+
Carlos

Reply via email to