Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
frambuffer problem with my powerbook 15" 867Mhz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
terry
n00b
n00b


Joined: 27 Jul 2002
Posts: 64
Location: Korea Seoul

PostPosted: Mon Sep 05, 2005 7:01 am    Post subject: frambuffer problem with my powerbook 15" 867Mhz Reply with quote

Some time my powerbook doesn't use frambuffer, some time work well.

When doesn't work frambuffer, I should boot with video=ofonly, that can boot only
consol mode, not X(if I try using X there is only black screen and even if filsh X(with ctrl + alt + backspace) there is only white screen.

Some time work well with video=radeonfb:1280x854-32@60(just added in /etc/yaboot.conf)
That thime there is no problem.

But, when radeonfb doesn't work, there is only balck screen with two line.
when my powerbook have problem, radeonfb desn't detect EDID
(dmesg said that).

Mac osX both time work correctly, there is no problem for display 1280x854
but System Profiler said some diffrent when radeonfb work or not.

When System Profiler(in Mac osX) said
Displays:
Color LCD:
Display Type: CRT
Resolution: 1280 x 854
Depth: 32-bit Color

(In System Preferense Display
There is only 1280x854 resolutions.)
radeonfb doesn't work

and

Displays:
Color LCD:
Display Type: LCD
Resolution: 1280 x 854
Depth: 32-bit Color

(In System Preferense Display
There is 1280x854 1024x768 800x600 and so on)
that time radeonfb work correctly

I guess my powerbook have some chip or controller have problem
so doens't get correct info about powerbook's LCD.

Even if, MacosX always work. only my gentoo doesn't work evey time.
(I like using gentoo, osX is just for fun. but that problem make I am more using
in OSX)

Is there any method or suggestion?
(my apple care is finished long long time ago :-()

Thanks for reading.
Back to top
View user's profile Send private message
terry
n00b
n00b


Joined: 27 Jul 2002
Posts: 64
Location: Korea Seoul

PostPosted: Tue Sep 06, 2005 1:49 am    Post subject: Reply with quote

I found some info from apple site.

http://discussions.info.apple.com/webx?14@546.ehUKacmRRMv.2@.68af1ac4

I am not sure . I don't know well about mac os X.(just use a little time.
but That problem make more use :-()
Back to top
View user's profile Send private message
terry
n00b
n00b


Joined: 27 Jul 2002
Posts: 64
Location: Korea Seoul

PostPosted: Mon Oct 10, 2005 2:07 am    Post subject: Reply with quote

terry wrote:
I found some info from apple site.

http://discussions.info.apple.com/webx?14@546.ehUKacmRRMv.2@.68af1ac4

I am not sure . I don't know well about mac os X.(just use a little time.
but That problem make more use :-()


After re-install os X 10.3, change resouliton not 1280.

I can use radeonfb and X(xorg)

but there is some wrong work. radeonfb and X.
radeonfb and X think my LCD(TFT) is not 1280x854
and say 1280x854 doesnt support.
So I just add
Code:

Modeline "1280x1024" 110 1280 1328 1512 1712   1024 1027 1030 1054 -Hsync -Vsync

and

set
Code:

SubSection "Display"
                Depth           24
                Modes           "1280x1024"


I know that is wrong resolution but work.
If I use 1280 x 854 resolution, X size is more bigger so X said they can't find 1280 x854 resolution can't find some windows that place outside of view.


I just guess these thing cause by ati driver(after installox 10.4, that update ati driver and that cause some troblem)

Krenel message is diff when work, doesn't work or semi work(?)

when semi work that kernel mesage is
Code:

radeonfb (0000:00:10.0): Found 32768k of DDR 64 bits wide videoram
radeonfb (0000:00:10.0): mapped 16384k videoram
radeonfb (0000:00:10.0): Invalid ROM signature 0 should be0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=200.00 Mhz, System=200.00 MHz
radeonfb: PLL min 12000 max 35000
Starting monitor auto detection...
radeon_probe_OF_head
head: ATY,Xia_A (letter: A, head_no: 0)
analyzing OF properties...
display-type: LCD
radeon_probe_OF_head
head: ATY,Xia_A (letter: A, head_no: 1)
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x0002008e from PPLL 0
Guessing panel info...
radeonfb: Assuming panel size 1280x854
radeonfb: Dynamic Clock Power Management enabled
hStart = 1296, hEnd = 1512, hTotal = 1568
vStart = 1025, vEnd = 1037, vTotal = 1165
h_total_disp = 0x9f00c3    hsync_strt_wid = 0x9b050d
v_total_disp = 0x3ff048c           vsync_strt_wid = 0x8c0400
pixclock = 12500
freq = 8000
Console: switching to colour frame buffer device 160x64
Registered "ati" backlight controller,level: 15/15
radeonfb (0000:00:10.0): ATI Radeon Lf
radeonfb_pci_register END
kobject_register failed for radeonfb (-17)
Call trace:
 [c0135ac4] kobject_register+0x6c/0x84
 [c01a1b80] bus_add_driver+0x78/0x174
 [c01a2270] driver_register+0x30/0x40
 [c013f158] pci_register_driver+0x80/0xd4
 [c0371974] radeonfb_old_init+0xb8/0x194
 [c0003dc4] init+0x7c/0x22c
 [c00073cc] kernel_thread+0x44/0x60


when desn't work
Code:

radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=200.00 Mhz, System=200.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x0002008e from PPLL 0
radeonfb: Assuming panel size 8x1
radeonfb: Power Management enabled for Mobility chipsets
Console: switching to colour frame buffer device 80x25
Registered "ati" backlight controller, level: 15/15
radeonfb: ATI Radeon Lf  DDR SGRAM 32 MB


when work correctly
Code:

radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=200.00 Mhz, System=200.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x0002008e from PPLL 0
radeonfb: Power Management enabled for Mobility chipsets
Console: switching to colour frame buffer device 160x53
Registered "ati" backlight controller, level: 15/15
radeonfb: ATI Radeon Lf  DDR SGRAM 32 MB


any time IN mac osx work well.

Now day I hard to see work code so I use semi work state.
for using linux.

Thanks
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Thu Oct 13, 2005 3:12 am    Post subject: Reply with quote

I don't know what version of xorg-x11 you are using but
http://stimuli.ca/linux/files/xorg.conf
and
http://stimuli.ca/linux/files/.config-2.6

may help you, as I have the same TiBook with no issues.
Back to top
View user's profile Send private message
terry
n00b
n00b


Joined: 27 Jul 2002
Posts: 64
Location: Korea Seoul

PostPosted: Tue Oct 18, 2005 9:05 am    Post subject: Reply with quote

Thanks a lot your replay

stimuli wrote:
I don't know what version of xorg-x11 you are using but
http://stimuli.ca/linux/files/xorg.conf
and
http://stimuli.ca/linux/files/.config-2.6

may help you, as I have the same TiBook with no issues.


I try to your xorg config and your kernle setting but
that doesn't help

I also use my TiBook without problem a few month ago.
after os X 10.4 install and try to using dual screen.
That problem happen. :-(


Any way.
I guess, my Tibook has hardware problem or ati driver has something changed,

There is Kernel error masage

Code:
Console: switching to colour frame buffer device 144x54
Registered "ati" backlight controller,level: 15/15
radeonfb (0000:00:10.0): ATI Radeon Lf
radeonfb_pci_register END
kobject_register failed for radeonfb (-17)
Call trace:
 [c0135ac4] kobject_register+0x6c/0x84
 [c01a1b80] bus_add_driver+0x78/0x174
 [c01a2270] driver_register+0x30/0x40
 [c013f158] pci_register_driver+0x80/0xd4
 [c0371974] radeonfb_old_init+0xb8/0x194
 [c0003dc4] init+0x7c/0x22c
 [c00073cc] kernel_thread+0x44/0x60
mice: PS/2 mouse device common for all mice
io scheduler noop registered




and when i use normal xorg.conf

Code:
There is error message that is
II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): Flatpanel: Using hsync range of 31.50-48.50 kHz
(II) RADEON(0): Flatpanel: Using vrefresh range of 50.00-70.00 Hz
(II) RADEON(0): Clock range:  12.50 to 350.00 MHz
(II) RADEON(0): Not using mode "1280x854i" (hsync out of range)


even your xorg.conf got same error.

I think, radeon fb desn't get correct LCD info, and that pass wrong info to xorg.
I am not sure, but if I can patch radeonfb.c, may my TiBook work correctly.
But I don't know.. :-(

Any way I still work and play in linux( even there is some hidden window work space- because my real size is 1280x854, but using X I had to set 1280x1024 , 1024-854 size hidden bottom of LCD, in console about 12line hidden)

Thanks
Back to top
View user's profile Send private message
terry
n00b
n00b


Joined: 27 Jul 2002
Posts: 64
Location: Korea Seoul

PostPosted: Fri Oct 21, 2005 6:51 pm    Post subject: Reply with quote

terry wrote:


I think, radeon fb desn't get correct LCD info, and that pass wrong info to xorg.
I am not sure, but if I can patch radeonfb.c, may my TiBook work correctly.
But I don't know.. :-(

Any way I still work and play in linux( even there is some hidden window work space- because my real size is 1280x854, but using X I had to set 1280x1024 , 1024-854 size hidden bottom of LCD, in console about 12line hidden)



I try to hack radeonfb.c

In driver/video/radeon.c line 1783
Code:
        hTotal = hSyncEnd + mode->left_margin;

        /*      vSyncStart = mode->yres + mode->lower_margin; */
        vSyncStart = 854 + mode->lower_margin;


just change "mode->yres" to 854

Then I can got and use 1280x854 console and X, and they work correctly.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum