From owner-freebsd-x11@FreeBSD.ORG Sun Nov 9 11:07:12 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382A9106567F for ; Sun, 9 Nov 2008 11:07:12 +0000 (UTC) (envelope-from mail@shankerbalan.net) Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD058FC18 for ; Sun, 9 Nov 2008 11:07:11 +0000 (UTC) (envelope-from mail@shankerbalan.net) Received: from buffy.eglbp.corp.yahoo.com (buffy.eglbp.corp.yahoo.com [10.66.74.124]) by mrout3.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id mA9AkuvN041421 for ; Sun, 9 Nov 2008 02:46:56 -0800 (PST) Received: from buffy.eglbp.corp.yahoo.com (localhost [127.0.0.1]) by buffy.eglbp.corp.yahoo.com (8.14.3/8.14.3) with ESMTP id mA9Akt8R047713 for ; Sun, 9 Nov 2008 16:16:55 +0530 (IST) (envelope-from mail@shankerbalan.net) Received: (from shanker@localhost) by buffy.eglbp.corp.yahoo.com (8.14.3/8.14.3/Submit) id mA9Aktpm047712 for x11@freebsd.org; Sun, 9 Nov 2008 16:16:55 +0530 (IST) (envelope-from mail@shankerbalan.net) X-Authentication-Warning: buffy.eglbp.corp.yahoo.com: shanker set sender to mail@shankerbalan.net using -f Date: Sun, 9 Nov 2008 16:16:55 +0530 From: Shanker Balan To: FreeBSD-X11 Message-ID: <20081109104655.GA31842@yahoo-inc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline Organisation: http://www.yahoo.com/ User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Intel Q33 and DRM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 11:07:12 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Helo, I just got myself Hewlett-Packard DC5800 at work which comes with a Intel Q= 33 (Bearlake) chipset and runs FreeBSD 7.1. i915.ko does not seem to attach to any device on. Wondering if support can be added for this device. Thank you for your time. [buffy] /usr/src/sys/pci> kldstat | grep i915 9 1 0xa854b000 6000 i915.ko [buffy] /usr/src/sys/pci> dmesg | grep drm -c 0 agp0: on vgapci0 agp0: detected 7676k stolen memory agp0: aperture size is 256M pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x29d2 Intel Corporation Integrated Graphics Controller CardVendor 0x103c card 0x281e (Hewlett-Packard Company, Card unknown) STATUS 0x0090 COMMAND 0x0007 CLASS 0x03 0x00 0x00 REVISION 0x02 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xf0100000 addr 0xf0100000 MEM BASE1 0x00001241 addr 0x00001240 I/O BASE2 0xe0000008 addr 0xe0000000 MEM PREFETCHABLE BASE3 0xf0000000 addr 0xf0000000 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x10 BYTE_0 0x09 BYTE_1 0x00 BYTE_2 0x0b BYTE_3 0xb1 pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x29d3 Intel Corporation Integrated Graphics Controller CardVendor 0x103c card 0x281e (Hewlett-Packard Company, Card unknown) STATUS 0x0090 COMMAND 0x0006 CLASS 0x03 0x80 0x00 REVISION 0x02 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xf0180000 addr 0xf0180000 MEM BYTE_0 0x09 BYTE_1 0x00 BYTE_2 0x0b BYTE_3 0xb1 --=20 Shanker Balan Y! Sponsored Search Prod-Eng http://shankerbalan.net/ --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkWv58ACgkQA9vy9UFQVz1K+QCdGSexwqta8mpgwQFfX5bALO1Y OfQAoK9RQmYMV3VuNMnaU6faMPbcFeSe =b3C2 -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-x11@FreeBSD.ORG Sun Nov 9 16:26:10 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C54106567C for ; Sun, 9 Nov 2008 16:26:10 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 401CC8FC56 for ; Sun, 9 Nov 2008 16:26:10 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.151] (adsl-1-197-97.bna.bellsouth.net [65.1.197.97]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mA9FxAXL066692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Nov 2008 10:59:10 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Shanker Balan In-Reply-To: <20081109104655.GA31842@yahoo-inc.com> References: <20081109104655.GA31842@yahoo-inc.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SptSTpq3StCyLmmWJj4k" Organization: FreeBSD Date: Sun, 09 Nov 2008 10:59:04 -0500 Message-Id: <1226246344.3681.5.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: FreeBSD-X11 Subject: Re: Intel Q33 and DRM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 16:26:10 -0000 --=-SptSTpq3StCyLmmWJj4k Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2008-11-09 at 16:16 +0530, Shanker Balan wrote: > Helo, >=20 > I just got myself Hewlett-Packard DC5800 at work which comes with a Intel= Q33 > (Bearlake) chipset and runs FreeBSD 7.1. i915.ko does not seem to attach = to > any device on. >=20 > Wondering if support can be added for this device. These chips should be fully supported by both agp and drm in -CURRENT now. MFC is not expected until after 7.1 is released. robert. > Thank you for your time. >=20 > [buffy] /usr/src/sys/pci> kldstat | grep i915 > 9 1 0xa854b000 6000 i915.ko > [buffy] /usr/src/sys/pci> dmesg | grep drm -c > 0 >=20 > agp0: on vgapci0 > agp0: detected 7676k stolen memory > agp0: aperture size is 256M >=20 > pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x29d2 > Intel Corporation Integrated Graphics Controller > CardVendor 0x103c card 0x281e (Hewlett-Packard Company, Card unknown) > STATUS 0x0090 COMMAND 0x0007 > CLASS 0x03 0x00 0x00 REVISION 0x02 > BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 > BASE0 0xf0100000 addr 0xf0100000 MEM > BASE1 0x00001241 addr 0x00001240 I/O > BASE2 0xe0000008 addr 0xe0000000 MEM PREFETCHABLE > BASE3 0xf0000000 addr 0xf0000000 MEM > MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x10 > BYTE_0 0x09 BYTE_1 0x00 BYTE_2 0x0b BYTE_3 0xb1 >=20 > pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x29d3 > Intel Corporation Integrated Graphics Controller > CardVendor 0x103c card 0x281e (Hewlett-Packard Company, Card unknown) > STATUS 0x0090 COMMAND 0x0006 > CLASS 0x03 0x80 0x00 REVISION 0x02 > BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 > BASE0 0xf0180000 addr 0xf0180000 MEM > BYTE_0 0x09 BYTE_1 0x00 BYTE_2 0x0b BYTE_3 0xb1 >=20 >=20 --=-SptSTpq3StCyLmmWJj4k Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkXCMgACgkQM4TrQ4qfROO1HgCfSo4B1v1qsnt3nb8/2jg3XMDy +0kAoIjqpARJuyXPktd10AUfk3aXsSn7 =d2ra -----END PGP SIGNATURE----- --=-SptSTpq3StCyLmmWJj4k-- From owner-freebsd-x11@FreeBSD.ORG Mon Nov 10 06:05:04 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F0061065676 for ; Mon, 10 Nov 2008 06:05:04 +0000 (UTC) (envelope-from mail@shankerbalan.net) Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2C68E8FC0C for ; Mon, 10 Nov 2008 06:05:03 +0000 (UTC) (envelope-from mail@shankerbalan.net) Received: from buffy.eglbp.corp.yahoo.com (buffy.eglbp.corp.yahoo.com [10.66.74.124]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id mAA64V3C052088 for ; Sun, 9 Nov 2008 22:04:31 -0800 (PST) Received: from buffy.eglbp.corp.yahoo.com (localhost [127.0.0.1]) by buffy.eglbp.corp.yahoo.com (8.14.3/8.14.3) with ESMTP id mAA64Uhi025861 for ; Mon, 10 Nov 2008 11:34:30 +0530 (IST) (envelope-from mail@shankerbalan.net) Received: (from shanker@localhost) by buffy.eglbp.corp.yahoo.com (8.14.3/8.14.3/Submit) id mAA64UJU025860 for x11@freebsd.org; Mon, 10 Nov 2008 11:34:30 +0530 (IST) (envelope-from mail@shankerbalan.net) X-Authentication-Warning: buffy.eglbp.corp.yahoo.com: shanker set sender to mail@shankerbalan.net using -f Date: Mon, 10 Nov 2008 11:34:30 +0530 From: Shanker Balan To: FreeBSD-X11 Message-ID: <20081110060429.GA51814@yahoo-inc.com> References: <20081109104655.GA31842@yahoo-inc.com> <1226246344.3681.5.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <1226246344.3681.5.camel@wombat.2hip.net> Organisation: http://www.yahoo.com/ User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: Intel Q33 and DRM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 06:05:04 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Robert Noland wrote, > On Sun, 2008-11-09 at 16:16 +0530, Shanker Balan wrote: > > Helo, > >=20 > > I just got myself Hewlett-Packard DC5800 at work which comes with a Int= el Q33 > > (Bearlake) chipset and runs FreeBSD 7.1. i915.ko does not seem to attac= h to > > any device on. > >=20 > > Wondering if support can be added for this device. >=20 > These chips should be fully supported by both agp and drm in -CURRENT > now. MFC is not expected until after 7.1 is released. That works for me. Thanks! --=20 Shanker Balan Y! Sponsored Search Prod-Eng http://shankerbalan.net/ --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkXzu0ACgkQA9vy9UFQVz3RWgCgquS9Rj6KS7Ix40SNNDYNdreN wusAnjwYsJSJFrciHsxDWXHsFRom9yhy =/DP4 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-x11@FreeBSD.ORG Mon Nov 10 11:07:01 2008 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 062681065679 for ; Mon, 10 Nov 2008 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E10808FC29 for ; Mon, 10 Nov 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAAB70tw049916 for ; Mon, 10 Nov 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAAB70ae049912 for freebsd-x11@FreeBSD.org; Mon, 10 Nov 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Nov 2008 11:07:00 GMT Message-Id: <200811101107.mAAB70ae049912@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/128542 x11 x11-drivers/xf86-video-radeonhd updated to v1.2.3 o ports/128070 x11 x11-drivers/xf86-video-radeonhd: update to 1.2.3 o ports/127692 x11 x11-drivers/xf86-video-i810 o ports/127436 x11 x11/xorg: xorg randomly uses 100% CPU with Intel + KDE o ports/126904 x11 x11/xorg startx fails on driver loading for nVidia GeF o ports/126812 x11 x11-drivers/xf86-video-ati - System freeze when exitin o ports/125883 x11 x11-fonts/xorg-fonts-cyrillic is installed, but fonts o ports/125661 x11 x11/xorg: startx fails after a couple of attempts o ports/124861 x11 Keyboard problems with xorg o ports/124220 x11 [amd64] x11-servers/xorg-server - X.org server runs in o ports/123137 x11 x11/libX11: missing ru_RU.UTF-8 locale o ports/122924 x11 XCreateImage fails in most recent x11/XOrg o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/121360 x11 x11/xorg - Change default of ~/.xsession-errors to off o ports/121230 x11 [patch] ports/x11/xkeyboard-config WITHOUT_NLS support f ports/119091 x11 x11-drivers/xf86-video-intel 2.1.1 panics system o ports/119037 x11 x11: Can't type _ (Underscore) under X (gnome) o ports/118950 x11 x11-drivers/xf86-video-nv - xorg xf86 nv (nvidia) driv o ports/118645 x11 Xorg need realtime priority for mouse work nice o ports/118547 x11 [patch] x11/xdm fails with pam_krb5 f ports/118217 x11 xorg doesnt find usb mouse when initiated with devd, w f ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) o ports/117766 x11 x11-servers/xorg-server (7.3) crashes under heavy load o ports/117195 x11 ix11/Xorg 7.3 dumps core at exit (sig 11) f ports/116603 x11 x11/xorg server 7.3 hangs up o ports/116443 x11 x11-drivers/xf86-input-keyboard patch for USB jp106 ke o ports/116359 x11 x11/xorg - screen blinks with PCI-E nvidia card and ve s ports/115536 x11 [new port] x11/xorg-base port for a minimal X.Org inst o ports/115020 x11 New port: graphics/osmesa - Mesa's off-screen renderin f ports/114827 x11 Xorg server crashes when starting astro/google-earth o ports/113106 x11 x11/xorg - Xorg 7.2 + Mach64 + dri produces error mess f ports/106370 x11 Screen corruption when using Direct Rendering on a PCI 32 problems total. From owner-freebsd-x11@FreeBSD.ORG Mon Nov 10 15:09:16 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDD9E1065677; Mon, 10 Nov 2008 15:09:16 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 905748FC25; Mon, 10 Nov 2008 15:09:15 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA00517; Mon, 10 Nov 2008 16:49:39 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <49184A03.7060306@icyb.net.ua> Date: Mon, 10 Nov 2008 16:49:39 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: Robert Noland References: <20081109104655.GA31842@yahoo-inc.com> <1226246344.3681.5.camel@wombat.2hip.net> In-Reply-To: <1226246344.3681.5.camel@wombat.2hip.net> Content-Type: multipart/mixed; boundary="------------080203010704050508030100" Cc: re@freebsd.org, FreeBSD-X11 Subject: Re: Intel Q33 and DRM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 15:09:17 -0000 This is a multi-part message in MIME format. --------------080203010704050508030100 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit on 09/11/2008 17:59 Robert Noland said the following: > On Sun, 2008-11-09 at 16:16 +0530, Shanker Balan wrote: >> Helo, >> >> I just got myself Hewlett-Packard DC5800 at work which comes with a Intel Q33 >> (Bearlake) chipset and runs FreeBSD 7.1. i915.ko does not seem to attach to >> any device on. >> >> Wondering if support can be added for this device. > > These chips should be fully supported by both agp and drm in -CURRENT > now. MFC is not expected until after 7.1 is released. Robert, maybe we could try to include at least agp changes into 7.1? I think a lot of people would be trying 7.1 as our latest and greatest on their newer intel hardware (e.g. I have G33) and they would get a lot of disappointment with intel xorg driver causing an X crash. Besides, the patch is sufficiently small. drm part of changes is quite big indeed, on the other hand, it can taken almost verbatim from head - I needed only to comment out i915 suspend/resume methods to use in releng_7. I am attaching agp patch (my 7-stable code against releng_7) and drm patch (my 7-stable code against head). -- Andriy Gapon --------------080203010704050508030100 Content-Type: text/plain; name="intel-agp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="intel-agp.patch" diff --git a/sys/pci/agp_i810.c b/sys/pci/agp_i810.c index f42921d..05c7cb4 100644 --- a/sys/pci/agp_i810.c +++ b/sys/pci/agp_i810.c @@ -70,6 +70,7 @@ enum { CHIP_I915, /* 915G/915GM */ CHIP_I965, /* G965 */ CHIP_G33, /* G33/Q33/Q35 */ + CHIP_G4X, /* G45/Q45 */ }; /* The i810 through i855 have the registers at BAR 1, and the GATT gets @@ -133,7 +134,7 @@ static const struct agp_i810_match { {0x25628086, CHIP_I830, 0x00020000, "Intel 82845M (845M GMCH) SVGA controller"}, {0x35828086, CHIP_I855, 0x00020000, - "Intel 82852/5"}, + "Intel 82852/855GM SVGA controller"}, {0x25728086, CHIP_I855, 0x00020000, "Intel 82865G (865G GMCH) SVGA controller"}, {0x25828086, CHIP_I915, 0x00020000, @@ -154,18 +155,26 @@ static const struct agp_i810_match { "Intel G965 SVGA controller"}, {0x29928086, CHIP_I965, 0x00020000, "Intel Q965 SVGA controller"}, - {0x29a28086, CHIP_I965, 0x00020000, + {0x29A28086, CHIP_I965, 0x00020000, "Intel G965 SVGA controller"}, - {0x29b28086, CHIP_G33, 0x00020000, + {0x29B28086, CHIP_G33, 0x00020000, "Intel Q35 SVGA controller"}, - {0x29c28086, CHIP_G33, 0x00020000, + {0x29C28086, CHIP_G33, 0x00020000, "Intel G33 SVGA controller"}, - {0x29d28086, CHIP_G33, 0x00020000, + {0x29D28086, CHIP_G33, 0x00020000, "Intel Q33 SVGA controller"}, - {0x2a028086, CHIP_I965, 0x00020000, + {0x2A028086, CHIP_I965, 0x00020000, "Intel GM965 SVGA controller"}, - {0x2a128086, CHIP_I965, 0x00020000, + {0x2A128086, CHIP_I965, 0x00020000, "Intel GME965 SVGA controller"}, + {0x2A428086, CHIP_I965, 0x00020000, + "Intel GM45 SVGA controller"}, + {0x2E028086, CHIP_G4X, 0x00020000, + "Intel 4 Series SVGA controller"}, + {0x2E128086, CHIP_G4X, 0x00020000, + "Intel Q45 SVGA controller"}, + {0x2E228086, CHIP_G4X, 0x00020000, + "Intel G45 SVGA controller"}, {0, 0, 0, NULL} }; @@ -377,6 +386,7 @@ agp_i810_attach(device_t dev) agp_set_aperture_resource(dev, AGP_I915_GMADR); break; case CHIP_I965: + case CHIP_G4X: sc->sc_res_spec = agp_i965_res_spec; agp_set_aperture_resource(dev, AGP_I915_GMADR); break; @@ -476,7 +486,8 @@ agp_i810_attach(device_t dev) gatt->ag_physical = pgtblctl & ~1; } else if (sc->chiptype == CHIP_I855 || sc->chiptype == CHIP_I915 || - sc->chiptype == CHIP_I965 || sc->chiptype == CHIP_G33) { + sc->chiptype == CHIP_I965 || sc->chiptype == CHIP_G33 || + sc->chiptype == CHIP_G4X) { unsigned int gcc1, pgtblctl, stolen, gtt_size; /* Stolen memory is set up at the beginning of the aperture by @@ -491,7 +502,6 @@ agp_i810_attach(device_t dev) gtt_size = 256; break; case CHIP_I965: - case CHIP_G33: switch (bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL) & AGP_I810_PGTBL_SIZE_MASK) { case AGP_I810_PGTBL_SIZE_128KB: @@ -503,6 +513,15 @@ agp_i810_attach(device_t dev) case AGP_I810_PGTBL_SIZE_512KB: gtt_size = 512; break; + case AGP_I965_PGTBL_SIZE_1MB: + gtt_size = 1024; + break; + case AGP_I965_PGTBL_SIZE_2MB: + gtt_size = 2048; + break; + case AGP_I965_PGTBL_SIZE_1_5MB: + gtt_size = 1024 + 512; + break; default: device_printf(dev, "Bad PGTBL size\n"); bus_release_resources(dev, sc->sc_res_spec, @@ -512,6 +531,27 @@ agp_i810_attach(device_t dev) return EINVAL; } break; + case CHIP_G33: + gcc1 = pci_read_config(sc->bdev, AGP_I855_GCC1, 2); + switch (gcc1 & AGP_G33_MGGC_GGMS_MASK) { + case AGP_G33_MGGC_GGMS_SIZE_1M: + gtt_size = 1024; + break; + case AGP_G33_MGGC_GGMS_SIZE_2M: + gtt_size = 2048; + break; + default: + device_printf(dev, "Bad PGTBL size\n"); + bus_release_resources(dev, sc->sc_res_spec, + sc->sc_res); + free(gatt, M_AGP); + agp_generic_detach(dev); + return EINVAL; + } + break; + case CHIP_G4X: + gtt_size = 0; + break; default: device_printf(dev, "Bad chiptype\n"); bus_release_resources(dev, sc->sc_res_spec, @@ -528,28 +568,86 @@ agp_i810_attach(device_t dev) stolen = 1024; break; case AGP_I855_GCC1_GMS_STOLEN_4M: - stolen = 4096; + stolen = 4 * 1024; break; case AGP_I855_GCC1_GMS_STOLEN_8M: - stolen = 8192; + stolen = 8 * 1024; break; case AGP_I855_GCC1_GMS_STOLEN_16M: - stolen = 16384; + stolen = 16 * 1024; break; case AGP_I855_GCC1_GMS_STOLEN_32M: - stolen = 32768; + stolen = 32 * 1024; break; case AGP_I915_GCC1_GMS_STOLEN_48M: - stolen = 49152; + if (sc->chiptype == CHIP_I915 || + sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G33 || + sc->chiptype == CHIP_G4X) { + stolen = 48 * 1024; + } else { + stolen = 0; + } break; case AGP_I915_GCC1_GMS_STOLEN_64M: - stolen = 65536; + if (sc->chiptype == CHIP_I915 || + sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G33 || + sc->chiptype == CHIP_G4X) { + stolen = 64 * 1024; + } else { + stolen = 0; + } break; case AGP_G33_GCC1_GMS_STOLEN_128M: - stolen = 128 * 1024; + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G33 || + sc->chiptype == CHIP_G4X) { + stolen = 128 * 1024; + } else { + stolen = 0; + } break; case AGP_G33_GCC1_GMS_STOLEN_256M: - stolen = 256 * 1024; + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G33 || + sc->chiptype == CHIP_G4X) { + stolen = 256 * 1024; + } else { + stolen = 0; + } + break; + case AGP_G4X_GCC1_GMS_STOLEN_96M: + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G4X) { + stolen = 96 * 1024; + } else { + stolen = 0; + } + break; + case AGP_G4X_GCC1_GMS_STOLEN_160M: + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G4X) { + stolen = 160 * 1024; + } else { + stolen = 0; + } + break; + case AGP_G4X_GCC1_GMS_STOLEN_224M: + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G4X) { + stolen = 224 * 1024; + } else { + stolen = 0; + } + break; + case AGP_G4X_GCC1_GMS_STOLEN_352M: + if (sc->chiptype == CHIP_I965 || + sc->chiptype == CHIP_G4X) { + stolen = 352 * 1024; + } else { + stolen = 0; + } break; default: device_printf(dev, "unknown memory configuration, " @@ -560,7 +658,11 @@ agp_i810_attach(device_t dev) agp_generic_detach(dev); return EINVAL; } - sc->stolen = (stolen - gtt_size - 4) * 1024 / 4096; + + if (sc->chiptype != CHIP_G4X) + gtt_size += 4; + + sc->stolen = (stolen - gtt_size) * 1024 / 4096; if (sc->stolen > 0) device_printf(dev, "detected %dk stolen memory\n", sc->stolen * 4); device_printf(dev, "aperture size is %dM\n", sc->initial_aperture / 1024 / 1024); diff --git a/sys/pci/agpreg.h b/sys/pci/agpreg.h index 3850444..b453cac 100644 --- a/sys/pci/agpreg.h +++ b/sys/pci/agpreg.h @@ -215,7 +215,7 @@ #define AGP_I855_GCC1_DEV2 0x08 #define AGP_I855_GCC1_DEV2_ENABLED 0x00 #define AGP_I855_GCC1_DEV2_DISABLED 0x08 -#define AGP_I855_GCC1_GMS 0x70 +#define AGP_I855_GCC1_GMS 0xf0 /* Top bit reserved pre-G33 */ #define AGP_I855_GCC1_GMS_STOLEN_0M 0x00 #define AGP_I855_GCC1_GMS_STOLEN_1M 0x10 #define AGP_I855_GCC1_GMS_STOLEN_4M 0x20 @@ -259,14 +259,28 @@ #define AGP_I965_MSAC_GMASIZE_128 0x00 #define AGP_I965_MSAC_GMASIZE_256 0x02 #define AGP_I965_MSAC_GMASIZE_512 0x06 +#define AGP_I965_PGTBL_SIZE_1MB (3 << 1) +#define AGP_I965_PGTBL_SIZE_2MB (4 << 1) +#define AGP_I965_PGTBL_SIZE_1_5MB (5 << 1) /* * G33 registers */ +#define AGP_G33_MGGC_GGMS_MASK (3 << 8) +#define AGP_G33_MGGC_GGMS_SIZE_1M (1 << 8) +#define AGP_G33_MGGC_GGMS_SIZE_2M (2 << 8) #define AGP_G33_GCC1_GMS_STOLEN_128M 0x80 #define AGP_G33_GCC1_GMS_STOLEN_256M 0x90 /* + * G4X registers + */ +#define AGP_G4X_GCC1_GMS_STOLEN_96M 0xa0 +#define AGP_G4X_GCC1_GMS_STOLEN_160M 0xb0 +#define AGP_G4X_GCC1_GMS_STOLEN_224M 0xc0 +#define AGP_G4X_GCC1_GMS_STOLEN_352M 0xd0 + +/* * NVIDIA nForce/nForce2 registers */ #define AGP_NVIDIA_0_APBASE 0x10 --------------080203010704050508030100 Content-Type: text/plain; name="drm7.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="drm7.patch" diff --git a/sys/dev/drm/i915_drv.c b/sys/dev/drm/i915_drv.c index 478e62b..5790557 100644 --- a/sys/dev/drm/i915_drv.c +++ b/sys/dev/drm/i915_drv.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); static drm_pci_id_list_t i915_pciidlist[] = { i915_PCI_IDS }; - +#if 0 static int i915_suspend(device_t nbdev) { struct drm_device *dev = device_get_softc(nbdev); @@ -68,7 +68,7 @@ static int i915_resume(device_t nbdev) return (bus_generic_resume(nbdev)); } - +#endif static void i915_configure(struct drm_device *dev) { dev->driver->driver_features = @@ -137,8 +137,10 @@ static device_method_t i915_methods[] = { /* Device interface */ DEVMETHOD(device_probe, i915_probe), DEVMETHOD(device_attach, i915_attach), +#if 0 DEVMETHOD(device_suspend, i915_suspend), DEVMETHOD(device_resume, i915_resume), +#endif DEVMETHOD(device_detach, i915_detach), { 0, 0 } --------------080203010704050508030100-- From owner-freebsd-x11@FreeBSD.ORG Mon Nov 10 15:31:32 2008 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8447D1065676 for ; Mon, 10 Nov 2008 15:31:32 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 26AB18FC22 for ; Mon, 10 Nov 2008 15:31:32 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mAAFVUYP072857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Nov 2008 10:31:30 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Andriy Gapon In-Reply-To: <49184A03.7060306@icyb.net.ua> References: <20081109104655.GA31842@yahoo-inc.com> <1226246344.3681.5.camel@wombat.2hip.net> <49184A03.7060306@icyb.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4A3lOzTMZ4acGA8SshLG" Organization: FreeBSD Date: Mon, 10 Nov 2008 10:31:24 -0500 Message-Id: <1226331084.66194.6.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: re@FreeBSD.org, FreeBSD-X11 Subject: Re: Intel Q33 and DRM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 15:31:32 -0000 --=-4A3lOzTMZ4acGA8SshLG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-11-10 at 16:49 +0200, Andriy Gapon wrote: > on 09/11/2008 17:59 Robert Noland said the following: > > On Sun, 2008-11-09 at 16:16 +0530, Shanker Balan wrote: > >> Helo, > >> > >> I just got myself Hewlett-Packard DC5800 at work which comes with a In= tel Q33 > >> (Bearlake) chipset and runs FreeBSD 7.1. i915.ko does not seem to atta= ch to > >> any device on. > >> > >> Wondering if support can be added for this device. > >=20 > > These chips should be fully supported by both agp and drm in -CURRENT > > now. MFC is not expected until after 7.1 is released. >=20 > Robert, >=20 > maybe we could try to include at least agp changes into 7.1? > I think a lot of people would be trying 7.1 as our latest and greatest > on their newer intel hardware (e.g. I have G33) and they would get a lot > of disappointment with intel xorg driver causing an X crash. > Besides, the patch is sufficiently small. Yes, I haven't had any negative reports on the agp work... > drm part of changes is quite big indeed, on the other hand, it can taken > almost verbatim from head - I needed only to comment out i915 > suspend/resume methods to use in releng_7. Actually, the suspend/resume should work... It's probably just the module Makefile that didn't get updated. robert. > I am attaching agp patch (my 7-stable code against releng_7) and drm > patch (my 7-stable code against head). --=-4A3lOzTMZ4acGA8SshLG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkYU8wACgkQM4TrQ4qfROO3lwCdEjIIFg+1vzRMMFUlPxZbK6bE j/8An3jZ+4qZvJ7c36GfeqqoMZwiEV9B =8BbT -----END PGP SIGNATURE----- --=-4A3lOzTMZ4acGA8SshLG-- From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 14:53:02 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D07106567B; Tue, 11 Nov 2008 14:53:02 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id E0C408FC17; Tue, 11 Nov 2008 14:53:01 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Tue, 11 Nov 2008 22:53:00 +0800 id 000F745F.49199C4C.00010EA3 From: "Intron is my alias on the Internet" To: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Date: Tue, 11 Nov 2008 22:53:00 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Subject: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 14:53:02 -0000 Port: http://ftp.intron.ac/tmp/xf86-video-via-linux.tar.gz If the distfile cannot be downloaded from VIA's website, please download it from my server: http://ftp.intron.ac/tmp/chrome9.83-242-sl10.1.tar.gz This is official driver from VIA, originally for SuSE 10.1. It works on my laptop (BENQ Joybook R41E) and VIA pc-1 motherboard. The GPU of my laptop is: vgapci0@pci0:1:0:0: class=0x030000 card=0x86241071 chip=0x33431106 rev=0x01 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VIA/S3G UniChromePro IGP' class = display subclass = VGA OpenChrome doesn't work with it (chip's PID = 0x3343) at all. It supports features as well as OpenChrome: * XVideo * Rotation * Dual Display - Mono display on only either LCD or VGA only - DuoView (The same scene on both LCD and VGA simultaneously) I failed to get SAMM (different scenes on LCD and VGA). I believe it is useful for people who is using laptop with VIA chipset. And I hope it can be put into port tree before it is out of date. Any FreeBSD committee can help me? ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 15:47:27 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAEA61065670; Tue, 11 Nov 2008 15:47:27 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 85DAE8FC19; Tue, 11 Nov 2008 15:47:27 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mABFlOSH079590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 10:47:25 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-L+z1xq2b+wBsCO6T4vIj" Organization: FreeBSD Date: Tue, 11 Nov 2008 10:47:19 -0500 Message-Id: <1226418439.10032.2.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 15:47:27 -0000 --=-L+z1xq2b+wBsCO6T4vIj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-11-11 at 22:53 +0800, Intron is my alias on the Internet wrote: > Port: http://ftp.intron.ac/tmp/xf86-video-via-linux.tar.gz >=20 > If the distfile cannot be downloaded from VIA's website, please > download it from my server: > http://ftp.intron.ac/tmp/chrome9.83-242-sl10.1.tar.gz >=20 > This is official driver from VIA, originally for SuSE 10.1. > It works on my laptop (BENQ Joybook R41E) and VIA pc-1 motherboard. > The GPU of my laptop is: >=20 > vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x86241071 chip=3D0x334311= 06 rev=3D0x01 hdr=3D0x00 > vendor =3D 'VIA Technologies Inc' > device =3D 'VIA/S3G UniChromePro IGP' > class =3D display > subclass =3D VGA >=20 > OpenChrome doesn't work with it (chip's PID =3D 0x3343) at all. >=20 > It supports features as well as OpenChrome: >=20 > * XVideo > * Rotation > * Dual Display > - Mono display on only either LCD or VGA only > - DuoView (The same scene on both LCD and VGA simultaneously) >=20 > I failed to get SAMM (different scenes on LCD and VGA). >=20 > I believe it is useful for people who is using laptop with VIA chipset. >=20 > And I hope it can be put into port tree before it is out of date. > Any FreeBSD committee can help me? How does this compare to our Xorg driver? I've contemplated finishing the via drm work, but I don't have any of these devices and I'm not sure how many people do. At least that care about drm anyway... robert. > ------------------------------------------------------------------------ > From Beijing, China >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=-L+z1xq2b+wBsCO6T4vIj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkZqQYACgkQM4TrQ4qfROPr8gCeK3SqAuL1KDg90+tGnfMJnvWq KfcAn2H9CDeKdfB5kKCUFBVkh8iSRZMQ =5eXx -----END PGP SIGNATURE----- --=-L+z1xq2b+wBsCO6T4vIj-- From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 17:02:20 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6441065694; Tue, 11 Nov 2008 17:02:20 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 0FFA28FC16; Tue, 11 Nov 2008 17:02:19 +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 01:02:19 +0800 id 000F7461.4919BA9B.00012041 References: <1226418439.10032.2.camel@squirrel.corp.cox.com> In-Reply-To: <1226418439.10032.2.camel@squirrel.corp.cox.com> From: "Intron is my alias on the Internet" To: Robert Noland Date: Wed, 12 Nov 2008 01:02:19 +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-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 17:02:20 -0000 Robert Noland wrote: > > How does this compare to our Xorg driver? I've contemplated finishing > the via drm work, but I don't have any of these devices and I'm not sure > how many people do. At least that care about drm anyway... > > robert. > I haven't look in it carefully. But skimming tells me that the official driver has more branches for various chips. See the source package: http://linux.via.com.tw/ Via_drv.so is actually a Linux ELF ABI. Only because it wasn't linked against any Linux's shared object can it run under FreeBSD simply. Otherwise, a mechanism like linuxpluginwrapper (Wrapper for Linux Mozilla/Firefox plugin to work with FreeBSD's native ABI of Mozilla/Firefox) must be used. The driver package contains some Linux kernel modules and shared objects, including libGL.so.1.2.via_chrome9 and via_chrome9_dri.so. Thus, I guess it is not easy to make the driver function fully under FreeBSD, especially 2D/3D acceleration. But so far, as I know, it's the unique solution that makes my laptop work. And I guess it supports more new chips. I have quite a few products with VIA chipset: * A laptop with UniChrome Pro IGP (0x3343) * Motherboard VIA PC2500E with north bridge CN700 * Motherboard VIA PC3500E with north bridge CN896 I can make tests with you. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 17:26:57 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F33A61065670; Tue, 11 Nov 2008 17:26:56 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C8C098FC13; Tue, 11 Nov 2008 17:26:56 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mABHQtg5080046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 12:26:55 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: References: <1226418439.10032.2.camel@squirrel.corp.cox.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UqHh5KDULnluoOF5aEWo" Organization: FreeBSD Date: Tue, 11 Nov 2008 12:26:49 -0500 Message-Id: <1226424409.10032.6.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 17:26:57 -0000 --=-UqHh5KDULnluoOF5aEWo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-12 at 01:02 +0800, Intron is my alias on the Internet wrote: > But so far, as I know, it's the unique solution that makes my laptop > work. What do you mean by "work". Does the normal xorg driver not work for your chip? Let me go look at the ddx driver... > And I guess it supports more new chips. >=20 > I have quite a few products with VIA chipset: >=20 > * A laptop with UniChrome Pro IGP (0x3343) This pci_id is listed in drm, so if I finish porting the code, it should work, for some definition of work... ;) robert. > * Motherboard VIA PC2500E with north bridge CN700 > * Motherboard VIA PC3500E with north bridge CN896 --=-UqHh5KDULnluoOF5aEWo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkZwFkACgkQM4TrQ4qfROPEMwCfUJ+Lq1E0hR9iZWnhENuRcBp1 9F4An32a89rhl2S1jTrLckcRkX7vHzIs =6CB5 -----END PGP SIGNATURE----- --=-UqHh5KDULnluoOF5aEWo-- From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 19:42:41 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 464B1106564A; Tue, 11 Nov 2008 19:42:41 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id BFD438FC18; Tue, 11 Nov 2008 19:42:40 +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 03:42:39 +0800 id 000F7466.4919E02F.00013304 References: <1226418439.10032.2.camel@squirrel.corp.cox.com> <1226424409.10032.6.camel@squirrel.corp.cox.com> In-Reply-To: <1226424409.10032.6.camel@squirrel.corp.cox.com> From: "Intron is my alias on the Internet" To: Robert Noland Date: Wed, 12 Nov 2008 03:42:39 +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-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 19:42:41 -0000 Robert Noland wrote: > On Wed, 2008-11-12 at 01:02 +0800, Intron is my alias on the Internet > wrote: >> But so far, as I know, it's the unique solution that makes my laptop >> work. > > What do you mean by "work". Does the normal xorg driver not work for > your chip? Let me go look at the ddx driver... > >> And I guess it supports more new chips. >> >> I have quite a few products with VIA chipset: >> >> * A laptop with UniChrome Pro IGP (0x3343) > > This pci_id is listed in drm, so if I finish porting the code, it should > work, for some definition of work... ;) > > robert. > >> * Motherboard VIA PC2500E with north bridge CN700 >> * Motherboard VIA PC3500E with north bridge CN896 You may see the mysterious phenomenon here: http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) Play the video file with MPlayer. My laptop + OpenChrome 0.2.903 = A space alien's visit ? ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 19:58:51 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB39C1065676; Tue, 11 Nov 2008 19:58:51 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id AD1EB8FC1C; Tue, 11 Nov 2008 19:58:51 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mABJwnDY080678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 14:58:49 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: References: <1226418439.10032.2.camel@squirrel.corp.cox.com> <1226424409.10032.6.camel@squirrel.corp.cox.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lr/ZdS1EteYyu58XLkqE" Organization: FreeBSD Date: Tue, 11 Nov 2008 14:58:43 -0500 Message-Id: <1226433523.16065.1.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 19:58:52 -0000 --=-lr/ZdS1EteYyu58XLkqE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-12 at 03:42 +0800, Intron is my alias on the Internet wrote: > Robert Noland wrote: >=20 > > On Wed, 2008-11-12 at 01:02 +0800, Intron is my alias on the Internet > > wrote: > >> But so far, as I know, it's the unique solution that makes my laptop > >> work. > >=20 > > What do you mean by "work". Does the normal xorg driver not work for > > your chip? Let me go look at the ddx driver... > >=20 > >> And I guess it supports more new chips. > >>=20 > >> I have quite a few products with VIA chipset: > >>=20 > >> * A laptop with UniChrome Pro IGP (0x3343) > >=20 > > This pci_id is listed in drm, so if I finish porting the code, it shoul= d > > work, for some definition of work... ;) > >=20 > > robert. > >=20 > >> * Motherboard VIA PC2500E with north bridge CN700 > >> * Motherboard VIA PC3500E with north bridge CN896 >=20 > You may see the mysterious phenomenon here: >=20 > http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) Is that with the xorg driver? An xorg.log might be helpful. robert. > Play the video file with MPlayer. >=20 > My laptop + OpenChrome 0.2.903 =3D A space alien's visit ? >=20 > ------------------------------------------------------------------------ > From Beijing, China >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-lr/ZdS1EteYyu58XLkqE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkZ4/MACgkQM4TrQ4qfROPFiQCfTQs8hL1RZkmlby7zcbA0gSM/ e4gAn3qZcLStgokR4y98nMqyybCohIuf =Mdao -----END PGP SIGNATURE----- --=-lr/ZdS1EteYyu58XLkqE-- From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 20:21:53 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A87E41065672; Tue, 11 Nov 2008 20:21:53 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7948FC12; Tue, 11 Nov 2008 20:21:52 +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 04:21:52 +0800 id 000F7466.4919E960.00013786 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> In-Reply-To: <1226433523.16065.1.camel@squirrel.corp.cox.com> From: "Intron is my alias on the Internet" To: Robert Noland Date: Wed, 12 Nov 2008 04:21:51 +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-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 20:21:53 -0000 Robert Noland wrote: >> You may see the mysterious phenomenon here: >> >> http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) > > Is that with the xorg driver? An xorg.log might be helpful. > > robert. > >> Play the video file with MPlayer. >> >> My laptop + OpenChrome 0.2.903 = A space alien's visit ? The mysterious phenomenon is produced with the port xf86-video-openchrome-0.2.903. Here is the log file: http://ftp.intron.ac/tmp/openchrome-Xorg.0.log It ended when I pressed Ctrl-Alt-BackSpace. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 21:00:22 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36098106564A; Tue, 11 Nov 2008 21:00:22 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id CA2A88FC14; Tue, 11 Nov 2008 21:00:21 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mABL0Jc6080975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 16:00:19 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fIzbPhmkcSljJ8ZCl1Ci" Organization: FreeBSD Date: Tue, 11 Nov 2008 16:00:13 -0500 Message-Id: <1226437213.16065.4.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 21:00:22 -0000 --=-fIzbPhmkcSljJ8ZCl1Ci Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-12 at 04:21 +0800, Intron is my alias on the Internet wrote: > Robert Noland wrote: >=20 > >> You may see the mysterious phenomenon here: > >>=20 > >> http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) > >=20 > > Is that with the xorg driver? An xorg.log might be helpful. > >=20 > > robert. > >=20 > >> Play the video file with MPlayer. > >>=20 > >> My laptop + OpenChrome 0.2.903 =3D A space alien's visit ? >=20 > The mysterious phenomenon is produced with the port > xf86-video-openchrome-0.2.903. Here is the log file: Ok, the more I dig into this, the more confused I get... This driver is not from via... It is open source, but not developed with xorg... Give me a few minutes to see how things look and maybe we can just make a port from the source... robert. > http://ftp.intron.ac/tmp/openchrome-Xorg.0.log >=20 > It ended when I pressed Ctrl-Alt-BackSpace. >=20 > ------------------------------------------------------------------------ > From Beijing, China >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-fIzbPhmkcSljJ8ZCl1Ci Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkZ8l0ACgkQM4TrQ4qfRONvMgCeKD9ZV1Yjc8MUzie6bSjEZGn0 ni4An23uH/Px8HjkW6huhH03k1OhmokW =xk+J -----END PGP SIGNATURE----- --=-fIzbPhmkcSljJ8ZCl1Ci-- From owner-freebsd-x11@FreeBSD.ORG Tue Nov 11 23:04:48 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3A910656BA for ; Tue, 11 Nov 2008 23:04:48 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5317E8FC2E for ; Tue, 11 Nov 2008 23:04:48 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mABN4jcx081838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 18:04:46 -0500 (EST) (envelope-from rnoland@2hip.net) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: <1226437213.16065.4.camel@squirrel.corp.cox.com> 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oeDLRXiRa1UPgpSuVxfV" Organization: 2Hip Networks Date: Tue, 11 Nov 2008 18:04:40 -0500 Message-Id: <1226444680.16065.11.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 23:04:48 -0000 --=-oeDLRXiRa1UPgpSuVxfV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-11-11 at 16:00 -0500, Robert Noland wrote: > On Wed, 2008-11-12 at 04:21 +0800, Intron is my alias on the Internet > wrote: > > Robert Noland wrote: > >=20 > > >> You may see the mysterious phenomenon here: > > >>=20 > > >> http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) > > >=20 > > > Is that with the xorg driver? An xorg.log might be helpful. > > >=20 > > > robert. > > >=20 > > >> Play the video file with MPlayer. > > >>=20 > > >> My laptop + OpenChrome 0.2.903 =3D A space alien's visit ? > >=20 > > The mysterious phenomenon is produced with the port > > xf86-video-openchrome-0.2.903. Here is the log file: >=20 > Ok, the more I dig into this, the more confused I get... This driver is > not from via... It is open source, but not developed with xorg... Give > me a few minutes to see how things look and maybe we can just make a > port from the source... Ok, I need more coffee... I have all the versions sorted out now... So your are using xf86-video-openchrome from ports... It looks like there is an internal conflict about whether this chip is actually a P4M890 or a P4M900. I'm not sure which way to go, so we will try the 890 first... Please try the following patch to the openchrome port. =20 http://people.freebsd.org/~rnoland/openchrome.patch robert. > robert. >=20 > > http://ftp.intron.ac/tmp/openchrome-Xorg.0.log > >=20 > > It ended when I pressed Ctrl-Alt-BackSpace. > >=20 > > -----------------------------------------------------------------------= - > > From Beijing, China > >=20 > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=20 Robert Noland 2Hip Networks --=-oeDLRXiRa1UPgpSuVxfV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkaD4gACgkQM4TrQ4qfROPe2wCfRm68ac3n6Ioj6Egrevd6d9+U Cy0AmgJ7e9wjf0q+w42Nl9kcPjHKSILr =Ivz8 -----END PGP SIGNATURE----- --=-oeDLRXiRa1UPgpSuVxfV-- From owner-freebsd-x11@FreeBSD.ORG Wed Nov 12 05:22:49 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03294106564A; Wed, 12 Nov 2008 05:22:49 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C31EE8FC0A; Wed, 12 Nov 2008 05:22:48 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.57] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mAC5MjVf083375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Nov 2008 00:22:46 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Intron is my alias on the Internet In-Reply-To: <1226444680.16065.11.camel@squirrel.corp.cox.com> 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zN3QihcbXmV0XZwkdcql" Organization: FreeBSD Date: Wed, 12 Nov 2008 00:22:34 -0500 Message-Id: <1226467355.1656.8.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 05:22:49 -0000 --=-zN3QihcbXmV0XZwkdcql Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-11-11 at 18:04 -0500, Robert Noland wrote: > On Tue, 2008-11-11 at 16:00 -0500, Robert Noland wrote: > > On Wed, 2008-11-12 at 04:21 +0800, Intron is my alias on the Internet > > wrote: > > > Robert Noland wrote: > > >=20 > > > >> You may see the mysterious phenomenon here: > > > >>=20 > > > >> http://ftp.intron.ac/tmp/openchrome.avi (1.9MB) > > > >=20 > > > > Is that with the xorg driver? An xorg.log might be helpful. > > > >=20 > > > > robert. > > > >=20 > > > >> Play the video file with MPlayer. > > > >>=20 > > > >> My laptop + OpenChrome 0.2.903 =3D A space alien's visit ? > > >=20 > > > The mysterious phenomenon is produced with the port > > > xf86-video-openchrome-0.2.903. Here is the log file: > >=20 > > Ok, the more I dig into this, the more confused I get... This driver i= s > > not from via... It is open source, but not developed with xorg... Give > > me a few minutes to see how things look and maybe we can just make a > > port from the source... >=20 > Ok, I need more coffee... I have all the versions sorted out now... So > your are using xf86-video-openchrome from ports... It looks like there > is an internal conflict about whether this chip is actually a P4M890 or > a P4M900. I'm not sure which way to go, so we will try the 890 first... > Please try the following patch to the openchrome port. =20 >=20 > http://people.freebsd.org/~rnoland/openchrome.patch 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. =20 > > > http://ftp.intron.ac/tmp/openchrome-Xorg.0.log > > >=20 > > > It ended when I pressed Ctrl-Alt-BackSpace. > > >=20 > > > ---------------------------------------------------------------------= --- > > > From Beijing, China > > >=20 > > > _______________________________________________ > > > freebsd-x11@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org= " --=-zN3QihcbXmV0XZwkdcql Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkaaBoACgkQM4TrQ4qfROP0eACfa5bqvXdRA5OFdHjZFx6D8ZCj NksAoIJd90vOqpxdX2QWPPXtkJJoxg09 =TVYK -----END PGP SIGNATURE----- --=-zN3QihcbXmV0XZwkdcql-- From owner-freebsd-x11@FreeBSD.ORG Wed Nov 12 07:46:10 2008 Return-Path: Delivered-To: freebsd-x11@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-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support 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 From owner-freebsd-x11@FreeBSD.ORG Wed Nov 12 13:24:55 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AA451065679; Wed, 12 Nov 2008 13:24:55 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 5ABC08FC1C; Wed, 12 Nov 2008 13:24:54 +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 21:24:52 +0800 id 000F7470.491AD924.00000134 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: freebsd-x11@freebsd.org, freebsd-multimedia@freebsd.org Date: Wed, 12 Nov 2008 21:24:52 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Subject: Anyone would help me to test this port? Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 13:24:55 -0000 Anyone would help me to test this port? http://ftp.intron.ac/tmp/xf86-video-via-linux.tar.gz My testing result: 1. Rotation (Resolution: 800x1280): ScreenShot: http://ftp.intron.ac/tmp/via_rotation_screenshot.png 2. XVideo (The program is that CCTV visited Prof. Long-Ping Yuan, the inventor of hybrid rice): Screenshot: http://ftp.intron.ac/tmp/via_xv_screenshot.png Photo: http://ftp.intron.ac/tmp/via_xv_photo.jpg 3. Dual Display (DuoView) Screenshot: http://ftp.intron.ac/tmp/via_dual_screenshot.png Photo: http://ftp.intron.ac/tmp/via_dual_photo.jpg ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-x11@FreeBSD.ORG Wed Nov 12 17:49:16 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D9ED1065678 for ; Wed, 12 Nov 2008 17:49:16 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outZ.internet-mail-service.net (outz.internet-mail-service.net [216.240.47.249]) by mx1.freebsd.org (Postfix) with ESMTP id EA2398FC28 for ; Wed, 12 Nov 2008 17:49:15 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id C30722908; Wed, 12 Nov 2008 09:39:31 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 2A7A92D6004; Wed, 12 Nov 2008 09:39:03 -0800 (PST) Message-ID: <491B14B6.7020102@elischer.org> Date: Wed, 12 Nov 2008 09:39:02 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Intron is my alias on the Internet 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: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-x11@freebsd.org Subject: Re: Anyone would help me to test this port? Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 17:49:16 -0000 Intron is my alias on the Internet wrote: > Anyone would help me to test this port? wish I could.. (no such hardware) just saying "good work".. > > http://ftp.intron.ac/tmp/xf86-video-via-linux.tar.gz > > My testing result: > > 1. Rotation (Resolution: 800x1280): > > ScreenShot: http://ftp.intron.ac/tmp/via_rotation_screenshot.png > > 2. XVideo (The program is that CCTV visited Prof. Long-Ping Yuan, > the inventor of hybrid rice): > > Screenshot: http://ftp.intron.ac/tmp/via_xv_screenshot.png > Photo: http://ftp.intron.ac/tmp/via_xv_photo.jpg > > 3. Dual Display (DuoView) > > Screenshot: http://ftp.intron.ac/tmp/via_dual_screenshot.png > Photo: http://ftp.intron.ac/tmp/via_dual_photo.jpg > > ------------------------------------------------------------------------ > From Beijing, China > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" From owner-freebsd-x11@FreeBSD.ORG Wed Nov 12 18:00:11 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93395106567B for ; Wed, 12 Nov 2008 18:00:11 +0000 (UTC) (envelope-from gofdx-freebsd-x11@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 49F728FC12 for ; Wed, 12 Nov 2008 18:00:11 +0000 (UTC) (envelope-from gofdx-freebsd-x11@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1L0K0Z-0007vz-28 for freebsd-x11@freebsd.org; Wed, 12 Nov 2008 18:00:03 +0000 Received: from adsl-76-195-220-241.dsl.chmpil.sbcglobal.net ([76.195.220.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2008 18:00:03 +0000 Received: from novembre by adsl-76-195-220-241.dsl.chmpil.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2008 18:00:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-x11@freebsd.org From: Novembre Date: Wed, 12 Nov 2008 17:51:19 +0000 (UTC) Lines: 14 Message-ID: References: <1226418439.10032.2.camel@squirrel.corp.cox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 76.195.220.241 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17) Sender: news Subject: Re: Another VIA UniChrome/Chrome9 Driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 18:00:11 -0000 Robert Noland FreeBSD.org> writes: > > How does this compare to our Xorg driver? I've contemplated finishing > the via drm work, but I don't have any of these devices and I'm not sure > how many people do. At least that care about drm anyway... > > robert. > I have a Pentium III-S desktop with a motherboard which has a VIA Unichrome IGP. I am willing to test your VIA drm patches if you plan to finish it. Thanks a lot From owner-freebsd-x11@FreeBSD.ORG Fri Nov 14 09:40:43 2008 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71DBD1065670; Fri, 14 Nov 2008 09:40:43 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A1D78FC17; Fri, 14 Nov 2008 09:40:43 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAE9ehJd071118; Fri, 14 Nov 2008 09:40:43 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAE9ehXB071114; Fri, 14 Nov 2008 09:40:43 GMT (envelope-from pav) Date: Fri, 14 Nov 2008 09:40:43 GMT Message-Id: <200811140940.mAE9ehXB071114@freefall.freebsd.org> To: pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: pav@FreeBSD.org Cc: Subject: Re: ports/128831: X server is broken on Intel 82845G chipset X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 09:40:43 -0000 Synopsis: X server is broken on Intel 82845G chipset Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: pav Responsible-Changed-When: Fri Nov 14 09:40:33 UTC 2008 Responsible-Changed-Why: Assign to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=128831