Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2000 00:18:31 -0700
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        multimedia@Freebsd.org
Subject:   Help needed debugging 3.4-STABLE/XFree4/fxtv problem
Message-ID:  <20000413001831.A2695@PacHell.TelcoSucks.org>

next in thread | raw e-mail | index | archive | help
So I cvsuped 3.4-STABLE last night. I also compiled XFree86 4.0.
Now I have problems with fxtv. When I run it as me, its using
DGA, but as soon I touch the window (move, resize, switching between
virtual desktop), it core dumps with this:

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  143 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  2318
  Current serial number in output stream:  2319

If I run it as root, things work fine, but its using Ximages, which 
is slow, as we all know.

Kernel is compile with:

options         SYSVSHM
options         SYSVMSG

fxtv -debug startup:

Fxtv v1.02

DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
    bktr0: <BrookTree 848A> rev 0x12 int a irq 16 on pci0.16.0
    bti2c0: <bt848 Hard/Soft I2C controller>

SYSCTL MIB VALUES:
    kern.version: FreeBSD 3.4-STABLE #0: Tue Apr 11 22:37:32 PDT 2000
        root@PacHell.TelcoSucks.org:/usr/home/src/sys/compile/PACHELL-SMP
    
    hw.bt848.card: -1
    hw.bt848.tuner: -1
    hw.bt848.reverse_mute: -1
    hw.bt848.format: -1

TUNER SIGNATURE (0x01 - 0xff):
    00 00 00 00 00 00 00 00 00 00 80 08 03 00 00 00

TUNER I2C DEVICES FOUND AT:
    0xae, 0xb6, 0xc0, 0xc2

CAPTURE CARD EEPROM CONTENTS:
   Read 128 EEPROM bytes (0x00 - 0x7f)
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

SUPPORTED FREQUENCY SETS:
     1 nabcst
     2 cableirc
     3 cablehrc
     4 weurope
     5 jpnbcst
     6 jpncable
     7 xussr
     8 australia
     9 france

Supported RGB Capture Pixel Formats:
   bpp  Bpp  RGB Masks                     Swap
   ---  ---  ----------------------------  ----
    15   2   00007c00, 000003e0, 0000001f  NB
    16   2   0000f800, 000007e0, 0000001f  NB
    24   3   00ff0000, 0000ff00, 000000ff   B
    24   4   00ff0000, 0000ff00, 000000ff  NBWb

Supported YUV Capture Pixel Formats:
   YUVSize  HSamp  VSamp  Pack    CompOrder  T->B  L->R  YTrans
   -------  -----  -----  ------  ---------  ----  ----  ------
    8,8,8   1,2,2  1,1,1  PLANAR  YUV         Y     Y      N
    8,8,8   1,2,2  1,1,1  PACKED  YUYV        Y     Y      N
    8,8,8   1,2,2  1,2,2  PLANAR  YUV         Y     Y      N


XSERVER: 'The XFree86 Project, Inc' v4000,  Protocol Verson 11.0
         Screen Res = 1280x1024, DefDepth = 16; NumScreens = 1
         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = LSBFirst

XF86DGAQueryVersion() succeeded - vers = 2.00
   BaseAddr = 0xf6000000, Pitch = 1280, BankSize/RamSize = 8388608/8388608

Rating Available Visuals:
   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap  DirectVid
   ------  -----------  ---  ---  ----------------------------  ----  ---------
     5     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      Yes
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     4     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
     0     DirectColor   16  2,2  0000f800, 000007e0, 0000001f   --      No
Chosen Visual is 16-bpp TrueColor

XF86VidModeQueryVersion() succeeded - version = 2.00

xdpyinfo:

name of display:    :0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    4000
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x80000e, revert to Parent
number of extensions:    24
    BIG-REQUESTS
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    FontCache
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XFree86-DGA
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (433x347 millimeters)
  resolution:    75x75 dots per inch
  depths (1):    16
  root window id:    0x35
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0x58007f
    KeyPressMask             KeyReleaseMask           ButtonPressMask          
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask          
    PointerMotionMask        SubstructureNotifyMask   SubstructureRedirectMask 
    PropertyChangeMask       
  number of visuals:    14
  default visual id:  0x24
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2b
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2c
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2d
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2e
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x2f
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x30
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x31
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits

Any idea whats wrong ?

-- 
Regards, Ulf.

---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936
Alameda Networks, Inc. | http://www.Alameda.net  | Fax#: 510-521-5073


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000413001831.A2695>