Gutsy: Switching workspaces when playing XVideo overlay crashes X

Bug #141533 reported by Pizuz
30
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Medium
xserver-xorg-video-ati (Debian)
Fix Released
Unknown
xserver-xorg-video-ati (Ubuntu)
Fix Released
High
Bryce Harrington

Bug Description

Binary package hint: compiz

First of all, I use the latest version of Compiz (1:0.5.2+git20070918-0ubuntu3) and the open source ati driver (1:6.7.193-1ubuntu1) which enables me to run Compiz via AIGLX. Now, the following problem occurs to me:

Whenever playing a video using the Xv video output mode, X crashes and restarts as soon as I go to another workspace. It doesn't matter which plugin I use, cube, plane, wall, it always happens. I can, however, remember a time when this didn't happen to me. Must have been at the point when Tribe 5 came out.

Oh, and one more thing, although it might be a little hard to actually perform:

Because of the nature of Xvideo, it is impossible to project it properly on a cube, anyway. Discouraging users about using Xv might be the easiest choice, I guess.

Revision history for this message
In , Randrik (randrik) wrote :

Created an attachment (id=11286)
xorg.conf

Revision history for this message
In , Randrik (randrik) wrote :

Created an attachment (id=11343)
xorg.log (EXA)

Revision history for this message
In , Randrik (randrik) wrote :

Created an attachment (id=11344)
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 0.16.8.9
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!

Revision history for this message
Pizuz (florian-fahr) wrote :

Binary package hint: compiz

First of all, I use the latest version of Compiz (1:0.5.2+git20070918-0ubuntu3) and the open source ati driver (1:6.7.193-1ubuntu1) which enables me to run Compiz via AIGLX. Now, the following problem occurs to me:

Whenever playing a video using the Xv video output mode, X crashes and restarts as soon as I go to another workspace. It doesn't matter which plugin I use, cube, plane, wall, it always happens. I can, however, remember a time when this didn't happen to me. Must have been at the point when Tribe 5 came out.

Oh, and one more thing, although it might be a little hard to actually perform:

Because of the nature of Xvideo, it is impossible to project it properly on a cube, anyway. Discouraging users about using Xv might be the easiest choice, I guess.

Revision history for this message
Michael Vogt (mvo) wrote :

I can confirm the crash here on a ati 7500.

Changed in xserver-xorg-video-ati:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Bryce Harrington (bryce) wrote :

IIRC, In Tribe 5 we were using the old (now deprecated) 6.6.x branch of xserver-xorg-video-ati, so I'd guess this was an outcome of upgrading to 6.7. Thus as a workaround you could probably revert to 6.6.3 to address the symptoms.

For solving the root problem though, this sounds vaguely similar to https://bugs.freedesktop.org/show_bug.cgi?id=12175. Could you try doing the following to see if you can reproduce that issue?

1. Start a video using Xv video output
2. Move the movie window offscreen, such that the video area is fully invisible
3. Does xserver crash?

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
ccc1 (cllccl-deactivatedaccount) wrote :

I can confirm the crash to on a ati 9800pro using the open source ati-driver.
A few days ago everything was fine ...

Revision history for this message
Bryce Harrington (bryce) wrote :

I noticed this patch which sounds like it might have caused this issue: https://bugs.freedesktop.org/show_bug.cgi?id=12175

Here is a deb with this patch reverted. Please install and test to see if it makes the issue go away:

http://people.ubuntu.com/~bryce/Testing/xserver-xorg-video-ati_6.7.193-1ubuntu2_i386.deb

Revision history for this message
Bryce Harrington (bryce) wrote :

mvo confirms this fixed it.

<mvo> bryce: reverting the commit for ati fixes the problem for me
<bryce> mvo, wow, that was good luck
<mvo> indeed :)
 and video playback still works

Debdiff attached. I think this should go in for Gutsy.

Changed in xserver-xorg-video-ati:
assignee: nobody → bryceharrington
status: Confirmed → Fix Committed
Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

looks ok, please upload for gutsy.

Changed in xserver-xorg-video-ati:
status: Unknown → New
Revision history for this message
In , agd5f (agd5f) wrote :
Revision history for this message
In , agd5f (agd5f) wrote :

I've tested and applied Michel's fix:
9109e62e3be7f96b41b534ab517fdf1baf458806

Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

At the debian bug report Michel Dänzer has proposed another patch.

It further is mentioned that the patch proposed here:
| apparently breaks Xv on dualhead, so the proposed fix by Michel
| Dänzer should be better, according to upstream :)

Changed in xorg-server:
status: Confirmed → Fix Released
Changed in xserver-xorg-video-ati:
status: New → Fix Released
Revision history for this message
In , Randrik (randrik) wrote :

thanks for fixing it! Sorry for my inactivity - I was away from my computer for last week.

Revision history for this message
Bryce Harrington (bryce) wrote :

Alright, we'll wait for the proposed patch. If someone could ping me when the patch becomes available we'll roll it in.

Revision history for this message
Bryce Harrington (bryce) wrote :

Ah, found the patch. Will roll it in once the freeze lifts.

Changed in xserver-xorg-video-ati:
status: Fix Committed → In Progress
Revision history for this message
edu jose (pepinmore) wrote :

This bug also happens here (gutsy alpha up to date, as of 27-09-2007).

Revision history for this message
edu jose (pepinmore) wrote :

(forgot to mention) Graphics card is a Radeon 9600XT, AGP, 256MB, outputs VGA, DVI and TV-out (just use the VGA one), and using the free -ati driver.

The output of lspci -nn |grep VGA is:

02:00.0 VGA compatible controller [0300]: ATI Technologies Inc M10 NQ [Radeon Mobility 9600] [1002:4e51]

Revision history for this message
Angelo Lisco (angystardust-gmail) wrote :

Same here! ATI Radeon X700! No crash if i set no Xv in gstreamer-proprieties.

Revision history for this message
Alfredo Matas (amatas) wrote :

Fixed for me with the version 1:6.7.194-1ubuntu1 of xserver-xorg-video-ati

Thanks to all for the fix.

Revision history for this message
Steve Langasek (vorlon) wrote :

Reportedly fixed in version 1:6.7.194-1ubuntu1:

xserver-xorg-video-ati (1:6.7.194-1ubuntu1) gutsy; urgency=low

  * Merge with Debian experimental, remaining changes:
    - debian/control
      * Ease the Build-Depends on xserver-xorg-dev.
      * Change Maintainer-address.

 -- Timo Aaltonen <email address hidden> Mon, 24 Sep 2007 11:19:06 +0300

xserver-xorg-video-ati (1:6.7.194-1) experimental; urgency=low

  * New upstream release candidate.
    + Add MacModel "mini" option to support Mac Mini connector table,
      closes: #443570.
    + Fix crash when Xv window is outside of either crtc,
      closes: #441902.

 -- Brice Goglin <email address hidden> Mon, 24 Sep 2007 07:59:36 +0200

Changed in xserver-xorg-video-ati:
status: In Progress → Fix Released
Revision history for this message
edu jose (pepinmore) wrote :

Like Alfredo says, the issue solved for me after updating Gutsy to get xserver-xorg-video-ati version 1:6.7.194-1ubuntu1. Oh yeah!!

So now playing a video with Totem and switching workspaces works ok with Compiz (and moving the Totem window "retains" the video inside it, without leaving trails behind).

Many many many thanks to you, your work is very much appreciated!

Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.