[r128] no dri or xgl on imac g3

Bug #133119 reported by hendrikwout
6
Affects Status Importance Assigned to Milestone
xserver-xorg-video-r128 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-driver-ati

I have a blue imac g3 500 Mhz with a videocard reported by 'lspci' as:
0000:00:10.0 Display controller: ATI Technologies Inc Rage 128 PR/PRO AGP 4X TMDS

X.org works in 1024x768 resolution 24 bit mode, but dri (Direct rendering 3D) doesn't work.
I also tried 16 bit mode to save video ram, but in that mode, X.org hangs and shows a distorted screen (allthough ctrl-alt-F1 works after a while; the system doesn't crash).
The 8 and 15 bit modes work, but again, no dri .

I also followed this thread but nothing helped: http://ubuntuforums.org/showthread.php?t=191080&highlight=ATi+Rage+128+DRI

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please try Gutsy Beta, and attach Xorg.0.log

Changed in xserver-xorg-video-ati:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
hendrikwout (hendrikwout) wrote :

this bug is still in gutsy. Xorg.0.log in attachment

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Can you also try running without any xorg.conf?
I am afraid that 8MB is too little to have DRI and 24bit mode though. Please attach the log from running in 16bit.

Revision history for this message
hendrikwout (hendrikwout) wrote :

the only mode that is possible on this imac is: 1024x768 24 bit. Here is the Xorg.0.log when running 16 bit mode (I get a messed up screen).

Revision history for this message
Tormod Volden (tormodvolden) wrote :

With 16bit you get DRI, but that's maybe also why it gets messed up. Can you try 16bit and disable DRI with the "NoDRI" option?

Revision history for this message
hendrikwout (hendrikwout) wrote :

adding
option "NoDri"
to the video card Device section didn't help to get the messed up screen away. Xorg.0.log in attachment.

Revision history for this message
hendrikwout (hendrikwout) wrote :

adding
option "NoDri" "true"
to the video card Device section didn't help also. Xorg.0.log in attachment again.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please see how I wrote NoDRI, not NoDri.

Revision history for this message
hendrikwout (hendrikwout) wrote :

Stil no luck: here is my xorg.conf and Xorg.0.log

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Section "Device"
 Identifier "ATI Technologies Inc Rage 128 RL/VR AGP"
 Driver "ati"
 Option "UseFBDev" "true"
 Option "ForcePCIMode" "true"
 Option "SWCursor" "true"
 Option "NoDRI"

Do you need to use FBDev ?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Section "Monitor"
 Identifier "iMac"
 Option "DPMS"
 HorizSync 60-60
 VertRefresh 75-117

Is 60-60 correct?

Revision history for this message
hendrikwout (hendrikwout) wrote :

I think it is.

60-60 works with 24 bit color: this is autoconfigured by Ubuntu live cd. I guess it's not the screen's fault: even though the display looks messed up, it's still static (no flickering). So I think the screen can handle the resolution, but the video chip fails to give a good output.

Revision history for this message
hendrikwout (hendrikwout) wrote :

Yes, I need FBDev.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I looked at bug #22976 which confirms the HorizSync range, and bug #63072 which mentions some FB trouble. Have you tried without UseFBDev?

Changed in xserver-xorg-video-ati:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

I spotted this in your log:
(WW) R128(0): Option "NoDRI" is not used

You must use another way of disabling DRI:

Section "Module"
 Disable "glx"
 Disable "dri"
EndSection

Revision history for this message
Tormod Volden (tormodvolden) wrote :

By the way, https://wiki.ubuntu.com/PowerPCFAQ suggests HorizSync 58-62.

Revision history for this message
hendrikwout (hendrikwout) wrote :

hehe,

Disable "dri"

works. Now on 16 bit. No glx of course. logs in attachment.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Then it seems like the DRI is broken on these cards. You can file (or look for) an upstream bug, or wait for the r128 support to be merged into the radeon driver (this is on-going upstream) and hope that it will help.

Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: [r128 PCI] no dri or xgl on imac g3

Hmm, the log says:
(--) R128(0): Chipset: "ATI Rage 128 Pro VR PR (PCI)" (ChipID = 0x5052)
but your lspci output said:
ATI Technologies Inc Rage 128 PR/PRO AGP 4X TMDS

Is this an AGP card or a PCI card?

Revision history for this message
hendrikwout (hendrikwout) wrote :

I use the "ForcePCIMode" "true" option. They advised me this option at the forum to get dri working. Maybe that's why xorg reports another card. I will remove it and send a new log.

Revision history for this message
hendrikwout (hendrikwout) wrote :

here it is

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I guess it is an AGP card then, it is just wrong in the driver code description (in src/r128_chipset.h).

Revision history for this message
hendrikwout (hendrikwout) wrote :

Should I report a bug somewhere else also?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Yes, thanks, it would be great if you could look for existing bugs and if necessary file a new bug at https://bugs.freedesktop.org
I guess this a well known issue among g3-owners, but I don't know if the r128-developers are aware of it or have enough information to work on it.

Revision history for this message
Bryce Harrington (bryce) wrote :

I don't know if this will fix this specific issue, but I've backported a bunch of high importance patches that upstream recommended, that fix problems sort of like this one, so I think it would be worth the time to test. Please try this .deb and report what you find:

http://people.ubuntu.com/~bryce/Testing/ati/

If we can determine that the patches in this deb fix this bug, they may be candidates for backporting to Hardy.

Revision history for this message
Brian Murray (brian-murray) wrote : Ubuntu needs you!

Thanks for taking the time to report this bug and helping to make Ubuntu better. In the development cycle for Intrepid there have been some vast improvements in the open source ati video driver and we could use your help testing them. Could you please download the latest Alpha CD image of Intrepid and test this particular bug just using the Live CD? You can find the latest image at http://www.ubuntu.com/testing . Your testing can help make Ubuntu and the open source ati driver even better! Thanks in advance.

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-r128:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.