Bug 7660 - Radeon 9600 and DRI not working on my PowerPC64 machine
Summary: Radeon 9600 and DRI not working on my PowerPC64 machine
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: XOrg git
Hardware: Other Linux (All)
: high major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 12:35 UTC by o590694
Modified: 2009-08-05 10:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
terminal output (2.59 KB, text/plain)
2006-07-27 12:40 UTC, o590694
no flags Details
xorg.conf (2.54 KB, text/plain)
2006-07-27 12:41 UTC, o590694
no flags Details
xorg.conf (2.56 KB, text/plain)
2006-08-21 13:02 UTC, o590694
no flags Details
Xorg.0.log (35.80 KB, text/plain)
2006-08-21 13:02 UTC, o590694
no flags Details

Description o590694 2006-07-27 12:35:40 UTC
Hello,

I do have a problem with my Apple PowerMac G5 running Gentoo Linux/PPC64 with 
64bit userland. The machine has a Radeon 9600. The problem is that dri does not 
work very stable. I can reproduce this with kernel 2.6.18-rc2 and kernel 
2.6.17.7. I am using X version 7.1.

Sometimes X does not even start: the screen turns black and then the fans of my 
machine begin to spin faster and faster (ssh into the machine and I see X uses 
100% of my CPU). not every time my monitor sais 'no signal'.

If X starts then
a) the upper thirt of the screen is black, but I can move the mouse.
b) X starts normal, but after a while (sometimes minutes, sometimes hours) the 
machine freezes. Sometimes I can move the cursor for a while, but I am not able 
to click anything. then later even moving the mouse will not work. (ssh into 
the machine and I see X uses 100% of my CPU)

I'll attach my xorg.conf, strace output and the terminal output when I execute 
a plain 'X' as root.
Comment 1 o590694 2006-07-27 12:40:57 UTC
Created attachment 6368 [details]
terminal output
Comment 2 o590694 2006-07-27 12:41:22 UTC
Created attachment 6369 [details]
xorg.conf
Comment 3 o590694 2006-07-27 12:50:09 UTC
strace output is too big for bugzilla attachment it seems.

I uploaded it: http://www.unixforces.net/upload/strace_X.txt
Comment 4 o590694 2006-07-27 12:52:02 UTC
oh.. and one last note: this does not happen, if I comment out the line in my 
xorg.conf which loads the dri module!
Comment 5 Jerome Glisse 2006-07-28 02:09:07 UTC
Could you try with git version of ati driver and drm driver.
Comment 6 o590694 2006-07-28 04:45:03 UTC
yes, will try it this weekend.
Comment 7 o590694 2006-07-28 08:09:03 UTC
I did a fresh
git clone git://anongit.freedesktop.org/mesa/drm/ and
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
and installed both.

-> same problem
Comment 8 Donnie Berkholz 2006-07-28 18:58:42 UTC
FYI Markus, I've got ebuilds for both in my overlay.
Comment 9 Jerome Glisse 2006-07-29 03:17:41 UTC
A commit to drm git to solve a bug maybe similar to your one.
Could you try with lastest drm.
Comment 10 o590694 2006-07-29 10:07:02 UTC
(In reply to comment #9)
> A commit to drm git to solve a bug maybe similar to your one.
> Could you try with lastest drm.

hmm.. the last commit to git I see is from 3 days ago (according to gitweb). 
and that one I'm using already. still same problem.
Comment 11 o590694 2006-08-08 06:57:14 UTC
what kind of information do you need to get this fixed?
Comment 12 Michel Dänzer 2006-08-15 03:45:41 UTC
Have you tried enabling colour tiling (won't work with Option "UseFBDev")? Some
people have reported this to increase stability with R300 class hardware.
Comment 13 o590694 2006-08-15 07:16:03 UTC
If I don't use the Option "UseFBDev" then I get a realy screwed up picture. Not 
easy to describe. If you want I'll make a picture.

But for now I cannot use colour tiling then.
Comment 14 Michel Dänzer 2006-08-15 07:42:44 UTC
Please attach a log file from trying to start without Option "UseFBDev".
Comment 15 Benjamin Herrenschmidt 2006-08-16 01:59:23 UTC
Also, you may want to use Option "ReverseDDC" on the G5's 9600 or it might not
get the right EDID info from the monitor
Comment 16 o590694 2006-08-16 08:09:30 UTC
thanks, will try it. unfortunatly I'm not near my G5 at the moment so it could 
take a few days before I can test.
Comment 17 o590694 2006-08-21 13:02:05 UTC
Created attachment 6637 [details]
xorg.conf

the new xorg.conf with suggested options
Comment 18 o590694 2006-08-21 13:02:44 UTC
Created attachment 6638 [details]
Xorg.0.log

unfortunatly X won't even start with that as you can see.
Comment 19 joslwah 2006-09-03 01:01:35 UTC
I am showing a similar or related problem.  I don't get X starting due to now
modes being valid.  I also get negative values in Clock range.  However, if X is
started in a 32bit userland (chroot) then I can run everything fine.  Clock
range is fine from there.  Looks to me like there is a 32/64bit problem in the
radeon driver.
Comment 20 Roland Scheidegger 2006-12-02 17:12:59 UTC
Is this still an issue? The bogus clocks should have been fixed with
c979c7f87fc449cc9631820101edff82c3013e66 maybe the other problem too.
Comment 21 o590694 2006-12-10 06:54:46 UTC
(In reply to comment #20)
> Is this still an issue? The bogus clocks should have been fixed with
> c979c7f87fc449cc9631820101edff82c3013e66 maybe the other problem too.

yes, the bogus clocks are fixed now and DRI works on ppc64 again. I don't have
black screens on X startup any more. Unfortunately my G5 still locks up in some
situations. look at b) in comment #0: the machine freezes irregularly.
Comment 22 o590694 2009-08-05 10:41:18 UTC
closing. _this_ problem seems to be fixed for quite some time now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.