[rs690m] [Gateway] Graphics corruption with ati x1200

Bug #556782 reported by Brian Ealdwine
172
This bug affects 29 people
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
High
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

[Edit]
This bug has been around for a bit over a year now, and has gotten rather long, so this is a brief summary.
There is a memory corruption issue that affects users of the rs690m, to varying degrees.
For many most people, it makes the desktop unusable.

Workaround: *Note: This is a workaround, not a fix. It will give you a usable system.
[Natty]: Regression: This workaround now only provides 2d/software rendering, and one must either:
   * Choose choose the "Ubuntu Classic" session from the GDM Login screen
   or
   * Install the "unity-2d" package.

[code]
sudo su
echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
exit
[/code]
Note that this doesn't totally fix the issue, but brings your desktop to a workable state.

Freedesktop.org has dealt with one bug having to do with graphics corruption on the rs690m. That bug has been fixed, but the issue of graphics corruption in general has not been resolved. A new bug has been opened with freedesktop.org to continue pushing through the resolution of this issue.
[/edit]

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+3ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Tue Apr 6 12:58:29 2010
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Gateway LT31
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-19-generic root=UUID=617a7a50-d35f-4b03-8bf1-f91ec024381b ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
dmi.bios.date: 06/18/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: v1.3201
dmi.board.name: SJM11-YK
dmi.board.vendor: Gateway
dmi.board.version: Not Applicable
dmi.chassis.type: 10
dmi.chassis.vendor: Gateway
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrv1.3201:bd06/18/2009:svnGateway:pnLT31:pvrNotApplicable:rvnGateway:rnSJM11-YK:rvrNotApplicable:cvnGateway:ct10:cvrN/A:
dmi.product.name: LT31
dmi.product.version: Not Applicable
dmi.sys.vendor: Gateway
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-19-generic

[lspci]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f]
     Subsystem: Acer Incorporated [ALI] Device [1025:028c]

Revision history for this message
Brian Ealdwine (eode) wrote :
Revision history for this message
Brian Ealdwine (eode) wrote :

First: I've upgraded from 9.10 to 10.04 beta. My system updates are current.
  I have a radeon rs690m (x1200)

This is the problem I ran into:
  * Small, horizontal white lines that appear a bit like static. Not very noticeable, and not present currently.
  * Medium and large horizontal lines / areas of corruption.
    * Stripes are often screen-wide
    * Stripes can be scrolled, e.g., in Firefox or Nautilus.
    * Refresh of graphical object clears up corruption -- E.g., a mouseover of a link or highlighting an icon
  * Mouse Pointer gets corrupted at some points, until refreshed (e.g., when the cursor changes from pointer to question mark, or to a hand, or from hand to arrow, etc.).
    * Corruption occurs regardless of whether or not Desktop Effects are enabled (important later)
      * Corruption might only occur after desktop effects *have* been enabled during this run.
  * Some fonts become corrupted. If they do, the letters corrupted stay corrupt. I.e., if "k" gets corrupted, and I type "k" elsewhere in the same font, that too will be corrupted.

It would be really nice to fix this before the release of Lucid -- I can't imagine what would happen with all the rs690 users out there. Not that there are a lot, but, there are enough.

Workaround (sort of):
In /etc/modprobe.d/radeon-kms.conf, I set:
 options radeon modeset=0

Why just "sort of"?
  * Logging into the (only) account created when the system was 9.10 fails, at best booting me back to the login screen.
  * Logging into an account created since the system has been upgraded to 10.04 works fine, desktop effects and all, no graphics glitches.
  * Logging into the 9.10-made account with desktop effects disabled works fine.
  * Enabling desktop effects once logged in makes the system visually unusable -- cannot switch to console, graphical screen black except for mouse, but the system is still running. I can ctrl-alt-delete from a 'text' console, although there is no text -- it just shows what was last in the graphics buffer (a black screen with the mouse pointer present).

Note that although there were glitches graphically, desktop effects or not, the system worked with desktop effects enabled when kms was enabled.

I think there are probably two problems here:
1) KMS causing or making visible some kind of horrible memory badness that I don't understand
2) Desktop Effects config in 9.10 can be set to a state that doesn't play nicely in 10.04 with KMS disabled.

Any further information I will be happy to provide. I have a workable system, I can just transfer everything over to a new account on my system, but I want to make sure others aren't affected problematically -- and it would be nice just to use my old account.

-Brian

Note: Included screenshots are *screenshots*, not photos. The actual images in memory are corrupt.

Revision history for this message
Brian Ealdwine (eode) wrote :
Revision history for this message
Brian Ealdwine (eode) wrote :
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Brian Ealdwine (eode) wrote :
Revision history for this message
Brian Ealdwine (eode) wrote :

..please let me know if I can be of further assistance.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [rs690m] Graphics corruption with ati x1200

Thanks, this looks suitable to be forwarded upstream to bugs.freedesktop.org

summary: - Graphics corruption with ati x1200 (rs690m)
+ [rs690m] Graphics corruption with ati x1200
Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Dominik Drzewiecki (dominik-drzewiecki) wrote :

If this is of any help, I believe, I am too suffering from this bug on a freshly installed beta-1 of Lucid.
The video card is reported as:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon X2300.

I noticed the static-like blinking horizontal ~6-12 pixels long artifacts during installation. The static is noticeable even during system bootup, even before the X is started. I cannot capture this static while taking snapshots.

Revision history for this message
Dominik Drzewiecki (dominik-drzewiecki) wrote :

The workaround suggested by the reporter relieves me from the ugly static.

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

Brian Visel - I've forwarded this bug upstream to http://bugs.freedesktop.org/show_bug.cgi?id=27529 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

I have "static", it does not show up on screenshots.
Another interesting thing: "static" is dependent on color. There are absolutely no glitches on clean colors (red, green, blue). Corruption begins on tones closer to gray, and on the perfect gray there is the heaviest "static".
By gray's lightness: there are no glitches on black, they become visible on gray approximately lighter than 60 (of 256).

"static" itself appears white.

Revision history for this message
zEn (der-eremit) wrote :

Posted a video, to check if its the same Bug i'm getting.

got this since somewhere in between Alpha3 and Beta1 of lucid.
No problems in Karmic at all.

Bryce Harrington (bryce)
tags: added: corruption
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

with last package update amount of "static" increased heavily.

Bryce Harrington (bryce)
description: updated
Revision history for this message
Psy[H[] (vovik-wfa) wrote :

to zEn: yes this is the same thing
same shape, different color

Revision history for this message
zEn (der-eremit) wrote :

@Psy: thanks for the confirmation.

My corruption is gone since 2 days:
I believe this was when kernel .20 arrived.

btw:
ATI Technologies Inc M52 [Mobility Radeon X1300] on a HP compaq nc6400

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

installed kernel upgrade 2.6.32-21 (metapackage 2.6.32-22 - is it normal?) nothing changed.

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

...radeon HD2400 on asus A8Sr

Revision history for this message
Dominik Drzewiecki (dominik-drzewiecki) wrote :

After upgrading kernel to 2.6.32-20 the static is gone.

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

Brian, two people have reported that with the -20 kernel the static is gone. Is this the case for you as well?

Revision history for this message
Brian Ealdwine (eode) wrote :

I don't know that the static is the same issue. The thing I'm terming "static" is stuff that looks like analogue static. E.g., stuff that is active around window borders or between significant changes of color. That *particular* issue has gone away, or isn't manifesting.

What I'm terming "Corruption", which is a significantly worse problem, is corruption of the image(s) in memory which aren't fixed until the image is refreshed by the program; e.g., mouseover an icon, etc. I don't think I ever saw the -20 kernel upgrade, but I'm on 2.6.32-21. I just booted without the workaround, and have the same problem still. It's virtually unuseable (currently, my "t" is corrupt, parts of the firefox pane are totally corrupt, corruptions rampant across the screen).

Revision history for this message
zEn (der-eremit) wrote :

Still don't know if this was the right bug description for me.
The things I had and are visible in the video i posted earlier are still present if i boot in kernel -19 gone with >-20.

so for my bug obiviously was a kernel issue and not radeon!

But this was the closest bug report i could find...

Revision history for this message
Brian Ealdwine (eode) wrote :

zEn: I think that you had the static issue, not the corruption issue. The static issue isn't bothering me, either.

The Corruption issue is still present, though.

Revision history for this message
Brian Ealdwine (eode) wrote :

Bryce, should I try to compile the kernel with the patch on fd.o bugzilla 27529? If so, do you offhand know a good link on patching and compiling the kernel? I don't mind searching that myself, but figure if you know one offhand and I need to compile, that will reduce my search time, and therefore give me more time to work on compiling and reporting back the results of the patch.

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

Hi Brian, I don't have an authoritative link offhand. I think you can basically apt-get the source, apply the patch inline, and do a regular rebuild. I don't typically do kernel builds so am not totally up on the procedure.

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

Given the upstream bug has a linux patch, it sounds likely this is a kernel drm bug, so am going to turn this bug report over to the kernel team for further tracking.

Once a viable patch comes to light, if the kernel team doesn't pick it up, please ping JFo (jeremyfoshee) to get the issue some SRU attention if appropriate.

affects: xserver-xorg-video-ati (Ubuntu) → linux (Ubuntu)
tags: added: lucd xorg-needs-kernel-fix
removed: lucid
Revision history for this message
Jack Labus (jacklabus) wrote :

I believe I'm having this exact same bug on a similar machine. LT3108h. I'm not too well adjusted to linux but if you'd like me to run any reports to see if I can help let me know. Screenshot matches similar issues I am getting, the corruption seems more random on my side and gets heavier the longer I leave it alone.

Revision history for this message
Jack Labus (jacklabus) wrote :

http://ubuntuone.com/p/1uI/

What happens after a while.

Revision history for this message
madbiologist (me-again) wrote :

According to the changelog, this has been fixed upstream in kernel 2.6.35-rc4:

commit 0888e883ea5ff8fac27e813256d6c1eaede5a234
Author: Alex Deucher
Date: Sat Jun 12 11:50:13 2010 -0400

    drm/radeon/kms: fix bandwidth calculation when sideport is present

    Fixes fdo bug 27529:
    https://bugs.freedesktop.org/show_bug.cgi?id=27529

    Reported-by: steckdenis
    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

Revision history for this message
madbiologist (me-again) wrote :

A PPA of the abovementioned kernel can be found at http://kernel.ubuntu.com/~kernel-ppa/mainline/

Revision history for this message
Ian! D. Allen (idallen) wrote :
Download full text (47.9 KiB)

Ubuntu 10.4 user with a pair of ATI FireMV 2250 cards (RV516 chip)
running Xinerama across three monitors (one monitor output is unused)
using radeon driver on an AMD-64 2.6.32-24-generic.

Over time, single characters in Firefox get mangled - in tab titles and
on the displayed web pages. Typing those characters into text boxes also
shows the mangling. Changing the Firefox font size up or down (CTRL-plus,
CTRL-minus) restores the characters to good at the new size; setting the
font back to the original size (CTRL-zero) returns the mangling again.
Sometimes the characters disappear entirely. Restarting Firefox didn't
help until I added "Option "AccelMethod" "XAA" to my xorg.conf file;
now, restarting Firefox clears the font problem. (It didn't before -
I had to restart the X server.)

Also, while paging through photos in Facebook, twice now (separate
instances of Firefox some time apart) a photo has drawn itself about 200
pixels up and to the left of where it should be in on Facebook web page,
even outside of the browser window. Dragging other windows across the
corrupt area cleared out the ghost photo.

Also, a few times going to a video in YouTube (in Firefox) would
display a non-functional static image of slewed black-on-white, similar to
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/556782/+attachment/1283506/+files/Screenshot-3.png.
(Other people have called this "video static", but it is seems to be a wrongly
displayed image, not white noise.) Restarting Firefox cleared that up.

I didn't have any of these problems when I ran a single FireMV 2250 with
an Nvidia card for the third monitor, but that was on a previous kernel
(2.6.32-23-generic) as well. It's the dual 2250 (on the new kernel)
that is now misbehaving.

Downloading the xorg-edgers radeon driver 6.13.99 didn't help.

From my Xorg.0.log (full log below):

    X.Org X Server 1.7.6
    Release Date: 2010-03-17
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
    Current Operating System: Linux idallen-oak.home.idallen.ca
       2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-24-generic
       root=UUID=dc727a13-5170-4697-aad8-849090d05426 ro text
    Build Date: 21 July 2010 01:03:39PM
    xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see
       http://www.ubuntu.com/support)
    Current version of pixman: 0.16.4
    (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
    (II) Module radeon: vendor="X.Org Foundation"
       compiled for 1.7.6, module version = 6.13.99
       Module class: X.Org Video Driver
       ABI class: X.Org Video Driver, version 6.0

xorg.conf:

The "AccelMethod" "XAA" were added to try to get rid of the font corruption.
It didn't eliminate it, but it might have made it go away with a Firefox
restart, whereas restarting Firefox previously didn't help.

Section "ServerLayout"
 Identifier "Ian"
 Screen "Screen Right" 0 0
 Screen "Screen Middle" LeftOf "Screen Right"
 Screen "Screen Left" LeftOf "Screen Middle"
 Option "Xinerama"
EndSection

Section "Screen"
 Identifier "Sc...

Revision history for this message
madbiologist (me-again) wrote :

Ian - I'm not sure that you have the same bug, as I don't imagine your ATI FireMV 2250 cards (RV516 chip) have sideport memory, but does this issue still occur with the Ubuntu 10.10 "Maverick Meerkat" beta Live CD available at http://www.ubuntu.com/testing/maverick/beta ?

Revision history for this message
Ian! D. Allen (idallen) wrote :

madbiologist - alas, I don't have a "non-production" machine on which to try the beta.

The corruption does disappear when I slide the window containing the corruption onto either of the other monitors,
which are on the second FireMV 2250 card. I suppose I should swap cards and see if the corruption swaps, in the
off chance that it might be hardware.

If the bug report doesn't belong grouped here, I wonder where it should go. I didn't see anything obvious other than this bug.

Revision history for this message
madbiologist (me-again) wrote :

Swapping the cards sounds like a worthwhile test.

You can run the beta from the Live CD if you want. Just download the .iso image and then burn it to a blank CD. When you reboot Ubuntu 10.10 "Maverick Meerkat" beta will offer you the option to try without installing. If you choose that option it will run from the CD in conjunction with a RAMdisk in your system's memory. Your hard disks will not be touched, they will be mounted in read-only mode. When you shut down the CD will be ejected and you will be prompted to remove it and close the CD tray (if it exists) before power-off. The next time you boot your system it will be as you left it before using the Live CD.

Revision history for this message
Ian! D. Allen (idallen) wrote :

madbiologist - yea, I know all that (Unix user since 1976, sysadmin for
30 years). Two things work against trying it:

- I'd need to bring over my custom xorg.conf file and restart X to enable
  the two cards to work together - I can't just run the CD as is

- the problem is intermittent and may or may not appear for an hour or
  two - I can't commit that time this week

Revision history for this message
Ian! D. Allen (idallen) wrote :

I said:

> The corruption does disappear when I slide the window containing the
> corruption onto either of the other monitors,

Today, I have some corruption (on the zero glyph in a particular font at
a particular size) that stays corrupt when I slide the Firefox window
from the Right monitor to the Middle monitor (which crosses from the
first FireMV to the second). But this corruption vanishes when I keep
sliding from the Middle to the Left monitor, both of which are on the
same FireMV card. (And the corruption returns when I slide the window
back to Middle or to Right.) I don't think this is a hardware problem
peculiar to one of the cards.

Changed in xserver-xorg-driver-ati:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
Patrik (tsup) wrote :

Hi! I just upgraded to 10.10 via upgrade-manager -u and then updated the system again. And still, by just visiting http://www.wissenschaftsjournalismus.ch the screen reliably crashes to the look I attached... Well, I can very well steer around this site, which belongs to the swiss association of science journalists... but anyhow...

Revision history for this message
Simona Diatto (simona-diatto) wrote :

At last I found the bug affecting me!
I first run into the bug while testing Lucid Lynx from the very beginning, then found out some way to bypass it (don't remeber how, it was a real mess). I have just installed Maverick Meerkat RC on my netbook and the problem is here again.

Here's my graphic card and my hardware specs and some screenshots attached
lspci | grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]

Revision history for this message
Ian! D. Allen (idallen) wrote :

I see corruption that changes depending on to which of the three LCD
screens I drag my Firefox window. The worst corruption is far right.
I see less corruption when I drag the window to the middle LCD, and
dragging the window to the leftmost LCD looks fine. The middle and
right LCDs are on the same ATI FireMV 2250 card. The leftmost LCD is on
a second FireMV 2250 card. The corruption isn't constant. Things look
fine when I first reboot and get worse as time goes on.

I'm hoping Ubuntu 10.10 fixes things.

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

see little white things at the top of the first screenshot?
Imagine them applied transparently all over the screen. Appearing most severely on gray parts of the screen. And they do not appear on screenshots. No other corruption, except this noise.
That's my case on Radeon HD2400.

Revision history for this message
Brian Ealdwine (eode) wrote :

I don't think that's the same issue, as the issue we have can be seen in screenshots, and while that might not seem like a significant difference, it is nevertheless a massive difference.

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

At least the pattern and shape of white stripes looks similar. Well, either both our problems end simultaneously... or not.

Revision history for this message
rogmorri (frontporsche) wrote :

Also observed on Gateway LT3119u (aka Acer ZA8) laptop, with radeon rs690m, running Maverick.

Revision history for this message
John Gorkos (jgorkos-gmail) wrote :

Not a solution, but my Gateway LT3103u was essentially useless after this bug was introduced. My cheap/easy solution for now is to just rename the radeon.ko kernel module to radeon.ko.orig. After I did that, the corruption disappeared (as did any hope of accelerated 3d graphics, but hey, it's a netbook man).

sudo mv /lib/modules/`uname -r`/kernel/drivers/gpu/drm/radeon/radeon.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm/radeon/radeon.ko.orig

Then reboot (chances are, radeon.ko is loaded and it's a bear to unload)

Revision history for this message
Jason (jxself) wrote :

I also have this problem, also on a Gateway LT3119u (aka Acer ZA8) laptop running 10.10 with that RS690 chipset. I followed John Gorkos's suggestion but it didn't solve it.

Revision history for this message
Jason (jxself) wrote :

I tried a newer kernel (specifically this one below) but it didn't solve the graphics corruption.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/linux-image-2.6.36-020636-generic_2.6.36-020636.201010210905_amd64.deb

Revision history for this message
Jason (jxself) wrote :

A workaround for now is to disable KMS.

sudo echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf

For some users (particularly users with encrypted volumes) KMS is enabled very early in the boot process and in order to pick up these changes you also need to run sudo update-initramfs -u.

Then reboot.

Revision history for this message
Bassem JARKAS (jarkas) wrote :

I have the same issue on Ubuntu 10.10!

Revision history for this message
nebraskann (ann-kjerstad) wrote :

I have experienced this bug as well with 10.10 - I have included a screen shot, here are my specs;
Gateway ZA8

after using lspci -v | less

00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
        Subsystem: Acer Incorporated [ALI] Device 028c
        Flags: bus master, 66MHz, medium devsel, latency 64

00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: f0000000-f01fffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
        Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
        Capabilities: [b0] Subsystem: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
        Kernel modules: shpchp

00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: 80000000-800fffff
        Prefetchable memory behind bridge: 00000000cfd00000-00000000cfdfffff
:
Anyways, my days of device driver writing are several years old...can anyone please help with this?

Changed in xserver-xorg-driver-ati:
importance: High → Unknown
Revision history for this message
John Gorkos (jgorkos-gmail) wrote :

A week ago, I was ready to declare this bug "fixed" in the Natty Alpha code. Then, two days ago I went through a dist-upgrade evolution and now the corruption is back worse than ever. Right now, not even the "radeon modeset=0" fix will make it work (which worked for the longest time for me). Whatever just came down the pipe in the Alpha for 11.04 is a giant step backward. Since over 500MB of packages changed when I did the dist-upgrade, I can't pinpoint precisely what package change it was that hosed me again, but I suspect it's the xserver-xorg-video-ati package.
None of my hardware has changed, specs the same as above.

Revision history for this message
Brian Ealdwine (eode) wrote :

I still have this problem in Natty. Badly.

The "radeon modeset=0" (disabling KMS) workaround still works, sortof. It reduces the frequency/amount of corruption. However, the underlying problem is still there. ..and with Natty as it is, disabling KMS also disables compositing, unlike with Maverick.

At this point, the default install of Ubuntu is effectively useless for many on Radeon rs690m (a fairly common card), and has limited functionality if you apply the workaround.

Even though it's not currently reflected on Launchpad (tracking of the fd.o bugzilla seems to be borked currently), freedesktop.org has closed that bug as 'fixed'. However, this didn't seem certain (you can look at the bug yourself to see what I mean). I don't know if it is actually fixed, and I can't test it as I don't know the process of getting code from freedesktop.org into a compiled binary.

Jerome Glisse, who closed the bug on freedesktop.org said that we shouldn't open another bug report with them on this issue until I (or someone else with the problem) can get that done.

Any ideas for resources/howtos on that (fd.o git -> ubuntu binaries)?

Brian Ealdwine (eode)
description: updated
Revision history for this message
Brian Ealdwine (eode) wrote :

Oh. Something else I noticed, although I don't know if it's important:

When an application (let's say the terminal), is updating regularly, it will affect areas outside of itself on the screen, which we've all discussed -- bleedover from one element on the screen to another.

But even when that program is hidden by the screensaver, if the application has been affecting other areas of the screen, it will continue to do so even when not visible on the screen. I was in the process of something long on the command line, and the screensaver came on, blanking the screen. ..and the gnome-terminal visuals kept overwriting the blackness of the screen.

Revision history for this message
Brian Ealdwine (eode) wrote :

This bug also affects the terminal, at least when the x session is running. (graphics corruptions show up in the terminal as streaks or distorted images from the x session)

Revision history for this message
In , Brian Ealdwine (eode) wrote :

This is a severe issue, that prevents me (and a decent number of others) from using accelerated graphics.

This bug has the following behaviors:

* Corrupts the displayed graphics of every running program (as far as I can tell).
* Often corrupts the pointer graphics
* Corrupts fonts
* Corrupts the terminal display with noise from X, if you switch to a terminal
* Exists in accelerated and unaccelerated modes, but is marginal when not accelerated.
* Is made worse by KMS
* Is made worse by Compositing.
* Affects a rather large number of users (many with the rs690/x1200/x1250 cards, which are common in netbooks)

The previous workaround has been to disable KMS, which I believe somehow caused the radonhd driver to be used (uncertain about this). Either way, it brought the garbage to a usable level, and still allowed acceleration. However, that is not the case now. Using nomodeset results in a non-accelerated desktop.

Please let me know what pieces of information I should supply, and how I can be of assistance regarding this.

Note that glxinfo currently (with kms disabled) reports me to be using SGI and Mesa. Direct Rendering is "Yes", but it's actually using software, yes?. Even with this totally different driver set, I still sometimes get the corruptions (particularly after a long time running).

Is it possible that some fundamental thing (like a base memory address, or how much shared memory is to be used, or something) is being misreported and causing all these issues? This seems to be a very difficult bug to sort out, as it has been around a while.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Created attachment 44628
A screenshot that clearly displays corruption between program visuals

Revision history for this message
In , Airlied-freedesktop (airlied-freedesktop) wrote :

/var/log/Xorg.0.log and dmesg with KMS enabled.

Does your bios have an option for sideport RAM, do you know if you have sideport?

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Yes, I believe I do have sideport ram. In discussion in bug #25469, (A duplicate of bug #27529, which got marked 'resolved--fixed'), someone stated they have the same issue, and that they have the same model of laptop as myself, and that the sideport ram can't be disabled in the bios (which is true in my case as well).

I am currently running xorg 1.10.0, with ati drivers from the git repo (xf86-video-ati), pulled yesterday.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Created attachment 44638
dmesg with KMS enabled

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Created attachment 44639
Xorg.0.log, KMS enabled

Revision history for this message
In , agd5f (agd5f) wrote :

Does:
Option "ColorTiling" "False"
in the device section of your xorg.conf fix the issue? This might be a duplicate of bug 33929.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

No, that appears to have no effect.
(thanks for taking time to troubleshoot this with me)

Changed in xserver-xorg-driver-ati:
importance: Unknown → High
status: Confirmed → Fix Released
Revision history for this message
Brian Ealdwine (eode) wrote :

If pulling the xf86-video-ati drivers from git means anything, this has not yet been fixed. There is another bug open with xorg, (35457).

Revision history for this message
In , Brian Ealdwine (eode) wrote :

read the 'severity' description in 'help', and updated this to a blocker.

Revision history for this message
In , agd5f (agd5f) wrote :

The gart table buffer needs to be aligned to size (table address needs to be 512k aligned for 512 MB GART). I'm not sure if the Linux DMA API provides any mechanism to request that.

Revision history for this message
In , agd5f (agd5f) wrote :

Created attachment 44674
check gart table align

Can you try this patch and see if it prints an error when you load the driver?

Changed in linux:
importance: Unknown → Critical
status: Unknown → Confirmed
Revision history for this message
In , Brian Ealdwine (eode) wrote :

Unfamiliar with working with compiling the kernel, so it took me a while.

The module loads without complaint, either to the terminal or to dmesg.
I checked the strings in radeon.ko to make sure I had installed the right .ko file, and it's the right one.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Just to clarify, since there's been no activity on the bug, in case there was a misunderstanding:

by "The module loads without complaint," I didn't mean that it was working properly, just that the module loaded.

Revision history for this message
axel (simon-simonfoley) wrote :

I have had this issue for over 2 years, been plaguing me ever since I bought my packard bell dotma with the RS690M x1200, I thought I was suffering alone ! I got round it with the radeon modeset=0 as a kernel boot param.

However now doing that in 11.4 results in Unity not launching which is a step too far for me now.

This bug certainly is NOT resolved in the radeon driver.

Jerome Glisse closing the bug was unfortunate!

Revision history for this message
Brian Ealdwine (eode) wrote :

I agree, and it skews the bug report statistics. :-( But, all we can do is re-post it on freedesktop.org, and hope it gets attention (which has been done -- at least the posting part, and it had attention for a bit, and then activity ceased). It's a shame, because I thought when I started seeing activity on the first bug-post on freedesktop.org, it would finally be resolved after a year and a half of having the difficulty and waiting -- but then it got confused with another bug, and marked 'fixed' when it wasn't. Sometimes I'm tempted to just shout "Help, help!", but I know it's just more noise. ..if *anyone* knows who to mail that:
1) can move this bug along, and
2) whom it wouldn't be rude to email about this, and
3) preferably actually *wants* to see this fixed,
please let me know!

I don't know if the full gravity of the bug is realized. In it's current form, in Natty, it means:
* No hardware accelleration
* Thus no compositing
* No Unity
* This is a regression. The older driver (without KMS) worked. The new one (with KMS) does not.

I'm thinking of just downgrading to Lucid. ..but there are a lot of packages in Lucid that are outdated for my needs, so that's a lot of manual installation. :-/ I've also been keeping Natty on my system so I can help debug, but it seems no-one's debugging it. If someone is, do you mind just posting a quick update?

Revision history for this message
In , krmolot (krmolot) wrote :

It's a same problem?
https://bugs.archlinux.org/task/23215?string=x1250&project=1&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=
https://bugzilla.novell.com/show_bug.cgi?id=678264

p.s. My computer is crash whis screen cooruption when GDM is start when KMS is enable (kernel 2.6.37). Together with kernel 2.6.38 in gxgears i see black screen. When KMS is disable it's switch to the software 3d rendering. Tested distros: Ubuntu 11.04, Arch
notebook: eMachines D620, video: x1250

Revision history for this message
axel (simon-simonfoley) wrote :

Sorry I forgot to subscribe this bug.
I will look up 35457 and see if I can assist.

This is not good for the radeon driver guys as the RS690M is a common chip-set in a lot of netbooks ... the target audience of Unity in Ubuntu 11.4.

A lot of netbook users will be unable to use Unity next week on go live!

FYI I have just pulled the latest unstable branch of the radeon xorg driver and recompiled .... still no fix.

I wonder if Wayland would be a solution !

Revision history for this message
In , axel (simon-simonfoley) wrote :

Hi Guys,
       do not know if you are aware but this issue affects a lot of netbooks built by the same company Gateway,Acer,Packard Bell.

Its been plaguing me for over 2 years, like most people I disabled KMS to get it working in the interim or just did not use compiz.

Problem is now Ubuntu is launching 11.4 next week ....with as you are aware Unity. Unity and any desktop affects will no no longer work because of this bug,
as will all compix desktop effects!!

We are about to get a "lot" of bad Ubuntu user experience with Unity next week.

Is this going to be another argument for Wayland and justifies MS's controversial move?

Can I assist in any way ? Lets prove him wrong.

I have pulled in the latest main git repo and compiled the latest driver.

Its an holiday in the UK I can dedicate a few days of my time to this if it helps?

I can compile and add patches at your disposal.

Revision history for this message
Brian Ealdwine (eode) wrote :

Thank you! :-) IANAE, but I think Wayland uses the same driver.. ..but if Wayland works, I'll use it. :-)

Revision history for this message
Pablo Alonso (pablo-alonso) wrote :

Hi all, this workaround doesn't help me
[code]
sudo su
echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
exit
[/code]

I am a complete newbie so I cannot provide much data, i can tell my pc is a packard bell gateway zA8.
chipset rs690m and vga X1200.

I tried to install, Ubuntu 10.10 and 11.04 (New Natty).... no way of geting it working with the workaround here described. screen goes well untill ghraphics gets initialized and everything gets screwed up. ctrl + alt + F1 still works and I can access console right. (except some ocasions it completelly hangs).

help please ....

Thanks!

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

Static is gone on my radeon hd2400 with upgrade to natty

Revision history for this message
axel (simon-simonfoley) wrote :

Personally I apply the modeset=0 argment on bootup.
I do this by editing the /boot/grub/grub.conf file but that can be a bit risky if your a nubie and you may find it hard to correct any mistakes that stop your system booting.

However the fact that the radeon-kms.conf does not seem to be working for you makes me think that you are not using the radeon driver in X.org. You can check this by typing this command;

sudo grep LoadModule /var/log/Xorg.0.log.

If you do not see LoadModule "radeon" you could not be using the driver that setting applies to, explaining why you still see the corruption ... e.g. you could be using the radeonhd driver.

Revision history for this message
axel (simon-simonfoley) wrote :

sorry typo ..

sudo grep LoadModule /var/log/Xorg.0.log (no dot on the end)

Brian Ealdwine (eode)
description: updated
Bryce Harrington (bryce)
tags: added: natty
Revision history for this message
André Oliva (gandreoliva) wrote :

I can't use also 3d acceleration (but I have [almost] no screen corruption) on ati X1200, Dell Inspiron 1721. In fact, I filed Bug #755791 ; I didn't know about this bug report. At the moment, I see 2 bug reports in freedesktop.org . Is the problem already solved or not? If yes, when the solution can be tested?

Revision history for this message
Tim Blundell (freefallden) wrote :

Same behaviour on a Gateway LT3116h with custom bios which allows for 64bit OS to be installed. Under Xubuntu when loading flash video content or extending desktop to additional screen, all sorts of artifact occour. I posted bug#778860 which is dup of this. Back to winxp unfortunately :(

Revision history for this message
Brian Ealdwine (eode) wrote :

@Pablo: Yes, the workaround doesn't work for natty. Or, more correctly, it kindof works. It provides working 2d graphics (or for some, it seems, working, slow software rendering of 3d graphics). If 3d is not working, Unity (the new desktop environment) will not work. You can try installing the unity-2d package, which should run fine. You should not (or should only rarely) get corruption with that. You could also change your session (done at the login screen) to 'Ubuntu Classic'. For a graphical example of both of those, see:
http://www.liberiangeek.net/2011/04/install-unity-2d-in-ubuntu-11-04-natty-narwhal/

@Axel ohmygoodness you may have just given me an idea for a workaround for Natty users.

@Andre: I get weird behaviour on Natty, too, but it all goes back to the same things. I have the same log errors as you for this. As to the freedesktop.org bugs: There were actually multiple issues affecting graphics for the ATI rs690/x1200. One issue (handling of sideport ram, I believe) has been fixed. That was not the main issue for me, though it made some other peoples' problems go away.

@Tim I *might* have a workaround for you in about an hour..

@Anyone working on fixing the code for the bug:
The info here may be outdated, since Ubuntu has gone through an version change since the logs, etc were posted. Should logs etc. be re-posted? I know this is being worked on on the freedesktop.org site, but I don't know if there's cross-communication to where sharing logs here would be a good idea.

Revision history for this message
Brian Ealdwine (eode) wrote :

Well, no, the idea I had was totally not viable as a workaround. I was thinking of installing or creating a package of the older radeonhd drivers (which do work) for Natty, but but they have an older ABI and haven't been updated because they're being phased out. Looks like the version of X that is in Natty really is the nail in the driver we all know and love called radeonhd, which has gotten us through a year of difficulty with as-yet-incomplete radeon driver. :'-(

I'll later post a summary of the current state of knowledge regarding this bug.

Revision history for this message
In , André Oliva (gandreoliva) wrote :

I also have this problem. In my case, the corruption is not in the form of horizontal lines; simply the area inside any window that requires 3d graphics is black or frozen. I use Ubuntu 11.04. Compiz simply doesn't start, and the same behavior for programs like Stellarium or the visual module in Python (that I use very often). This behavior was **not present** a year ago in Ubuntu < 10.04. 2D acceleration works well (as a workaround, I can use `export LIBGL_ALWAYS_SOFTWARE=1`, but of course that is not a solution because graphics are extremelly slow).

The issue does not occur always. "Sometimes" I have an slow 3d acceleration (that I suspect it's really software rendering), and "sometimes" I have normal 3d acceleration (fast, smooth, as expected). I really don't understand when it works and when it doesn't work. If you give me instructions, I can help to clarify this. /var/log/Xorg.0.log has nothing strange.

Revision history for this message
André Oliva (gandreoliva) wrote :

If you are trying to disable KMS as a workaround (it worked for Maverick), in the Comment #4 of Bug #755791 , the user Bryce Harrington explained me that since in Natty the driver is not Radeon any more (it has been replaced by Gallium 3d drivers), that workaround will not work.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/755791/comments/4

Unfortunately the only options are: fixing the issue in this driver or using another driver (not a viable option since radeonhd and old radeon are deprecated).

Revision history for this message
Brian Ealdwine (eode) wrote :

Disabling KMS disables 3d support altogether. It's not a workaround in the sense of "This provides equivalent functionality", it's a workaround in the sense of "this provides a functional system." Disabling KMS actually ends up disabling the gallium driver altogether, and allows software rendering to take over. This could also be done with whatever option there is to disable the gallium driver, but I don't know that option, and can't find it right now, and don't have the time to search it out.

Revision history for this message
Brian Ealdwine (eode) wrote :

..although I do mean 'functional system' in the sense that it's functional, but limited. The default interface (Unity) won't work with software rendering, and therefore the "Ubuntu Classic" interface must be used. But this is by far not ideal, and a fix is definitely required.

Revision history for this message
Martín Ferrari (tincho) wrote : Re: [Bug 556782] Re: [rs690m] Graphics corruption with ati x1200

Not to mention that any software which dependant on OpenGL is completely
unusable.

Revision history for this message
André Oliva (gandreoliva) wrote : Re: [rs690m] Graphics corruption with ati x1200

Yes, but in Maverick, disabling the KMS really solved the problem (3d accleration working).

I use as a "workaround" the following: 1) I do use the KMS (even if that doesn't solve the problem, it allows me to use 3d acceleration when occasionally works). 2) I use unity-2d. 3) I activated Metacity compositing (that really helps to feel "like at home"). 4) If I have to use an application that needs 3d acceleration and at the moment it's not working (I check it with glxgears), I open a terminal and run: `export LIBGL_ALWAYS_SOFTWARE=1` and then I run the desired application, but of course, everything is very very slow (keeping the window the smallest possible helps). But at least I can work with Stellarium, and Visual-Python and even Blender (that uses OpenGL). Just Compiz totally fails because it checks if you've software rendering...

I post this because it may be helpful for other users that have the same problem...

Revision history for this message
Brian Ealdwine (eode) wrote :

De-duped bug #755791, as I duped it to this bug too hastily. I would hate it if *this* bug got duped to another inaccurately, and apologize for any inconvenience.

Though these two bugs (this one and #755791) have similar workarounds (the workarounds Andre posted above are indeed useful), and though they are with the same card, and have at points shared some symptoms, there is not enough shared to say they are the same bug, and there's enough different that it's likely they are not, particularly after re-checking logs between the two. Again, apologies for any inconvenience.

Brian Ealdwine (eode)
description: updated
Revision history for this message
André Oliva (gandreoliva) wrote :

No problem. Since the symptoms are similar, I hope that the solution of any of the two bugs will solve (or at least help) the other.

Revision history for this message
Bryce Harrington (bryce) wrote :
Download full text (3.6 KiB)

Hmm, looks like this bug has stalled.

First thing, for those looking for workarounds, you should be able to install the classic (non-gallium) driver and still use the disable-KMS workaround to get back to working 3D. If you haven't located the classic drivers, look in /usr/lib/dri-alternates. You can use the environment variable to set the path, ala:

 LIBGL_DRIVERS_PATH=/usr/lib/dri-alternates glxgears-info

If that works, you can set that option globally. You guys may need to experiment a bit to get an optimal workaround.

"""Sometimes I'm tempted to just shout "Help, help!", but I know it's just more noise. ..if *anyone* knows who to mail that:
1) can move this bug along, and
2) whom it wouldn't be rude to email about this, and
3) preferably actually *wants* to see this fixed,
please let me know!
"""

Here is a course of action I'd suggest. I agree it's unfortunate the upstream bug report got closed without actually being fixed. Part of the trouble is I think this bug report is a bit creakily old and has conglomerated a few different issues which perhaps makes the issue unclear to the developers. So, I would first suggest breaking out a separate bug report from this one, and keep it discrete to a specific, reproducible problem; be very clear in your description, include a reference to this bug report, and identify specific error messages, screenshots, and so on that clearly define the problem. Here's a good way to start filing it:

 $ ubuntu-bug mesa

(In the dialog that pops up, pick the "yes, I was directed here" option.)

Next, it looks to me like upstream wants this tested against current git versions of things; they don't put much priority on issues reported against released versions in distros typically. Fortunately we provide packaged versions of all the upstream stuff you need to test. Here's the links you need:

  * xorg-edgers: https://launchpad.net/~xorg-edgers/+archive/ppa - this will give git versions of mesa, -ati, etc.

  * http://kernel.ubuntu.com/~kernel-ppa/mainline/ - includes drm-next and .39 backports to natty

For this bug I doubt you need to install and test a newer kernel, I think the newer mesa is the more important thing to test. However, many of these kinds of bugs do depend on stuff in the kernel, so if the new mesa doesn't resolve the issue it would be wise to also test either the drm-next kernel or a .39 kernel (like v2.6.39-rc4-natty). For mesa, make sure to only use natty builds. For the kernel, either the oneiric or natty kernels should work on natty, but the natty builds are more likely to work properly. You may need to experiment a bit. Take good notes.

In the case that you *do* find that the newer git builds work properly, upstream will consider the issue solved, so no use bothering them further. However, if you think the issue still should be fixed in natty, there's some additional testing work to do. You can use a git bisection procedure to narrow in on what patch fixed it. See https://wiki.ubuntu.com/Kernel/KernelBisection or https://wiki.ubuntu.com/X/BisectingMesa or https://wiki.ubuntu.com/X/Bisecting as appropriate.

In the case that you *don't* find any success from the newer ...

Read more...

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

Oh, also, once you do file a new bug report, please close this one out - click the downward triangle next to Linux and set the status to Invalid. Include a comment to point people to the fresh new bug report.

Revision history for this message
Brian Ealdwine (eode) wrote :

Thank you for your expert advice. As soon as I have the availability to follow it, I will. That you took the time to explain the process a little bit better is truly helpful.

Revision history for this message
Meter (meter) wrote :

FWIW, I'm still using Maverick, and the only way I have been able to get decent video playback and (almost?) no static was to blacklist radeon in /etc/modprobe.d/blacklist.conf. I imagine the following would also work:

# sudo echo "blacklist radeon" > /etc/modprobe.d/radeon-kludge.conf

This carries with it penalties, but at least I can watch non-fullscreen Flash video at something better than 2 fps.

Revision history for this message
In , André Oliva (gandreoliva) wrote :

The bug that I reported in Launchpad was incorrectly marked as a duplicate of this bug. I filed bug 37679 here in Freedesktop about this issue.

Revision history for this message
André Oliva (gandreoliva) wrote :

For Bug #755791, in freedesktop.org (bug report 37679 of freedesktop.org), we found a workaround: running `vblank_mode=0 glxgears` gives correct output of glxgears. At the moment, compiz still doesn't work. Try this workaround in an Ubuntu Classic (or Unity 2d) session, with KMS enabled (since disabling it also disables 3d rendering), that is, a session with 3d acceleration enabled.

Does it work also in your case?

Revision history for this message
Brian Ealdwine (eode) wrote :

It seems to decrease the corruption initally, but doesn't fix the issue. My system was workable for about five minutes or so before corruption became a major issue (but I think it depends more on patterns of usage, though -- if I open more apps, corruption shows up more quickly). Also, running just glxgears, it takes a while (and some dragging of glxgears around the screen) to start in with the corruption.

Revision history for this message
axel (simon-simonfoley) wrote :

Apologies I have been too busy at work to test again until now
setting vblank_mode=0 with kms enabled seems to just delay the typical screen corruption that I can usually trigger in about 1min of draggng the glxgears window around the screen.

with vblank_mode=0 it now takes ~5-10min before I can recreate the screen corruption.

Incidentally I just tested with a Mobile X1300 and it does not have the issue... so it seems specific to the X1200 RS690 !!

I did not realise that Ubuntu had shifted to the Gallium Driver... it explains why it suddenly broke in 11.04 ... Thx Andre :-)

Gives me more things test.

Revision history for this message
André Oliva (gandreoliva) wrote :

Ok, now you have another thing to add to the bug report in freedestop.org...

Revision history for this message
In , Brian Ealdwine (eode) wrote :

From Launchpad:

Setting VBLANK_MODE=0 seems to delay the appearance of corruption. Example:

Starting a regular, non-accelerated gnome-session, and then running:
VBLANK_MODE=0 glxgears

..it takes a while (and some dragging of glxgears around the screen) before the corruption appears, whereas normally it would appear rather quickly.

As noted before, the corruption isn't limited to the accelerated areas, and can happen when running a non-composited desktop under normal usage. Running openGL programs or compositing makes it appear very readily, though.

I believe it was mentioned in the Launchpad bug, but not here -- Once corruption begins, changes in an X-Session can affect other virtual consoles (e.g., once corruption begins, start a slow-loading program, switch to a virtual console, and as the program maps its graphical components, the console graphics get corrupted).

Hope this helps..

Bryce Harrington (bryce)
tags: removed: xorg-needs-kernel-fix
tags: added: kernel-handoff-graphics
Revision history for this message
the-penguin (jasonsw) wrote :

I have applied the workaround but certain things will still set off the corruption, such as visiting a website with java/flash or maximizing libreoffice or glxgears.

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

I see the same corruption on a Gateway LT31 with the x1200. The nomodeset workaround does address the corruption though the user is without desktop effects.

Regarding #76, what is the best way to set this for a user's entire desktop session?

Revision history for this message
Steve Taylor (oystervalet) wrote :

Hi all,

I am a completely new Linux user. I moved from a totally broken Win XP environment to Ubuntu 11.04 a couple of weeks ago, expecting a streamlined, fast and functional system, with Unity 3D as a fancy GUI. But from the outset I have had diabolical issues with screen rendering corruption with the default Unity 3D setup and any apps in Unity 2D or even in Classic (no effects) which presumably use OpenGL which I wanted to use, e.g. Scilab (plotting), Oolite “Elite-like” game. The rendering corruption started right from the first: even the “try out” Ubuntu mode running from my USB drive during setup was afflicted! “Installing the whole Natty Ubuntu OS properly from disk will fix the problem,” I thought at first. I was wrong!

Hardware:
- Dell Dimension 5150 tower PC, 1GB physical RAM
- Dual-core Intel Pentium 4 @ 3GHz
- According to Ubuntu lspci -nn I have: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)] [1002:5b60]
01:00.1 Display controller [0380]: ATI Technologies Inc RV370 [Radeon X300SE] [1002:5b70]
-Two monitors: 17” Dell LCD Model E176FPc driven by the 15-pin D-type video output; and an old Apple 19” monitor connected to the DVI output of this video card. Nothing connected to the S-Video socket.
- Have used the monitors “control panel” in Ubuntu to configure an extended desktop across these two monitors, with the Dell as primary to the left, and the Apple to the right.

Have uploaded some screenshots of the rendering issues in Unity3D (a complete wipeout, totally unusable) and within Unity2D and Classic (no effects). They remind me so much of a buffer overrun somewhere...

I have no additional proprietary drivers installed, e.g. ATI/Radeon. I am loathe to install any because, having surfed widely to try and find a sure-fire resolution to this issue, I have seen so many cases where advised changes have messed up the user's system in their particular case that I have stopped short of making changes: I am too naïve a Linux user to start messing about with it to that level.

Is this thread still running? In the spirit of offering up more evidence for the nature and scope of the rendering corruption issues out here in the community, would it be helpful if I described my symptoms in more detail...? I can describe various reproducible (on my system) instances if needed...

Revision history for this message
Steve Taylor (oystervalet) wrote :

Here's an example of how (presumably) OpenGL content gets stuffed even with correctly-rendered Ubuntu Classic (no effects) window surroundings... Just to confirm, this is ATI x300 (sorry if this is the wrong place for the report).

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [Bug 556782] Re: [rs690m] Graphics corruption with ati x1200

I don't know if this works for you, but:

Ubuntu has two types of release -- one of them is "LTS", or "Long-term
support." I'm running Ubuntu 10.04 Lucid Lynx, because I can have nifty
desktop effects and accelerated graphics, which I find both pretty and
extremely useful. To do so, you would need to:

1) Install Lucid Lynx
2) Once you're at the login screen, log into a 'failsafe gnome' session
   (down at the bottom of the login screen, after you click your
   username, there's a 'session' option. Change it to 'failsafe gnome'
3) run the following command:
gksudo gedit /etc/modprobe.d/radeon-kms-workaround.conf
4) type the following line:
options radeon modeset=0
5) Save, and reboot.

What it does:
forces usage of an older driver
What it provides an x1200 user:
Accelerated desktop with compiz
What it provides an x300 user:
no idea, but it should be better than the default.

I simply haven't had the time to push this issue through to xorg and get
it changed in the new driver -- I've just been too busy. But there was
a nice writeup earlier about what needs to be done, if anyone can take
up that challenge.

-Brian

Revision history for this message
Oliver Joos (oliver-joos) wrote : Re: [rs690m] Graphics corruption with ati x1200

I use Ubuntu since 2005 and recently also see rendering problems with my ATI X600 and others like X1200. But I never saw problems like your screenshots. I recommend you to create a new Ubuntu bug report (by executing "ubuntu-bug" in a terminal) or directly upstream on https://bugs.freedesktop.org where the graphics system is hosted.

Meanwhile you could try to:
- boot with the kernel option "nomodeset" (press F6 on boot menu screen)
- login with "Ubuntu classic (without effects)", or uninstall Compiz effects completely by executing "sudo apt-get remove compiz-core" in a terminal
- downgrade to the latest Long Term Support release "Ubuntu 10.04 LTS"

Revision history for this message
Steve Taylor (oystervalet) wrote :

OK, eode and oliver-joos, I'll give your suggestions a shot. Many thanks for your rapid response!

Revision history for this message
Steve Taylor (oystervalet) wrote :

UPDATE: The mods suggested above sadly did not help with Natty. I've done a total, clean install of 10.04 LTS UbuntuStudio (as I wanted the low-latency kernel for music apps).

With UbuntuStudio 10.04:
* Video so far works now without a hitch, straight out of the box with my ATI RV370 [Radeon X300] PCI card! *
What I think is OpenGL content now works just as well as anything, and I haven't seen any rendering issues yet. Overall, video seems much more solid and stable. No further command-line mods or workarounds needed at this point in time.

Not only that, but with the addition of just the Medibuntu package and alsa-firmware on top, I can even drive my EMU (Creative Labs) 0404 PCI soundcard for audio and MIDI as well!

Next step: create the new bug report re: apocalyptic Natty rendering, as per Oliver's suggestion #89.

Thanks again Brian and Oliver for your excellent advice!

Revision history for this message
Rob Peters (makitso) wrote :

I have been doing testing of 11.10 Ubuntu beta 2 on a Gateway Netbook LT31 with the ATI Radeon X1270 (RS690M) graphics card. The system is unusable due to video corruption. As a side note, this problem was fixed in earlier releases of Ubuntu but its back now and results in a totally unusable system.

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [Bug 556782] Re: [rs690m] Graphics corruption with ati x1200

*nod* See the above comments on starting a new bug and pushing this
issue through to xorg. I'm not able to right now -- I just dont' have
the time -- I've defaulted to using Lucid, with the radeon-kms.conf fix.

The issue is that there's an entirely new driver framework, and it
doesn't work for these cards (all the people here and more -- it's a
common card in low-end laptops). This means that wayland doesn't work
for us, either. I'm hoping I or someone else will have the time to push
this all the way up to xorg, and get resolution there before the next
LTS release.

There's a message above on the necessary process in the fairly-recent
history.

Revision history for this message
Oliver Joos (oliver-joos) wrote : Re: [rs690m] Graphics corruption with ati x1200

@Brian: you already pushed this bug upstream, didn't you? See https://bugs.freedesktop.org/show_bug.cgi?id=35457

Revision history for this message
Anthony Godshall (agodshall) wrote :

I have a Gateway LT3103u.

I've finally found a way to reproduce the corruption I experience reliably- I point Firefox 7 at http://google.com/nexus . Not sure what it is on that site that triggers it, but

I've had corruption on Natty 64 bit and Maverick 64 bit too and am currently running lucid 31 bit:

tony@blackgat32:~$ uname -a
Linux blackgat32 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 i686 GNU/Linux
tony@blackgat32:~$ cat /etc/issue
Ubuntu 10.04.3 LTS \n \l

Revision history for this message
Anthony Godshall (agodshall) wrote :

Sorry about the truncated above. I just testted this site, and get the same result as wess (as above)

Not sure what it is on that site that triggers it, but

Revision history for this message
Anthony Godshall (agodshall) wrote :

SOLVED

Hi again. Sorry about the last two comments. I was in a carpool on CA-17 when I wrote them. I think. Anyway, I tried many of the above on my LT3103u and the only one that worked for me was passing nomodeset (not any of the modeset=0 variants) on the kernel commandline (first tested interactively by catching grub in the act of booting, and then by putting it in the /boot/grub/grub.cfg via /etc/default/grub and update-grub).

For completeness, and to help out others who come across this via web search, here's the chip in question:

$ lspci|grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]

And I am in fact running 32 bit Lucid on this 64 bit machine, not 31 bit ;-)

Now that this issue is solved, I'm ready to bump the distro back up a notch (I'd downgraded to try to get this resolved)

Oh, and for the record, it made no difference on this machine whether I was an upgraded user or a newly created user.

Tony

Revision history for this message
Brendan John Cotton (bjohncotton) wrote :

@ agodshall

You posted - "I tried many of the above on my LT3103u and the only one that worked for me was passing nomodeset (not any of the modeset=0 variants) on the kernel commandline (first tested interactively by catching grub in the act of booting, and then by putting it in the /boot/grub/grub.cfg via /etc/default/grub and update-grub)."

I'm very new to Ubuntu/Linux OS environment, so please, if you don't mind, walk me through your suggestion. How do i get to the kernel commandline?

For your info, i'm using Gateway LT3105g & i experience the same graphical corruption others have mentioned in this thread.

Thanks.

Brendan.

Revision history for this message
Brendan John Cotton (bjohncotton) wrote :

Sorry, i forgot to add that i'm running Ubuntu 11.10. I've tried 11.04, 10.10 & even 10.04 but the same thing happened - graphical corruption, even when booting from Live CD. I've checked the ISO's & they're all good. I've used them to install Ubuntu in Intel-based laptops & experienced no problem at all. It's just sad that i can't install Ubuntu on my own system.

Processor 1.2GHz AMD Athlon 64 L110
Memory 2GB, 667MHz DDR2
Hard drive 250GB 5,400rpm
Chipset AMD RS690E
Graphics ATI Radeon X1270

Revision history for this message
Roderick Spiller (rodspi) wrote :

The bug is not a driver issue but a hardware issue. The OEMs of x1200 series locked down the bios to the integrated graphic card. To fix this issue you need to flash a custom bios to your netbook/laptop and and change the bios settings. I did this two weeks ago. my lt3103u with the x1270 chip is running great. No need to turn off KMS and it works with the gallium driver with are the standard on the newer releases of ubuntu. I posted instructions to ubuntu forum. Here is the link:

http://ubuntuforums.org/showthread.php?p=11682072#post11682072

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [Bug 556782] Re: [rs690m] Graphics corruption with ati x1200

Ooh, this means this is *VERY* likely a sideport ram issue, and should
narrow down the bugfixing process significantly.

> http://ubuntuforums.org/showthread.php?p=11682072#post11682072

Revision history for this message
Marco (sh4rk89) wrote :
Download full text (3.4 KiB)

Thanks. 100% working on packard bell dot ma. It also fixed various windows
problems.

Il giorno 19 febbraio 2012 01:25, Brian Visel
<email address hidden>ha scritto:

> Ooh, this means this is *VERY* likely a sideport ram issue, and should
> narrow down the bugfixing process significantly.
>
> > http://ubuntuforums.org/showthread.php?p=11682072#post11682072
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (569709).
> https://bugs.launchpad.net/bugs/556782
>
> Title:
> [rs690m] Graphics corruption with ati x1200
>
> Status in The Linux Kernel:
> Confirmed
> Status in X.org XServer - ATI gfx chipset driver:
> Fix Released
> Status in “linux” package in Ubuntu:
> Triaged
>
> Bug description:
> [Edit]
> This bug has been around for a bit over a year now, and has gotten rather
> long, so this is a brief summary.
> There is a memory corruption issue that affects users of the rs690m, to
> varying degrees.
> For many most people, it makes the desktop unusable.
>
> Workaround: *Note: This is a workaround, not a fix. It will give you a
> usable system.
> [Natty]: Regression: This workaround now only provides 2d/software
> rendering, and one must either:
> * Choose choose the "Ubuntu Classic" session from the GDM Login screen
> or
> * Install the "unity-2d" package.
>
> [code]
> sudo su
> echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
> exit
> [/code]
> Note that this doesn't totally fix the issue, but brings your desktop to
> a workable state.
>
> Freedesktop.org has dealt with one bug having to do with graphics
> corruption on the rs690m. That bug has been fixed, but the issue of
> graphics corruption in general has not been resolved. A new bug has been
> opened with freedesktop.org to continue pushing through the resolution of
> this issue.
> [/edit]
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: xorg 1:7.5+3ubuntu1
> ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
> Uname: Linux 2.6.32-19-generic i686
> Architecture: i386
> Date: Tue Apr 6 12:58:29 2010
> DkmsStatus: Error: [Errno 2] No such file or directory
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Gateway LT31
> ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-19-generic
> root=UUID=617a7a50-d35f-4b03-8bf1-f91ec024381b ro quiet splash
> ProcEnviron:
> LANG=en_US.utf8
> SHELL=/bin/bash
> SourcePackage: xorg
> dmi.bios.date: 06/18/2009
> dmi.bios.vendor: Phoenix Technologies LTD
> dmi.bios.version: v1.3201
> dmi.board.name: SJM11-YK
> dmi.board.vendor: Gateway
> dmi.board.version: Not Applicable
> dmi.chassis.type: 10
> dmi.chassis.vendor: Gateway
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnPhoenixTechnologiesLTD:bvrv1.3201:bd06/18/2009:svnGateway:pnLT31:pvrNotApplicable:rvnGateway:rnSJM11-YK:rvrNotApplicable:cvnGateway:ct10:cvrN/A:
> dmi.product.name: LT31
> dmi.product.version: Not Applicable
> dmi.sys.vendor: Gateway
> system:
> distro: Ubuntu
> codename: lucid
> architecture: i686
> kernel: 2.6.32-19-generic
>
> [lspci]
> 01:05...

Read more...

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

I am a long-time sufferer of this problem.
I have the Gateway LT3103u, which is

I have not yet applied Alex's patch, but I recently tried playing with the gartsize and vramlimit options.
gartsize seems to have no effect.
However, setting the vramlimit to 64 seems (2 reboots later) to clear up the corruption.
vramlimit of 128, 256, and 0 (0 is ignored) each result in corruption

The card normally reports 384 MB of vram and 512 MB of gtt memory.

Is it possible this computer is misreporting the amount of sideport ram? I read someplace that th x1270 can only have up to 128, but that there is some "Hypermemory" mumbo jumbo going on that adds some of your system ram to the mix.

Unfortunately, the Gateway LT3103u has a terrible bios config. you can't change anything, and you can't see much of anything either.

So, for the record: adding "radeon.vramlimit=64" to the kernel parameters in grub seems to alleviate the problem.

I'm running gentoo amd64, kernel 3.2.6-gentoo and git mesa

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

Experienced my first bit of corruption since adding "radeon.vramlimt=64" to my kernel params.
When switching from tuxracer back to the native desktop mode 1366x768, the pointer was corrupted.

One of the striking characteristics of this problem has always been that the pointer and character glyphs would always get clobbered. Only the pointer was affected this time

Happily the first time a popup happened that covered the cursor for a moment it was restored.

Other than that my experience has been great with the vramlimit in place.

One more observation:
It does not look to me like the problem is an byte alignment issue. When vramlimit is disabled, I can trigger the issue very quickly by going to a google image search page in firefox and scrolling down through the images.
I can see what looks to me like linear versions of the images filling up the display from top to bottom. If I correctly guess where firefox tabs are the tabs will usually repaint that part of the window correctly, though there is competition between (I'm guessing) the image cache and the screen, with one overwriting the other, until you restart the X session. I would speculate that either the size or location of the shared "hypermemory" vram is being miscalculated, or that some of that 384 the bios reports as vram should be treated as gtt memory.

BTW, I am a C programmer... If I knew where to start, I'd love to work on this problem from a code angle. I've looked at the code somewhat, but even in the code specific to my driver there is a lot of code in different places.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

(In reply to comment #18)
> I have not yet applied Alex's patch, [...]

Have you been able to test it in the meantime? It doesn't seem very likely it'll help, but...

> However, setting the vramlimit to 64 seems (2 reboots later) to clear up the
> corruption.
> vramlimit of 128, 256, and 0 (0 is ignored) each result in corruption

Can others affected by the problem confirm this?

Can you attach the dmesg output from with and without the working vramlimit?

(In reply to comment #19)
> When switching from tuxracer back to the native desktop mode 1366x768, the
> pointer was corrupted.
[...]
> Happily the first time a popup happened that covered the cursor for a moment
> it was restored.

Sounds like that was just intermittent corruption of the hardware cursor memory buffer then, e.g. due to a 3D driver bug causing it to be accidentally overridden. Probably not the same problem this report is about.

> BTW, I am a C programmer... If I knew where to start, I'd love to work on this
> problem from a code angle. I've looked at the code somewhat, but even in the
> code specific to my driver there is a lot of code in different places.

See e.g. rs690_mc_init() in drivers/gpu/drm/radeon/rs690.c .

Revision history for this message
In , agd5f (agd5f) wrote :

Might also be related to bug 37679 (interrupt problems). Can you try a similar patch to the ones on that bug?

Revision history for this message
In , Brian Ealdwine (eode) wrote : Re: [Bug 556782]

> > However, setting the vramlimit to 64 seems (2 reboots later) to
> > clear up the corruption.
> > vramlimit of 128, 256, and 0 (0 is ignored) each result in corruption
>
> Can others affected by the problem confirm this?

changing the vramlimit improved things somewhat for me, but my system
still became unusable after about five minutes. ..using stock Ubuntu
kernel.

Note that disabling the sideport ram in the kernel seems to be what
works best for people -- those are the only reports which I've seen that
haven't come back later and said "oops, no, I was wrong, it's still
broken." ..however, installing a hacked BIOS which allows you to
disable the sideport ram isn't exactly a fix, and since this is my only
computer currently, and my source of income, I can't exactly risk that.

Revision history for this message
In , Cboulte (cboulte) wrote :

I have a packard bell dot m/a (radeon x1270) and have the issue described in this bug. My setup:
 * kernel 3.2
 * libdrm 2.4.30
 * mesa 7.11.2

I replaced the bios with a modded one that allow tweaking of video ram type. I tried two settings: uma only and uma+sideport.

 * UMA (256M)
   * No graphic corruption
   * No laggy window movement
   * glxgear fps ~= 360

 * UMA+sideport (256M+64M)
   * Massive graphic corruption
   * Laggy window movement
   * glxgears fps ~= 200

A diff between dmesg output:
$ diff dmesg.uma dmesg.uma+sideport
9c9
< [drm] Detected VRAM RAM=256M, BAR=256M
---
> [drm] Detected VRAM RAM=384M, BAR=256M
11c11
< [drm] radeon: 256M of VRAM memory ready
---
> [drm] radeon: 384M of VRAM memory ready
15c15
< [drm] PCIE GART of 512M enabled (table at 0x000000006C180000).
---
> [drm] PCIE GART of 512M enabled (table at 0x000000006B800000).
31a32
> [drm] radeon: power management initialized

Hope it can help. I can make more test if needed.

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

(In reply to comment #20)
> (In reply to comment #18)
> > I have not yet applied Alex's patch, [...]
>
> Have you been able to test it in the meantime? It doesn't seem very likely
> it'll help, but...
>
I did finallly try the gart alignment patch (required a minor tweak, gart.table.ram.ptr changed to gart.ptr)
No change and no line in dmesg.

> > BTW, I am a C programmer... If I knew where to start, I'd love to work on this
> > problem from a code angle. I've looked at the code somewhat, but even in the
> > code specific to my driver there is a lot of code in different places.
>
> See e.g. rs690_mc_init() in drivers/gpu/drm/radeon/rs690.c .

Thanks! I am poking around in drm/radeon. I wonder if it is possible to step through loading radeon.ko in gdb... There is no serial port on this puppy

(In reply to comment #21)
> Might also be related to bug 37679 (interrupt problems). Can you try a similar
> patch to the ones on that bug?

The quirks in bug 37679 seem to just force msi.
Thesymtos do not seem to apply. interrup count steadily rises with glxgears. I also booted with radeon.msi=1 (which has the same effect). No difference other than being assigned a different irq
(In reply to comment #22)
> I have a packard bell dot m/a (radeon x1270) and have the issue described in
> this bug. My setup:
> * kernel 3.2
> * libdrm 2.4.30
> * mesa 7.11.2
>
> I replaced the bios with a modded one that allow tweaking of video ram type. I
> tried two settings: uma only and uma+sideport.
>
> * UMA (256M)
> * No graphic corruption
> * No laggy window movement
> * glxgear fps ~= 360
>
> * UMA+sideport (256M+64M)
> * Massive graphic corruption
> * Laggy window movement
> * glxgears fps ~= 200
>
> A diff between dmesg output:
> $ diff dmesg.uma dmesg.uma+sideport
> 9c9
> < [drm] Detected VRAM RAM=256M, BAR=256M
> ---
> > [drm] Detected VRAM RAM=384M, BAR=256M
> 11c11
> < [drm] radeon: 256M of VRAM memory ready
> ---
> > [drm] radeon: 384M of VRAM memory ready
> 15c15
> < [drm] PCIE GART of 512M enabled (table at 0x000000006C180000).
> ---
> > [drm] PCIE GART of 512M enabled (table at 0x000000006B800000).
> 31a32
> > [drm] radeon: power management initialized
>
> Hope it can help. I can make more test if needed.

That 384 number seems like the most likely suspect.
I see indications several places that theres only 64M of sideport VRAM, but 384 == 128 + 256

I'm not sure where that specific piece of data (the 128M of internal vram) is coming from, or whether it can be "fixed" by poking 64 * 1024 * 1024 into some register...
I tried arbitrarily setting rdev->mc.real_vram_size to 320M as soon as it was set, but that had no effect

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Just another user reporting the same bug. Experienced with both Debian (Unstable) and Knoppix on a Gateway LT3119u netbook.

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [rs690m] Graphics corruption with ati x1200

I know it's not much, but I'm placing a $50 bounty on this if someone takes control of this bug and gets it fixed in Pangolin. I'll pay via PayPal.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Created attachment 59703
Another screenshot showing corruption

I'm uploading two more screenshots taken from my Gateway LT3119u netbook, running Debian Unstable. I've also duplicated the phenomenon on Knoppix. I hope this additional information will both prove useful and prod the team to fix this long-ago-reported bug.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Created attachment 59704
Second attachment showing corruption.

Revision history for this message
In , agd5f (agd5f) wrote :

Do either of these help?

(as root):

radeonreg regset 0x6564 0xffffffff
radeonreg regset 0x6568 0xffffffff
radeonreg regset 0x656c 0xffffffff
radeonreg regset 0x6570 0xffffffff

or:

radeonreg regset 0x6acc 0x00000000

You can grab radeonreg here:
http://cgit.freedesktop.org/~airlied/radeontool/

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

archaeopteryx radeontool # ./radeonreg regset 0x6564 0xffffffff
OLD: 0x6564 (6564) 0x7fff7fff (2147450879)
NEW: 0x6564 (6564) 0x7fff7fff (2147450879)
archaeopteryx radeontool # ./radeonreg regset 0x6568 0xffffffff
OLD: 0x6568 (6568) 0x7fff7fff (2147450879)
NEW: 0x6568 (6568) 0x7fff7fff (2147450879)
archaeopteryx radeontool # ./radeonreg regset 0x656c 0xffffffff
OLD: 0x656c (656c) 0x7fff7fff (2147450879)
NEW: 0x656c (656c) 0x7fff7fff (2147450879)
archaeopteryx radeontool # ./radeonreg regset 0x6570 0xffffffff
OLD: 0x6570 (6570) 0x7fff7fff (2147450879)
NEW: 0x6570 (6570) 0x7fff7fff (2147450879)
archaeopteryx radeontool # ./radeonreg regset 0x6acc 0x00000000
OLD: 0x6acc (6acc) 0x00000000 (0)
NEW: 0x6acc (6acc) 0x00000000 (0)
archaeopteryx radeontool #

It did not prevent the corruption. I don't know if the 0x7ff7fff resultant value is significant.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Your radeontool package is different from the radeontool package that comes with Debian-name collision?

After running autoconf.sh and then make ... there is still no radeonreg program, making it impossible to test your suggested commands.

Revision history for this message
In , agd5f (agd5f) wrote :

you can use avivotool as well. same syntax.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Thanks to Alex's tip on avivotool, I was able to try the suggested settings. According to the output, those were already the values stored in the registers and the commands had no effect.

FWIW, I discovered that I can reliably cause the corruption to happen in seconds by loading the game "Secret Maryo Chronicles" (smc).

Brian Ealdwine (eode)
tags: added: oneiric precise quantal
Revision history for this message
In , Brian Ealdwine (eode) wrote :

I've installed (and since deinstalled) the modified bios, but it enabled me to do some testing. The system was unstable, and would freeze hard every 3-5 minutes or so when in either sideport-only or uma-only modes. However:
Graphics *seem* to work fine (either way, work much better) with things set either to Sideport only or UMA-only. Using sideport+uma caused massive corruption, as 'normal'.

Interestingly, although the BIOS states that there are 64mb of sideport ram, the system thinks I have 128mb when sideport-only is set in the bios.

This seems to correlate with d4ddio's observation:
> I see indications several places that theres only 64M of sideport VRAM, but 384 == 128 + 256

Revision history for this message
In , axel (simon-simonfoley) wrote :

Hi Brian,
       I have been a bit quiet on this bug because of work commitments. I too flashed my Packard Bell dot ma with the Gateway v1.3302 BIOS (Although I have lost VT support which is a pain)

I initially achieved graphics stability by changing the UMA+Sideport to just UMA in the Advanced Northbridge Options.

In Sideport only Mode it indicates that there is only 64MB of video memory and when I try to boot with sideport only the laptop hangs on boot.

Have you tried the following?

Internal Video Mode: UMA+Sideport
Video Memory: Auto
Dual Mode Interleaving: Enabled
Dual Mode Non-Interleaving SP Size: 0MB
Dual Mode Interleav Ratio: 1:7

In theory this should allocate 512 MB of video ram (UMA=448 + 64 Sideport)
Ratio of 1x64 Sideport to 7x64 UMA.
If you look up the specs of the RS690 this is its theoretical MAX addressable memory and so they back each other up.

http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units

As such it suggest that the main BIOS Page is incorrect in reporting 384 MB
video RAM (256MB Max UMA + 128MB Sideport) as Sideport is probably only 64MB as reported accurately by the "Advance NB Options Page". Also note if Main page of the BIOS is correct why when you set the UMA Memory manually to e.g. 32MB does the value reported in that page not drop ?

It all looks to me like sideport is only 64MB.

Since I have been running the settings above I cannot recreate the problem
with UMA+Sideport and Graphics performance has massively improved. I can now play iPlayer full screen with the standard un-accelerated ati driver.

>> I would like somebody else to test these settings because I suspect that
I may not be seeing the corruption because Unity has defaulted to 2d mode regardless of what I choose on the login screen.

For those that want the background as to what these BIOS options mean see the link below;
http://www.tomshardware.co.uk/forum/322592-15-difference-sideport-mode

I will also attach some BIOS Developers guides for the chipsets for reference

Revision history for this message
In , axel (simon-simonfoley) wrote :

Created attachment 60735
RS690 BIOS Developers Requster guide

RS690 BIOS Developers Register guide

Revision history for this message
In , axel (simon-simonfoley) wrote :

Created attachment 60736
RS780G BIOS Developers Guide

RS780G BIOS Developers Guide
Not the same as the RS690 but this doc seems to have many similarities with gateway bios and provide some interesting insights to the chip-sets capabilities.

Revision history for this message
In , axel (simon-simonfoley) wrote :

by the way I should also point out .... that despite me setting the values above ....the 2048 MB System Memory and theoretical 512MB Video Memory allocation..... I only see the total system memory drop by 256K not 512MB.

So perhaps with this BIOS you can not allocate more that 256K

Revision history for this message
In , mattocompleto (mattocompleto) wrote :

I confirm also to have similar problems on my laptop.It's a Samsung P200 with an ATI X1250, the chipset should be the R600 chipset with installed Ubuntu 12.04 LTS.

In Unity I can see weird lines below the bar
[IMG]http://i46.tinypic.com/2ur55yp.png[/IMG]
[IMG]http://i49.tinypic.com/10hr30y.png[/IMG]

and also I can see font corruptions on the bars of gnome-shell.
[IMG]http://img827.imageshack.us/img827/8899/gnome3.jpg[/IMG]

$ lspci -nn | grep VGA
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Radeon Xpress 1250 [1002:7942]

see this on ubuntuforums
http://ubuntuforums.org/showthread.php?t=1967462&highlight=x1250

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Since this bug was reported over a year ago and no real progress has been made in fixing it, may I ask a knowledgeable person what the last working version of the code was, before this bug was introduced? Is there any way to create a "radeon-unsupported" module for those of us who have chipsets X.org doesn't plan to support with their newer versions?

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

(In reply to comment #38)
> Since this bug was reported over a year ago and no real progress has been made
> in fixing it, may I ask a knowledgeable person what the last working version of
> the code was, before this bug was introduced? Is there any way to create a
> "radeon-unsupported" module for those of us who have chipsets X.org doesn't
> plan to support with their newer versions?

The simple answer is that (afaik) this particular hardware set of hardware has had trouble since kernel mode-setting was introduce. There is not going to be a git bisect-able place where the problem started happening.

...

I do have a question for devs... I have been all over the initialization code and I cannot find a place where the sideport RAM is treated as distinct from the UMA "vram". Is this stuff set up by the atombios? Is there a way to see what hardware addresses ranges are assigned? Is there a way to fix the GART (table) if the bios is setting up overlapping or otherwise broken addresses for GTT, UMA and sideport vram?

Revision history for this message
In , Brian Ealdwine (eode) wrote :

There has never been a working version of the radeon driver -- last
working version
was radeonhd, which is a different driver.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

Sorry, comment #40 was in response to comment #38 -- I did not see that d4dd10 had responded (accurately and in more specific detail) already.

Note -- I'm out of the running on this for now, I've bricked my laptop with a modified bios, and it'll probably take a bit of work to undo.

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #39)
>
> I do have a question for devs... I have been all over the initialization code
> and I cannot find a place where the sideport RAM is treated as distinct from
> the UMA "vram". Is this stuff set up by the atombios? Is there a way to see
> what hardware addresses ranges are assigned? Is there a way to fix the GART
> (table) if the bios is setting up overlapping or otherwise broken addresses for
> GTT, UMA and sideport vram?

It's not treated separately from UMA from the driver's perspective (or the HW for that matter). The hw as an FB aperture that points to stolen system memory (for UMA only) or some combination of sideport and stolen system memory for (sideport+UMA or sideport only). The bios normally sets up the sideport and UMA as interleaved if both are enabled for maximum performance. GART is a separate aperture and has nothing to do with sideport or the stolen system memory block.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

So this bug looks as if it will not be fixed. Who should I bribe^Wdonate money to in order to revive radeonhd?

Revision history for this message
In , Brian Ealdwine (eode) wrote :

It's disappointing, but I think there are just too many bugs and not
enough coders to fix them, and they've got to prioritize. -- on top of
that, there's not a *really* good method out there of evaluating the
impact of a problem. This is obviously a high-impact problem,
considering how common the card is, but it's slipped between the cracks.

As to your idea -- I think that radeonhd drivers are incompatible with
the newer versions of X -- which is why they were phased out anyways.
Unfortunately, the newer drivers obviously don't work right for a lot of
people.

The best bet to getting a fix is probably emailing the maintainers of
the new driver -- getting on mailing lists and discussing it. I long
ago gave up on fighting this particular fight.

If it helps, this is definitely a sideport ram issue, and disabling
sideport ram in the BIOS fixes the problem -- however, many BIOSes do
not allow you to do this.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

Replying to #44: I know that RadeonHD is not compatible with the current version. Thus my suggestion it be "revived" as a project. If it were compatible I'd just compile it.

I'm short of time these days. Rather than making huge efforts to have X.Org fix the bug, I'll just remove the Debian partition from my netbook. Windows 7 works fine ....

Revision history for this message
In , Josselin Mouette (joss) wrote :

Note that it can be worked around by disabling RENDER acceleration.

Revision history for this message
In , Carl Fink (carl-finknetwork) wrote :

(In reply to comment #46)
> Note that it can be worked around by disabling RENDER acceleration.

Can you be more specific?

Revision history for this message
lotuspsychje (thatwhatis) wrote : Re: [rs690m] Graphics corruption with ati x1200

I have 2 systems with screen corruption and square mouse pointer:

*desktop precise 64bit 12.04.1 clean installed on ati x800
*laptop precise 32bit 12.04.1 on lubuntu clean installed on ati mobile

This is what i tryed:

*adding 'nomodeset' to /etc/default/grub = compiz got disabled, screen lags
*sudo service lightdm restart = did not fix the screen corruption
*generated a xorg.log and adding the line swcursor = did not fix the screen corruption
*in ccsm category opengl, disabled sync to vblank and texture filter to fast = did not fix the screen corruption
*tryed another mouse icon theme = did not fix the screen corruption

I had this bug on previous versions of ubuntu aswell it did not matter if i upgraded or clean installed

every cold boot in the morning this mouse pointer and screen got corrupted, after a reboot its gone
few hours wait or next morning: the screen corruption is back again...

Please let me know if there's a solution yet after all these years...

Revision history for this message
lotuspsychje (thatwhatis) wrote :

I confirm that adding GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" to /etc/default/grub
removes the screen corruption and square mouse pointer at pc boot, but compiz is unworkable, wobbly windows
are disabled, unity icon laucher size default as in 2D, screen lags etc...

If anyone know a fix to have compiz enabled without nomodeset please let me know

Revision history for this message
madbiologist (me-again) wrote :

A good rule of thumb to follow is separate hardware=separate bugs.

The X1200 (mobile/integrated chip) problem seems rather intractable, although some people have had success disabling/reducing the amount of sideport RAM - see comments. #138 and #149.

The X800 problem should be easier to fix, althought the fact that it only happens when the hardware is cold could mean a hardware bug - does that card work OK on Windows? Can you please attach the output of lspci -vvnn for the X800 card?

Revision history for this message
lotuspsychje (thatwhatis) wrote :

@madbiologist: the card worked well on windows yes, here's the output of lspci:

http://paste.ubuntu.com/1183794/

Revision history for this message
In , agd5f (agd5f) wrote :

*** Bug 54704 has been marked as a duplicate of this bug. ***

Revision history for this message
In , agd5f (agd5f) wrote :
Revision history for this message
In , Nicolas Delvaux (malizor) wrote :

I will try this patch later but, AFAIK, dma32 is only used on 64 bits systems, isn't it?
I have the same problem (having to disable modeseting) with both 32 and 64 bits kernels (Ubuntu 12.04).

Revision history for this message
In , Nicolas Delvaux (malizor) wrote :

Unfortunately, this patch changed nothing here.
I'm still enable to start unity/gnome-shell and I have some graphic corruptions when using a fallback such as Unity 2D.

This is on a Acer Emachine e625 laptop. I tested the patch on both 32 and 32-pae kernels from Ubuntu 12.04 (3.2.0-31.50).

Revision history for this message
In , agd5f (agd5f) wrote :

maybe this is due to irq problems? See bug 37679. Perhaps your boards need similar msi quirks?

Revision history for this message
In , Nicolas Delvaux (malizor) wrote :

@Alex Deucher: it's weird in fact.

I changed the WIFI card of this laptop last week (because of regular disconnections) and now I'm able to start Unity 3D and Gnome-Shell. I don't understand what happened. Note that everything worked fine on Windows with the old WIFI card.

I posted on the other bug regarding enabling MSI.

Revision history for this message
In , Nicolas Delvaux (malizor) wrote :

I put the old WIFI card back in the laptop for testing (nb. everything works on Windows, the card does not seem to be defective)

Without MSI: Compiz starts but the desktop is a fixed image. I see no special error in .xsession-errors.
With MSI: Compiz and Unity 3D start.

With or without MSI, Unity 3D starts when putting the other WIFI card in.

I should add that, with or without MSI, I get regular network disconnections (both WIFI cards, the replacement one used to work well with Linux on its former laptop).

So yes, enabling MSI is a win on this laptop. But I don't quite get why the WIFI card can affect the GPU. There might be some other bug somewhere, but I don't know what it is and where I should report it.

Revision history for this message
Eric Burkhardt (edb3803) wrote : Re: [rs690m] Graphics corruption with ati x1200

I realize that the last comment was almost a year ago, but apparently this bug is still around. I have it with my Gateway LT31xx laptop, with the same graphics card as the bug title. I was able to find a solution to this problem. It requires a BIOS flash with a modified bios file that enables certain options (North Bridge, IIRC).

The solution was based on this post --> http://ubuntuforums.org/showthread.p...2#post11682072 .

I went to the thread they referenced (http://forum.notebookreview.com/acer...ml#post6368072), and found the modified bios file for my laptop, a Gateway LT31xx. The modified bios file gives you an option to select only 'UMA' rather than 'UMA+Sideport'. I flashed this new bios file, after using the correct phlash.exe command (found in the first post of the notebookreview thread), and when I rebooted, there was the option. I changed that and everything looks great --- no tearing at all. I don't know if I have 3D compositing, but I do have xcompmgr running, so I think compositing works fine.

I think this is the solution that everyone is looking for in regard to the screen tearing problem. If you have a different laptop, I would suggest searching the notebookreview thread to see if a modified bios file was created for your specific model.

Revision history for this message
Eric Burkhardt (edb3803) wrote :
Revision history for this message
In , agd5f (agd5f) wrote :

Created attachment 84746
possible fix

Does the attached patch help?

Revision history for this message
In , Nicolas Delvaux (malizor) wrote :

Hi Alex,

I'm afraid I don't have access to this laptop anymore, so I can't test your patch.
Hopefully someone from the CC list may be able to help?

Thanks anyway.

Revision history for this message
In , Stillcompiling (stillcompiling) wrote :

I just had time to try this latest patch.
Unfortunately it does not correct the issue.
Is there any way to check or change the beginning and ending addresses of
sideport memory and stolen system memory once the system is up?
If there are registers I can read or write to experiment I will be happy to
try it,but I am afraid I was unable to comprehend a lot of the register
documentation from AMD.

Revision history for this message
penalvch (penalvch) wrote : Re: [rs690m] Graphics corruption with ati x1200

Brian Visel, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily kernel folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11.1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
kuntergunt (kuntergunt) wrote :

I have problems with a clean install of 13.04 x64 and an ATI RS690M graphics card.
Everything is slow, menu shows artifacts and random patterns.
Proprietary drivers do not seem to support this version of ubuntu any more.

HP Compaq 6715b
lspci: VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS690M [Radeon Xpress 1200/1250/1270]

Revision history for this message
penalvch (penalvch) wrote :

kuntergunt, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

No need exists to comment here at this time. After reading the above documentation in it's entirety, if you have further questions, you are welcome to redirect them to the appropriate mailing list or forum via http://www.ubuntu.com/support/community/mailinglists , or you may contact me directly.

Thank you for your understanding.

summary: - [rs690m] Graphics corruption with ati x1200
+ [rs690m] [Gateway] Graphics corruption with ati x1200
Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

35998 is exactly same bug.

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

*** Bug 35998 has been marked as a duplicate of this bug. ***

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

Dear Developers!!

Please tell us what are the chances that this bug can be fixed? Do you want paypal tips? Is this bug really not worth the time that selling the machines is a better way to go?

If you respond that its probably unfixable, please mark the radeon feature page correspondingly, that this Card (1250) is NOT supported, because this bug really makes the machine unusable.

Also affected notebooks: Samsung R20

Kind regards

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

I have installed 2 GiB of SODIMM DDR2 today, replacing the old 1 GiB module.
At OpenSuse Tumbleweed (13.1; knel 3.11/Mesa 9.2) at login screen AFTER Xorg has started I have hexagon (8x8) colored squares, each of them made of two triangles.
Each time I move mouse or type something, the triangles in approximate area change colors.

After login, the screen is back to normal, sans gnome-shell specific font corruption and some extra (below).

This defects are not present with 1GiB.

Also, the Gnome3 gnome-shell border right now has "flightmode" symbol, which is completely white square and sound icon that is divided in four pieces.

I suggest this is strictly bug of Xorg driver, this is strictly bug within Mesa texture transfer, the content of those triangles is NOT copied right, this bug does NOT appear outside of Xorg or outside of OpenGL (Grub2 boots perfectly with zero errors via VESA) this bug's effects repeat themselves unless memory configuration change. With different memory config other sorts pop up, but previous stay. This is not bug due to insufficient memory. This bug does not change if different memory window is set in BIOS (I have 128 or 256, I have NO sideport or similar).

Please help me fix the bug! I am no programmer or developer, but give me some tools to run on the machine or I can give you VNC/root at any time + paypal tip and a thank you.

Please do not be ignorant!! :(((((

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

I have observed the case a bit more.
When machine is coming out of hibernation - the opensuse boot screen experiences corruption: 1/4 of the screen is drawn correct - the rest contains garbage. The pattern is pretty same - the screen is cut by four triangles with basements along the sides.

Important thing I noticed - the screen recovers itself after some time. Although font damage in gnome-shell is permanent, refreshing parts of the screen with some content has some chance to make it work as it should. THEN it stays correct.

Also,
I suspect that initial four triangle show right after login, is gnome 3 trying to blend-in, by applying a four-triangle surface filled with black and then increasing the alpha. The moment alpha is all way up, gnome removes them. With this bug - it looks like triangle flash which then suddenly correct.

To sum up,
I am totally sure this is about texture memory transfer within OpenGL context, I am nearly sure it happens because the texture memory IS NOT CLEARED when its asked or the content is overwritten when stored, or the memory is not protected from being overwritten by garbage. However, the system is fully stable even when I used it with 1GiB constantly swapping.

Please, help.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

..agreed, this really shouldn't be marked as a supported card since it's
not actually functional.

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #63)
> ..agreed, this really shouldn't be marked as a supported card since it's
> not actually functional.

It works just fine a quite a few RS690 boards.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

> It works just fine a quite a few RS690 boards.

ah. ..well, it also doesn't work for quite a few RS690 boards.

I guess it's academic for me, at this point, though -- I've long since
moved on, since I had to keep working and current, and the old driver
was dropped.

If you're reading this bug and have this issue, it's been open for
nearly three years, and isn't likely to be fixed, as far as I can tell.
If 3d acceleration is important to you, it's almost definitely worth it
to get some hardware that is better supported. I went with Intel
graphics -- there's a lot less likelihood that support will be dropped
for that, since Intel's more helpful than ATI regarding open-source
drivers for their graphics hardware.

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

(In reply to comment #65)
> I guess it's academic for me, at this point, though -- I've long since
> moved on, since I had to keep working and current, and the old driver
> was dropped.
>
> If you're reading this bug and have this issue, it's been open for
> nearly three years, and isn't likely to be fixed, as far as I can tell.
> If 3d acceleration is important to you, it's almost definitely worth it
> to get some hardware that is better supported. I went with Intel
> graphics -- there's a lot less likelihood that support will be dropped
> for that, since Intel's more helpful than ATI regarding open-source
> drivers for their graphics hardware.

Well, Brian, its true regarding older hardware, lets not be blind about all the post x1*** - 6*** cards, they are actually okay.

Also, "3D is important" is a bit exaggerated, because 3D pipeline and *everything* except this bug work really fine. There are many factors in play on modern desktop for it to "just work", but this only one bug really damages it.

On the other hand, its so damn shame that no one wants to give a look, even if offered full remote access to affected machine, in do what you want, ask what you wish, mode. :(

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

(In reply to comment #64)
> (In reply to comment #63)
> > ..agreed, this really shouldn't be marked as a supported card since it's
> > not actually functional.
>
> It works just fine a quite a few RS690 boards.

Hello Mr Deucher, could you please be a bit more specific which mobile xpress x1250 are not affected? Right now I have R60 and R20, both of which show same issues...

Can you please suggest any patch to clear the texture memory when asked prior to submitting it for writing (within the OpenGL-specific context)?

Right now, the more one works, the more triangle surface is flawless.

Only freshly booted or freshly hibernated under go it and as time passes these surfaces are eventually clear, except for those that never get a chance of rewrite, like fonts textures in gnome-shell.

Also, switching TTYs is still an issue as system can simply become unable to switch back to Xorg TTY, with screen constantly flashing/pulsating in black. But this is not a huge blocker.

Thank you!

Revision history for this message
In , agd5f (agd5f) wrote :

Setting radeon.vramlimit=64 is also a workaround.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

> > If you're reading this bug and have this issue, it's been open for
> > nearly three years, and isn't likely to be fixed, as far as I can tell.
> > If 3d acceleration is important to you, it's almost definitely worth it
> > to get some hardware that is better supported. I went with Intel
> > graphics -- there's a lot less likelihood that support will be dropped
> > for that, since Intel's more helpful than ATI regarding open-source
> > drivers for their graphics hardware.
>
> Well, Brian, its true regarding older hardware, lets not be blind about all the
> post x1*** - 6*** cards, they are actually okay.

Regardless, the RS690M was listed as supported, I bought hardware that I
thought would be supported for that specific reason, and then that
changed, and that leaves me with no experience or reason to recommend
ATI or the radeon driver at this point, and plenty of reason to
recommend against it. ..the stuff that is new now becomes old
later. ..why should I think that my experience with any other ATI card
should be different? ..at least on the Intel side, there's the blessing
(and support) of the chip maker.

> Also, "3D is important" is a bit exaggerated, because 3D pipeline and
> *everything* except this bug work really fine.

No disagreement there. I've got an Intel graphics card that works
superbly, and there are others out there with nVidia and ATI cards that
run great, too. What I was said was saying was (indented, so that the
if statements and their subjective clauses are more apparent):

* If you're reading this and have this issue
 * This issue has been open for nearly three years
 * It isn't likely to be fixed, from what I can tell
 * If 3d is important to you
  * It is almost definitely worth it to get some hardware that is better
supported.

..I stand by that statement.

> There are many factors in play
> on modern desktop for it to "just work", but this only one bug really damages
> it.

*nod* and a lot of them work fine, and this one doesn't. ..a perfectly
functional car with a broken drive shaft that no one knows how to fix is
still valuable -- it's just not valuable to someone who wants to drive a
car, unless that person knows how to fix it, or can sell that car, and
get another car which many people know how to fix, and which appears
less likely to break.

..I'm not looking at this and thinking "That's bad work they've done",
I'm looking at it and saying "No one has had the time, know-how, and
the access to the hardware to fix this, so if you are waiting for it to
get done, my opinion is that you're better off buying more compatible
hardware in this particular case."

..then again, all it takes is someone who does have the time, know-how,
and hardware to fix this, and who wishes to donate their work. ..if
someone does do that -- thank you. ..that specifically won't benefit me
at this point, but thank you just on the general principle of it, and
for the people that it will benefit. ..and thank you to everyone else
who has contributed to Linux, X, and all the layers in between and on
top -- it's phenomenal work that provides a genuine alternative to the
proprietary operating systems that are out there.

Revision history for this message
In , Brian Ealdwine (eode) wrote :

On Wed, 2013-11-27 at 04:45 +0000, <email address hidden>
wrote:
> Comment # 68 on bug 35457 from Alex Deucher
> Setting radeon.vramlimit=64 is also a workaround.
>
> ______________________________________________________________________
> You are receiving this mail because:
> * You reported the bug.

If setting the vramlimit does work (I'm unable to test it at this point
since I no longer have the hardware) than that's a reasonable option.
Up until the time I had to get something else, none of the proposed
solutions had worked for me -- but if a functional workaround is
present, that's often preferable to buying new hardware.

Revision history for this message
In , agd5f (agd5f) wrote :

Created attachment 89886
possible fix

Does this patch help?

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #70)
> If setting the vramlimit does work (I'm unable to test it at this point
> since I no longer have the hardware) than that's a reasonable option.
> Up until the time I had to get something else, none of the proposed
> solutions had worked for me -- but if a functional workaround is
> present, that's often preferable to buying new hardware.

It is reported as a valid workaround on this very bug report. Has anyone else tried it?

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

Created attachment 89895
Samsung R60, xpress 1250, OpenSuse Tumbleweed, kernel 3.11, Mesa 9.2.2, login corruption

Revision history for this message
In , ShinobiTeno (lct-mail) wrote :

Dear Mr. Deutcher, thank you for will and readiness to help in this problem!!

I am using radeon.gart=1024, it does not help.
Then I upgraded to Tumbleweed (3.11)
Glxinfo reports:

OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RS600
OpenGL version string: 2.1 Mesa 9.2.2
OpenGL shading language version string: 1.20

Then I added radeon.dpm=1, there are no information about dpm or powermanagement what so ever in dmesg (unlike 5850 card that I have). I suggest dpm is not supported on this chip. Not great deal, but for example, 5850 is unstable withOUT dpm in 3.11.

Lastly, of course I read all patches and responses from people in these two bugs, and tested first switching from 256 VGA memory to 128 via BIOS (only two options), it didn't help.

Then I appended "radeon.vramlimit=64" to grub2 kernel line, updated grub, rebooted. Nothing changed. I attach the screenshot showing the issue with gnome-shell corruption and the login triangle issue, that is even more agressive when system comes out of hibernation.

dmesg | grep -i radeon says:

[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.11.6-4-desktop root=UUID=29100748-63ff-45a1-8642-b795f20d4aea resume=/dev/disk/by-id/ata-WDC_WD1200BEVS-22UST0_WD-WXC208783969-part2 splash=silent quiet showopts radeon.dpm=1 radeon.gartsize=1024 radeon.vramlimit=64
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.6-4-desktop root=UUID=29100748-63ff-45a1-8642-b795f20d4aea resume=/dev/disk/by-id/ata-WDC_WD1200BEVS-22UST0_WD-WXC208783969-part2 splash=silent quiet showopts radeon.dpm=1 radeon.gartsize=1024 radeon.vramlimit=64
[ 2.276384] [drm] radeon kernel modesetting enabled.
[ 2.276584] fb: conflicting fb hw usage radeondrmfb vs EFI VGA - removing generic driver
[ 2.279337] radeon 0000:01:05.0: VRAM: 128M 0x0000000078000000 - 0x000000007FFFFFFF (64M used)
[ 2.279345] radeon 0000:01:05.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[ 2.281879] [drm] radeon: 64M of VRAM memory ready
[ 2.281885] [drm] radeon: 1024M of GTT memory ready.
[ 2.304378] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[ 2.309271] radeon 0000:01:05.0: WB enabled
[ 2.309286] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x0000000080000000 and cpu addr 0xffff880036bbe000
[ 2.309352] [drm] radeon: irq initialized.
[ 2.310247] [drm] radeon: ring at 0x0000000080001000
[ 2.312584] [drm] radeon atom DIG backlight initialized
[ 2.312592] [drm] Radeon Display Connectors
[ 2.902375] fbcon: radeondrmfb (fb0) is primary device
[ 3.227074] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[ 3.227080] radeon 0000:01:05.0: registered panic notifier
[ 3.227124] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:05.0 on minor 0

I will test the patch today.
At your will, I will give you remote login to the notebook for any kind of testing you so desire.

Revision history for this message
penalvch (penalvch) wrote :

Brian Visel, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/556782/comments/184 regarding you no longer have the hardware. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

no longer affects: linux (Ubuntu)
affects: linux → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Critical → Undecided
status: Confirmed → New
status: New → Invalid
Revision history for this message
madbiologist (me-again) wrote :

According to https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=35eecf052250f663f07a4cded7d3503fd1b50729 and https://bugs.freedesktop.org/show_bug.cgi?id=35457 this bug is finally fixed in the upstream 3.13-rc5 kernel. A PPA of this kernel is available at http://kernel.ubuntu.com/~kernel-ppa/mainline/ and instructions on how to install and uninstall it are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds

Revision history for this message
ShinobiTeno (lct-mail) wrote :

This bug was NOT ressolved even in Kernel 3.17!

Even with latest Enlighment (E19), I experience text corruption when enabling hardware acceleration in Compositing window.
When switching to Software rendering, there is no issue.

KDE freezes simply after certain period of work if hardware acceleration is used.

Revision history for this message
penalvch (penalvch) wrote :

ShinobiTeno, thank you for your comment. Unfortunately, this bug report is not scoped to you, your problem, or your hardware. So your problem and hardware may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into the default Ubuntu kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
https://wiki.ubuntu.com/Kernel/Policies/DuplicateBugs
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

As well, please do not announce in this report you created a new bug report.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

To post a comment you must log in.