Re: Problems starting X on Mac using vesa, radeon or intel drivers when running FreeBSD-CURRENT in EFI

From: Jean-Sébastien Pédron <jean-sebastien.pedron_at_dumbbell.fr>
Date: Fri, 25 Jul 2014 16:45:51 +0200
On 20.07.2014 18:19, Anders Bolt-Evensen wrote:
> Hello, everyone!

Hi!

> When I try to use the radeon driver, X exits because of BIOS errors
> (since I do not use BIOS when in EFI mode), as can be seen from the
> output of "dmesg -a" from a verbose boot (at the time dmesg -a was run,
> I had commented out the line with the intel driver to force it to use
> the radeon driver instead, since the intel driver caused the screen to
> freeze).

I can't comment on the Intel driver behavior, but I never tested the
Radeon driver with UEFI yet. The BIOS errors you see mean that the
driver failed to locate the Video BIOS. There no relation with the
System BIOS or, in your case, UEFI.

> info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
> info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
> info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND

Those calls to get the "VFCT" ACPI table should succeed in an UEFI
context. But as I said, this was never tested.

> error: [drm:pid1363:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
> drmn0: error: Fatal error during GPU init
> info: [drm] radeon: finishing device.
> [TTM] Memory type 2 has not been initialized
> device_attach: drmn0 attach returned 22

And here, without the Video BIOS, the driver misses too much information
and abort the initialization of the card.

I currently have no suggestion to make to debug and fix this situation.
I need to study a bit what should be going on before. My laptop, which
has UEFI available, doesn't boot FreeBSD for now (it fails to probe the
system memory).

I'll get back to you as soon as I can work on this.

-- 
Jean-Sébastien Pédron


Received on Fri Jul 25 2014 - 12:45:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC