Jump to content

Mobility Radeon HD 4650:Full Resolution with QE & CI working on Internal LVDS screen


  • Please log in to reply
692 replies to this topic

#61
wmarsh

wmarsh

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 900 posts
Change the 1st line, encoder should be 01

--> 00013880 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 05 (LVDS)
--> 00013890 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 06 (VGA)
--> 000138A0 00 08 00 00 00 02 00 00 00 01 00 00 00 01 02 01 (HDMI)
--> 000138B0 00 04 00 00 00 04 00 00 00 01 00 00 10 01 04 02 (DP)

#62
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts

Change the 1st line, encoder should be 01

--> 00013880 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 05 (LVDS)
--> 00013890 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 06 (VGA)
--> 000138A0 00 08 00 00 00 02 00 00 00 01 00 00 00 01 02 01 (HDMI)
--> 000138B0 00 04 00 00 00 04 00 00 00 01 00 00 10 01 04 02 (DP)

Are you sure, Xorg log says DIG0 for UNIPHY2 (LVDS) AND DIG1 FOR UNIPHY (HDMI,DP). 01 as encoder gives me the gradually black to light grey corrupted screen.

#63
almuras

almuras

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts

That is correct but your Radeon dump doesn't look complete. Where is DisplayPort?

HDMI senseid is incorrect. It should be 0x02 not 0x05. What framebuffer are you using? Does the boot file you're using already set the same framebuffer for your card?

Since you have 4 connections, try Vervet framebuffer & patch it with these:-
10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 01 (VGA)
02 00 00 00 40 00 00 00 09 01 00 00 12 00 01 07 (LVDS)
00 08 00 00 00 02 00 00 00 01 00 00 10 01 02 02 (HDMI)
00 04 00 00 00 04 00 00 00 01 00 00 11 00 04 02 (DP)


Vervet locations in ATIFramebuffer are:-
32bit: offset 0x00037538 (length is 40 in HEX)
64bit: offset 0x00013880 (length is 40 in HEX)


Kizwan, thank you very much for your help :| . I patched Vervet framebuffer, but when I boot I still have Peregrine loaded. I specified Vervet in Boot.plist, but it does not help :unsure: . How can I force to load Vervet?

Thanks again,
Almuras

#64
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
News: it seems that the order you put the connectors in the framebuffer lines actually MATTERS. I think the hotplugid also matters, I'm testing it right now. Anybody can confirm this? Just try swapping the lines or changing the hotplugids..

#65
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
News: after TENS of tests I've come to the conclusion that there is something wrong in the LVDS values. The display is recognized correctly but it simply outputs a black screen.

The good news are that I found what's the deal with the order of the strings in the framebuffer (Vervet in my case). It seems that the external connectors must be put in order AFTER the LVDS string. In my case if put before I have NO SIGNAL with HDMI and VGA. I don't know about the DP.

I hope that someone finds out what's the problem with our lvds connection. RadeonHD actually works in 32bit but I can't debug (corrupted screen). I've also tried blind dmesg > out.txt but the out does not contain the info I need, I don't know why. If someone can suggest something I'd be glad to try.

Marco

#66
kokosnuss

kokosnuss

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hi again.

{censored}, we do have the same problem with the insufficient info abaout internal... no EDID, no DDC...

Got no time this weekend, so ill go on testing tomorrow. Right now i use the lion kexts for testing. With these i do have external VGA-screen running with Eulemur, Kipunji (both recognising the correct Benq DIsplay). It's also running with Vervet, Baboon, Hoolock, Langur (recognised as generic VGA)... if this info is of any use...

Using the 10.6.6 kexts no FB works on either external or internal, just able to VNC in.

Which kexts are u using? 10.6.6 or lion?

Ill try using your encoder info and report asap.

btw: i think sense id has to be 01 or 02 because of the active backlight on my testing so far.

Greets

#67
almuras

almuras

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts

That is correct but your Radeon dump doesn't look complete. Where is DisplayPort?

HDMI senseid is incorrect. It should be 0x02 not 0x05. What framebuffer are you using? Does the boot file you're using already set the same framebuffer for your card?

Since you have 4 connections, try Vervet framebuffer & patch it with these:-
10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 01 (VGA)
02 00 00 00 40 00 00 00 09 01 00 00 12 00 01 07 (LVDS)
00 08 00 00 00 02 00 00 00 01 00 00 10 01 02 02 (HDMI)
00 04 00 00 00 04 00 00 00 01 00 00 11 00 04 02 (DP)


Vervet locations in ATIFramebuffer are:-
32bit: offset 0x00037538 (length is 40 in HEX)
64bit: offset 0x00013880 (length is 40 in HEX)


Kizwan, HDMI works!!!!!!!!!!!!!!!!!!!!!!! Full resolution and Full QE/CI!!!!
Thank you very much for your suggestions! I used Mohamed Khairy boot file to force Vervet, the card displayed incorrectly as ATI HD 5400 (my is mobility 4650) but everything seems working just fine :D .

Howerver, internal LVDS and VGA still does not work :(

Any suggestions how to fix LVDS?
Thank you in advance for your help,
Almuras

#68
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts

Hi again.

{censored}, we do have the same problem with the insufficient info abaout internal... no EDID, no DDC...

Got no time this weekend, so ill go on testing tomorrow. Right now i use the lion kexts for testing. With these i do have external VGA-screen running with Eulemur, Kipunji (both recognising the correct Benq DIsplay). It's also running with Vervet, Baboon, Hoolock, Langur (recognised as generic VGA)... if this info is of any use...

Using the 10.6.6 kexts no FB works on either external or internal, just able to VNC in.

Which kexts are u using? 10.6.6 or lion?

Ill try using your encoder info and report asap.

btw: i think sense id has to be 01 or 02 because of the active backlight on my testing so far
Greets

I'm using 10.6.6 kexts. Maybe I should try with 10.7's? I thought that the sense id should be according to the connector info in the bios dump?

#69
pbg4

pbg4

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Can someone help me with doug's radeon kext?
It won't load in my osx10.6.6 with hazard distro.
I've try it in S/L/E and in the extra folder and it still won't load.
I have radeon kext version 10/20/09 like this guide.

#70
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Kizwan, HDMI works!!!!!!!!!!!!!!!!!!!!!!! Full resolution and Full QE/CI!!!!
Thank you very much for your suggestions! I used Mohamed Khairy boot file to force Vervet, the card displayed incorrectly as ATI HD 5400 (my is mobility 4650) but everything seems working just fine :D .

Howerver, internal LVDS and VGA still does not work :(

Any suggestions how to fix LVDS?
Thank you in advance for your help,
Almuras

Please post the RadeonHD dump. Use 10.6 RadeonHD (10/20/2009 update). Yeah, installed the 10/20/2009 update.

When using RadeonHD, the monitor is not viewable. So you'll need to setup remote connection:-
  • Boot with -x -v
  • Setup remote connection (VNC) in System Preferences (in Sharing). Don't forget to set the VNC password.
  • Test the remote connection.
  • Reboot your computer (boot without any flags) (Correction - boot to 32bit mode: arch=i386).
  • Connect remotely from other computer via VNC.
  • In the "10.6 RadeonHD (10/20/2009 update)" package, there is a command line utility called RadeonDump:-
    • Open terminal.
    • Enter "sudo -s" & then enter password when asked.
    • Change directory (cd) to where RadeonDump located.
    • Enter "./RadeonDump > ~/Desktop/Encoder.txt"
  • Post the Encoder.txt here.


#71
yanghy

yanghy

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Hi again.

{censored}, we do have the same problem with the insufficient info abaout internal... no EDID, no DDC...

Got no time this weekend, so ill go on testing tomorrow. Right now i use the lion kexts for testing. With these i do have external VGA-screen running with Eulemur, Kipunji (both recognising the correct Benq DIsplay). It's also running with Vervet, Baboon, Hoolock, Langur (recognised as generic VGA)... if this info is of any use...

Using the 10.6.6 kexts no FB works on either external or internal, just able to VNC in.

Which kexts are u using? 10.6.6 or lion?

Ill try using your encoder info and report asap.

btw: i think sense id has to be 01 or 02 because of the active backlight on my testing so far.

Greets



I use Lion's 3 kexts plus EDID override as below, I got QE CI on my internal display. However, my internal display sometimes worked, but most of time the images are scrambled.
http://www.insanelym...amp;mode=linear
So, now I am trying to use 10.6.6 kexts personalities to get the LVDS working.

Regarding the missing LVDS SenseID for our Sony Vaios, Could be 02.

ATOM BIOS Rom: 
SubsystemVendorID: 0x104d SubsystemID: 0x9071
IOBaseAddress: 0xd000
Filename: BR36874.001 
BIOS Bootup Message: 
Sony M980 Madison LP DDR3 64Mx16 600E/790M LVDS/VGA/HDMI 

Connector at index 0 type: LVDS (7)
Connector at index 1 type: HDMI-A (11)
Connector's i2cid: 94
Connector at index 2 type: VGA (1)
Connector's i2cid: 90

According to our radeondump. It is impossible to be 01, because 01 is for VGA.

#72
wmarsh

wmarsh

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 900 posts

News: after TENS of tests I've come to the conclusion that there is something wrong in the LVDS values. The display is recognized correctly but it simply outputs a black screen.

The good news are that I found what's the deal with the order of the strings in the framebuffer (Vervet in my case). It seems that the external connectors must be put in order AFTER the LVDS string. In my case if put before I have NO SIGNAL with HDMI and VGA. I don't know about the DP.

I hope that someone finds out what's the problem with our lvds connection. RadeonHD actually works in 32bit but I can't debug (corrupted screen). I've also tried blind dmesg > out.txt but the out does not contain the info I need, I don't know why. If someone can suggest something I'd be glad to try.

Marco

The other issue is that GraphicsEnabler only injects for the 1st 2 connectors.
See the Mobility Radeon Thread

#73
wmarsh

wmarsh

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 900 posts

Are you sure, Xorg log says DIG0 for UNIPHY2 (LVDS) AND DIG1 FOR UNIPHY (HDMI,DP). 01 as encoder gives me the gradually black to light grey corrupted screen.

My theory says so, but since we are reverse engineering, your testing is more important than my theory

#74
wmarsh

wmarsh

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 900 posts

Can someone help me with doug's radeon kext?
It won't load in my osx10.6.6 with hazard distro.
I've try it in S/L/E and in the extra folder and it still won't load.
I have radeon kext version 10/20/09 like this guide.

Try instead crazybirdy's method to get dmesg from Linux

#75
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
ATOM BIOS Rom:
SubsystemVendorID: 0x1028 SubsystemID: 0x0272
IOBaseAddress: 0x2000
Filename: BR034414.001
BIOS Bootup Message:
BR034414-001 M96 DDR3 128bit 400e/800m

Connector at index 0 type: VGA (1)
Connector's i2cid: 95
Connector at index 1 type: HDMI-A (11)
Connector's i2cid: 90
Connector at index 2 type: LVDS (7)
Connector's i2cid: 94
Connector at index 3 type: DisplayPort (10)
Connector's i2cid: 91


I have only VGA and HDMI working, LVDS is black. I think it's probably related to the limitation of the boot loader:


"
Cheeko reports that due to limitations in chameleon injector, only 1st 2 ports will work with GraphicsEnabler.
Also that anyone not using 4xxx may have to modify ati.c further.
"

#76
wmarsh

wmarsh

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 900 posts

ATOM BIOS Rom:
SubsystemVendorID: 0x1028 SubsystemID: 0x0272
IOBaseAddress: 0x2000
Filename: BR034414.001
BIOS Bootup Message:
BR034414-001 M96 DDR3 128bit 400e/800m

Connector at index 0 type: VGA (1)
Connector's i2cid: 95
Connector at index 1 type: HDMI-A (11)
Connector's i2cid: 90
Connector at index 2 type: LVDS (7)
Connector's i2cid: 94
Connector at index 3 type: DisplayPort (10)
Connector's i2cid: 91


I have only VGA and HDMI working, LVDS is black. I think it's probably related to the limitation of the boot loader:


"
Cheeko reports that due to limitations in chameleon injector, only 1st 2 ports will work with GraphicsEnabler.
Also that anyone not using 4xxx may have to modify ati.c further.
"

Try picking the 2 ports that are most important to you, and using them as 1st two ports -- ie switch the order in your patch

#77
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

"
Cheeko reports that due to limitations in chameleon injector, only 1st 2 ports will work with GraphicsEnabler.
Also that anyone not using 4xxx may have to modify ati.c further.
"

I think you misunderstood checcco's statement. It means only two connector listed in IORegistry. It doesn't means only two output working. On my HD4570, there are three connectors. All three connectors are working properly (LVDS + VGA & LVDS + HDMI).

#78
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
I need a compiled boot file from chamelon latest trunk with Shrike framebuffer for 0x9488, I am having troubles compiling it.

#79
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts

Try picking the 2 ports that are most important to you, and using them as 1st two ports -- ie switch the order in your patch

I have tried many combinations and the only conclusion I got is that both VGA and HDMI ports work correctly only if put after LVDS.



I managed to compile the boot with Shrike. Same as Vervet, black LVDS HDMI and VGA working. There's something wrong with the LVDS values.

#80
sydlix

sydlix

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
tryed kabyl with shrike and added deviceid, subsysid etc, same as trunk.





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