Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help - Sudden slowdowns on G4 (7400x2)
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
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Fri Sep 29, 2006 9:05 am    Post subject: Help - Sudden slowdowns on G4 (7400x2) Reply with quote

Hi, folks...

I'm having unpredictable problems with X on this G4 box. It's a fresh install as of a few weeks ago, and generally works well. However, sometimes while doing normal stuff in X (browsing, mail, watching movies) the screen will blank out. (It's displaying a black screen, not dropping the signal entirely, according to the monitor.) When this happens, I can press <Ctrl-Alt-F1> to get a console. Switching back with <C-A-F7> I get to watch the screen draw itself, very slowly (like, if I sit there 5 or 10 minutes it might finish drawing everything); trying to interact with any apps while this is going on is almost impossible because menus take a minute or two to draw, and so on. Viewing top in a console or by a shell from another box shows me that X is consuming from 10 to 15% CPU, which I'd consider normal.

Absolutely nothing useful shows up in kernel logs when this happens. (/var/log/everything/current shows only cron jobs, then a login when I shelled in from another box to reboot this one.) Here is the last bit of Xorg.0.log.old, which was written at the time this happened:
Code:
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(II) R128(0): [drm] removed 1 reserved context for kernel
(II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xdb031000 at 0x30024000

Those "EE"s indicate something going on, but I'm not sure what that is!

Code:
Linux nenene 2.6.17-gentoo-r7 #1 SMP Tue Sep 5 12:50:10 EDT 2006 ppc 7400, altivec supported GNU/Linux


BTW I got another blackout while composing this post, at the time I swiped some text in Konsole to copy it. At the moment Kicker is all black except for areas over which I've moved the mouse.

Any clues? Could it be something to do with the video card's memory?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Sep 29, 2006 12:00 pm    Post subject: Reply with quote

Well, the r128 card stops responding (all of those timeout messages) so it gets restarted by the driver. Can you try with DRI off? Does that help? How about disabling all acceleration? Which kernel are you using? Have you tried a different version of the DRM drivers in the kernel (newer older kernel)? Does it work in OSX/OS9?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Fri Sep 29, 2006 10:31 pm    Post subject: Reply with quote

JoseJX wrote:
Well, the r128 card stops responding (all of those timeout messages) so it gets restarted by the driver. Can you try with DRI off? Does that help? How about disabling all acceleration? Which kernel are you using? Have you tried a different version of the DRM drivers in the kernel (newer older kernel)? Does it work in OSX/OS9?

OK, thanks for the ideas. :)

First thing I'll try is turning off DRI (Section "Module"); if that doesn't help I'll try enabling Option "NoAccel" (Section "Device"). Option "DMAforXv" was already off; I had tried that but found that "may cause instability" meant the system locked hard if I tried to play any videos!

As to your other questions, using kernel 2.6.17-gentoo-r7; if Xorg config changes don't help, I can try a different kernel. No MacOS is installed on this box, so I can't test that.
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Sat Sep 30, 2006 1:13 am    Post subject: Just FYI... Reply with quote

Testing without DRI will take a while, since I don't have any certain method of triggering this problem. All I can do is run the system the way I usually do for a few days, maybe weeks, and see if the problem recurs.

At first, playing videos with mplayer and xine had poor results; frame rate was apparently too low (xine popped up a warning about too many dropped frames; mplayer gave no such warning but I could see it for myself). Installing the xvinfo utility (xine-check complained loudly that it was missing) cleared up the problems with xine and seems to have helped mplayer as well.

It's not perfect, but if it means I don't have to buy a new video card just to keep using this box for a few more months, then I can live with it. :) (I'm currently saving up to build a whole new system.)

[Note to self: Can "DMAforXv" be used without DRI enabled? See what happens.]
[Answer: Doesn't cause a crash, but definitely slower with this on and DRI off.]
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