Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

Xorg pbbuttonsd resolution after sleep issues. [SOLVED]

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
sarumont
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Thu Oct 31, 2002 7:46 pm
Location: /dev/urandom

Xorg pbbuttonsd resolution after sleep issues. [SOLVED]

  • Quote

Post by sarumont » Thu Jun 01, 2006 12:18 pm

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).
Last edited by sarumont on Wed Jun 07, 2006 4:43 am, edited 1 time in total.
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Thu Jun 01, 2006 3:31 pm

Try adding:

Code: Select all

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
Top
sarumont
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Thu Oct 31, 2002 7:46 pm
Location: /dev/urandom

  • Quote

Post by sarumont » Thu Jun 01, 2006 7:23 pm

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."
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Thu Jun 01, 2006 8:55 pm

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
Top
sarumont
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Thu Oct 31, 2002 7:46 pm
Location: /dev/urandom

  • Quote

Post by sarumont » Fri Jun 02, 2006 1:24 am

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."
Top
sarumont
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Thu Oct 31, 2002 7:46 pm
Location: /dev/urandom

  • Quote

Post by sarumont » Sun Jun 04, 2006 4:25 am

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."
Top
sarumont
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Thu Oct 31, 2002 7:46 pm
Location: /dev/urandom

  • Quote

Post by sarumont » Wed Jun 07, 2006 4:43 am

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

Code: Select all

UseFBBlank = yes
to:

Code: Select all

UseFBBlank = no
Problem solved. 8)

Thanks for the help, JoseJX.
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Top
Post Reply

7 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic