From owner-freebsd-x11@FreeBSD.ORG Sun Mar 21 18:24:00 2010 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 D3C07106566B for ; Sun, 21 Mar 2010 18:24:00 +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 97EEC8FC1D for ; Sun, 21 Mar 2010 18:24:00 +0000 (UTC) Received: from [192.168.1.4] (adsl-154-185-142.bna.bellsouth.net [68.154.185.142]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o2LINuGq032760 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 21 Mar 2010 14:23:57 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: beni In-Reply-To: <201003211706.58246.beni@brinckman.info> References: <201003141732.01968.beni@brinckman.info> <201003211010.24031.beni@brinckman.info> <1269178571.2548.6.camel@balrog.2hip.net> <201003211706.58246.beni@brinckman.info> Content-Type: text/plain Organization: FreeBSD Date: Sun, 21 Mar 2010 13:23:51 -0500 Message-Id: <1269195831.2505.1.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL 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 Subject: Re: radeon hd4650 problem 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, 21 Mar 2010 18:24:01 -0000 On Sun, 2010-03-21 at 17:06 +0100, beni wrote: > On Sunday 21 March 2010 14:36:11 Robert Noland wrote: > > On Sun, 2010-03-21 at 10:10 +0100, beni wrote: > > > On Saturday 20 March 2010 17:25:26 Robert Noland wrote: > > > > On Sat, 2010-03-20 at 17:12 +0100, beni wrote: > > > > > > Ok, you are effected by the overlapping map issue, (at least in the > > > > > > forced pci case). I think this may also be the issue in AGP mode. > > > > > > > > > > > > You can try this patch, hopefully it will still apply cleanly. > > > > > > Please try using the radeon driver and both AGP and PCI modes. > > > > > > > > > > > > http://people.freebsd.org/~rnoland/drm-radeon-8-test.patch > > > > > > > > > > Thanks, but probably a silly question : what file do i patch > > > > Ok, it's a little tricky to generate a patch of just the drm changes, > > but here goes... > > > > http://people.freebsd.org/~rnoland/drm-rel8-to-stable8-dev.patch > > http://people.freebsd.org/~rnoland/drm-rel8-to-stable8-moules.patch > > > > cd /usr/src/sys/dev/drm > > patch -p0 -s -i drm-rel8-to-stable8-dev.patch > > cd /usr/src/sys/modules/drm > > patch -p0 -s -i drm-rel8-to-stable8-modules.patch > > > > Then you should be able to apply the previous patch... Note that this > > should also get you 3D support in the process... > > > Your patches applied like a charm Robert ! Thanks a lot. But... when i "cd > /usr/src/sys/modules" and do a "make all install", i get this : > > ===> drm (all) > ===> drm/drm (all) > Warning: Object directory not changed from original > /usr/src/sys/modules/drm/drm > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc - > I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 -- > param large-function-growth=1000 -fno-common -mno-align-long-strings - > mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 > -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall - > Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes - > Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat- > extensions -c /usr/src/sys/modules/drm/drm/../../../dev/drm/ati_pcigart.c > In file included from > /usr/src/sys/modules/drm/drm/../../../dev/drm/ati_pcigart.c:37: > @/dev/drm/drmP.h:722: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'drm_mmap' > *** Error code 1 Argh... you don't have d_mmap2 either... It would really be much easier to just update to 8-STABLE I think.... robert. > Stop in /usr/src/sys/modules/drm/drm. > *** Error code 1 > > Stop in /usr/src/sys/modules/drm. > *** Error code 1 > > Stop in /usr/src/sys/modules. > root@bsdaddict# > > I suppose i have to rebuild those modules to get the patches in (and that the > "make all install" is the correct way to rebuild the modules). -- Robert Noland FreeBSD