Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aluminium G4 radeonfb LCD issue
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
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Feb 16, 2008 12:59 pm    Post subject: aluminium G4 radeonfb LCD issue Reply with quote

hi,
I am using apple powerbook aluminium G4 that has a radeon on board.
I configured the kernel using radeonfb.

Quote:

radeonfb (0000:00:10.0): Invalid ROM signature 8383 should be 0xaa55
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=446.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 0x00040089 from PPLL 0
radeonfb: Dynamic Clock Power Management enabled
radeonfb: Backlight initialized (radeonbl0)
radeonfb (0000:00:10.0): ATI Radeon NP


It happens sometimes that the LCD stops to work properly and show me a plasma effect.
When it happens i use pbbuttons to suspend, then i resume and this reset the LCD to still work correctly.

I wander what is this bug related to. MacOSX has never shown me this plasma effect, so it is a bug related to this linux driver.

has anybody had this bug, any idea to fix it ?
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Feb 16, 2008 1:11 pm    Post subject: Reply with quote

in my 2.6.23 config

Quote:

#
# Graphics support
#
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_BACKLIGHT_CLASS_DEVICE=y

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
CONFIG_FB_MACMODES=y
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_OF is not set
# CONFIG_FB_CONTROL is not set
# CONFIG_FB_PLATINUM is not set
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FB_CON_DECOR=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
# CONFIG_LOGO is not set


# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=2
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_PMACZILOG is not set
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_BRIQ_PANEL is not set
# CONFIG_HVC_RTAS is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_WATCHDOG is not set
CONFIG_HW_RANDOM=m
CONFIG_NVRAM=y
CONFIG_GEN_RTC=y
CONFIG_GEN_RTC_X=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Feb 17, 2008 11:51 pm    Post subject: Reply with quote

I'm using a Radeon 9600 based machine, with no "plasma" effects. However, with my older TiBook, I occasionally had a "plasma" effect when I tried to change the screen resolution away from the native values. Perhaps you're doing this? The only known issue with newer Radeon cards that hasn't been resolved is the flicker that happens sometimes on card initialization (wake from sleep, power on, etc.). This can be fixed by switching terminals, (forcing a reset).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Feb 18, 2008 11:14 pm    Post subject: Reply with quote

it happens sometime when i power on the machine, sometimes after 2h no stop working: sooner or later it happens

also, i can say I've never seen this bug when X11 is running: I've always seen it on text console

I was informed that radeon-ibooks (i ignore the specific codename, but i can ask) also have this bug
my aluminium is the lastone powerbook ppc (G4) produced by apple: a 14", radeon 9600 Mobility M10

i used to fix forcing reset by pbbuttons, i wander what (in the sources, I really like to know) causes the plasma effect, 'cause I am not completely satisfied
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Feb 19, 2008 3:57 am    Post subject: Reply with quote

Like I said before, I've never seen the "plasma" effect with my radeon based AlBook. What features do you have enabled? Perhaps you've turned something not recommended on.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Feb 20, 2008 12:26 am    Post subject: Reply with quote

JoseJX wrote:
Like I said before, I've never seen the "plasma" effect with my radeon based AlBook. What features do you have enabled?


nothing special: radeonfb, noagp, no drm, no OpenFirmarefp ... what else ?

(could you post your .config ? do you need the whole .config of mine ?)

Quote:
Perhaps you've turned something not recommended on.


umm it may be, but i don't think so: i mean, i know a lot of people equipped with radeon powerbook/ibook that claim the plasma effect in text console
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Thu Feb 21, 2008 3:57 am    Post subject: Reply with quote

Mine is a 1.67 G4 Powerbook, and I see it from time to time. It happens the most when starting X from a cold boot. It can clear it up by using the sleep trick you're using, or dropping back to console and starting X again.
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Feb 23, 2008 3:11 pm    Post subject: Reply with quote

NewBlackDak wrote:
It happens the most when starting X from a cold boot


yes, also happened starting X11 from a cold boot. I usually use to work a lot in text consoles (using links2 framebuffer support to /dev/fb0), and sometimes (when i need firefox/sylpheed/mplayer/etc, for example) i start X11.

well, at this point i want to underline the bug also happens starting the machine from a cold boot: i had seen the plasma effect saying "hello world, how are you ? are you able to debug me, today ? let's show it" before /sbin/init has been launched: so it should be a bug related into the kernel side, not into the X11-video-driver, and not related to a conflict between the kernel frame buffer radeonfb and the x11 driver x11-video-ati/radeon (with ati-r128 the X11-video-drivers sometimes hardly conflicts with the kernel framebuffer ... ati-mach64 or radeon don't conflict so hardly)


after invoking the pbbuttons sleep/wakeup, dmesg says radeonfb resume:

Quote:
radeonfb suspenging ...
radeonfb resumed!


well, i wander what is the kind of magic of it ... what is (speaking about the framebuffer) exactly reseted by the resume ?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Feb 23, 2008 3:43 pm    Post subject: Reply with quote

Can someone take a photo of the effect? Like I said before, on my 17" AluBook, I do get a "flickering" effect sometimes on resume. This is due to the kernel framebuffer driver/X driver not implementing tables of video frequencies like the OSX driver does (or so says benh anyway). Perhaps this "plasma" issue is the same thing, but we're just not describing it clearly? :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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