View previous topic :: View next topic |
Author |
Message |
sarumont Tux's lil' helper
Joined: 31 Oct 2002 Posts: 94 Location: /dev/urandom
|
Posted: Thu Jun 01, 2006 12:18 pm Post subject: Xorg pbbuttonsd resolution after sleep issues. [SOLVED] |
|
|
Until a couple days ago, I had no problems with gentoo on any PPC I have owned (clamshell G3 to my current pbook G4). Tuesday, however, it began to do wonky things after sleep. I put it to sleep with a suspended 'emerge -e world' (rebuilding with gcc-4.1.1) pending, running in X, then resumed and all was good. After I restarted X, I was forced to 640x480. I go back through the Xorg logs and see that the radeon driver detected only that mode available for my machine. I am using the xf86-video-ati driver, not the proprietary. After a reboot, I could once again use X at 1280x854. Sleep it and no go. Also, framebuffer still works with 1280x854 when X will not.
I have tried both rebuilding pbbuttonsd and xf86-video-ati with gcc-3.4.6 to no avail. I have not gotten very in depth with my debugging, but I wanted to start a thread in case others are experiencing this. Suggestions welcome, more info to come.
Other system info:
Kernel: Gentoo Sources 2.6.16-r8
CFLAGS="-O3 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -ftracer -funroll-loops -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
Edit: sleeping it with X running and then bringing out renders my display screwed up, requiring a reboot (CTRL+ALT+BKSPACE does not kill and restore). _________________ ~Sarumont
"Time is an illusion. Lunchtime doubly so."
Last edited by sarumont on Wed Jun 07, 2006 4:43 am; edited 1 time in total |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu Jun 01, 2006 3:31 pm Post subject: |
|
|
Try adding:
Code: |
Option "MergedFB" "false"
|
to the Device section. This will prevent the second head from being used and might fix the problem. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
sarumont Tux's lil' helper
Joined: 31 Oct 2002 Posts: 94 Location: /dev/urandom
|
Posted: Thu Jun 01, 2006 7:23 pm Post subject: |
|
|
Well, that solves the 640x480 issue. I can sleep it from FB, wake it then start X in 1280x854. However, if I sleep from X it is still wonky when waking. The screen is pretty much just colors blurring and moving around...it is hard to describe. There is nothing discernable from X in the madness. _________________ ~Sarumont
"Time is an illusion. Lunchtime doubly so." |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu Jun 01, 2006 8:55 pm Post subject: |
|
|
What kind of PB G4 is it? What kind of video card?
I'd go back to -O2 and get rid of -ftracer -funroll-loops -fomit-frame-pointer too. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
sarumont Tux's lil' helper
Joined: 31 Oct 2002 Posts: 94 Location: /dev/urandom
|
Posted: Fri Jun 02, 2006 1:24 am Post subject: |
|
|
15", Mobility 9600 (RV350 chipset).
Yeah...I have not tweaked CFLAGS for ppc in awhile...will drop those.
Going to see what goes on during this occurrance when I get home tonight...ssh in and watch dmesg, Xorg output, etc. I will post my findings... _________________ ~Sarumont
"Time is an illusion. Lunchtime doubly so." |
|
Back to top |
|
|
sarumont Tux's lil' helper
Joined: 31 Oct 2002 Posts: 94 Location: /dev/urandom
|
Posted: Sun Jun 04, 2006 4:25 am Post subject: |
|
|
Did not have a chance to do any of that stuff...
I discovered today, though, that the same thing happens when I switch from X to a VT and back (CTRL + ALT + FX). Going to poke around for something related to FB and xf86-video-ati. _________________ ~Sarumont
"Time is an illusion. Lunchtime doubly so." |
|
Back to top |
|
|
sarumont Tux's lil' helper
Joined: 31 Oct 2002 Posts: 94 Location: /dev/urandom
|
Posted: Wed Jun 07, 2006 4:43 am Post subject: |
|
|
Aha! Following the FB reasoning, I edited pbbuttonsd.conf:
to:
Problem solved.
Thanks for the help, JoseJX. _________________ ~Sarumont
"Time is an illusion. Lunchtime doubly so." |
|
Back to top |
|
|
|