From owner-freebsd-ports@FreeBSD.ORG Wed Nov 12 07:46:10 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5DAD106567B; Wed, 12 Nov 2008 07:46:10 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 16DA38FC0C; Wed, 12 Nov 2008 07:46:09 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Wed, 12 Nov 2008 15:46:08 +0800 id 000F7467.491A89C0.00016015 References: <1226418439.10032.2.camel@squirrel.corp.cox.com> <1226424409.10032.6.camel@squirrel.corp.cox.com> <1226433523.16065.1.camel@squirrel.corp.cox.com> <1226437213.16065.4.camel@squirrel.corp.cox.com> <1226444680.16065.11.camel@squirrel.corp.cox.com> <1226467355.1656.8.camel@wombat.2hip.net> In-Reply-To: <1226467355.1656.8.camel@wombat.2hip.net> From: "Intron is my alias on the Internet" To: Robert Noland Date: Wed, 12 Nov 2008 15:46:08 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 07:46:10 -0000 Robert Noland wrote: > Ok, I spoke to a couple of the unichrome developers and my patch isn't > quite right, but it is close enough for you to test. It seems that the > openchrome driver needs to match not only the chip id, but the card id > also. It apparently needs this to know what ports to enable (panel, > crt). Both your chip id and board were there, but not in the right > combination. I have a proper patch for your board now, which has also > been committed to openchromes svn repo... > > robert. > Thank you for your patience. With your patch http://www.openchrome.org/trac/changeset/686/trunk/src, Xorg can work on my laptop one-off. That is, for the first time I start Xorg, it works well. For the second time, my laptop go to die. Maybe it is because I'm using 8.0-CURRENT in order to debug my USB drivers. And even for the first time, HWCursor doesn't work, which makes me have to enable SWCursor. Just before I read some codes in openchrome, xf86-video-via and the one on http://linux.via.com.tw/. I guess in the past years, VIA and OpenChrome probably borrowed codes from each other. Now, I propose that the driver from linux.via.com.tw needs to be pushed into the port tree of FreeBSD. After all, it is an alternative choice for users. I adore you and other developpers of OpenChrome very much. But after all you are doing hacking and/or reverse engineering. And the information about VIA chips that you have got is seriously inequal to what VIA know about itself. By the way, I have tested MPEG-2 decoding of VIA chips on all products in my hands (PM890, CN700 and CN896). The result disappointed me very much. I put much hope on CN896, the best one of them. I found Fedora Core 5 after long searching on the Internet here and there, and then configured Xorg with the driver from VIA (the last one on the page): http://www.viaarena.com/default.aspx?PageID=420&OSID=30&CatID=2770&SubCatID=189 This driver is the only one that fully supports MPEG-2 decoder as far as I found. After compiling VeMP (http://sourceforge.net/projects/vemp/), I wished CN896 could play HDTV (1920x1080) MPEG-2 materials smoothly. But actually, in my testing, CN896 could only play materials at 1440x810 (from http://anon.nasa-global.edgesuite.net/anon.nasa-global/NASAHD/Lunar_Surface/LunarSurface_HD_1080i.wmv , reencoded to MPEG-2 with MEncoder at nearly the same bit rate) with a little lag. And just as described in VeMP's documentation, occasionally the machine died while playing. ------------------------------------------------------------------------ From Beijing, China