FS#32095 - [gnome-shell] gs 3.6.1 video corruption with OSS Radeon video

Attached to Project: Arch Linux
Opened by Jonathan Hudson (stronnag) - Friday, 19 October 2012, 17:47 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 03 July 2013, 08:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

On initial login, the panel bar contains corrupt text and graphics. Restarting the shell with Alt-F2 r results in a normal display (albeit some domestic strife). This did not happen with 3.x (x <=4), nor does it happen with Intel GPUs. Various X.org options such as Accel (XAA/EXA), EXA pixmap setting make no difference.

Additional info:
* Gnome shell (Gallium 0.4 on AMD RV670), open souce radeon, X86_64 testing kernel, gnome shell 3.6.1

Steps to reproduce:

Log on and weep, hit Alt-F2 r to get a sane panel bar
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Wednesday, 03 July 2013, 08:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with current mesa/kernel
Comment by Michael Dressel (mdrslmr) - Saturday, 20 October 2012, 08:44 GMT
I have a similar issue with a dell vostro laptop.
I believe it first occurred when I upgraded to linux (3.5.6-1 -> 3.6.2-1).
Simultaneously I also upgraded xorg (1.12.4-1 -> 1.13.0-2)

But I did a downgrade of xorg and all the related x-packages afterwards
and the problem did still exist.

Now I don't know if it is a hardware issue showing up under certain conditions
that are new with the new kernel or if it is a software problem.

I attach a screen shot with part of a gnome-terminal showing the corrupted
screen.

My graphics card: VGA compatible controller: Advanced Micro Devices [AMD] nee ATI BeaverCreek [Mobility Radeon HD 6620G]

On the laptop I have an ubuntu 12.04 LTS installation in addition. In this
system I don't see the problem.
Comment by Michael Dressel (mdrslmr) - Sunday, 21 October 2012, 16:27 GMT
just found the follwing message in journalctl:
kernel: radeon 0000:00:01.0: GPU lockup CP stall for more than 10000msec
Comment by Jonathan Hudson (stronnag) - Sunday, 21 October 2012, 16:32 GMT
I'm now more convinced that this is a radeon / kms issue that is made apparent by GS 3.6. From journalctl:

Oct 19 16:19:46 eeyore kernel: radeon 0000:05:00.0: object_init failed for (12705792, 0x00000006)
Oct 19 16:19:46 eeyore kernel: [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (12705792, 4, 8192, -12)
Oct 19 16:19:46 eeyore kernel: [TTM] Failed to find memory space for buffer 0xffff8801cb53dc48 eviction
Oct 19 16:19:46 eeyore kernel: [TTM] No space for ffff8801cb53dc48 (3102 pages, 12408K, 12M)
...
Oct 19 16:19:46 eeyore kernel: [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

No such issues having migrated the machine to an older Nvidia (nouveau) card.
Comment by Michael Dressel (mdrslmr) - Wednesday, 24 October 2012, 19:16 GMT
I have to admit my assumption from above was wrong.
I found out downgrading to the following packages get's my system back to
a state that does not show the distortions I reported above:

ati-dri-8.0.4-3-x86_64.pkg.tar.xz
libgl-8.0.4-3-x86_64.pkg.tar.xz

I did that after having synchronized today.

I now think my problem is different from the one the bug report is about.

Should I open a new report?
Comment by Ionut Biru (wonder) - Thursday, 25 October 2012, 05:03 GMT
opening a bug in here is pointless since we are only packagers and not the developers of the ati driver or gnome-shell.

please report the bugs upstream.
Comment by Michael Dressel (mdrslmr) - Friday, 26 October 2012, 19:29 GMT
I reported the bug to:
https://bugs.freedesktop.org/show_bug.cgi?id=56405

Not solved yet.
Comment by Veli-Jussi Raitila (vjraitila) - Wednesday, 31 October 2012, 16:35 GMT
I think Michael's problem is different. I have similar errors as Jonathan in the logs and corruption in gnome-shell (missing letters being the most visible symptom). I have another card though (HD 6870), but still using the open-source radeon. Just to let you know it's not just you.

I haven't tried Gnome for a while, so I don't even know where to start bisecting unfortunately. I'm just fighting myself whether to start stabbing in the dark or just go back to Xfce instead. Downgrading to the packages Michael mentioned does not help.
Comment by Ben Ruijl (revelation60) - Friday, 02 November 2012, 15:25 GMT
I had some major video corruption as well, but I have an NVIDIA card and I use the binary blob. What fixed it for me could be either a restart or the disabling of incompatible extensions (https://extensions.gnome.org/local/). You could see if you have active extensions.
Comment by Veli-Jussi Raitila (vjraitila) - Tuesday, 06 November 2012, 17:57 GMT
No extensions here whatsoever.
Comment by Ido van Verseveld (idovitz) - Wednesday, 05 December 2012, 08:04 GMT
I have exactly the same problems with radeon (hd3650) gnome 3.6.2! In dmesg: [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12! Already on https://bugs.freedesktop.org/show_bug.cgi?id=56621 So this is not a arch problem..
Comment by Michael Dressel (mdrslmr) - Wednesday, 12 December 2012, 20:22 GMT
At least for my problem a fix has been found see:
https://bugs.freedesktop.org/show_bug.cgi?id=56405
Comment by Laurent Carlier (lordheavy) - Tuesday, 02 July 2013, 10:28 GMT
Is it still an issue with current kernel/mesa, i saw that freedesktop bugreport is closed as *fixed* ?
Comment by Veli-Jussi Raitila (vjraitila) - Wednesday, 03 July 2013, 08:39 GMT
Seems to be fixed at least for me. No corruption anymore.

Loading...