Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2000 17:08:54 +0100
From:      John Toon <j.a.toon@btinternet.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Strange Problems with FXTV and Matrox Millenium G400
Message-ID:  <39A69A16.D1BACE40@btinternet.com>

next in thread | raw e-mail | index | archive | help
Hi,

I seem to be experiencing some strange problems with FXTV and my Matrox
Millenium G400 AGP card under XFree86 4.0.1.

There are two major problems;

1. The application seems particularly unstable under *certain* window
managers; it seems to work fine under AfterStep, but under GNOME, or
Blackbox, it will soon die, issuing the following error message:

Warning: locale not supported by C library, locale unchanged
X Error of failed request:  BadAccess (attempt to access private
resource denied)
  Major opcode of failed request:  146 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  2554
  Current serial number in output stream:  2555


Bizarrely, it is perfectly stable under AfterStep. 

2. Since upgrading from XFree86 3.3.6 to XFree86 4.0.1. I now have to
disable DirectVideo for it to work. If I try and use it with the
DirectVideo transfers, I get artefacts all over the screen.
Unfortunately, using it with DirectV disabled makes the performance
sluggish. Other than that though, I had exactly the same problems when
running under 3.3.6.


Also, problem number one (1) also occurs with the graphics program
Compupic; it works fine under AfterStep, but terribly under any other
Window Manager.

Two questions, then;

1. Why is it that FXTV and Compupic work under AfterStep, but fail under
GNOME or Blackbox? I thought the X Server was responsible for handling
the memory requests, *not* the Window Manager. Is it something to do
with the way that different Window Managers are caching video
memory/pixmaps?

2. How can I fix this problem? I'd like to watch TV properly under
XFree86 4.0.1! Are there any updated versions of FXTV in the pipeline to
fix this problem? Failing that, are there any other TV applications that
work under FreeBSD? Is it possible to get any of the Linux TV
applications working?

My system is running FreeBSD 4.0-RELEASE, on an Athlon 1Ghz with 384 MB
of RAM.

Thanks,

John.

PS. Here is the "debug" info from FXTV:

Fxtv v1.02

DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
    bktr0: <BrookTree 878> mem 0xda002000-0xda002fff irq 11 at device
13.0 on pci0
    bktr0: Hauppauge Model 38105 B435
    bktr0: Hauppauge WinCast/TV, Philips PAL I tuner.
    pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 13.1 irq 11

SYSCTL MIB VALUES:
    kern.version: FreeBSD 4.0-RELEASE #0: Thu Aug 24 12:31:48 BST 2000
        john1@blitzkrieg:/usr/src/sys/compile/BLITZKRIEG
    
    hw.bt848.card: -1
    hw.bt848.tuner: -1
    hw.bt848.reverse_mute: -1
    hw.bt848.format: -1
    hw.bt848.slow_msp_audio: -1

TUNER SIGNATURE (0x01 - 0xff):
    00 00 00 00 00 00 00 00 00 00 01 00 02 00 00 00

TUNER I2C DEVICES FOUND AT:
    0xa0, 0xc2

CAPTURE CARD EEPROM CONTENTS:
   Read 256 EEPROM bytes (0x00 - 0xff)
    84 12 00 00 05 50 0e 7f 10 23 01 d9 94 d5 44 89
    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 5a 15
    3b 00 74 02 01 00 02 79 42 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70
    84 12 00 00 05 50 0e 7f 10 23 01 d9 94 d5 44 89
    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 5a 15
    3b 00 74 02 01 00 02 79 42 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70

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

open("/dev/mixer") failed

XSERVER: 'The XFree86 Project, Inc' v4001,  Protocol Verson 11.0
         Screen Res = 1600x1200, DefDepth = 24; NumScreens = 1
         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder =
LSBFirst

XF86DGAQueryVersion() succeeded - vers = 2.00
   BaseAddr = 0xd6000000, Pitch = 1600, BankSize/RamSize =
33554432/33554432

Rating Available Visuals:
   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap 
DirectVid
   ------  -----------  ---  ---  ----------------------------  ---- 
---------
     7     TrueColor     24  4,4  00ff0000, 0000ff00, 000000ff   --     
Yes
     4     TrueColor     24  4,4  00ff0000, 0000ff00, 000000ff   --     
No 
     0     DirectColor   24  4,4  00ff0000, 0000ff00, 000000ff   --     
No 
     0     DirectColor   24  4,4  00ff0000, 0000ff00, 000000ff   --     
No 
Chosen Visual is 24-bpp TrueColor

XF86VidModeQueryVersion() succeeded - version = 2.00




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




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