Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 15:30:12 -0500
From:      Randall Hopper <aa8vb@pagesz.net>
To:        Duane Gustavus <duane@denton.com>
Cc:        Roger Hardiman <roger@cs.strath.ac.uk>, multimedia@FreeBSD.ORG
Subject:   Re: fxtv
Message-ID:  <19990116153012.A22556@pagesz.net>
In-Reply-To: <199901161831.MAA12521@adsl194.directlink.net>; from Duane Gustavus on Sat, Jan 16, 1999 at 12:31:10PM -0600
References:  <19990116123615.B11467@pagesz.net> <199901161831.MAA12521@adsl194.directlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Duane Gustavus:
 |When I uncover the fxtv window, it is black.
 |
 |> Try using Ctrl-Alt-+ and cycling through all your video modes.  Make sure
 |> everything seems to work OK (you shouldn't see any blank screens).  And
 |> check the "Screen" section in your /etc/XF86Config to make sure you have
 |> 640x480 configured.
 |> 
 |I did NOT have anything but a 1024x768 screen configured.  I just
 |reconfigured to a 640x480 screen at 16 bpp, but the results were the same

Digging into it, the issue is that fxtv is still trying to set the viewport
(the upper left of the video mode "window" into the virtual
desktop/display) even when virtual desktop is not being used
(i.e. vmode_size == display_size).  Also, I notice that X switches the
desktop off into space even if you give it 0,0 for the viewport origin in
this case.

At any rate, it's fixed.  A patch to tvscreen.c is attached.  If you fetch
the fxtv port, untar, do a "make patch", then apply this patch, and finally
"make install".

 |>    > fxtv -xrm "Fxtv.cableStationList: 3 4" -xrm "Fxtv.tunerMode: cable"
 |> 
 |> Now try to KP_ADD.
 |> 
 |Still reads only zero.  I'm not sure if Num Lock is supposed to be on or not,
 |so I tried it both ways.

Ok, sounds like the driver doesn't know or isn't configured up right for
your tuner (I'm assuming your card has one).  Maybe Roger has some ideas on
this one.

 |>         > fxtv -debug startup
 |
 |---output-of-fxtv--debug-startp---
...
 |open("/dev/mixer") failed
 |Fxtv v0.47
 |
 |DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
 |

Hmmm.  Don't you have something in your dmesg output that looks like this:

    bktr0: <BrookTree 848> rev 0x11 int a irq 9 on pci0.11.0
    Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo.

Please try a fresh boot and then do a dmesg to look for the driver output.
This will be useful in determining whether the driver is configured up
right for your card.

Everything else looks pretty reasonable.

What capture card do you have?

Happen to have MSW95 or 98 on there?  What does device manager say about
  the card? (tuner part number, etc.)

Randall


 |SYSCTL MIB VALUES:
 |    kern.version: FreeBSD 3.0-RELEASE #3: Sun Jan 10 13:40:05 CST 1999
 |        duane@adsl194.directlink.net:/usr/src/sys/compile/JONVON
 |    
 |    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 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 08 1a 23 11 ef 65 2b 85
 |    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 45 99
 |    12 00 74 02 01 00 02 79 e5 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 08 1a 23 11 ef 65 2b 85
 |    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 45 99
 |    12 00 74 02 01 00 02 79 e5 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 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' v3320,  Protocol Verson 11.0
 |         Screen Res = 640x480, DefDepth = 16; NumScreens = 1
 |         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = LSBFirst
 |
 |XF86DGAQueryVersion() succeeded - vers = 1.00
 |   BaseAddr = 0xa0000000, Pitch = 640, BankSize/RamSize = 2097152/2097152
 |
 |Rating Available Visuals:
 |   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap  DirectVid
 |   ------  -----------  ---  ---  ----------------------------  ----  ---------
 |     5     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      Yes
 |Default Visual is 16-bpp TrueColor
 |
 |XF86VidModeQueryVersion() succeeded - version = 0.08

[-- Attachment #2 --]
6fxtv-0.47-viewport.patchXkSH7ecA06)d+&)ڶ&ګn[h2{w,۷}VWlt.İk?_vr8
w
A:Շس
:~w~O-T\C)Vsnxzs~~uI~.$'<jKuލ&bVyZ3'hy.=KrFC֦-eD<wa@' coVK(p]+ʉ`>ø ?			7	4zDK7NMM{ʬh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