Debian Bug report logs - #441902
xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz

version graph

Package: xserver-xorg-video-ati; Maintainer for xserver-xorg-video-ati is Debian X Strike Force <debian-x@lists.debian.org>; Source for xserver-xorg-video-ati is src:xserver-xorg-video-ati (PTS, buildd, popcon).

Reported by: Alec Robertson <alec.robertson@gmail.com>

Date: Tue, 11 Sep 2007 19:51:01 UTC

Severity: normal

Tags: fixed-upstream

Fixed in version xserver-xorg-video-ati/1:6.7.194-1

Done: Brice Goglin <bgoglin@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, alec.robertson@gmail.com, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alec.robertson@gmail.com>:
New Bug report received and forwarded. Copy sent to alec.robertson@gmail.com, Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alec.robertson@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Tue, 11 Sep 2007 15:42:53 -0400
Package: xserver-xorg-video-ati
Version: 1:6.6.193-1
Severity: normal

I'm running unstable but with the latest experimental ati driver from 
bgoglin that works with the xserver in unstable. Version 6.6.193 works 
fine with xv video and does not crash the xserver when I switch desktops 
in compiz (composite + aiglx + r300). But it does have problems switching
back and forth from virtual terminals, so I have to disable pageflip. 
6.7.192 fixes this virtual terminal problem, but when I'm playing videos
with mplayer (or vlc) and I switch desktops then the xserver crashes.
I've tried upgrading the necessary xorg components to 7.3 but this
freezes my system when I exit the xserver with ctrl-alt-delete,
requiring a hard reboot.


-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/etc/X11/X target does not match checksum in /var/lib/x11/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 13 Mar  9  2006 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1736632 Aug  9 13:39 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc M10 NT [FireGL Mobility T2] (rev 80)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 2566 Sep 11 15:36 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
Section "ServerLayout"
    Identifier        "Layout0"
    Screen            0  "Screen0"    
    InputDevice       "Mouse0"     "CorePointer"  # needed
    InputDevice       "Keyboard0"  "CoreKeyboard" # needed
    Option            "AIGLX"      "on"           # needed for compiz
EndSection

Section "Extensions"  
    Option       "Composite"   "on"   # default is off (required for compiz)
    #Option       "RENDER"      "on"   # default is on (needed for antialiasing)
    #Option       "DAMAGE"      "on"   # default is on (needed for compiz)
EndSection

Section "Device"
   # add acpi_sleep=s3_bios to boot for resume
   Identifier  "Card0"
   Driver      "radeon"  
   Option      "AccelMethod"      "XAA"        # XAA (default,fast) or EXA (slow,buggy)
   Option      "AGPMode"          "4"          # default is 1 (4x=firegl-t2)
   Option      "GARTSize"         "64"         # default is 8 Mb
   Option      "DynamicClocks"    "on"         # default is off (on=faster?)
   Option      "RenderAccel"      "off"        # default is on (on=unsupported)
   Option      "XAANoOffscreenPixmaps"         # default is undefined (required for compiz)
   #Option      "EnablePageFlip"   "on"         # default is off (on=faster but can cause tearing)
   Option      "VGAAccess"        "off"        # default is on (not required for radeonfb)
   Option      "ColorTiling"      "on"         # default is on
EndSection

#Section "Files"
#   FontPath    "/usr/share/fonts/X11/misc"               # loaded by default
#   FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"   # loaded by default
#   FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"    # loaded by default
#EndSection

#Section "Module"
#    Load  "dbe"       # double buffer extension (loaded by default, needed)
#    Load  "glx"       # opengl (loaded by default, needed)
#    Load  "dri"       # direct rendering (loaded by default, needed)
#    Load  "extmod"    # on screen display (loaded by default, needed)
#EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Device"  "/dev/input/mice"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    Option      "DPMS"
EndSection

Section "Screen"
    Identifier      "Screen0"
    Device          "Card0"
    Monitor         "Monitor0"
    DefaultDepth    24
    SubSection "Display"
      Depth         24
      Modes         "1400x1050" #"1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection



Xorg X server log files on system:
-rw------- 1 root root 44681 Sep 11 15:36 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-rc5-hrt1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-ati depends on:
ii  libc6                  2.6.1-2           GNU C Library: Shared libraries
ii  xserver-xorg-core      2:1.3.0.0.dfsg-12 X.Org X server -- core server

xserver-xorg-video-ati recommends no packages.

-- no debconf information




Bug no longer marked as found in version 1:6.6.193-1. Request was from Brice Goglin <bgoglin@debian.org> to control@bugs.debian.org. (Tue, 11 Sep 2007 20:21:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Brice Goglin <Brice.Goglin@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #12 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Alec Robertson <alec.robertson@gmail.com>, 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Tue, 11 Sep 2007 22:25:12 +0200
Alec Robertson wrote:
> I'm running unstable but with the latest experimental ati driver from 
> bgoglin that works with the xserver in unstable. Version 6.6.193 works 
> fine with xv video and does not crash the xserver when I switch desktops 
> in compiz (composite + aiglx + r300). But it does have problems switching
> back and forth from virtual terminals, so I have to disable pageflip. 
> 6.7.192 fixes this virtual terminal problem, but when I'm playing videos
> with mplayer (or vlc) and I switch desktops then the xserver crashes.
>   

Do you have a backtrace for this crash? (either at the end of the log,
or (better) with gdb)

> I've tried upgrading the necessary xorg components to 7.3 but this
> freezes my system when I exit the xserver with ctrl-alt-delete,
> requiring a hard reboot.
>   

Is it actually a freeze? Or just the server not restoring the VT console
because it crashes before doing so (known bug in Xserver 1.4)?

Please try with Xserver 1.4 anyway. You're reporting a bug against a
package which has never been in Debian so far :/


> Section "Device"
>    # add acpi_sleep=s3_bios to boot for resume
>    Identifier  "Card0"
>    Driver      "radeon"  
>    Option      "AccelMethod"      "XAA"        # XAA (default,fast) or EXA (slow,buggy)
>    Option      "AGPMode"          "4"          # default is 1 (4x=firegl-t2)
>    Option      "GARTSize"         "64"         # default is 8 Mb
>    Option      "DynamicClocks"    "on"         # default is off (on=faster?)
>    Option      "RenderAccel"      "off"        # default is on (on=unsupported)
>    Option      "XAANoOffscreenPixmaps"         # default is undefined (required for compiz)
>    #Option      "EnablePageFlip"   "on"         # default is off (on=faster but can cause tearing)
>    Option      "VGAAccess"        "off"        # default is on (not required for radeonfb)
>    Option      "ColorTiling"      "on"         # default is on
> EndSection
>   

You should try removing all these options.

You should try EXA instead of XAA too (especially with Xserver 1.4).

Brice





Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alecr@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #17 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alecr@MIT.EDU>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Sun, 16 Sep 2007 12:33:57 -0400
Hi,

> Is it actually a freeze? Or just the server not restoring the VT console
> because it crashes before doing so (known bug in Xserver 1.4)?

It requires a power off as I have no access to a console/X, but I haven't 
checked whether I can ssh in from another machine. 

> Please try with Xserver 1.4 anyway. You're reporting a bug against a
> package which has never been in Debian so far :/

OK, so I did this two ways:
1) upgrade all packages to experimental -- crashed my system when I
   tried to start X, so I gave up on this!
2) just upgrade: xserver-xorg xserver-xorg-core xserver-xorg-input-kbd
   xserver-xorg-input-mouse xserver-xorg-video-ati... but this has the
   same result, I can't even boot into X and have to hard reboot my
   machine.

> You should try removing all these options.

Is there any reason these would cause problems? Unless I am mistaken,
they break down like so:

* defaults (kept in to be able to switch)
>>    Option      "AccelMethod"      "XAA"        # XAA (default,fast) or EXA (slow,buggy)

* required for compiz
>>    Option      "XAANoOffscreenPixmaps"         # default is undefined (required for compiz)

* physical parameter for my card
>>    Option      "AGPMode"          "4"          # default is 1 (4x=firegl-t2)

* a recommendation I found somewhere (is this necessary?)
>>    Option      "GARTSize"         "64"         # default is 8 Mb

* improve power consumption (I'm on a laptop, does this cause problems)
>>    Option      "DynamicClocks"    "on"         # default is off (on=faster?)

* I use radeonfb and the man page says I can turn this off (problems?)
>>    Option      "VGAAccess"        "off"        # default is on (not required for radeonfb)


> You should try EXA instead of XAA too (especially with Xserver 1.4).

I've been trying this on and off, but with my compiz desktop, EXA is
terribly slow to draw the windows.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <daenzer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #22 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <daenzer@debian.org>
To: Alec Robertson <alecr@MIT.EDU>, 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Mon, 17 Sep 2007 14:11:09 +0200
On Sun, 2007-09-16 at 12:33 -0400, Alec Robertson wrote:
> 
> > You should try removing all these options.
> 
> Is there any reason these would cause problems?

Generally, the intention is for the defaults to be safest, and changing
them incurs a certain risk.


> * a recommendation I found somewhere (is this necessary?)
> >>    Option      "GARTSize"         "64"         # default is 8 Mb

The default may be too small for demanding 3D applications with the r300
Mesa driver.


> * improve power consumption (I'm on a laptop, does this cause problems)

It can cause problems on some hardware setups.

> >>    Option      "DynamicClocks"    "on"         # default is off (on=faster?)

The purpose is to save power by automatically disabling the clocks of
idle GPU blocks. This can't increase performance but may decrease it
slightly in some situations.


> * I use radeonfb and the man page says I can turn this off (problems?)
> >>    Option      "VGAAccess"        "off"        # default is on (not required for radeonfb)

I wouldn't use this on your machine, it's mainly for powerpc machines
where legacy VGA access just doesn't work.


> > You should try EXA instead of XAA too (especially with Xserver 1.4).
> 
> I've been trying this on and off, but with my compiz desktop, EXA is
> terribly slow to draw the windows.

As of X.org 7.3, compiz should be faster with EXA than with XAA with the
r300 Mesa driver.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <daenzer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #27 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <daenzer@debian.org>
To: Alec Robertson <alecr@MIT.EDU>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Mon, 17 Sep 2007 16:24:08 +0200
On Mon, 2007-09-17 at 09:50 -0400, Alec Robertson wrote:
> 
> Thanks for the info. A few more questions.

I'm following up to the bug report, please do so as well.


> >> * a recommendation I found somewhere (is this necessary?)
> >>>>    Option      "GARTSize"         "64"         # default is 8 Mb
> > 
> > The default may be too small for demanding 3D applications with the r300
> > Mesa driver.
> 
> Is 64Gb an acceptable amount for a 128Mb ati card on a 1Gb memory
> system? Aside from compiz, I really don't use any 3D apps.

Then it should be plenty, the default may be fine even.


> >> * improve power consumption (I'm on a laptop, does this cause problems)
> >>>>    Option      "DynamicClocks"    "on"         # default is off (on=faster?)
> > 
> > It can cause problems on some hardware setups.
> 
> Are there common symptoms to suggest that hardware problems may be
> occurring? 

No, they tend to vary with the specific setup.


> One more option that I had included was:
> 
>   Option      "EnablePageFlip"        "on"        # default is off
> 
> * I use page flip because the man page says it improves performance, but
>   for the old ati driver, I had to turn it off as it caused "tearing" of
>   the compiz desktop after switching to/from a virtual console (or going
>   to sleep.)

That wasn't tearing but just a page flipping related bug I fixed for
6.7.19x.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alecr@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #32 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alecr@MIT.EDU>
To: Michel Dänzer <daenzer@debian.org>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Mon, 17 Sep 2007 10:30:26 -0400
Hi Michael,

> I'm following up to the bug report, please do so as well.

I'm not sure what this means, but I'm guessing that I didn't cc the
debian bug report system? I have done so this time.

>> Is 64Gb an acceptable amount for a 128Mb ati card on a 1Gb memory
>> system? Aside from compiz, I really don't use any 3D apps.
> 
> Then it should be plenty, the default may be fine even.

Turns out it complained with 8Mb but is fine with 16Mb.

> That wasn't tearing but just a page flipping related bug I fixed for
> 6.7.19x.

I have re-enabled page flipping and it seems to be better. There is
still a distortion of my screen when swithcing to/from the virtual
consoles, but this generally goes away after a couple of seconds. If
not, a restart of compiz will refresh the screen. I can file a separate
report regarding this (it has been around for a long time.)

>> As of X.org 7.3, compiz should be faster with EXA than with XAA with
>> the r300 Mesa driver.

Xorg no longer crashes when entering or leaving X, however the EXA
performance is still much poorer than XAA. To be sure, it's better than
it was but there is still a great deal of stuttering when switching cube
faces and even xterm windows do not draw cleanly, resulting in
strange refresh effects. Note that I tried this with the ati driver in
unstable and then in experimental, without much difference between the
two.

Also, I still get these, should I report this as a separate bug?

(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32

Regards,

Alec





Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <daenzer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #37 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <daenzer@debian.org>
To: Alec Robertson <alecr@MIT.EDU>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Mon, 17 Sep 2007 16:43:50 +0200
On Mon, 2007-09-17 at 10:30 -0400, Alec Robertson wrote:
> 
> > That wasn't tearing but just a page flipping related bug I fixed for
> > 6.7.19x.
> 
> I have re-enabled page flipping and it seems to be better. There is
> still a distortion of my screen when swithcing to/from the virtual
> consoles, but this generally goes away after a couple of seconds. If
> not, a restart of compiz will refresh the screen. 

What if you just cause compiz to redraw the whole screen, e.g. by
rotating the cube?

> I can file a separate report regarding this (it has been around for a long time.)

It's certainly not the same bug as this one.


> >> As of X.org 7.3, compiz should be faster with EXA than with XAA with
> >> the r300 Mesa driver.
> 
> Xorg no longer crashes when entering or leaving X, however the EXA
> performance is still much poorer than XAA. To be sure, it's better than
> it was but there is still a great deal of stuttering when switching cube
> faces and even xterm windows do not draw cleanly, resulting in
> strange refresh effects. Note that I tried this with the ati driver in
> unstable and then in experimental, without much difference between the
> two.

Weird.


> Also, I still get these, should I report this as a separate bug?
> 
> (WW) AIGLX: 3D driver claims to not support visual 0x23

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


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alecr@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #42 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alecr@MIT.EDU>
To: Michel Dänzer <daenzer@debian.org>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Mon, 17 Sep 2007 12:18:44 -0400
> > I have re-enabled page flipping and it seems to be better. There is
> > still a distortion of my screen when swithcing to/from the virtual
> > consoles, but this generally goes away after a couple of seconds. If
> > not, a restart of compiz will refresh the screen. 
> 
> What if you just cause compiz to redraw the whole screen, e.g. by
> rotating the cube?

Nope, that doesn't work. Only a "compiz --replace" fixes the problem
(short of restarting X).





Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alecr@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #47 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alecr@MIT.EDU>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Wed, 19 Sep 2007 12:17:37 -0400
Hi,

> Do you have a backtrace for this crash? (either at the end of the log,
> or (better) with gdb)

With the latest xserver from unstable, I still get the xv crash. This
backtrace was from vlc playing a dvd then rotating the compiz cube.

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x7e) [0x80c632e]
1: [0xb7f09420]
2: /usr/bin/X [0x80d91f5]
3: /usr/lib/xorg/modules/extensions//libextmod.so(XvdiPutImage+0x178)
[0xb7cb66d8]
4: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7cb9219]
5: /usr/bin/X [0x814d24e]
6: /usr/bin/X(Dispatch+0x2bf) [0x808d00f]
7: /usr/bin/X(main+0x48b) [0x807461b]
8: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d59050]
9: /usr/bin/X(FontFileCompleteXLFD+0x205) [0x8073991]

Fatal server error:
Caught signal 11.  Server aborting

Then it bounces back to the console.





Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Brice Goglin <Brice.Goglin@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #52 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Alec Robertson <alecr@MIT.EDU>, 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Wed, 19 Sep 2007 19:22:25 +0200
Alec Robertson wrote:
> Hi,
>
>   
>> Do you have a backtrace for this crash? (either at the end of the log,
>> or (better) with gdb)
>>     
>
> With the latest xserver from unstable, I still get the xv crash. This
> backtrace was from vlc playing a dvd then rotating the compiz cube.
>
> Backtrace:
> 0: /usr/bin/X(xf86SigHandler+0x7e) [0x80c632e]
> 1: [0xb7f09420]
> 2: /usr/bin/X [0x80d91f5]
> 3: /usr/lib/xorg/modules/extensions//libextmod.so(XvdiPutImage+0x178)
> [0xb7cb66d8]
> 4: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7cb9219]
> 5: /usr/bin/X [0x814d24e]
> 6: /usr/bin/X(Dispatch+0x2bf) [0x808d00f]
> 7: /usr/bin/X(main+0x48b) [0x807461b]
> 8: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d59050]
> 9: /usr/bin/X(FontFileCompleteXLFD+0x205) [0x8073991]
>
> Fatal server error:
> Caught signal 11.  Server aborting

This backtrace seems similar to
https://bugs.freedesktop.org/show_bug.cgi?id=12356 but this one is
against the intel driver so I'd rather be sure it's the same before
commenting there.

Could you try catching a debugging backtrace with gdb? You'll have to
install xserver-xorg-video-ati-dbg and xserver-xorg-core-dbg, log by ssh
from another machine, attach gdb to the running X with "gdb -p $(pidof
X)", reproduce the crash, and enter "bt full" in gdb. Let me know if you
need help.

thanks,
Brice





Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Alec Robertson <alecr@MIT.EDU>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #57 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Alec Robertson <alecr@MIT.EDU>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Wed, 19 Sep 2007 19:31:28 -0400
Hi Brice,

OK, here goes...

> sudo gdb $(pidof X)

GNU gdb 6.6.90.20070912-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 13498
Reading symbols from /usr/bin/Xorg...Reading symbols from
/usr/lib/debug/usr/bin/Xorg...done.
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
done.
Reading symbols from /lib/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXfont.so.1...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libpixman-1.so.0...done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libhal.so.1...done.
Loaded symbols for /usr/lib/libhal.so.1
Reading symbols from /usr/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/i686/cmov/libm.so.6
Reading symbols from /lib/i686/cmov/librt.so.1...done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d6f8c0 (LWP 13498)]
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/xorg/modules/libpcidata.so...Reading
symbols from /usr/lib/debug/usr/lib/xorg/modules/libp
cidata.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules//libpcidata.so
Reading symbols from
/usr/lib/xorg/modules/extensions/libextmod.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/mo
dules/extensions/libextmod.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so
Reading symbols from
/usr/lib/xorg/modules/extensions/libdbe.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modul
es/extensions/libdbe.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so
Reading symbols from
/usr/lib/xorg/modules/extensions/libglx.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modul
es/extensions/libglx.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so
Reading symbols from
/usr/lib/xorg/modules/fonts/libfreetype.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modul
es/fonts/libfreetype.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules//fonts/libfreetype.so
Reading symbols from /usr/lib/xorg/modules/fonts/libtype1.so...Reading
symbols from /usr/lib/debug/usr/lib/xorg/modules/
fonts/libtype1.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules//fonts/libtype1.so
Reading symbols from
/usr/lib/xorg/modules/extensions/librecord.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/mo
dules/extensions/librecord.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.so
Reading symbols from
/usr/lib/xorg/modules/extensions/libdri.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modul
es/extensions/libdri.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so
Reading symbols from /usr/lib/libdrm.so.2...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from
/usr/lib/xorg/modules/drivers/radeon_drv.so...Reading symbols from
/usr/lib/debug/usr/lib/xorg/modu
les/drivers/radeon_drv.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/drivers//radeon_drv.so
Reading symbols from /usr/lib/xorg/modules/drivers/ati_drv.so...Reading
symbols from /usr/lib/debug/usr/lib/xorg/modules
/drivers/ati_drv.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/drivers//ati_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/libvgahw.so...Reading symbols
from /usr/lib/debug/usr/lib/xorg/modules/libvga
hw.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules//libvgahw.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...Reading symbols
from /usr/lib/debug/usr/lib/xorg/modules/libint
10.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules//libint10.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...Reading symbols
from /usr/lib/debug/usr/lib/xorg/modules/libfb.so.
..done.
done.
Loaded symbols for /usr/lib/xorg/modules//libfb.so
Reading symbols from /usr/lib/xorg/modules/libxaa.so...Reading symbols
from /usr/lib/debug/usr/lib/xorg/modules/libxaa.s
o...done.
done.
Loaded symbols for /usr/lib/xorg/modules//libxaa.so
Reading symbols from
/usr/lib/xorg/modules/multimedia/theatre_detect_drv.so...Reading symbols
from /usr/lib/debug/usr/li
b/xorg/modules/multimedia/theatre_detect_drv.so...done.
done.
Loaded symbols for
/usr/lib/xorg/modules/multimedia//theatre_detect_drv.so
Reading symbols from /usr/lib/dri/r300_dri.so...done.
Loaded symbols for /usr/lib/dri/r300_dri.so
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
0xb7f4e410 in __kernel_vsyscall ()
(gdb) continue 
Continuing.

> mplayer -vo xv mymovie.mp4
> rotate compiz cube with Alt-Left
> crash!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d6f8c0 (LWP 13498)]
0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740, 
    drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169, 
    buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
@AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
    at ../../src/radeon_video.c:2910
2910    ../../src/radeon_video.c: No such file or directory.
        in ../../src/radeon_video.c

> bt full

#0  0xb7ca9132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, 
    drw_x=-3740, drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169, 
    buf=0xa40d0000 "\037!'.486.&\"\037\036 \"!!\"\"\"!\037\036\034\032\032\031\031\032\031\031\032\032\032", '\031' <repeats 14 times>, "\032\033\035\037\"&))***+++,,", '+' <repeats 11 times>, ',' <repeats 13 times>, '+' <repeats 11 times>, "*******)*****,/145788788889989::::;;;;;;;;=>>>=<;<@?@AABA@@CCCDEFFFGGE?7-#\036\036\036\036\037\037  \036\034\033\033\033\033\034\035\035\036\035\034\033\034\035\036\036\036\037\037"..., width=480, height=272, Sync=0, clipBoxes=0xbf92b534, 
    data=0x825cc98, pDraw=0x87bbb28) at ../../src/radeon_video.c:2910
        pPriv = <value optimized out>
        xa = 0
        xb = 31457280
        ya = 0
        yb = 17825792
        dst_start = <value optimized out>
        new_size = <value optimized out>
        offset = <value optimized out>
        s2offset = <value optimized out>
        s3offset = <value optimized out>
        srcPitch = <value optimized out>
        srcPitch2 = <value optimized out>
        dstPitch = <value optimized out>
        d2line = <value optimized out>
        d3line = <value optimized out>
        top = <value optimized out>
        left = <value optimized out>
        npixels = <value optimized out>
        nlines = <value optimized out>
        dstBox = {x1 = -3740, y1 = 389, x2 = -3260, y2 = 661}
        crtc = (xf86CrtcPtr) 0x0
#1  0x080d91f5 in xf86XVPutImage (client=0x87bbc78, pDraw=0x87bbb28, pPort=0x8265288, pGC=0x87bd808, 
    src_x=<value optimized out>, src_y=<value optimized out>, src_w=<value optimized out>, src_h=<value optimized out>, 
    drw_x=0, drw_y=0, drw_w=<value optimized out>, drw_h=<value optimized out>, format=0x8264da0, 
    data=0xa40d0000 "\037!'.486.&\"\037\036 \"!!\"\"\"!\037\036\034\032\032\031\031\032\031\031\032\032\032", '\031' <repeats 14 times>, "\032\033\035\037\"&))***+++,,", '+' <repeats 11 times>, ',' <repeats 13 times>, '+' <repeats 11 times>, "*******)*****,/145788788889989::::;;;;;;;;=>>>=<;<@?@AABA@@CCCDEFFFGGE?7-#\036\036\036\036\037\037  \036\034\033\033\033\033\034\035\035\036\035\034\033\034\035\036\036\036\037\037"..., sync=0, width=<value optimized out>, 
    height=<value optimized out>) at ../../../../hw/xfree86/common/xf86xv.c:1777
        portPriv = <value optimized out>
        WinRegion = {extents = {x1 = -3740, y1 = 389, x2 = -3260, y2 = 661}, data = 0x0}
        ClipRegion = {extents = {x1 = -3740, y1 = 389, x2 = -3260, y2 = 661}, data = 0x0}
        ret = 0
#2  0xb7d476d8 in XvdiPutImage (client=0x87bbc78, pDraw=0x87bbb28, pPort=0x8265288, pGC=0x87bd808, 
    src_x=<value optimized out>, src_y=<value optimized out>, src_w=<value optimized out>, src_h=<value optimized out>, 
    drw_x=<value optimized out>, drw_y=<value optimized out>, drw_w=<value optimized out>, drw_h=<value optimized out>, 
    image=0x8264da0, 
    data=0xa40d0000 "\037!'.486.&\"\037\036 \"!!\"\"\"!\037\036\034\032\032\031\031\032\031\031\032\032\032", '\031' <repeats 14 times>, "\032\033\035\037\"&))***+++,,", '+' <repeats 11 times>, ',' <repeats 13 times>, '+' <repeats 11 times>, "*******)*****,/145788788889989::::;;;;;;;;=>>>=<;<@?@AABA@@CCCDEFFFGGE?7-#\036\036\036\036\037\037  \036\034\033\033\033\033\034\035\035\036\035\034\033\034\035\036\036\036\037\037"..., sync=0, width=<value optimized out>, 
    height=<value optimized out>) at ../../Xext/xvmain.c:730
No locals.
#3  0xb7d4a546 in ProcXvShmPutImage (client=0x87bbc78) at ../../Xext/xvdisp.c:1180
        ev = {type = 79 'O', bpad0 = 208 'Ð', sequenceNumber = 2068, drawable = 136320644, minorEvent = 46672, 
  majorEvent = 146 '\222', bpad1 = 191 '¿', shmseg = 3214063256, offset = 135996509, pad0 = 142326904, 
  pad1 = 136769696, pad2 = 1}
        pDraw = (DrawablePtr) 0x87bbb28
        pPort = (XvPortPtr) 0x8265288
        pImage = (XvImagePtr) 0x8264da0
        pGC = (GCPtr) 0x87bd808
        status = 0
        size_needed = <value optimized out>
        i = <value optimized out>
        width = 480
        height = 272
#4  0x0814d24e in XaceCatchExtProc (client=0x87bbc78) at ../../Xext/xace.c:299
        major = 140
        ext = <value optimized out>
#5  0x0808d00f in Dispatch () at ../../dix/dispatch.c:502
        result = <value optimized out>
        client = (ClientPtr) 0x87bbc78
        nready = 0
        start_tick = 3680
#6  0x0807461b in main (argc=7, argv=0xbf92bbe4, envp=Cannot access memory at address 0xf34c
) at ../../dix/main.c:452
        pScreen = <value optimized out>
        i = 1
        error = 136143616
        xauthfile = <value optimized out>
        alwaysCheckForInput = {0, 1}

> Xorg radeon section

Section "Device"
   # add acpi_sleep=s3_bios to boot for resume
   Identifier "Card0"
   Driver     "radeon"  
   Option     "AccelMethod"           "XAA"  # XAA (default) or EXA (slow)
   Option     "AGPMode"               "4"    # default is 1 (4x=firegl-t2)
   Option     "GARTSize"              "16"   # default is 8 Mb (8 too small, 64 recommended, 16 OK)
   Option     "XAANoOffscreenPixmaps" "on"   # default is undefined (required for compiz)
   Option     "ScalerWidth"           "1536" # max xv scaler width (default=1920)
   Option     "EnablePageFlip"        "on"   # default is off (on=faster)<F2>
EndSection

> Only default modules loaded




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <daenzer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #62 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <daenzer@debian.org>
To: Alec Robertson <alecr@MIT.EDU>, 441902@bugs.debian.org
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Fri, 21 Sep 2007 10:57:42 +0200
[Message part 1 (text/plain, inline)]
On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740, 
>     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169, 
>     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
>     at ../../src/radeon_video.c:2910

[...]

>         crtc = (xf86CrtcPtr) 0x0

Does the attached patch fix it?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer
[radeon-video-no-crtc.diff (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to "Alex Deucher" <alexdeucher@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #67 received at 441902@bugs.debian.org (full text, mbox, reply):

From: "Alex Deucher" <alexdeucher@gmail.com>
To: "Michel Dänzer" <daenzer@debian.org>, 441902@bugs.debian.org
Cc: "Alec Robertson" <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Fri, 21 Sep 2007 09:50:01 -0400
On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> > 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740,
> >     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169,
> >     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> > ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> > @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> > 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
> >     at ../../src/radeon_video.c:2910
>
> [...]
>
> >         crtc = (xf86CrtcPtr) 0x0
>
> Does the attached patch fix it?

we should probably fall back to the old clipping code in the case of
single crtc chips.  Either that or we need to also apply this patch to
the version of this code in the server.

Alex




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <daenzer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #72 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <daenzer@debian.org>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: 441902@bugs.debian.org, Alec Robertson <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Fri, 21 Sep 2007 15:58:25 +0200
On Fri, 2007-09-21 at 09:50 -0400, Alex Deucher wrote:
> On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> > On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> > > 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740,
> > >     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169,
> > >     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> > > ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> > > @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> > > 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
> > >     at ../../src/radeon_video.c:2910
> >
> > [...]
> >
> > >         crtc = (xf86CrtcPtr) 0x0
> >
> > Does the attached patch fix it?
> 
> we should probably fall back to the old clipping code in the case of
> single crtc chips.  

An M10 isn't single CRTC. I think the problem here is that the window
lies outside of either CRTC.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to "Alex Deucher" <alexdeucher@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #77 received at 441902@bugs.debian.org (full text, mbox, reply):

From: "Alex Deucher" <alexdeucher@gmail.com>
To: "Michel Dänzer" <daenzer@debian.org>
Cc: 441902@bugs.debian.org, "Alec Robertson" <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Fri, 21 Sep 2007 11:26:06 -0400
On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> On Fri, 2007-09-21 at 09:50 -0400, Alex Deucher wrote:
> > On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> > > On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> > > >
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> > > > 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740,
> > > >     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169,
> > > >     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> > > > ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> > > > @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> > > > 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
> > > >     at ../../src/radeon_video.c:2910
> > >
> > > [...]
> > >
> > > >         crtc = (xf86CrtcPtr) 0x0
> > >
> > > Does the attached patch fix it?
> >
> > we should probably fall back to the old clipping code in the case of
> > single crtc chips.
>
> An M10 isn't single CRTC. I think the problem here is that the window
> lies outside of either CRTC.

ah ok.  I think we handle the crtcs ok anyway come to think of it.
just replying to the email, I haven't looked at the full bug report
yet.

Alex




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Timo Aaltonen <tjaalton@cc.hut.fi>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #82 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Timo Aaltonen <tjaalton@cc.hut.fi>
To: 441902@bugs.debian.org
Cc: Alec Robertson <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Sat, 22 Sep 2007 00:15:33 +0300 (EEST)
this was reported on Ubuntu too:

https://bugs.launchpad.net/debian/+source/xserver-xorg-video-ati/+bug/141533

and reverting commit 5d044b9f74c7aa7e12f2822896fed881e2ca9d19 provided a 
workaround for now.

t




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Timo Aaltonen <tjaalton@cc.hut.fi>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #87 received at 441902@bugs.debian.org (full text, mbox, reply):

From: Timo Aaltonen <tjaalton@cc.hut.fi>
To: 441902@bugs.debian.org
Cc: Alec Robertson <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Sat, 22 Sep 2007 01:14:49 +0300 (EEST)
On Sat, 22 Sep 2007, Timo Aaltonen wrote:

>
> this was reported on Ubuntu too:
>
> https://bugs.launchpad.net/debian/+source/xserver-xorg-video-ati/+bug/141533
>
> and reverting commit 5d044b9f74c7aa7e12f2822896fed881e2ca9d19 provided a 
> workaround for now.

..but apparently that breaks Xv on dualhead, so the proposed fix by Michel 
Dänzer should be better, according to upstream :)

t




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to "Alex Deucher" <alexdeucher@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #92 received at 441902@bugs.debian.org (full text, mbox, reply):

From: "Alex Deucher" <alexdeucher@gmail.com>
To: "Michel Dänzer" <daenzer@debian.org>, 441902@bugs.debian.org
Cc: "Alec Robertson" <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Sat, 22 Sep 2007 14:26:09 -0400
On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> > 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740,
> >     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169,
> >     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> > ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> > @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> > 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
> >     at ../../src/radeon_video.c:2910
>
> [...]
>
> >         crtc = (xf86CrtcPtr) 0x0
>
> Does the attached patch fix it?

I've tested and confirmed and committed the patch.

Thanks,

Alex




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#441902; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to "Alex Deucher" <alexdeucher@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #97 received at 441902@bugs.debian.org (full text, mbox, reply):

From: "Alex Deucher" <alexdeucher@gmail.com>
To: "Michel Dänzer" <daenzer@debian.org>, 441902@bugs.debian.org
Cc: "Alec Robertson" <alecr@mit.edu>
Subject: Re: Bug#441902: xserver-xorg-video-ati: 6.7.192-1~7.2 crashes xserver with xv video playback on compiz
Date: Sat, 22 Sep 2007 18:32:00 -0400
On 9/22/07, Alex Deucher <alexdeucher@gmail.com> wrote:
> On 9/21/07, Michel Dänzer <daenzer@debian.org> wrote:
> > On Wed, 2007-09-19 at 19:31 -0400, Alec Robertson wrote:
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 0xb7d6f8c0 (LWP 13498)]
> > > 0xb7c5d132 in RADEONPutImage (pScrn=0x8216fb0, src_x=<value optimized out>, src_y=<value optimized out>, drw_x=-3740,
> > >     drw_y=389, src_w=480, src_h=272, drw_w=480, drw_h=272, id=842094169,
> > >     buf=0xa40b1000 ")+++,-.' \036 \"!!!\"! \035\033\033", '\032' <repeats 12 times>, '\031' <repeats 14 times>, "\033 $(
> > > ))**++++,,++++++++", ',' <repeats 16 times>, '+' <repeats 14 times>, "*****)****,.24688878888998::::::;;;;<<<=>>=;;;<==@
> > > @AABBBBCDEEFFGGGE=5-\"\035\034\034\034\035\035\035\034\034\034\034\034\033\033\032\033\033\034\035\035\036\036\035\036\0
> > > 36\037\037\036\036\036"..., width=480, height=272, Sync=0, clipBoxes=0xbfa0de14, data=0x825cc98, pDraw=0x8812b38)
> > >     at ../../src/radeon_video.c:2910
> >
> > [...]
> >
> > >         crtc = (xf86CrtcPtr) 0x0
> >
> > Does the attached patch fix it?
>
> I've tested and confirmed and committed the patch.

I talked to keithp and that fix breaks ABI, so I reverted and
committed a better fix.  Sorry about that.

Alex




Tags added: fixed-upstream Request was from Brice Goglin <bgoglin@debian.org> to control@bugs.debian.org. (Sun, 23 Sep 2007 08:03:02 GMT) (full text, mbox, link).


Reply sent to Brice Goglin <bgoglin@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Alec Robertson <alec.robertson@gmail.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #104 received at 441902-close@bugs.debian.org (full text, mbox, reply):

From: Brice Goglin <bgoglin@debian.org>
To: 441902-close@bugs.debian.org
Subject: Bug#441902: fixed in xserver-xorg-video-ati 1:6.7.194-1
Date: Mon, 24 Sep 2007 06:17:10 +0000
Source: xserver-xorg-video-ati
Source-Version: 1:6.7.194-1

We believe that the bug you reported is fixed in the latest version of
xserver-xorg-video-ati, which is due to be installed in the Debian FTP archive:

xserver-xorg-video-ati-dbg_6.7.194-1_i386.deb
  to pool/main/x/xserver-xorg-video-ati/xserver-xorg-video-ati-dbg_6.7.194-1_i386.deb
xserver-xorg-video-ati_6.7.194-1.diff.gz
  to pool/main/x/xserver-xorg-video-ati/xserver-xorg-video-ati_6.7.194-1.diff.gz
xserver-xorg-video-ati_6.7.194-1.dsc
  to pool/main/x/xserver-xorg-video-ati/xserver-xorg-video-ati_6.7.194-1.dsc
xserver-xorg-video-ati_6.7.194-1_i386.deb
  to pool/main/x/xserver-xorg-video-ati/xserver-xorg-video-ati_6.7.194-1_i386.deb
xserver-xorg-video-ati_6.7.194.orig.tar.gz
  to pool/main/x/xserver-xorg-video-ati/xserver-xorg-video-ati_6.7.194.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 441902@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brice Goglin <bgoglin@debian.org> (supplier of updated xserver-xorg-video-ati package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 24 Sep 2007 07:59:36 +0200
Source: xserver-xorg-video-ati
Binary: xserver-xorg-video-ati-dbg xserver-xorg-video-ati
Architecture: source i386
Version: 1:6.7.194-1
Distribution: experimental
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Brice Goglin <bgoglin@debian.org>
Description: 
 xserver-xorg-video-ati - X.Org X server -- ATI display driver
 xserver-xorg-video-ati-dbg - X.Org X server -- ATI display driver (debugging symbols)
Closes: 441902 443570
Changes: 
 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.
Files: 
 0e03cb248de9155b1a5303bfad5999ca 1267 x11 optional xserver-xorg-video-ati_6.7.194-1.dsc
 30ca3c233253d6eb5c761073f9464a11 986450 x11 optional xserver-xorg-video-ati_6.7.194.orig.tar.gz
 155f519b051e76b5afb9809c43a8c7c1 107275 x11 optional xserver-xorg-video-ati_6.7.194-1.diff.gz
 eda308144bf79a6532382cb09d66073b 403492 x11 optional xserver-xorg-video-ati_6.7.194-1_i386.deb
 41eafeebf9a7d1e51774347644ff423a 1746018 x11 extra xserver-xorg-video-ati-dbg_6.7.194-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG91RlRh88F8PcWfoRAoMpAJ0SgD9cNWEBNGmA9sgcz1LHuSS8kACfS6n0
hkaRqOnVPNBZBsnEkZ2gGaU=
=FRfV
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 May 2008 07:28:14 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 6 01:39:57 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.