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

2007-09-19 Thread Alec Robertson
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

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 f

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

2007-09-19 Thread Alec Robertson
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.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-09-17 Thread Alec Robertson
> > 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).




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-09-17 Thread Alec Robertson
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




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-09-16 Thread Alec Robertson
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.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-09-11 Thread Alec Robertson
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"
Screen0  "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"
DefaultDepth24
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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]