[Bug 296422] EFI loader framebuffer corruption on MacPro3,1 (Early 2008) with ATI Radeon HD 2600 XT (RV630)

[email protected] Wed, 08 Jul 2026 18:38:26 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296422

--- Comment #11 from Stéphane Jouve <[email protected]> ---
(In reply to Ahmad Khalifa from comment #10)
Thanks, Ahmad and Michael.

I think I understand what the solution should look like.
In the `framebuffer.c` source file, within the `efifb_from_uga` function:
1. Retrieve the string returned by `getenv("smbios.system.product")`
for this Mac Pro. Let's assume the string is "MacPro3,1".
2. Add an `else if (ev != NULL && !strcmp(ev, "MacPro3,1")) {...}` block and
assign the correct values ​​for `horiz`, `vert`, `fbaddr`, `offset`, and
`stride` within it.

However, it remains to be determined where (or how) to find the correct values.
Do you think the source code of operating systems that display correctly
(NetBSD, OpenBSD, or a GNU/Linux distribution) might help?

I have some C programming experience.
I’d like to try fixing this problem myself.
But I’m not yet familiar with FreeBSD or Git.
I’m still just a beginner using a few GNU/Linux distributions.
Right now, I don’t have a development environment or a toolchain installed.
I’ve never built an operating system from source—or even just an EFI
bootloader.
Do you have an estimate of how long it usually takes to learn how to do that?

In the meantime, I’ve installed a GNU/Linux distribution on this old Mac Pro.
So far, it seems to be running perfectly.
So, I would now be happy to help fix the issue—primarily for the sake of
other potential users of this type of machine.
But do you think there are enough of them left to make it worth the time?
If so, what is the best way to help?

-- 
You are receiving this mail because:
You are the assignee for the bug.