Bug 12175 - Xv crash if video window fully offscreen (rv280)
Summary: Xv crash if video window fully offscreen (rv280)
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
Depends on:
Reported: 2007-08-26 21:15 UTC by Andrew Randrianasulu
Modified: 2007-09-24 10:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

xorg.conf (5.07 KB, text/plain)
2007-08-26 21:17 UTC, Andrew Randrianasulu
no flags Details
xorg.log (EXA) (46.89 KB, text/plain)
2007-08-30 20:08 UTC, Andrew Randrianasulu
no flags Details
xorg.log (XAA) (47.09 KB, text/plain)
2007-08-30 20:18 UTC, Andrew Randrianasulu
no flags Details

Description Andrew Randrianasulu 2007-08-26 21:15:35 UTC
i'm using git xserver (1.4 branch up to 37954c019afd92edbe4aaa9d6deb6efaad7bf088) and xf86-video-ati from git. Very recently i found one annoying bug in xv - if i move mplayer's window offscreen (video area fully invisible, i see only window border/decoration) server immediately crashed. Git bisect point me at:

5d044b9f74c7aa7e12f2822896fed881e2ca9d19 is first bad commit
commit 5d044b9f74c7aa7e12f2822896fed881e2ca9d19
Author: Alex Deucher <alex@botch2.(none)>
Date:   Sat Aug 25 21:03:08 2007 -0400

    RADEON: fix crtc clipping for Xv


01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA])
        Subsystem: Hightech Information System Ltd. Excalibur 9200SE VIVO 128M
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c800 [size=256]
        Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at dfdc0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2
Comment 1 Andrew Randrianasulu 2007-08-26 21:17:46 UTC
Created attachment 11286 [details]
Comment 2 Andrew Randrianasulu 2007-08-30 20:08:51 UTC
Created attachment 11343 [details]
xorg.log (EXA)
Comment 3 Andrew Randrianasulu 2007-08-30 20:18:05 UTC
Created attachment 11344 [details]
xorg.log (XAA)

Ok, a bit more about this bug. It only exist if i use e16's built-in composite manager. If i don't use composite, i can move video window around and offscreen without problem.

additional info about my software:
Window/composite manager - Enlightenment
Latest (d49a60bc939c9f3e9d57c23e44263f5bb52f09fb) xf86-video-ati
Mplayer from svn (MPlayer dev-SVN-r24202-3.4.6 (C) 2000-2007 MPlayer Team)

For now, i'll just revert commit 5d044b9f74c7aa7e12f2822896fed881e2ca9d19 and will wait for proper fix. Thanks for all your hard work on this driver!
Comment 5 Alex Deucher 2007-09-22 11:19:29 UTC
I've tested and applied Michel's fix:
Comment 6 Andrew Randrianasulu 2007-09-24 10:31:02 UTC
thanks for fixing it! Sorry for my inactivity - I was away from my computer for last week. 

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.