[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-10 Thread jlpino
Thanks to all for your help. I attach the requested files.

I removed the tags needs-lspci-vvnn and needs-xorglog because I
think that there is enough info with the files attached by Martin Olsson
and me.

If I can help with this bug, contact me.

** Tags removed: needs-lspci-vvnn needs-xorglog

** Attachment added: ati_mundoplus_bug.zip
   http://launchpadlibrarian.net/26540657/ati_mundoplus_bug.zip

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-09 Thread Srik
I've the same problem on jaunty (ubuntu 9.04) with a ATI RADEON X300 SE
(RV370 SE).

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Martin Olsson
Basically nothing was printed in xorg.log or dmesg leading up to the freeze, I 
know for sure that the line:
Changing OV0_BASE_ADDR from 0xe000 to 0xe5c0
was appended to xorg.log before the lockup happened.

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Martin Olsson
I can confirm xorg lockup when visiting http://mundoplus.tv/ using jaunty with 
-ati and:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 AP [Radeon 
9600] [1002:4150]

What I see in gdb is a GPU lockup:
(gdb) bt
#0  0xb7ff1430 in __kernel_vsyscall ()
#1  0xb7c5dea9 in ioctl () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7a56add in drmIoctl () from /usr/lib/libdrm.so.2
#3  0xb7a56e2b in drmCommandWrite () from /usr/lib/libdrm.so.2
#4  0xad53274e in ?? () from /usr/lib/dri/r300_dri.so
#5  0xad566311 in _mesa_Finish () from /usr/lib/dri/r300_dri.so
#6  0xb7aba78b in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#7  0xb7ab6d6a in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#8  0x0808d57f in Dispatch ()
#9  0x080722ed in main ()

Note to other triagers/devs: Alex Deucher recently suggested that we will have 
GPU lockup debugging facilities (similar to intel batch buffer dumps introduced 
in the 2.6.30-rc4 kernel) once the radeon-rewrite branch is merged into stable. 
See this e-mail: http://lists.freedesktop.org/archives/xorg/2009-May/045486.html
Jerome Glisse bloged about this work here: 
http://jglisse.livejournal.com/1822.html

Good news is that jlpino found a solid repro for this particular lockup
so hopefully it will be actionable even without such a dump.

I will shortly attach apport-collect recorded from ssh while xorg in
hung state.

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Martin Olsson
I've upstreamed this bug report here:
https://bugs.freedesktop.org/show_bug.cgi?id=21598


** Bug watch added: freedesktop.org Bugzilla #21598
   https://bugs.freedesktop.org/show_bug.cgi?id=21598

** Also affects: xserver-xorg-driver-ati via
   https://bugs.freedesktop.org/show_bug.cgi?id=21598
   Importance: Unknown
   Status: Unknown

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Martin Olsson
If I turn off compiz and open that URL in firefox xorg still locks up but
instead of being stuck permanently blocking in drmIoctl() it goes into a CPU
spin.

At this time the backtrace is essentially:

#1  0xb7d35ea9 in ioctl () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7b30a6d in drmDMA () from /usr/lib/libdrm.so.2
#3  0xb7aa1948 in RADEONCPGetBuffer (pScrn=0x9e575c8) at
../../src/radeon_accel.c:651
#4  0xb7af60fb in RADEONPrepareSolidCP (pPix=0xa508620, alu=3, pm=4294967295,
fg=0) at ../../src/radeon_exa_funcs.c:92
#5  0xb78ce96a in exaFillRegionSolid (pDrawable=0xa508620, pRegion=0xa4fef40,
pixel=0, planemask=4294967295, alu=value optimized out)
at ../../exa/exa_accel.c:939
#6  0xb78d0312 in exaPolyFillRect (pDrawable=0xa508620, pGC=0xa0ba0f8, nrect=1,
prect=0xa4865cc) at ../../exa/exa_accel.c:751
#7  0x08180b94 in damagePolyFillRect (pDrawable=0xa508620, pGC=0xa0ba0f8,
nRects=1, pRects=0xa4865cc) at ../../../miext/damage/damage.c:1404
#8  0x0808a4f0 in ProcPolyFillRectangle (client=0xa4e4008) at
../../dix/dispatch.c:1769
#9  0x0808d57f in Dispatch () at ../../dix/dispatch.c:437


If I put breakpoints on the three top most stack frames I see ioctl() and
drmDMA() being hit constantly but the breakpoint on RADEONCPGetBuffer() is
never hit so I don't think that function ever exits.

Breakpoint 1, 0xb7d35e90 in ioctl () from /lib/tls/i686/cmov/libc.so.6
Continuing.
Breakpoint 2, 0xb7b309f5 in drmDMA () from /usr/lib/libdrm.so.2
Continuing.
Breakpoint 1, 0xb7d35e90 in ioctl () from /lib/tls/i686/cmov/libc.so.6
Continuing.
Breakpoint 2, 0xb7b309f5 in drmDMA () from /usr/lib/libdrm.so.2
Continuing.

etc etc

I'm attaching a full gdb showing this trace.


** Attachment added: gdb_mundoplus_tv_lockup_with_compiz_off.log
   
http://launchpadlibrarian.net/26397670/gdb_mundoplus_tv_lockup_with_compiz_off.log

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Bug Watch Updater
** Changed in: xserver-xorg-driver-ati
   Status: Unknown = Confirmed

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-06 Thread Bryce Harrington
** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: New = Confirmed

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371279] Re: Sistem lockup when I play games or visit some websites

2009-05-05 Thread Bryce Harrington
Hi jlpino,


Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log 
(and maybe Xorg.0.log.old) file from after reproducing this issue.  If you've 
made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message.  Apologies if it has reached you
inappropriately; please just reply to this message indicating so.]


** Tags added: needs-xorglog

** Tags added: needs-lspci-vvnn

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: New = Incomplete

-- 
Sistem lockup when I play games or visit some websites
https://bugs.launchpad.net/bugs/371279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs