Hello,
Can I kindly ask you to run the following command from a Terminal under MacOS X :
sudo ioreg -lw0 |grep manufacturer|cut -b25-80;sudo ioreg -lw0|grep "product-name"|cut -b 25-80;sudo dtrace -qn 'BEGIN{boot_args=((struct boot_args*)(`PE_state).bootArgs);printf("FrameBufferBase: 0x%08x\nPixelsPerScanLine: %d\nHorizontalResolution: %d\nVerticalResolution: %d", boot_args->Video.v_baseAddr, boot_args->Video.v_rowBytes/4, boot_args->Video.v_width, boot_args->Video.v_height);exit(0)} '
This command does not change anything to your system, it only reads the low-level EFI video values with the "ioreg" and the "dtrace" command.
So basically the risk is 0.
This will allow the "pure EFI boot" on Linux to work "out of the box" (ie without recompiling the Linux kernel) on all Mac models.
I am sure that with all the Mac passionates on this forum, in a few days we can cover all Apple models...
Submissions from all Intel-based Mac models are welcome (iMac, MacBook, MacBook Pro, ...).
On my machine, when the 9400M is active at boot time the output is the following :
<"Apple Inc.">
<"MacBookPro5,3">
FrameBufferBase: 0xd0010000
PixelsPerScanLine: 2048
HorizontalResolution: 1440
VerticalResolution: 900
On my machine, when the 9600M is active at boot time the output is the following :
<"Apple Inc.">
<"MacBookPro5,3">
FrameBufferBase: 0xc0030000
PixelsPerScanLine: 2048
HorizontalResolution: 1440
VerticalResolution: 900
If the graphic card is switched after boot time (in "Energy Saving" preference pane or with gfxCardStatus), the FrameBufferBase value does not change anymore, it keeps its previous value.
Please copy the terminal output on your machine and paste it in a reply to this post !
As soon as the output is collected for all models, I will consolidate them and submit it as a patch to the Linux kernel.
Many thanks in advance for your help in this collaborative work !
Sorry if the thread is "off topic" on this forum, but I could not find a "Linux on Mac" forum...
metatech
P.S. : The thread with the original investigation is here :
http://ubuntuforums.org/showthread.php?t=1076879&page=2
Can I kindly ask you to run the following command from a Terminal under MacOS X :
sudo ioreg -lw0 |grep manufacturer|cut -b25-80;sudo ioreg -lw0|grep "product-name"|cut -b 25-80;sudo dtrace -qn 'BEGIN{boot_args=((struct boot_args*)(`PE_state).bootArgs);printf("FrameBufferBase: 0x%08x\nPixelsPerScanLine: %d\nHorizontalResolution: %d\nVerticalResolution: %d", boot_args->Video.v_baseAddr, boot_args->Video.v_rowBytes/4, boot_args->Video.v_width, boot_args->Video.v_height);exit(0)} '
This command does not change anything to your system, it only reads the low-level EFI video values with the "ioreg" and the "dtrace" command.
So basically the risk is 0.
This will allow the "pure EFI boot" on Linux to work "out of the box" (ie without recompiling the Linux kernel) on all Mac models.
I am sure that with all the Mac passionates on this forum, in a few days we can cover all Apple models...
Submissions from all Intel-based Mac models are welcome (iMac, MacBook, MacBook Pro, ...).
On my machine, when the 9400M is active at boot time the output is the following :
<"Apple Inc.">
<"MacBookPro5,3">
FrameBufferBase: 0xd0010000
PixelsPerScanLine: 2048
HorizontalResolution: 1440
VerticalResolution: 900
On my machine, when the 9600M is active at boot time the output is the following :
<"Apple Inc.">
<"MacBookPro5,3">
FrameBufferBase: 0xc0030000
PixelsPerScanLine: 2048
HorizontalResolution: 1440
VerticalResolution: 900
If the graphic card is switched after boot time (in "Energy Saving" preference pane or with gfxCardStatus), the FrameBufferBase value does not change anymore, it keeps its previous value.
Please copy the terminal output on your machine and paste it in a reply to this post !
As soon as the output is collected for all models, I will consolidate them and submit it as a patch to the Linux kernel.
Many thanks in advance for your help in this collaborative work !
Sorry if the thread is "off topic" on this forum, but I could not find a "Linux on Mac" forum...
metatech
P.S. : The thread with the original investigation is here :
http://ubuntuforums.org/showthread.php?t=1076879&page=2