Jump to content

[Fixed] Ghost display on MSI R5770 Hawk in Lion


  • Please log in to reply
82 replies to this topic

#41
axm

axm

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
Come on, there is surely someone, who already patched the 10.7.3 ATI5000Controller.kext to fix the ghost VGA screen... Please share it with us. :wink2: :thumbsup_anim:

#42
tallest

tallest

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:New Mexico, USA
Sorry I've been absent. I've modified my DSDT so I no longer need graphicsenabler and this fix, but I've made the modifications to the kext and attached it.

This is untested, so tell me if it works. I believe it should be modified to allow HDMI audio as well.

Good luck.



(axm, you couldn't handle following my instructions? And 'common'? Come on... :) )

Attached Files



#43
axm

axm

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
Hi tallest,
Thanks for the kext, works great! :)

Unfortunately, to be honest, I didn't understand the procedure, you've described on the first page. Perhaps my english is not good enough to understand it fully... The same reason causes the "Common"... ;) I've mixed it up...

#44
fa-mas

fa-mas

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi, I've got the Ghost VGA on my system. This is with a Radeon 5850 which has HDMI, Display Port and DVI. Monitor's connected through HDMI. I'm currently booting with GraphicsEnabler=yes

I'm wondering if I should try GraphicsEnabler=no to see if it's detect the correct ports, and if programs like DVD player don't crash, then leave it.

If that fails, I understand if I replace the Kext and add AtiConfig=Eulemur it should pick up the right ports? Also, how do I know which personality it's using by default without specifying one?

#45
tallest

tallest

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:New Mexico, USA
I'm not sure if the kext we've got here will fix it , but it's worth a try. If it doesn't work and you don't get any display output, reboot with GraphicsEnabler=no at the boot prompt and revert to the old kext once Mac OS has booted.

#46
fa-mas

fa-mas

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Well my problem currently is that it thinks this VGA display is my primary, so all I'm getting on my only monitor is the "extended" part of the desktop. I can't do anything with it. I'm hoping that if I boot to the Lion Install disc, use terminal to replace the boot.plist with one that has graphicsenabler=no, that I'll at least be able to boot up and then try to fix the ghost display.

#47
tallest

tallest

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:New Mexico, USA
Typing GraphicsEnabler=No at the Chameleon boot prompt will override whatever is in boot.plist. You shouldn't need to boot from the install disk.

#48
fa-mas

fa-mas

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
K, so I booted up with graphicsenabler=no. It only detected the 1 display, of course I tried DVD player and it crashed. So I used your Kext for 10.7.3, set the options in boot.plist and rebooted. Everything was perfect. Thanks a lot.

Hehe, edited to stop the alot from coming around.

#49
tallest

tallest

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:New Mexico, USA
Glad it worked.


The alot is better than you at everything

#50
fa-mas

fa-mas

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
I'd like to use the unmodified kext, I'm wondering what kind of DSDT editing you had to do to get it to work without the modified kext.

#51
jamdox

jamdox

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
Bump for intense curiosity regarding DSDT edits enabling MSI R5770!

#52
axm

axm

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
Ok, now I managed to do the kext changes... ;)

Here is the Kext, based on the original 10.7.4 Kext, but without the ghost VGA display.

Attached Files



#53
Mega_ZJ

Mega_ZJ

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
axm: Thanks for the kext, working well as my mouse doesn't disappear into oblivion anymore.

I'm also extremely curious as to what DSDT edits got this card working...I'm on a Intel DX58SO though but at least I'd know where to start.

#54
jamdox

jamdox

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
Hey folks,

I did the above editing for the mountain lion driver. I haven't tested it, but it will hopefully work. I'll update this post to confirm if/when I get it working.

EDIT: It works! Although there is a problem in my setup where diplayport stops working if DVI is plugged in then unplugged... is this a problem with the edit, or a problem with 10.8.0?

EDIT2: After really getting into some framebuffer personality editing, I have failed :( to resolve the sleep/port flipping issue. Since I somehow borked my install during all the installs, I'm temporarily downgrading until 10.8.1.

A very interesting discovery, however, is that simply by changing the senseid (last byte in the line) for the phantom DVI port to match the other (they should both be 4, according to the BIOS parser) the extra display disappears... pretty cool.

I made like 20 versions of the 10.8 driver, and while most solved the display problem none solved the sleep issue, but I'll try to do similar edits to the 10.7.4 and upload it for comparison's sake. This framebuffer editing is kind of interesting...

EDIT3: Actually bothering to read instead of just editing and rebooting led me to the netkas forum... so there is, apparently, a long history of displayport problems on non-apple 5XXX cards! This explains why DVI and HDMI are working perfectly...

Interestingly, DP works with either of those also plugged in. This may have something to do with DP++ (DVI-compatible w/passive converter) output from this port, since the output is BLACK, i.e. a signal is being sent—my monitor stays on and is recognized in hardware—but it's not decodeable by the monitor, or something.

If HDMI doesn't work with the below kext, I can upload my more recent version. I'm too lazy right now, but the senseid should be 5 on the HDMI port, according to the bios decode.

Attached Files



#55
jamdox

jamdox

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
SOLVED!!!!! :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

First, I don't know if HDMI was working (video) before, but it is now, anyway. So this edit differs from the original Vervet->Eulemur in that the SenseID on the HDMI port has been changed to 5.

The big innovation, which was encoraged by the good folks at netkas' forum, was to put the edited Vervet framebuffer into the Hoolock personality. Hoolock is the Apple 5770 personality, and it has special flags in the plist to enable displayport. So this kext should be used with Hoolock, not Eulemur!

I have tested and confirmed all 3 ports working separately and combinations of any 2 ports also working. However a display on the third port was not recognized, so this is not effective for triple-display setups. Of course, I have no idea whether triple display was working under Lion, either :P

All that said, here she is:

Attached File  ATI5000Controller.kext.zip   100.21KB   91 downloads

Once again, this kext goes with Hoolock.

#56
hafthor

hafthor

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Jamdox, So I have a MSI ATI 5770 and tried your Kext ( running Mountain lion )
What I did is copyed it under Sys/Lib/Ext/ and then Chmodded and rebuild the cache.
Then I used Chameleon Wiz ot change boot.plist and added Ati - config and Hoolock.

I tried connecting Displayport ( nothing ) and nothing on DVI either.
However the ATI cards shows up under System report display cards.


575] Chipset Model: ATI Radeon HD 5700/6700 Series

575] Type: GPU

575] Bus: PCIe

575] PCIe Lane Width: x16

575] Vendor: ATI (0x1002)

575] Device ID: 0x68b8

575] Revision ID: 0x0000


575]Am I missing something or is my card different from the one you are useing ?



#57
jamdox

jamdox

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
I'm using the MSI R5770 "Hawk". It looks like MSI has other 5770's out, so it could be a different card. It's also possible that we have different BIOS versions, although I don't know if that matters.

No output on DVI is odd. I'd try using Vervet, which is known to work with DVI but should have that annoying ghost screen. If that works, and we have the same card and same bios, either I uploaded the wrong file or something else is going on.

If the above don't explain the problem, I would get the IOREG information using IORegistryExplorer, which can be downloaded from Apple's developer website, and is rolled into DSDTSE as well. And, you know, make sure there are no typos or loose wires. :wink2:

EDIT: It looks like I uploaded the correct file. It's a stock kext with only Hoolock edited. You could try the one I uploaded earlier with Eulemur...

#58
hafthor

hafthor

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Well I worked after all, With AtiConfig=Hoolock and AtiPorts=2.

Then I get the Displayport working also but only If I dont boot up with it. ( if the monitor is plugged into it when I boot and has power ) it will not work untill I either unplug the DIsplayport cable or Take the power of the monitor.
So now I just use my onboard HD 3000 for 1 screen and the other is on the R5770 DVI port and no ghost :)

#59
YoYelloW

YoYelloW

    InsanelyMac Geek

  • Donators
  • 135 posts
OK im a bit lost here and i hope you guys can help me out. i got the msi 5770 board mentioned in this thread, i used jambox's kext and gfxenabler=No; NO more ghost screen, :D but now dvd player and some otehr apps arent working, how do i get those back again without getting the ghostscreen too..?

#60
jamdox

jamdox

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
So the kext I edited is from 10.8.0 and probably won't work with other versions of OSX, and it requires GraphicsEnabler=Yes and AtiConfig=Hoolock. Without graphicsenabler the system doesn't enable advanced graphics functions. Hence the other problems.

Hope it works for you!





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