Skip to contentSkip to conversation

R300: System locks up when running any graphical program using KMS

Bug 25662 [email protected] 1 participant 11 messages Feb 27, 2010 – May 16, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from [email protected] 2010-02-27 14:16:27 PST --- I have a very similar behavior in ArchLinux. I can login using lxdm. Once Xfce is started it either freezes almost immediately or after a few seconds when I have opened a terminal or anything else.

I'm not sure if this is a different issue or the same. Behavior looks similar and it's the same chipset family I think. We had used KMS already for a while in kernel 2.6.31 where it worked well. It started to freeze later, first noticed in 2.6.33rc1. I have no interesting entries in dmesg or Xorg.log. How can I provide more information to track this down? (using kernel 2.6.33, libdrm 2.4.18, mesa 7.7 and ddx from todays git master)

(--) PCI:*(0:1:5:0) 1002:5a62:144d:c02b ATI Technologies Inc RC410 [Radeon Xpress 200M] rev 0, Mem @ 0xd0000000/268435456, 0xc0000000/65536, I/O @ 0x00009000/256, BIOS @ 0x????????/131072

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#2 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #6 from Alex Deucher <[email protected]> 2010-03-19 07:42:33 PST --- Do things work any better with a newer drm? 2.3.33/4 or Dave's drm-radeon-testing branch
(http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=shortlog;h=refs/heads/drm-radeon-testing)?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#3 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #7 from Alex Deucher <[email protected]> 2010-03-19 07:43:26 PST --- (In reply to comment #5)

Quoted 6 lines

I'm not sure if this is a different issue or the same. Behavior looks similar and it's the same chipset family I think. We had used KMS already for a while in kernel 2.6.31 where it worked well. It started to freeze later, first noticed in 2.6.33rc1. I have no interesting entries in dmesg or Xorg.log. How can I provide more information to track this down? (using kernel 2.6.33, libdrm 2.4.18, mesa 7.7 and ddx from todays git master)

Any chance you could bisect the kernel to see what change broke it?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#4 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #8 from Tom Stellard <[email protected]> 2010-03-19 23:09:38 PST --- Here are the results from git bisect:

Starting with the 2.6.31 kernel, KMS works fine until this commit:
3e5cb98dfe87cc61d0a1119dd8aa2b1e4cfab424
After this commit, xdm freezes at the login screen, but I can still switch to another virtual terminal. My dmesg log has the message described in comment #3 repeated several times. This behavior continues until commit:
6b46362c0ea472b174c336786fd406c504326ad4
After this commit, I experience the behavior described in comment #1.

I am now using X server 1.7.5 and the latest git versions of mesa, libdrm, and ddx.

I will attach the output of lspci to give a little more information about my system.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#5 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #9 from Tom Stellard <[email protected]> 2010-03-19 23:10:46 PST --- Created an attachment (id=34250)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34250)
lspci output.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#6 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #10 from [email protected] 2010-03-20 02:32:03 PST --- Thanks Tom. It seems we have the same problem. Mine is a Samsung R40 Cinoso

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c02b
Flags: bus master, 66MHz, medium devsel, latency 66, IRQ 17 Memory at d0000000 (32-bit, prefetchable) [size=256M] I/O ports at 9000 [size=256]
Memory at c0000000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at c0020000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel modules: radeon, radeonfb

For me kernel 2.6.33.1 is unusable with KMS. It freezes either at loginmanager or very soon when moving around the first window I opened. With 2.6.34rc1 it crahses less often at login but still sometimes. When I can login it seems quiet stable until I start glxgears.

In UMS mode the system is also sometimes crashing when starting Xorg/loginmanager. When it comes up it's stable in usual desktop work. But 3D games like supertuxkart are broken (textures almost invisible). Not sure if this is drm or mesa related.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#7 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #11 from Tom Stellard <[email protected]> 2010-03-23 19:51:39 PST --- After some more testing, I am sure that commit 3e5cb98dfe87cc61d0a1119dd8aa2b1e4cfab424 is the problem. I have attached a patch that fixes this bug for me.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#8 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #12 from Tom Stellard <[email protected]> 2010-03-23 19:55:17 PST --- Created an attachment (id=34390)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34390)
Proposed fix.

This patch can be applied to drm-radeon-testing with
HEAD: 65965f4b702f98cb3857db44375e5d6a804d4937

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#9 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #13 from Alex Deucher <[email protected]> 2010-03-24 00:38:57 PST --- This is a chipset/bios issue. Your system probably needs a pci quirk to fix or disable MSIs rather than a blanket disabling of MSIs for rs400s. For reference:
http://marc.info/?l=dri-devel&m=126926011226719&w=2
https://bugzilla.kernel.org/show_bug.cgi?id=15287

booting with pci=nomsi should work around the problem. You should file a pci bug on https://bugzilla.kernel.org

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#10 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25662

--- Comment #14 from Tom Stellard <[email protected]> 2010-03-24 19:23:27 PST ---
https://bugzilla.kernel.org/show_bug.cgi?id=15626

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#11 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=25662

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #15 from Marek Olšák <[email protected]> 2010-05-15 22:13:19 PDT --- Because the same bug was filed in the kernel bugzilla, closing here...

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel