* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
@ 2013-12-09 13:45 ` bugzilla-daemon
2013-12-09 16:03 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-09 13:45 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan@lxorguk.ukuu.org.uk
Component|Console/Framebuffers |Video(DRI - non Intel)
Assignee|jsimmons@infradead.org |drivers_video-dri@kernel-bu
| |gs.osdl.org
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
2013-12-09 13:45 ` [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub bugzilla-daemon
@ 2013-12-09 16:03 ` bugzilla-daemon
2013-12-10 1:43 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-09 16:03 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Apple's EFI implementation does not provide a way to fetch the vbios after the
OS takes over. IIRC, you need a special bootloader and kernel support for
fetching the vbios before passing control to the OS. I think Matthew Garret
had patches to support this at some point, I'm not sure what their status is.
The other option is to boot using the legacy bios interface (not EFI).
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
2013-12-09 13:45 ` [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub bugzilla-daemon
2013-12-09 16:03 ` bugzilla-daemon
@ 2013-12-10 1:43 ` bugzilla-daemon
2013-12-10 3:06 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-10 1:43 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
--- Comment #2 from moonman <moonman.ca@gmail.com> ---
Do you have any pointers where the patches are please?
Yes, I can boot in legacy mode but I don't want to do it this way due to
certain limitations it imposes
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
` (2 preceding siblings ...)
2013-12-10 1:43 ` bugzilla-daemon
@ 2013-12-10 3:06 ` bugzilla-daemon
2013-12-10 3:39 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-10 3:06 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
I can't find the patches off hand, but IIRC, you cannot use grub to load the
firmware as the information is only accessible before you exit the boot
services in EFI. The kernel must be booted using EFI stub booting (that's
where the code for getting the bios image is). If you are already using EFI
stub booting, maybe you need to add additional handling for your mac? Anyway,
this isn't really a radeon driver issue per se, it's a mac platform bug.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
` (3 preceding siblings ...)
2013-12-10 3:06 ` bugzilla-daemon
@ 2013-12-10 3:39 ` bugzilla-daemon
2013-12-10 14:07 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-10 3:39 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
--- Comment #4 from moonman <moonman.ca@gmail.com> ---
I've read that I need to use EFI stub booting, and I did. I only used grub to
set things up for ssh. Is there any way to dump vbios and load it separately
using grub (loadbios?)
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
` (4 preceding siblings ...)
2013-12-10 3:39 ` bugzilla-daemon
@ 2013-12-10 14:07 ` bugzilla-daemon
2013-12-24 2:03 ` bugzilla-daemon
2015-03-28 9:24 ` bugzilla-daemon
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-10 14:07 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
IIRC, the efi stub driver fetches the vbios via EFI and copies it to the legacy
vga shadow location (0xc0000). It's probably worth checking the efistub source
to see how it handles that for other systems to make sure you don't have to add
a special case for your laptop and to see if your system even makes a vbios
available via EFI at that point.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
` (5 preceding siblings ...)
2013-12-10 14:07 ` bugzilla-daemon
@ 2013-12-24 2:03 ` bugzilla-daemon
2015-03-28 9:24 ` bugzilla-daemon
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-12-24 2:03 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
--- Comment #6 from moonman <moonman.ca@gmail.com> ---
Just a quick update: I managed to get it to work finally, though this is not
really an optimal solution.
1. Patched the kernel with this patch:
https://bugs.freedesktop.org/attachment.cgi?id=33766 from this bugreport:
https://bugs.freedesktop.org/show_bug.cgi?id=26891
2. Extracted the vbios while booted into archlinux live cd in bios mode (by the
way the live cd needs to be patched to be booted because it comes with EFI
64bit support and not 32bit - well described how to do it in ArchWiki)
3. Only 1 method worked to extract the bios:
echo 1 > /sys/devices/pci0000:00/<id>/rom
cat /sys/devices/pci0000:00/<id>/rom > vbios.dump
for me id=0000:00:02.0
The resulted image is 64000 bytes and does not work for loadbios in grub.
Really don't know why.
Actually there's another method: If you have windows installed you can use
aida64 to extract the vbios. GPUZ does not work.
Now I can succesfully boot into KDE, BUT only if booted using grub. With EFI
Stub I get to console (screen does not stay black anymore), but X server fails
to start.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 66791] Radeon fails to find vbios on macbook pro 2, 1 (2007) for x1600 using kernel EFI stub
[not found] <bug-66791-2300@https.bugzilla.kernel.org/>
` (6 preceding siblings ...)
2013-12-24 2:03 ` bugzilla-daemon
@ 2015-03-28 9:24 ` bugzilla-daemon
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-03-28 9:24 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=66791
johnson <johnson@cognitech-ut.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johnson@cognitech-ut.com
--- Comment #7 from johnson <johnson@cognitech-ut.com> ---
I seem to have run into a similar situation. I filed this Bug #95651
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread