From owner-freebsd-x11@FreeBSD.ORG Tue Sep 14 13:49:25 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 EDE3B106564A for ; Tue, 14 Sep 2010 13:49:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 512118FC13 for ; Tue, 14 Sep 2010 13:49:25 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o8EDn6Jr003435; Tue, 14 Sep 2010 15:49:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o8EDn6dr003433; Tue, 14 Sep 2010 15:49:06 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <201009141349.o8EDn6dr003433@lurza.secnetix.de> To: tijl@coosemans.org (Tijl Coosemans) Date: Tue, 14 Sep 2010 15:49:06 +0200 (CEST) In-Reply-To: <201009141523.45600.tijl@coosemans.org> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Tue, 14 Sep 2010 15:49:22 +0200 (CEST) Cc: freebsd-x11@freebsd.org Subject: Re: ports/graphics/dri + WITHOUT_NOUVEAU=YES: strange 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: Tue, 14 Sep 2010 13:49:26 -0000 Tijl Coosemans wrote: > On Tuesday 14 September 2010 15:13:07 Oliver Fromme wrote: > > In order to get the latest DRI version with hardware 3D > > support for my ATI Radeon HD 4250, I recompiled the dri > > port with WITHOUT_NOUVEAU=YES. It breaks thusly: > > [...] > > You need to rebuild graphics/libdrm with WITHOUT_NOUVEAU. Ah ... Good point. That's the one dependency I was missing for some reason. Anyway, this is the patch to add support for ATI Radon HD 4250 (should I submit it with send-pr?): --- src/mesa/drivers/dri/radeon/radeon_chipset.h.orig 2009-11-18 02:54:28.000000000 +0100 +++ src/mesa/drivers/dri/radeon/radeon_chipset.h 2010-09-14 15:38:09.000000000 +0200 @@ -340,6 +340,7 @@ #define PCI_CHIP_RS880_9712 0x9712 #define PCI_CHIP_RS880_9713 0x9713 #define PCI_CHIP_RS880_9714 0x9714 +#define PCI_CHIP_RS880_9715 0x9715 #define PCI_CHIP_RV770_9440 0x9440 #define PCI_CHIP_RV770_9441 0x9441 --- src/mesa/drivers/dri/radeon/radeon_screen.c.orig 2009-12-22 03:31:19.000000000 +0100 +++ src/mesa/drivers/dri/radeon/radeon_screen.c 2010-09-14 15:38:46.000000000 +0200 @@ -837,6 +837,7 @@ case PCI_CHIP_RS880_9712: case PCI_CHIP_RS880_9713: case PCI_CHIP_RS880_9714: + case PCI_CHIP_RS880_9715: screen->chip_family = CHIP_FAMILY_RS880; screen->chip_flags = RADEON_CHIPSET_TCL; break; Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "It combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript." -- Jamie Zawinski, when asked: "What's wrong with perl?"