Jump to content

GMA X4500


  • Please log in to reply
1614 replies to this topic

#41
consono

consono

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male

consono, when you say 'other widescreen resolutions', what do you mean? I thought VESA could not support anything higher than 1280x800.


To be true, VESA doesn't even support 1280x800... Thats where 915 resolution (more here) steps in. With this program on linux you can modify the vidoe bios of your integrated intel gma to have non standard vesa modes (basically it replaces the selected video mode with a new one you specified). I used it to achieve 1440x900 on linux, so I think it will support higher resolutions than 1280x800. (one more thing: 915resolution doesn't support x4500! I had to create a new entry for it in the program, but you basically just need your pci id and have to copy the 96GM codes)

My train of thougth was:If I can use 915resolution to have vesa modes for my lcdm than maybe OSX will use these vesa modes,too. But 915 resolution is a linux utility, how can I start this at boot time? Its' GRUB2 (here) time! Because grub2 has 915resolution module which patches the video bios at boot time! But you need a linux distribution with grub2-915resolutin, thats why I choose archlinux. I installed it on a separate partition (after the osx install), downloaded the package (from here:http://aur.archlinux.org/packages.php?ID=22927), compilled, fiddled with the config file, installed, tried to boot OSX with it (info here:http://www.insanelymac.com/forum/index.php?showtopic=150004&pid=1063106&mode=threaded&start=#entry1063106) and when it worked I modified the 915resolution modul, recompilled it,replaced the original with it and now I can set my 1280x800 from the bootloader and If I boot osx from here then I can see my resolution when I type in ?video at boot, and can use "Graphics Mode" = "1280x800x32"

Hope this helps, but if not I try to help.

Any way you could translate this to a step by step guide cause thats confusing


Read below, I tried to explain it.

#42
Martin255

Martin255

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Wow thanks! That's actually the most useful hack I have seen for this card. I'll try when I have a bit of time.

#43
ramky

ramky

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Only havd X3500 drivers suppor!
http://www.rayfile.c...2-0014221b798a/

#44
Durga Prasad

Durga Prasad

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi consono,

I have followed your instructions, but could not get 1280*800. May be, I have done something wrong.

Can you please post your patched 915resolution.c file and your grub.cfg file.

Note: In grub bootloader, I could see that 915resolution module was there and its count is 1. In the chameleon bootloader, I don't see 1280*800 resolution when I type "?video".

Thank you so much

--
DP

#45
consono

consono

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
Hi Druga!

I attached the files! (Even the compilled 915resolution.mod, you just have to replace the original .) Do you patched mode 34?

Consono

Attached File  915.zip   10.39KB   1841 downloads

#46
Durga Prasad

Durga Prasad

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Hi Druga!

I attached the files! (Even the compilled 915resolution.mod, you just have to replace the original .) Do you patched mode 34?

Consono

Attached File  915.zip   10.39KB   1841 downloads


Hi Consono,

Thank you so so much for your help. Now, I am able to get 1280x800 resolution. Actually, I did not patch mode 34. After looking at your grub.cfg, I changed mine. Then, I found a bug in my 915resolution.c (I gave the wrong device id there). After I fixed that, everything worked great.

Once again, Thank you so much for your awesome idea.


-- For others, who are trying this, I have written a 'step-by-step' guide below

- Installed Ubuntu on a different partition (got problems while installing Arch-linux, so I have chosen Ubuntu).
- I modified /boot/grub/menu.lst to add Mac partition and found it is able to load even Mac. (may be this step is unnecessary)
- taken grub2+915resolution source code from http://aur.archlinux...es.php?ID=22927.
- compiled it on a different 32 bit linux machine on my network (because gcc installed on my ubuntu does not support 32-bit compilation. i.e. it does not support -m32). SCPed compiled files onto my ubuntu machine.
- opened package manager in ubuntu and removed the grub package that is already installed on my machine
- installed new grub using "./grub-install /dev/sda" command. NOTE: in grub2, grub.cfg is used for reading the configuration file. Write your own /boot/grub/grub.cfg. NOTE: For loading Mac, I did not follow the method used by consono. I did not create any extra partition. My Mac has /boot file. So, I am just loading that. Mac part in my grub.cfg looks like below

set root=(hd0,2)
multiboot (hd0,2)/boot

- We have to make sure that grub is able to load all operating systems installed on the machine. If it is able to load, we have completed 75% of the whole process. Make sure to take the backup of grub.cfg after this step.
- Next step is to patch grub source with 915resolution. Compile the grub and install the new grub. use the same grub.cfg that you have saved in the previous stage.
- We have to add G45 chipset support to 915 resolution. To know what to add, simply follow the code given by 'consono'. OR you could try your luck by directly copying 915resolution.mod given by consono. ( I think copying 915resolution.mod works in most of the cases )
- Once we have replaced our old 915resolution.mod with the new one, we need to add certain commands to grub.cfg. To know what commands (i.e. insmod, 915resolution etc.) to add to grub.cfg, take a look at grub.cfg given by consono.
- Reboot now and choose Mac in grub. If we type '?video' in Mac bootloader, we should be able to see "1280x800x32".
- Boot Mac with "Graphics Mode"="1280x800x32" and enjoy the widescreen :rolleyes:

Once again, many thanks to 'consono' for this great idea.

#47
mynameiszane

mynameiszane

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
any help for us who dont knoe about compiling and those stuff.

#48
dokugogagoji

dokugogagoji

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Only havd X3500 drivers suppor!
http://www.rayfile.c...2-0014221b798a/


Hi guys...I'm also the unlucky owner of a GMA 4500. Thanks to the 915resolution fix, I have got a decent resolution! :D

However, I'm thinking about writing a driver for this board... do you think it's doable porting the GNU/Linux X driver to Mac OS X looking at the Darwin source code and (hopefully) a video related kext code? Thanks!

#49
tomnic

tomnic

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 346 posts
  • Gender:Male
  • Location:Perugia, Italy

Hi guys...I'm also the unlucky owner of a GMA 4500. Thanks to the 915resolution fix, I have got a decent resolution! ;)

However, I'm thinking about writing a driver for this board... do you think it's doable porting the GNU/Linux X driver to Mac OS X looking at the Darwin source code and (hopefully) a video related kext code? Thanks!


This could help 16'' wide screen lcd panels getting the infamous 1366x768 resolution working, at least in vesa mode!!! Really nice idea!

#50
dokugogagoji

dokugogagoji

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

This could help 16'' wide screen lcd panels getting the infamous 1366x768 resolution working, at least in vesa mode!!! Really nice idea!


Yeah it was also my first thought.

#51
dac3d

dac3d

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
mobile intel 4 on fujitsu esprimo 6535 ven_8086 dev 2a42 ned kext if possible

#52
consono

consono

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male

Hi Consono,

Thank you so so much for your help. Now, I am able to get 1280x800 resolution. Actually, I did not patch mode 34. After looking at your grub.cfg, I changed mine. Then, I found a bug in my 915resolution.c (I gave the wrong device id there). After I fixed that, everything worked great.


You are welcome! I think I made the same mistake with the PCI ID (used 2a42 instead of 2a40?) :) I'm glad it worked for you even using other linux distribution!

#53
fx600

fx600

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Thanks! Will try the consono patch and 915Resolution as soon as new HDD arrives. Beside that, I see that 915Resolution hack supports 800 series boards as well, so it might be a solution for non-QE native resolution (e.g. 1024x600) for old mininotebooks having 855GM boards! Can't wait till I try that. I will report more in few weeks time if it works on 855 as well...

#54
gozali

gozali

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
hi durga,

i'm using ubuntu 8.10, is the 915 patch work if i installed grub2 using apt?
and which package do i have to install, since there is 5 version of grub2

grub-efi - GRand Unified Bootloader, version 2 (EFI version)
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-linuxbios - GRand Unified Bootloader, version 2 (LinuxBIOS version)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
grub2-splashimages - a collection of great GRUB2 splashimages

thank you for your help

#55
cocob

cocob

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Consono / Durga.

I could not install archlinux due to some installation errors. I have installed Ubuntu ,patched the grub2 and when compiling (using configure), am getting compilation errors ( Fixed some, but keep on getting errors). Can you upload the compiled grub2 files?
I will try to replace the compiled 915resolution.c on it, and try to boot and update you guys over the weekend.

Also...Is the display looking bright and crisp after changing to the desired resolution?

hi durga,

i'm using ubuntu 8.10, is the 915 patch work if i installed grub2 using apt?
and which package do i have to install, since there is 5 version of grub2

grub-efi - GRand Unified Bootloader, version 2 (EFI version)
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-linuxbios - GRand Unified Bootloader, version 2 (LinuxBIOS version)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
grub2-splashimages - a collection of great GRUB2 splashimages

thank you for your help


Gozali,
Can you upload the compiled grub2 files? we all can work together to get it solved.. :)

#56
gozali

gozali

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Consono / Durga.

I could not install archlinux due to some installation errors. I have installed Ubuntu ,patched the grub2 and when compiling (using configure), am getting compilation errors ( Fixed some, but keep on getting errors). Can you upload the compiled grub2 files?
I will try to replace the compiled 915resolution.c on it, and try to boot and update you guys over the weekend.

Also...Is the display looking bright and crisp after changing to the desired resolution?



Gozali,
Can you upload the compiled grub2 files? we all can work together to get it solved.. :)


hi cocob,

i haven't installed the grub2 yet, i try to compile the source but i got compilation errors too.. so i asked how about if i install the grub2 using apt, which package do i have to choose?
do you have any suggestion?

#57
Durga Prasad

Durga Prasad

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

hi durga,

i'm using ubuntu 8.10, is the 915 patch work if i installed grub2 using apt?
and which package do i have to install, since there is 5 version of grub2

grub-efi - GRand Unified Bootloader, version 2 (EFI version)
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-linuxbios - GRand Unified Bootloader, version 2 (LinuxBIOS version)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
grub2-splashimages - a collection of great GRUB2 splashimages

thank you for your help


Hi,

Installing grub2 using apt is not going to work. I think, Ubuntu package repository does not have "grub2 with 915resolution".

So, you better take grub2+915resolution source code from http://aur.archlinux...es.php?ID=22927 and compile it.

Consono / Durga.

I could not install archlinux due to some installation errors. I have installed Ubuntu ,patched the grub2 and when compiling (using configure), am getting compilation errors ( Fixed some, but keep on getting errors). Can you upload the compiled grub2 files?
I will try to replace the compiled 915resolution.c on it, and try to boot and update you guys over the weekend.

Also...Is the display looking bright and crisp after changing to the desired resolution?



Gozali,
Can you upload the compiled grub2 files? we all can work together to get it solved.. :(


Hi,

Even I got the compilation errors while compiling in Ubuntu. Reason is GCC compilers installed on my Ubuntu don't support 32-bit compilation (i.e. gcc does not support -m32 bit flag). So, I compiled it on a different 32 bit linux machine on my network. SCPed compiled files onto my ubuntu machine.

I am really sorry that I have deleted those files.

Consono has given some files. They are very helpful once after compiling new grub.

hi cocob,

i haven't installed the grub2 yet, i try to compile the source but i got compilation errors too.. so i asked how about if i install the grub2 using apt, which package do i have to choose?
do you have any suggestion?



Hi,

I am attaching my grub2 compiled files. They should be extracted to /home/dpj/grub2 folder. NOTE: In the attached grub2 build, I have not modified 915resolution.c

For 915resolution.c, 915resolution.mod and grub.cfg, you can look at the zip file sent by Consono.

Attached Files



#58
cocob

cocob

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Hi,

Installing grub2 using apt is not going to work. I think, Ubuntu package repository does not have "grub2 with 915resolution".

So, you better take grub2+915resolution source code from http://aur.archlinux...es.php?ID=22927 and compile it.



Hi,

Even I got the compilation errors while compiling in Ubuntu. Reason is GCC compilers installed on my Ubuntu don't support 32-bit compilation (i.e. gcc does not support -m32 bit flag). So, I compiled it on a different 32 bit linux machine on my network. SCPed compiled files onto my ubuntu machine.

I am really sorry that I have deleted those files.

Consono has given some files. They are very helpful once after compiling new grub.




Hi,

I am attaching my grub2 compiled files. They should be extracted to /home/dpj/grub2 folder. NOTE: In the attached grub2 build, I have not modified 915resolution.c

For 915resolution.c, 915resolution.mod and grub.cfg, you can look at the zip file sent by Consono.


Hi,
Thanks..Since I cant compile as of now, I can replace the mod file with Consono's one in your grub. But I could not find the 915resolution.mod file in your grub2 attachment. Am I missing something? I am novice..

#59
Durga Prasad

Durga Prasad

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Hi,
Thanks..Since I cant compile as of now, I can replace the mod file with Consono's one in your grub. But I could not find the 915resolution.mod file in your grub2 attachment. Am I missing something? I am novice..


Hi,

I did not put 915resolution.mod in the attachment.

You can find 915resolution.mod, grub.cfg in the 915.zip file sent by "Consono" in one of his previous posts.

#60
consono

consono

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male

Hi,

I did not put 915resolution.mod in the attachment.

You can find 915resolution.mod, grub.cfg in the 915.zip file sent by "Consono" in one of his previous posts.



It's attached in my april 04. post.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy