[R350] screen corruption on 9800SE

Bug #565883 reported by SlimJim
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

There seems to be a problem with the Ubuntu ATI driver and my ATI Radeon 9800 SE card. When I boot Ubuntu 9.10 (installed on HDD) or Ubuntu 10.04 (beta 2 from CD) certain elements of the desktop contain artifacts (see screenshot "visual_effects_disabled.png"). If I enable in System > Appearance > Visual Effects the amount of artifacts increases dramatically and cover the desktop completely (see screenshot "visual_effects_enabled.png").

This is what lspci tells me:
01:00.0 VGA compatible controller: ATI Technologies Inc R350 AH [Radeon 9800]
01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800] (Secondary)

I'm happy to assist further investigations!
---
Architecture: i386
CurrentDmesg:
 [ 131.762150] lp: driver loaded but no devices found
 [ 132.100802] ppdev: user-space parallel port driver
 [ 165.420656] end_request: I/O error, dev fd0, sector 0
 [ 177.589132] end_request: I/O error, dev fd0, sector 0
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: xserver-xorg-video-ati 1:6.12.192-2ubuntu2
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Tags: lucid lucid
Uname: Linux 2.6.32-19-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/03/2004
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1004.002
dmi.board.name: K8V-X
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: Rev 2.00
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1004.002:bd08/03/2004:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASUSTeKComputerInc.:rnK8V-X:rvrRev2.00:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-19-generic

Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

This is the second screenshot

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

ubuntu-bug would normally add a lot of information. Can you please run "apport-collect 565883"?

Revision history for this message
SlimJim (tobias-dh1tw) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-20-generic root=UUID=16a9a5bd-09a5-4dc4-a86d-38c2b7145dcf ro
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_DK.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 08/03/2004
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1004.002
dmi.board.name: K8V-X
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: Rev 2.00
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1004.002:bd08/03/2004:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASUSTeKComputerInc.:rnK8V-X:rvrRev2.00:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-20-generic

tags: added: apport-collected
Revision history for this message
SlimJim (tobias-dh1tw) wrote : BootDmesg.txt

apport information

description: updated
Revision history for this message
SlimJim (tobias-dh1tw) wrote : Dependencies.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : GdmLog.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : Lspci.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : Lsusb.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : PciDisplay.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : ProcInterrupts.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : ProcModules.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : UdevDb.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : UdevLog.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : XorgLog.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : XorgLogOld.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : Xrandr.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : setxkbmap.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : xdpyinfo.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : xkbcomp.txt

apport information

Revision history for this message
SlimJim (tobias-dh1tw) wrote : Re: ubuntu-bug xserver-xorg-video-ati

I performed the apport-collect on the 10.04 beta 2 (which is booted via CD). I also deleted the ones I generated on 9.10 in order to be cause too much confusion.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

I performed the apport-collect on the 10.04 beta 2 (which is booted via CD). I also deleted the ones which I generated earlier on 9.10 in order not to cause too much confusion.

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

Thanks, that's very good.

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
summary: - ubuntu-bug xserver-xorg-video-ati
+ [R350] screen corruption
tags: added: i386 lucid
Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: [R350] screen corruption

More out of curiousity, which version of 9800SE do you have? Can you recognize the card on these pictures: http://www.digital-daily.com/video/ati-radeon9800se/

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

These SE cards have only one quadpipe AFAIK, but 2 are detected by the drm:
[drm] radeon: 2 quad pipes, 1 Z pipes initialized.

Can you please reattach the Xorg.0.log and dmesg from 9.10?

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

Can you please try the 10.04 live CD, there install the packages from https://edge.launchpad.net/~xorg-edgers/+archive/radeon
(at least the libgl1-mesa-dri package) and log out and in again?

This is to verify a possible fix I am working on, so in the first case you should see the same issue with these packages. Later I will post updated packages with the fix and we can compare.

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

BTW, this should eventually be fixed in the kernel, and I have a patch ready for it, but it is much easier to patch and test the mesa drivers instead, especially on a live CD...

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

Now, 7.9.0~git20100416+gallium+r300.f91a06ee-0ubuntu0tormod does not have the fix, but 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod will have the fix to test. If you don't see these versions in the PPA, choose "Any status" in the search filter.

summary: - [R350] screen corruption
+ [R350] screen corruption on 9800SE
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

I checked the pictures on http://www.digital-daily.com/video/ati-radeon9800se/ against the card I have in my PC. I do have a card based which seems to be based on the Radeon 9500 Pro design.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Download full text (3.7 KiB)

I set up the PPA and installed the 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod version on the Ubuntu 10.04 beta2 liveCD. I logged out and again in. Unfortunately, it does not solve the problem. I purged the PPA and reinstalled it a second time, but without any effects.

this is what I did:
-----------------------
ubuntu@ubuntu:~$ sudo apt-get install libgl1-mesa-dri/lucid libgl1-mesa-dri-dbg/lucid libgl1-mesa-glx/lucid libgl1-mesa-glx-dbg/lucid libglu1-mesa/lucid mesa-utils/lucid
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for libgl1-mesa-dri
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for libgl1-mesa-dri-dbg
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for libgl1-mesa-glx
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for libgl1-mesa-glx-dbg
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for libglu1-mesa
Selected version 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod (Radeon gallium - mesa testing:10.04/lucid) for mesa-utils
The following packages were automatically installed and are no longer required:
  libosmesa6
Use 'apt-get autoremove' to remove them.
Suggested packages:
  libglide3
The following NEW packages will be installed:
  libgl1-mesa-dri libgl1-mesa-dri-dbg libgl1-mesa-glx libgl1-mesa-glx-dbg
  libglu1-mesa mesa-utils
0 upgraded, 6 newly installed, 0 to remove and 412 not upgraded.
Need to get 0B/5,297kB of archives.
After this operation, 43.1MB of additional disk space will be used.
Selecting previously deselected package libgl1-mesa-dri.
(Reading database ... 127710 files and directories currently installed.)
Unpacking libgl1-mesa-dri (from .../libgl1-mesa-dri_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Selecting previously deselected package libgl1-mesa-glx.
Unpacking libgl1-mesa-glx (from .../libgl1-mesa-glx_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Selecting previously deselected package libglu1-mesa.
Unpacking libglu1-mesa (from .../libglu1-mesa_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Selecting previously deselected package mesa-utils.
Unpacking mesa-utils (from .../mesa-utils_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Selecting previously deselected package libgl1-mesa-dri-dbg.
Unpacking libgl1-mesa-dri-dbg (from .../libgl1-mesa-dri-dbg_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Selecting previously deselected package libgl1-mesa-glx-dbg.
Unpacking libgl1-mesa-glx-dbg (from .../libgl1-mesa-glx-dbg_7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod_i386.deb) ...
Processing triggers for man-db ...
Setting up libgl1-mesa-dri (7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod) ...

Setting up libgl1-mesa-glx (7.9.0~git20100418+...

Read more...

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

Hmm, maybe my hypothesis is wrong. However, these test packages from the PPA use gallium drivers as default instead of the classic drivers, and I am less confident about my fix for gallium, so please test classic this way:
After installing the packages:
 cd /usr/lib/
 sudo mv dri dri-gallium
 sudo mv dri-classic dri
and then log out and in again.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Okay, I will give it a try when I return to home this evening.
Thanks

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

I installed the 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod version on the Ubuntu 10.04 beta2 LiveCD from the PPA. After installing the packages from PPA I executed these commands:
   cd /usr/lib/
   sudo mv dri dri-gallium
   sudo mv dri-classic dri
logout & login

Unfortunately nothing has changed. The entire screen is still overlayed by artifacts.
Any more ideas? Was there anything I could have done wrong?

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

It sounds like you did it right, so I am not sure my fix makes any difference for you. The fix for gallium was definitely wrong, but I have uploaded a better version in today's PPA packages.

Can you please instead (in 10.04) copy this file to /usr/lib/dri and after logout/login, run this to verify that the new file is in use:
 glxinfo > /dev/null
It should list the number of (quad)pipes detected.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Somehow the ppa repository doesn't deliver the new version. It's still the 7.9.0~git20100418+gallium+r300.0490116f-0ubuntu0tormod one. Is there a way to force the ppa to download the new (419 built) ?

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Somehow purging and reinstalling the ppa did the job. Now I have installed your new built 7.9.0~git20100419+gallium+r300.7dfde3aa-0ubuntu0tormod on the freshly rebooted Ubuntu 10.04 beta 2 LiveCD.

This is the output of glxinfo > /dev/null
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 136 (DRI2)
Minor opcode of failed request 12 ()
Serial number of failed request 25
Current serial number in output stream: 26

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

just forgot to copy the two most important lines - please disregard comment #58

Somehow purging and reinstalling the ppa did the job. Now I have installed your new built 7.9.0~git20100419+gallium+r300.7dfde3aa-0ubuntu0tormod on the freshly rebooted Ubuntu 10.04 beta 2 LiveCD.

This is the output of glxinfo > /dev/null
DEBUG: Number of fp pipes: 1
DEBUG: Number of z pipes: 1
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 136 (DRI2)
Minor opcode of failed request 12 ()
Serial number of failed request 25
Current serial number in output stream: 26

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

I meant, just copy the file, without installing from PPA. Anyway, the number of fp pipes is now 1 which should be "safe" for these cards. If you still have corruption, there must be another reason for it.

Some of these cards have only one functional pipe, or one that passed the tests at the fab, so they disabled the second in the window driver and spec'ed with 1 and called it "SE". Then this series got so popular that they continued shipping it like that even if the cards actually had two perfect pipes. The linux drivers run all cards with 2 pipes, so I thought that was the problem. But you are maybe one of the lucky ones with two working pipes. And the corruption is due to something else.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Thanks for your help in investigating the problem. Somehow I'm still not sure where the problem lies. On WindowsXP the card works just perfectly and is recognized without any problems by ATI driver / ATI Cataylst. Yesterday I went back to my Ubuntu 9.10 installation and tried to install the proprietary ATI fglrx driver, but it was not possible. Linux ATI catalyst doesn't recognize the card. As a result of removing the ati ragoen driver and not being able to install fglrx the artifacts disappeared on the screen. However it's painful slow and I assume Ubuntu is using some kind of generic driver which doesn't use the 9800SE hardware at all.
It almost impossible to watch a video on youtube or similar stuff which would makes use of the graphic card.

Do you have any other ideas what could be the problem? Is there anything I could do to further investigate the problem?

Thanks, your help is really appreciated!

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

Yes, if you do not remove fglrx properly, it will keep the ati radeon from running with hardware accelerated 3D. With no acceleration you won't get the corruption, which only was visible when acceleration was in use (compiz and 3D apps). See
https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver

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

Yes, this is understood. However the artifacts appear when the radeon driver installed. Even with having the Acceleration disabled (System > Preferences > Appearance > Visual Effects > None) the screen has some artifacts (see screenshot visual-effects-disabled.png). However they don't cover the whole screen.
I suppose, I need to buy another graphic card for this computer in order to use it properly with Ubuntu.
Thanks again for your attempts fixing the problem.

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

Even without Visual Effects, the radeon driver uses acceleration on the card (EXA, composite etc), so some corruption can be seen. This acceleration is not used if fglrx is blocking, or if you are using the vesa driver ("failsafe").

With compiz it will use hw acceleration for the whole screen, that's why you see it all over.

Did you have any corruption with an older version using fglrx? If not, there is probably a bug in the ati radeon driver. If you did not see corruption in older releases with ati radeon, it could be because it did not use much hw acceleration features at the time.

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

Can you try turning off RenderAccel, as suggested here: http://www.ubuntu.com/getubuntu/releasenotes/1004

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Thanks for the explanation! I tried to disable RenderAccel but X seems to dislike it and only allows startup in Low Graphics mode. Well, finally I'll visit my local PC shop and purchase another graphic board. Those old AGP cards aren't expensive anymore.
Please sent me in a private message your paypal email so that I can pay you at least a beer! Thanks a lot for your help and your willingness to help me with this problem!

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

Based on the description of the symptoms, it sort of sounds like this might be caused by an incorrect AGPMode setting, which is relevant when DRI is enabled. You should test if changing this makes the issue go away.

For KMS configurations, agpmode is a kernel module parameter. Enter the grub interface during boot and append radeon.agpmode=X to the kernel boot line, where X = -1,1,2,4,8

1-8 are the agp modes,
-1 uses the onboard gpu gart (PCI, PCIE, etc.)

For details about this with UMS (non-KMS), please see the "ATI AGP Mode Quirk" section at https://wiki.ubuntu.com/X/Quirks

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

Right, I was too obsessed by the pipe numbers to think about this classic issue. Slimjim, your card runs with 8x out of the box, so please try 4x (the only other option for these AGP v3 cards): radeon.agpmode=4

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Hey Bryce and Tormod, thanks for the advice. I did so and included radeon.agpmode=4 as a boot parameter, but it has no effect. I even included it as a fixed boot parameter in /etc/default/grub as GRUB_CMDLINE_LINUX_DEFAULT="radeon.agpmode=4"
GRUB_CMDLINE_LINUX="radeon.agpmode=4" but without success. I'll just buy me a new AGP card tomorrow. Thanks again so much for your help!

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

We still want to fix your old card :) Actually I found out now that the pipe number mismatch has to be fixed in the kernel as well as the Xorg driver. With the wrong number here, the corruption that you see is mighty possible.

This has now been fixed upstream, and the fixes are good candidates for a SRU in Ubuntu 10.04. So even if you buy I new card, it would be great if you could try test packages and verify that they fix your problems.

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

Hi SlimJim, if I read your comment correctly, you are not interested in pursuing this bug further? If that's the case could you set the bug report to Invalid?

If you're interested in continuing doing testing and troubleshooting, the next step is to send the bug report upstream, and they'll probably suggest additional things to test.

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

I have uploaded a test package for xserver-xorg-video-ati in https://launchpad.net/~xorg-edgers/+archive/drivers-only
Please try it, although I am not sure if the kernel must be fixed as well for you to see a difference.

Reference to kernel patch: http://lists.freedesktop.org/archives/dri-devel/2010-April/000214.html

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Ok - no problem. I will postpone the purchase of the new card and keep on investigating together with you guys. I set up the PPA in my Ubuntu 9.10 to https://launchpad.net/~xorg-edgers/+archive/drivers-only but apt-get does not retrieve the latest version. Maybe it takes some time until the repository is updated. I left the radeon.apgmode=4 in /etc/default/grub. In case I should remove it, please advice. Tomorrow I'll try again to install your patched version 1:6.13.99~git20100422.1ad41054-0ubuntu0tormod.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Changed in xserver-xorg-video-ati (Ubuntu):
assignee: nobody → Tormod Volden (tormodvolden)
Bryce Harrington (bryce)
tags: added: corruption
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Guys, how do I tell apt-get to download the latest xserver-xorg-video-ati driver (1:6.13.99~git20100422.1ad41054-0ubuntu0tormod) ? Whatever I do (install, purge, update, upgrade) my Ubuntu 9.10 does not want to download the latest version. It only uses xserver-xorg-video-ati driver 1:6.12.99+git20091125.0061c4db-0ubuntu0tormod2

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

The newest version is only for lucid. I will have to update the karmic version if you want to test in karmic. Anyway, we can wait a few days for the new kernel release which hopefully will have my fix included.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Okay, just booted again the Ubuntu 10.04 beta 2 Live-CD. I fetched 1:6.13.99~git20100422.1ad41054-0ubuntu0tormod from the ppa archive, logged out and and again in. Unfortunately, there are no changes. The screen is still cluttered with exactly the sam artifact pattern.
Will the change in the kernel have additional effects?

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

The fix is now in Linus' kernel tree, and should be in today's snapshot here: http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2010-04-28-lucid/ You can install this kernel in your Karmic system to try out (unless you have a Lucid system). The updated -ati driver for Karmic in https://launchpad.net/~xorg-edgers/+archive/drivers-only has been uploaded, but wait for the -tormod3 version to be built. The mesa packages from https://launchpad.net/~xorg-edgers/+archive/radeon are for lucid and I don't know if they can be installed in a Karmic system. so try first without. But to fix the corruption in all situations, all three packages must be updated.

Revision history for this message
Eugenio123 (diagosta-e) wrote :

hi guys! i think that i have the same problems even with lucid linx now and before with Karmic.. desperation! :(

here there is my qyestion that i posted some days ago, please help me too

Revision history for this message
Eugenio123 (diagosta-e) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

I updated today my system to Lucid. After the update I performed the following actions:
1. installed the kernel you recommended (linux-image-2.6.34-999-generic_2.6.34-999.201004281008_i386.deb)
2. install the ati driver (1:6.13.99~git20100422.1ad41054-0ubuntu0tormod) (what do I have to do to install tormod3 version?)
3. install mesa package (7.9.0~git20100429+gallium+r300.f7cf8b46-0ubuntu0tormod)

Now, the artifacts are gone, but acceleration (System > Preferences > Appearance > Visual Effects > Normal) still doesn't work. I'm not sure if the current system is really using the ati driver. How can I verify if the system is really using the ati driver?

Thanks

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

Sounds like you have got the right packages (the -tormod3 version was for Karmic). Can you please attach dmesg and glxinfo output and your Xorg.0.log? With that mesa package (+gallium), please try as I described in comment 53 to use classic drivers.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Somehow dri-classic doesn't exist anymore. Did I do anything wrong?
find attached the logs.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

The kernel looks good (dmesg), but you must have got the mesa packages messed up. Please try reinstalling the normal ones, then try again. I am running Lucid with kernel 2.6.34-020634rc6-generic and mesa packages 7.9.0~git20100429+gallium+r300.f7cf8b46-0ubuntu0tormod (from radeon ppa) and ati/radeon 1:6.13.99~git20100422.1ad41054-0ubuntu0tormod (from drivers-only ppa) and both classic and gallium work fine.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Okay - I reinstalled the mesa package as instructed.
I also renamed the dri folders as requestes in #53

Compiz still does not work, however as mentioned the artifacts have disappeared.
Find attached the logs

Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

It is strange, because the dmesg confirms that the radeon kernel module is loaded and KMS is initialized, but the Xorg log indicates that the module was not loaded in time. Can you please try booting with "text" as an extra boot parameter, then log in on the console and start X with "startx"?

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

I did so. Find attached the Xorg.0.log

Still can't enable compiz.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

This is the syslog. In case you might find some useful informations in it.

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

It seems like you are now hit by another, unrelated bug. Can you please revert to the standard Lucid packages and see if everything is fine (except the original corruptions of course). Only then can we move on, step by step with our test packages.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Okay - I purged the ppa:xorg-edgers/radeon and ppa:xorg-edgers/drivers-only and reinstalled the standard drivers.
I'm using now again Kernel 2.6.32-22-generic. Can't see any artifacts but the 3D acceleration doesn't seem to work.
Find attached my logs.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

So currently while having downgraded to the standard lucid packages I can't see any difference to our tests performed on the development kernel and your test packages. It's exactly the same behaviour - No more artifacts but also 3D acceleration (e.g. enabling compiz) doesn't work

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Sorry - please disregard Comment #97. After rebooting I have now again the artifacts (probably as it should be)

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

Good, start with only upgrading the kernel and see if 3D acceleration is still working.

Revision history for this message
SlimJim (tobias-dh1tw) wrote :

Today I finally have given up. I went to the local PC store and got a new Graphic Card. It's already installed and everything works as expected. I hope we could at least verify the patch you have written successfully. If you don't mind I would close this bug report. Thank you again so much for your help! I still you like to buy you a beer!

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

OK, maybe at a later point you can try the old card again and verify everything works in a Ubuntu 10.10 alpha release. Anyway, thanks to your bug report this got fixed and I guess there are many Linux users on 9800 SE out there who will appreciate it.

Revision history for this message
Tormod Volden (tormodvolden) wrote :
affects: xserver-xorg-video-ati (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: Tormod Volden (tormodvolden) → nobody
status: Incomplete → Fix Committed
Revision history for this message
SlimJim (tobias-dh1tw) wrote :

sure - I'll give it a try when 10.10 alpha is released. In case I forget it, please don't hesitate to send me a reminder. It's a
pleasure to work with such committed and professional developer like you!

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.