Processed: Re: Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-06-01 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tag 251307 + patch
Bug#251307: xserver-xfree86: [ati/atimisc] XVideo apps crash X server; 
complaints of unresolved symbol xf86XVCopyYUV12ToPacked on 3D Rage IIC AGP rev 
122
Tags were: upstream sid
Tags added: patch

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-06-01 Thread Branden Robinson
tag 251307 + patch
thanks

On Sun, May 30, 2004 at 10:32:35PM +0300, Modestas Vainius wrote:
 Saturday 29 May 2004 13:45, Michel Dänzer rašė:
  X server symbols aren't automatically visible to modules though; they
  need to be exported with SYMFUNC() in
  xc/programs/Xserver/hw/xfree86/loader/xf86sym.c . It looks like that
  file was overlooked in the patch.
 
 Michel, thank you for the hint! I have made a patch (attached) according to 
 your guidelines, put it into debian/patches and recompiled xfree86 
 4.3.0.dfsg.1-4 And, yes, there is no message about the unresolved symbol in 
 the log anymore. Moreover, a quick test revealed, that mplayer and kaffeine 
 seem to work fine and, of course, X doesn't crash. Thus, I think, the bug is 
 fixed!

Outstanding!  Thanks for taking the initiative on this, Mr. Vainius.

It makes my job that much easier.  :)

-- 
G. Branden Robinson|  I came, I saw, she conquered.
Debian GNU/Linux   |  The original Latin seems to have
[EMAIL PROTECTED] |  been garbled.
http://people.debian.org/~branden/ |  -- Robert Heinlein


signature.asc
Description: Digital signature


Processed: Re: Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # it's still a bug in the upstream part of the code, as opposed to the
 # packaging
 tag 251307 + upstream
Bug#251307: xserver-xfree86: [ati/atimisc] XVideo apps crash X server; 
complaints of unresolved symbol xf86XVCopyYUV12ToPacked on 3D Rage IIC AGP rev 
122
Tags were: sid
Tags added: upstream

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-30 Thread Branden Robinson
# it's still a bug in the upstream part of the code, as opposed to the
# packaging
tag 251307 + upstream
thanks

On Sat, May 29, 2004 at 12:45:51PM +0200, Michel Dänzer wrote:
 X server symbols aren't automatically visible to modules though; they
 need to be exported with SYMFUNC() in
 xc/programs/Xserver/hw/xfree86/loader/xf86sym.c . It looks like that
 file was overlooked in the patch.

Ah.  Thank you.

-- 
G. Branden Robinson| I don't care if it has a GUI, or
Debian GNU/Linux   | command line, or is carved in mud
[EMAIL PROTECTED] | with a sharp spoon.
http://people.debian.org/~branden/ | -- Barry Smith


signature.asc
Description: Digital signature


Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-30 Thread Modestas Vainius
Saturday 29 May 2004 13:45, Michel Dänzer rašė:
 X server symbols aren't automatically visible to modules though; they
 need to be exported with SYMFUNC() in
 xc/programs/Xserver/hw/xfree86/loader/xf86sym.c . It looks like that
 file was overlooked in the patch.

Michel, thank you for the hint! I have made a patch (attached) according to 
your guidelines, put it into debian/patches and recompiled xfree86 
4.3.0.dfsg.1-4 And, yes, there is no message about the unresolved symbol in 
the log anymore. Moreover, a quick test revealed, that mplayer and kaffeine 
seem to work fine and, of course, X doesn't crash. Thus, I think, the bug is 
fixed!
diff -uNr xc.old/programs/Xserver/hw/xfree86/loader/xf86sym.c xc/programs/Xserver/hw/xfree86/loader/xf86sym.c
--- xc.old/programs/Xserver/hw/xfree86/loader/xf86sym.c	2004-05-30 20:07:16.0 +0300
+++ xc/programs/Xserver/hw/xfree86/loader/xf86sym.c	2004-05-30 20:07:44.0 +0300
@@ -569,6 +569,7 @@
SYMFUNC(xf86XVFreeVideoAdaptorRec)
SYMFUNC(xf86XVFillKeyHelper)
SYMFUNC(xf86XVClipVideoHelper)
+   SYMFUNC(xf86XVCopyYUV12ToPacked)
 
/* xf86xvmc.c */
SYMFUNC(xf86XvMCScreenInit)


pgpYGTZxdXGm3.pgp
Description: signature


Processed: Re: Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tag 251307 + moreinfo upstream
Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps 
crash X server (on ATI Range IIc (Mach64) card)
Tags were: sid
Tags added: moreinfo, upstream

 retitle 251307 xserver-xfree86: [ati/atimisc] XVideo apps crash X server; 
 complaints of unresolved symbol xf86XVCopyYUV12ToPacked on 3D Rage IIC AGP 
 rev 122
Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps 
crash X server (on ATI Range IIc (Mach64) card)
Changed Bug title.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-29 Thread Branden Robinson
tag 251307 + moreinfo upstream
retitle 251307 xserver-xfree86: [ati/atimisc] XVideo apps crash X server; 
complaints of unresolved symbol xf86XVCopyYUV12ToPacked on 3D Rage IIC AGP rev 
122
thanks

On Fri, May 28, 2004 at 12:50:28AM +0300, Modestas Vainius wrote:
 Package: xserver-xfree86
 Version: 4.3.0.dfsg.1-2
 Severity: important
 Tags: sid
 
 Hello,
 
 First of all, thank you for including the new ATI driver. I have used
 the driver from http://gatos.sf.net for a year or so to get Xv support
 for my video card. Finally, the xserver-xfree86 is supposed to support
 XVideo on my pretty old video card out of the box.

Yes, I was hoping this would make some people happy.

 However, there is one problem currently. It seems that any XVideo app
 (I have tested mplayer and kaffeine (xine)) brings the X server down.
 /var/log/XFree86.0.log.old provides good hints though. I have attached this
 file it doesn't get included in the report automatically.
 /var/log/XFree86.0.log.old has the log of the X server instance which was 
 crashed by mplayer. /var/log/XFree86.0.log (automatically included)
 is from the currently running X server instance. I think, the cause of
 my problem is the unresolved symbol:
 
 Symbol xf86XVCopyYUV12ToPacked from module 
 /usr/X11R6/lib/modules/drivers/atimisc_drv.o is unresolved!
 
 which yields the following error on crash:
 
   This should not happen!
   An unresolved function was called!

This is quite strange.  According to objdump:

% objdump --dynamic-syms /usr/X11R6/bin/XFree86 | grep xf86XVCopyYUV12ToPacked
10070394 gDF .text  01ac  Basexf86XVCopyYUV12ToPacked

What does this command say for you?

I've looked over the sources and this is not a symbol that has to be
imported; it, along with the rest of XVideo appears to be in the part of
the XFree86 X server that is resident in memory all the time (else it
wouldn't appear in objdump).

For that matter:

% objdump --dynamic-syms /usr/X11R6/bin/XFree86 | grep xf86XV
1006c808 gDF .text  0080  Basexf86XVRegisterGenericAdaptorDriver
10070394 gDF .text  01ac  Basexf86XVCopyYUV12ToPacked
1006c9c0 gDF .text  002c  Basexf86XVQueryOffscreenImages
1006c9ec gDF .text  0024  Basexf86XVAllocateVideoAdaptorRec
1006fd98 gDF .text  05fc  Basexf86XVClipVideoHelper
1006ca30 gDF .text  0248  Basexf86XVScreenInit
10070540 gDF .text  009c  Basexf86XVCopyPacked
1006ca10 gDF .text  0020  Basexf86XVFreeVideoAdaptorRec
1006c888 gDF .text  0108  Basexf86XVListGenericAdaptors
1006fbdc gDF .text  01bc  Basexf86XVFillKeyHelper
1006c990 gDF .text  0030  Basexf86XVRegisterOffscreenImages

 Feel free to ask for more information. You may send patches to me.
 I will test them shortly!

Try using xserver-xfree86-dbg instead.  What happens then?

If the symbol were truly unresolved, the package build would fail when the
gigantic, static XFree86 debug binary were linked.  But that doesn't happen.

-- 
G. Branden Robinson|   If atheism is a religion, then
Debian GNU/Linux   |   health is a disease.
[EMAIL PROTECTED] |   -- Clark Adams
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Processed: Re: Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 251307 - moreinfo upstream
Bug#251307: xserver-xfree86: [ati/atimisc] XVideo apps crash X server; 
complaints of unresolved symbol xf86XVCopyYUV12ToPacked on 3D Rage IIC AGP rev 
122
Tags were: upstream moreinfo sid
Tags removed: moreinfo, upstream

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-29 Thread Michel Dänzer
tags 251307 - moreinfo upstream
thanks

On Sat, 2004-05-29 at 04:09 -0500, Branden Robinson wrote:
 
 On Fri, May 28, 2004 at 12:50:28AM +0300, Modestas Vainius wrote:
  
  Symbol xf86XVCopyYUV12ToPacked from module 
  /usr/X11R6/lib/modules/drivers/atimisc_drv.o is unresolved!
  
  which yields the following error on crash:
  
  This should not happen!
  An unresolved function was called!
 
 This is quite strange.  According to objdump:
 
 % objdump --dynamic-syms /usr/X11R6/bin/XFree86 | grep xf86XVCopyYUV12ToPacked
 10070394 gDF .text  01ac  Basexf86XVCopyYUV12ToPacked
 
 What does this command say for you?
 
 I've looked over the sources and this is not a symbol that has to be
 imported; it, along with the rest of XVideo appears to be in the part of
 the XFree86 X server that is resident in memory all the time (else it
 wouldn't appear in objdump).

X server symbols aren't automatically visible to modules though; they
need to be exported with SYMFUNC() in
xc/programs/Xserver/hw/xfree86/loader/xf86sym.c . It looks like that
file was overlooked in the patch.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer





Bug#251307: xserver-xfree86: A problem with the new ATI driver: XVideo apps crash X server (on ATI Range IIc (Mach64) card)

2004-05-27 Thread Modestas Vainius
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-2
Severity: important
Tags: sid

Hello,

First of all, thank you for including the new ATI driver. I have used
the driver from http://gatos.sf.net for a year or so to get Xv support
for my video card. Finally, the xserver-xfree86 is supposed to support
XVideo on my pretty old video card out of the box.

However, there is one problem currently. It seems that any XVideo app
(I have tested mplayer and kaffeine (xine)) brings the X server down.
/var/log/XFree86.0.log.old provides good hints though. I have attached this
file it doesn't get included in the report automatically.
/var/log/XFree86.0.log.old has the log of the X server instance which was 
crashed by mplayer. /var/log/XFree86.0.log (automatically included)
is from the currently running X server instance. I think, the cause of
my problem is the unresolved symbol:

Symbol xf86XVCopyYUV12ToPacked from module 
/usr/X11R6/lib/modules/drivers/atimisc_drv.o is unresolved!

which yields the following error on crash:

This should not happen!
An unresolved function was called!


That's what 'xvinfo' says:

$ xvinfo - display :0
X-Video Extension version 2.2
screen #0
  Adaptor #0: ATI Mach64 Back-end Overlay Scaler
number of ports: 1
port base: 61
operations supported: PutImage 
supported visuals:
  depth 16, visualID 0x23
  depth 16, visualID 0x24
  depth 16, visualID 0x25
  depth 16, visualID 0x26
  depth 16, visualID 0x27
  depth 16, visualID 0x28
  depth 16, visualID 0x29
  depth 16, visualID 0x2a
number of attributes: 8
  XV_AUTOPAINT_COLOURKEY (range 0 to 1)
  client settable attribute
  client gettable attribute (current value is 1)
  XV_AUTOPAINT_COLORKEY (range 0 to 1)
  client settable attribute
  client gettable attribute (current value is 1)
  XV_COLOURKEY (range 0 to 16777215)
  client settable attribute
  client gettable attribute (current value is 3137)
  XV_COLORKEY (range 0 to 16777215)
  client settable attribute
  client gettable attribute (current value is 3137)
  XV_COLOURKEY_MASK (range 0 to 16777215)
  client settable attribute
  client gettable attribute (current value is 65535)
  XV_COLORKEY_MASK (range 0 to 16777215)
  client settable attribute
  client gettable attribute (current value is 65535)
  XV_SET_DEFAULTS (range 0 to 0)
  client settable attribute
  XV_DOUBLE_BUFFER (range 0 to 1)
  client settable attribute
  client gettable attribute (current value is 0)
maximum XvImage size: 720 x 2048
Number of image formats: 4
  id: 0x32595559 (YUY2)
guid: 59555932--0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
  id: 0x59565955 (UYVY)
guid: 55595659--0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
  id: 0x32315659 (YV12)
guid: 59563132--0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
  id: 0x30323449 (I420)
guid: 49343230--0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)


Feel free to ask for more information. You may send patches to me.
I will test them shortly!


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

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxr-xr-x1 root root   20 2004-05-27 15:01 /etc/X11/X - 
/usr/bin/X11/XFree86
-rwxr-xr-x1 root root  1745132 2004-05-26 00:30 /usr/bin/X11/XFree86

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP 
(rev 7a)
:01:00.0 Class 0300: 1002:475a (rev 7a)

/var/lib/xfree86/XF86Config-4.md5sum does not exist.

XFree86 X server configuration file status:
-rw-r--r--1 root root 3052 2004-05-27 15:02 
/etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4