Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg pbbuttonsd resolution after sleep issues. [SOLVED]
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
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Thu Jun 01, 2006 12:18 pm    Post subject: Xorg pbbuttonsd resolution after sleep issues. [SOLVED] Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jun 01, 2006 3:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Thu Jun 01, 2006 7:23 pm    Post subject: Reply with quote

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. 8)
_________________
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jun 01, 2006 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Fri Jun 02, 2006 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Sun Jun 04, 2006 4:25 am    Post subject: Reply with quote

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. 8)
_________________
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Back to top
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Wed Jun 07, 2006 4:43 am    Post subject: Reply with quote

Aha! Following the FB reasoning, I edited pbbuttonsd.conf:

Code:
UseFBBlank = yes


to:

Code:
UseFBBlank = no


Problem solved. 8)

Thanks for the help, JoseJX.
_________________
~Sarumont
"Time is an illusion. Lunchtime doubly so."
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