Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 02:06:58 +0300 (MSK)
From:      Seva 1 <seva@ns.riskinv.ru>
To:        aa8vb@nc.rr.com
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: X 4.1.0,Matrox Millennium G450 DH LE,fxtv and ctrl-alt-+/-
Message-ID:  <200111112306.fABN6wE10461@ns.riskinv.ru>
In-Reply-To: <20011111140304.A11410@nc.rr.com> (message from Randall Hopper on Sun, 11 Nov 2001 14:03:04 -0500)
References:  <200111111554.fABFsov96661@ns.riskinv.ru> <20011111140304.A11410@nc.rr.com>

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


>   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: <Matrox G400 (AGP)> 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




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