Display corruption on ATI Radeon 9500 without setting "AGPMode"

Bug #181602 reported by Mark Rijckenberg
0
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Triaged
High
Unassigned

Bug Description

Using Kubuntu Hardy Heron Alpha (latest as available via aptitude dist-upgrade). Updated my system last night (January 8, 2008) and an update to xserver-xorg-video-ati (to version 6.7.197) has resulted in X displaying a completely "garbled" display. Nothing is readable, nothing responds (even to ctrl+alt-backspace or switching to a virtual terminal). The mouse cursor still displays fine and responds to input, but nothing else works, including keyboard input.

Changing driver to fglrx in /etc/X11/xorg.conf allows X to start. So my issue is extremely similar to another bug report
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/180343. I created a separate bug report, because I am using a different video card chipset, ATI Technologies Inc R300 AD [Radeon 9500 Pro] rev 0.

Troubleshooting history:

"
 Mark Rijckenberg wrote 6 hours ago: (permalink)

Hi,

I confirm this behaviour in Kubuntu Hardy Heron (pre-release) on my PC. After upgrading my pc using aptitude dist-upgrade yesterday, my PC totally freezes/locks up when starting Xorg using the ati or radeon open source drivers. It directly crashes once the Xorg window appears and BEFORE seeing the kdm login window. However, when using the fglrx driver, I can still successfully start up the Xorg server and log into kdm just fine. I use an ATI Radeon 9500 AGP video card. My xorg.conf file has not changed these past few months, but since yesterday, X crashes....

New bug in Xorg? Or in ati or radeon driver?

Regards,

Mark Rijckenberg
 Mark Rijckenberg wrote 1 hour ago: (permalink)

    * X-configure-errors (16.9 KiB, text/plain)

Hi,

I went to https://wiki.ubuntu.com/XorgOnTheEdge
Then I went to https://launchpad.net/~tormodvolden/+archive.
I added the following to my sources.list:

deb http://ppa.launchpad.net/tormodvolden/ubuntu hardy main
deb-src http://ppa.launchpad.net/tormodvolden/ubuntu hardy main

Did aptitude update and then aptitude dist-upgrade. Rebooted pc. Still not working.

Then I rebooted Kubuntu in recovery mode. Renamed my /etc/X11/xorg.conf to xorg.confOLD.

Ran X -configure to force X to create a new xorg.conf file. xorg.conf creation failed. Logfile for this is "X-configure-errors"

Currently, my Xorg still only works when using the ATI fglrx drivers.

I now did the following dangerous upgrade:

ulysses@desktop-pc:/data/downloads$ sudo dpkg -i --force-all xserver-xorg-video-ati_6.7.197+git20080108.fa3e2055-0ubuntu0tormod_i386.deb
dpkg: regarding xserver-xorg-video-ati_6.7.197+git20080108.fa3e2055-0ubuntu0tormod_i386.deb containing xserver-xorg-video-ati:
 xserver-xorg-core conflicts with xserver-xorg-video-1.0
  xserver-xorg-video-ati provides xserver-xorg-video-1.0 and is to be installed.
dpkg: warning - ignoring conflict, may proceed anyway !
(Reading database ... 310923 files and directories currently installed.)
Preparing to replace xserver-xorg-video-ati 1:6.7.197+git20071227.bfa22d-0ubuntu0tormod1 (using xserver-xorg-video-ati_6.7.197+git20080108.fa3e2055-0ubuntu0tormod_i386.deb) ...
Unpacking replacement xserver-xorg-video-ati ...
Setting up xserver-xorg-video-ati (1:6.7.197+git20080108.fa3e2055-0ubuntu0tormod) ...
ulysses@desktop-pc:/data/downloads$

Will reboot pc and let you know if it helped. Fingers crossed ;-)

Mark
 Mark Rijckenberg wrote 1 hour ago: (permalink)

Hi,

After reboot, the situation was even worse. So I used aptitude dist-upgrade again to automatically downgrade the ATI driver to xserver-xorg-video-ati 1:6.7.197+git20071227.bfa22d-0ubuntu0tormod1, which also does not work.

Any other idea's?

Mark
 Steve Langasek wrote 14 minutes ago: (permalink)

Hi Mark,

ATI Technologies Inc R300 AD [Radeon 9500 Pro] rev 0

This is your card as identified in the X log you sent. This is a different chip than the one this bug is reported on; I would recommend that you open a separate bug report for your problem.
 Timo Aaltonen wrote 13 minutes ago: (permalink)

Mark: the conflict is there for a purpose. Gutsy version of the driver was built against an older xserver, so it won't work with hardy which has xserver 1.4.

This might be fixed upstream, I'll ask them."

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please try the radeon_drv.so from bug 180343

Changed in xserver-xorg-video-ati:
status: New → Incomplete
Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :

Hi Timo,

Thanks for your quick replies. I appreciate it. I just tried your radeon_drv.so file. Unfortunately, it does not solve the issue. I edited xorg.conf again to use the radeon driver. After rebooting into Xorg, I see a garbled Xorg screen for a few seconds and then my monitor says "out of frequency range". I have not attached my xorg.conf file yet, because it has always worked fine for the past few months in Kubuntu Hardy Heron.

I am now adding the most recent version of my log files. I checked them out and I think the /var/log/kdm.0.log.crash logfile is by far the most interesting one. Maybe /var/log/kdm.0.log.crash can help us figure this one out?

Regards,

Mark

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :
Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

attach the conf please. I'm not sure what to think about the kdm file. It seems to have some data from old sessions. The Xorg.0.log suggests that the server is running fine, it just uses the wrong mode. Try without xorg.conf too.

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote : my xorg.conf file

Hi,

Here's my xorg.conf when using the radeon driver.

I have already tried starting the PC without having any xorg.conf located in /etc/X11. That did not work either (black screen instead of Xorg screen) Bulletproof X isn't that bulletproof on my pc ;-)

Regards,

Mark

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Re: ATI driver update causes Display Corruption on ATI Radeon 9500 AGP

Black screen would suggest that it's driving the wrong output... So the result is the same as with conffile?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, some things to try, one at a time:

Option "DRI" "false"
Option "BusType" "PCI"
Option "BusType" "AGP"

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :

Hi,

Just tested Option "DRI" "false"
Adding Option "DRI" "false" allows me to finally use the radeon driver again, but this of course prevents me from using compiz fusion, which used to work for me in Kubuntu Hardy....

Regards,

Mark

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Try the other options as well (one at a time, since they conflict), and comment out the line about DRI.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Re: ATI driver update causes Display Corruption on ATI Radeon 9500 AGP and breaks DRI (direct rendering)

Correction: AGP mode is used by default so try forcing PCI by using

Option "BusType" "PCI"

and then without that try forcing the AGP speed:

Option "AGPMode" "4"
or
Option "AGPMode" "8"

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :

Hi Timo,

Thanks a lot for all your tips. I tried them all out. The best option I found was to only add "Option "AGPMode" "4" (and keep the other options disabled)

Only adding that option solves this issue for 70%. I can now use the Radeon driver and successfully enable Compiz Fusion.
But there are now still some interactivity problems after activating Compiz Fusion.

Working in Compiz Fusion:

Spinning desktop cube: OK
Wobbly windows: OK
Zoom out expo(sé) function: OK
Moving windows around inside expo(sé) function: OK

Not working in Compiz Fusion:

Entering text inside an open window. I can try entering text, but it does not appear in the window.
Opening minimized windows after using desktop cube and expo function for a while.

Regards,

Mark

P.S. I am going to sleep now. I will try to check my mail again in 24 hours. Bye!

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :

Hi,

Good news. Thanks to your help, my issue is 100% solved. I had to deactivate Compiz Option "Loose Binding" to solve the remaining Compiz Fusion interactivity issues.

With high regards,

Mark

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Compiz issues are not driver bugs ;)

Thanks for testing, I've let upstream know about this, and in fact all the suggestions came from there anyway.

Changed in xserver-xorg-video-ati:
importance: Undecided → High
status: Incomplete → Triaged
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

sorry for the hassle, this is the same bug as bug 180343 after all :)

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.