Bug 31038

Summary: System lock when rendering certain web pages
Product: xorg Reporter: Leonid Isaev <lisaev>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: 7.5 (2009.10)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Leonid Isaev 2010-10-21 14:54:35 UTC
After opening some web pages in firefox, the GPU will completely lockup, followed by the system freeze, while the screen shows artifacts (in my case it is slowly turning white). Here are the details:

* uname -a
Linux bluemoon 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 07:17:20 UTC 2010 i686 Mobile AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux
* lspci -v | grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) (prog-if 00 [VGA controller])
* firefox 3.6.11; xf86-video-ati 6.13.2
* Relevant part of kernel.log
Oct 21 17:11:18 bluemoon kernel: [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
Oct 21 17:11:18 bluemoon kernel: [TTM] Failed to find memory space for buffer 0xda20be2c eviction.
Oct 21 17:11:18 bluemoon kernel: [TTM] No space for da20be2c (5808 pages, 23232K, 22M)
Oct 21 17:11:18 bluemoon kernel: [TTM]   placement[0]=0x00070002 (1)
Oct 21 17:11:18 bluemoon kernel: [TTM]     has_type: 1
Oct 21 17:11:18 bluemoon kernel: [TTM]     use_type: 1
Oct 21 17:11:18 bluemoon kernel: [TTM]     flags: 0x0000000A
Oct 21 17:11:18 bluemoon kernel: [TTM]     gpu_offset: 0x20000000
Oct 21 17:11:18 bluemoon kernel: [TTM]     size: 8192
Oct 21 17:11:18 bluemoon kernel: [TTM]     available_caching: 0x00070000
Oct 21 17:11:18 bluemoon kernel: [TTM]     default_caching: 0x00010000
Oct 21 17:11:18 bluemoon kernel: [TTM]  0x00000000-0x00000100:      256: used
Oct 21 17:11:18 bluemoon kernel: [TTM]  0x00000100-0x00000101:        1: used
Oct 21 17:11:18 bluemoon kernel: [TTM]  0x00000101-0x00000201:      256: used
Oct 21 17:11:18 bluemoon kernel: [TTM]  0x00000201-0x000018b1:     5808: used
Oct 21 17:11:18 bluemoon kernel: [TTM]  0x000018b1-0x00002000:     1871: free
Oct 21 17:11:18 bluemoon kernel: [TTM]  total: 8192, used 6321 free 1871

This happens, if I try to browse, for instance, to http://www.ph.utexas.edu/~macdgrp/ (works in links).

Leonid.
Comment 1 Shlomi Fish 2010-10-22 01:44:53 UTC
(In reply to comment #0)
> After opening some web pages in firefox, the GPU will completely lockup,
> followed by the system freeze, while the screen shows artifacts (in my case it
> is slowly turning white). Here are the details:
> 
[SNIP]
> This happens, if I try to browse, for instance, to
> http://www.ph.utexas.edu/~macdgrp/ (works in links).
> 
> Leonid.

I cannot reproduce it here - Mandriva Linux Cooker, KMS:

{{{
shlomif:~$ uname -a 
Linux telaviv1.shlomifish.org 2.6.36-desktop-0.rc8.1.1mnb #1 SMP Sat Oct 16 06:20:05 CEST 2010 i686 i686 i386 GNU/Linux
shlomif:~$ lspcidrake -v | grep VGA
Card:ATI Radeon HD 2000 and later (radeon/fglrx): ATI Technologies Inc|RV630 PRO AGP [Radeon HD 2600 PRO AGP] [DISPLAY_VGA] (vendor:1002 device:9587 subv:18bc subd:0028)
}}}

Seems like that page has a large image which is scaled down by the browser and placed on the page, instead of being resized. Maybe that's the cause of the problem.

Regards,

-- Shlomi Fish
Comment 2 Leonid Isaev 2010-10-22 14:12:05 UTC
After more testing, it seems, that my bug report is a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=30645, although, the symptoms are sometimes different.

Shlomi, in the above report there is a link to a very large (~4MB) image, which always locks my radeon GPU, but Nvidia (nouveau) is OK. There is also an indication (see the last post) that 2.6.36rc8 fixes the bug. Can you confirm this?
I am on 2.6.35.7... just haven't yet got time to build .36.

Leonid.
Comment 3 Leonid Isaev 2010-10-22 14:14:12 UTC

*** This bug has been marked as a duplicate of bug 30645 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.