From owner-freebsd-x11@FreeBSD.ORG Sun Mar 21 16:07:02 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 2F49D106564A for ; Sun, 21 Mar 2010 16:07:01 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from georges.telenet-ops.be (georges.telenet-ops.be [195.130.137.68]) by mx1.freebsd.org (Postfix) with ESMTP id 9AFAE8FC08 for ; Sun, 21 Mar 2010 16:07:00 +0000 (UTC) Received: from bsdaddict.localnet ([78.23.49.186]) by georges.telenet-ops.be with bizsmtp id vs6z1d003411wW606s6zVr; Sun, 21 Mar 2010 17:06:59 +0100 From: beni To: Robert Noland Date: Sun, 21 Mar 2010 17:06:58 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; i386; ; ) References: <201003141732.01968.beni@brinckman.info> <201003211010.24031.beni@brinckman.info> <1269178571.2548.6.camel@balrog.2hip.net> In-Reply-To: <1269178571.2548.6.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003211706.58246.beni@brinckman.info> 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 16:07:02 -0000 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 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). -- Beni.