From owner-freebsd-multimedia Sun Nov 11 15: 6:28 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from ns.riskinv.ru (ns.riskinv.ru [213.189.203.226]) by hub.freebsd.org (Postfix) with ESMTP id F033B37B418 for ; Sun, 11 Nov 2001 15:06:23 -0800 (PST) Received: (from seva@localhost) by ns.riskinv.ru (8.11.6/8.11.1) id fABN6wE10461; Mon, 12 Nov 2001 02:06:58 +0300 (MSK) (envelope-from seva@ns.riskinv.ru) Date: Mon, 12 Nov 2001 02:06:58 +0300 (MSK) Message-Id: <200111112306.fABN6wE10461@ns.riskinv.ru> From: Seva 1 To: aa8vb@nc.rr.com Cc: multimedia@FreeBSD.ORG In-reply-to: <20011111140304.A11410@nc.rr.com> (message from Randall Hopper on Sun, 11 Nov 2001 14:03:04 -0500) Subject: Re: X 4.1.0,Matrox Millennium G450 DH LE,fxtv and ctrl-alt-+/- References: <200111111554.fABFsov96661@ns.riskinv.ru> <20011111140304.A11410@nc.rr.com> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Seva 1: > |I bought Matrox Millennium G450 Dual Head LE, > |installed XFree86-4.1.0_6 from packages (FreeBSD 4.4 release) > |and when fxtv runs with directvideo option on secondary head > |all freeze (or at least keyboard) when I change resolution > |on primary head by ctrl-alt-+/-. > > Short answer: You probably shouldn't do that ;-) Yes, I know. :) > fxtv is telling the TV card to dump data directly into the memory address > range of the video card's memory-mapped frame buffer. The X server doesn't > know about this. It's a performance hack. > > When you Ctrl-Alt-+/-, the X server has full authorization to reconfigure > the video card (including the frame buffer) any way it wants. So > transferring data to the frame buffer during this time could be dangerous. But with single head (startx -- -screen "Screen0") ctrl-alt-+/- works fine. > AFAIK, I don't think X apps like fxtv can request to be notified by the X > server before and after a mode change, so (short of dumping the DGA hack > (aka direct video) and always using slower paths like XvImages and > XShmImages), I'm not sure what can be done about that. > > By the same token, it's probably dangerous to reboot your machine or quit X > while fxtv is running in DGA mode. > BTW, I have a G450 too (albeit a 32MB DDR). Mine is 16 MB DDR. > Besides the mode-switch issue, > how does dual-head work for you with XFree86? In 32/24 bits modes switching to vt0-7(ctrl-alt-f1..f8) cause lost some colors in primary display. Mode switching (ctrl-alt-+/-) restore all colors. I bought dual head card only for my girlfriend can sometimes look tv when I read/write news/maillists. > And do you have DRI > (fast-path hardware OpenGL) working? To my shame I don not know what is OpenGL and DRI. But it cannot be initialised. I've tried kldload agp and /usr/local/lib/drm/mga.ko. Something fail. I don't know what: Nov 9 20:05:18 f434 /kernel: drm0: mem 0xd7000000-0xd77ffff f,0xd6000000-0xd6003fff,0xd4000000-0xd5ffffff irq 10 at device 0.0 on pci1 Nov 9 20:05:18 f434 /kernel: error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module. Nov 9 20:05:18 f434 /kernel: device_probe_and_attach: drm0 attach returned 12 By the way, why my g450 in /var/log/messages mentioned as G400 ? Seva. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message