From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: xawtv lockups (bt878, Alpha Linux)
Date: Sun, 27 Jun 1999 18:21:44 +0200 [thread overview]
Message-ID: <19990627182144.A25725@stefan.atko.at> (raw)
In-Reply-To: <Pine.LNX.3.96.990626221733.2100P-100000@schizo.strange.net>; from Andrew Hobgood on Sat, Jun 26, 1999 at 10:17:44PM -0400
Hi Andrew !
On Sat, Jun 26, 1999 at 10:17:44PM -0400, Andrew Hobgood wrote:
> > You've just discovered the hard way that the bt878 (at least) doesn't work
> > properly on the pc164sx. Mr. Cox suggested buggy PCI. I've tried my WinTV
> > 404 in two boards with three different video cards, with the same results.
> How about in the LX?
I'm using a Hauppauge WinTV (Radio) on my LX (Millennium II 8MB).
xawtv works, nagratv-2.10 works.
For DGA support you have to change the DGA-stuff in the X-Server
and if it still not work for you maybe trapped into the cool
"XF86VidModeGetAllModeLines" freeze. It's also a good idea to
use the kernel-bttv includes (even if an app comes with
"optimized" bttv drivers).
ad XF86VidModeGetAllModeLines:
I think it can be avoided by using the right commandline for startup
or by a patch like this one:
diff -ruN xawtv-2.46/main.c xawtv-2.46-alpha/main.c
--- xawtv-2.46/main.c Sun Jun 6 10:27:14 1999
+++ xawtv-2.46-alpha/main.c Wed Jun 23 15:02:16 1999
@@ -277,6 +277,35 @@
/*--- exit ----------------------------------------------------------------*/
+Boolean XF86VidModeGetAllModeLinesHack(Display *d, int screen,
+ int *count,
+ XF86VidModeModeInfo ***modes)
+{
+ static XF86VidModeModeLine myline;
+ static XF86VidModeModeInfo myhack, *hack;
+
+ XF86VidModeGetModeLine(d, screen, count, &myline);
+ myhack.hdisplay = myline.hdisplay;
+ myhack.hsyncstart = myline.hsyncstart;
+ myhack.hsyncend = myline.hsyncend;
+ myhack.htotal = myline.htotal;
+
+ myhack.vdisplay = myline.vdisplay;
+ myhack.vsyncstart = myline.vsyncstart;
+ myhack.vsyncend = myline.vsyncend;
+ myhack.vtotal = myline.vtotal;
+ myhack.flags = myline.flags;
+ myhack.privsize = myline.privsize;
+ myhack.private = myline.private;
+ *count = 1;
+ hack = &myhack;
+ *modes = &hack;
+ return 0;
+}
+#define XF86VidModeGetAllModeLines(a,b,c,d) \
+ XF86VidModeGetAllModeLinesHack(a,b,c,d)
+
+
Boolean
ExitWP(XtPointer client_data)
{
BTW: Has anyone optimized (mayby assembler) routines for 4-way
word in qword processing ?
I'm shure it's not worth to use it for paddusw (MMX) - like
things (or arithmetic right shifts) but logical shifts are
IMHO no problem (like this one):
#define M4(n) 0x ## n ## n ## n ## n ## ul
#define SI static inline
SI u64 sllqw(u64 val, u64 cnt)
{
static const u64 and_tab[] = { M4(ffff), M4(fffe), M4(fffc), M4(fff8),
M4(fff0), M4(ffe0), M4(ffc0), M4(ff80),
M4(ff00), M4(fe00), M4(fc00), M4(f800),
M4(f000), M4(e000), M4(c000), M4(8000)
};
cnt &= 0xf;
return (val << cnt) & and_tab[cnt];
}
--
ciao -
Stefan Traby
Quant-X Alpha Linux Support
Quant-X Service & Ph: (+43) 4212 90555-0
Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555
http://www.quant-x.com Email: support@quant-x.com
prev parent reply other threads:[~1999-06-27 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-25 23:41 xawtv lockups (bt878, Alpha Linux) Brian Kurotsuchi
1999-06-27 1:24 ` norvierk
1999-06-27 2:17 ` Andrew Hobgood
1999-06-27 16:21 ` Quant-X Alpha Linux Support [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox