From owner-freebsd-x11@FreeBSD.ORG Tue Mar 10 07:28:23 2009 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 DAA31106564A for ; Tue, 10 Mar 2009 07:28:23 +0000 (UTC) (envelope-from alex@mailinglist.ahhyes.net) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 621B08FC17 for ; Tue, 10 Mar 2009 07:28:21 +0000 (UTC) (envelope-from alex@mailinglist.ahhyes.net) Received: from desktop.xor.net (c122-106-76-0.rivrw1.nsw.optusnet.com.au [122.106.76.0]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n2A7SFY1003332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 10 Mar 2009 18:28:16 +1100 Message-ID: <49B615D6.3090503@mailinglist.ahhyes.net> Date: Tue, 10 Mar 2009 18:25:10 +1100 From: Alex User-Agent: Thunderbird 2.0.0.19 (X11/20090221) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <20090305161651.GB1369@lobo.ewinter.org> <1236275215.1384.50.camel@widget.2hip.net> <20090305180523.GA2039@lobo.ewinter.org> <20090306133119.1af6894c@ernst.jennejohn.org> <1236363408.55221.16.camel@balrog.2hip.net> <20090306203055.582faa02@ernst.jennejohn.org> <1236371734.1671.5.camel@balrog.2hip.net> <49B3D755.2050308@phat.za.net> <1236536316.1778.22.camel@balrog.2hip.net> <49B42548.3000308@phat.za.net> <49B57ACD.5030405@phat.za.net> <1236634490.1730.5.camel@balrog.2hip.net> <49B60C3F.9090104@mailinglist.ahhyes.net> <1236668133.1730.21.camel@balrog.2hip.net> In-Reply-To: <1236668133.1730.21.camel@balrog.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Radeon 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, 10 Mar 2009 07:28:24 -0000 Hi Robert, The patch does not cleanly apply to 7-stable (I ran csup against my system about a minute or 2 before, so my system sources should be up to date) [alex@desktop /usr/home/alex]$ uname -a FreeBSD desktop.xor.net 7.1-STABLE FreeBSD 7.1-STABLE #4: Mon Feb 23 18:24:52 EST 2009 root@desktop.xor.net:/usr/obj/usr/src/sys/custom amd64 patch copied to /usr/src/sys command issued was: patch -p0 < drm-7-synced-to-HEAD-030909.patch A lot of the patch succeeds then suddenly i am prompted about patching certain files, heres what happens: ================================================================================ [root@desktop /usr/src/sys]# patch -p0 On Tue, 2009-03-10 at 17:44 +1100, Alex wrote: > >> Hi Robert, >> >> Is there a patch for 7-STABLE yet? I am really keen to have proper XV >> support so I can watch my movies full screen rather than in a tiny box. >> My card is a Radeon 2400HD (RV610) >> >> Thanks! >> > > I put together a patch earlier today... > > http://people.freebsd.org/~rnoland/drm-7-synced-to-HEAD-030909.patch > > That brings 7 up to the same code that is in HEAD. > > robert. > > >> Robert Noland wrote: >> >>> On Mon, 2009-03-09 at 22:23 +0200, Aragon Gouveia wrote: >>> >>> >>>> Aragon Gouveia wrote: >>>> >>>> >>>>> Robert Noland wrote: >>>>> >>>>> >>>>>> On Sun, 2009-03-08 at 16:33 +0200, Aragon Gouveia wrote: >>>>>> >>>>>> >>>>>>> Patch output is pasted below. The unsuccessful hunk in radeon_cp.c I >>>>>>> wedged in by hand. In a few hours I hope to report on the results of >>>>>>> upgrading to Xorg 7.4 and latest radeonhd-devel. Running Xorg 7.3 >>>>>>> and video-ati-6.9.0 at the moment. >>>>>>> >>>>>>> >>>>>>> >>>>>> On -STABLE you also need the "Move vblank_init to load time" patch >>>>>> first. That will make the patch fail on the i915 driver, but if you >>>>>> aren't using that one, it should be ok, as long as it compiles. I'll >>>>>> merge all of this within a couple of weeks. >>>>>> >>>>>> >>> Try this... >>> http://people.freebsd.org/~rnoland/drm-7-synced-to-HEAD-030909.patch >>> >>> robert. >>> >>> >>> >>>>> I'll grab the vblank patch before going further with the Xorg and >>>>> radeonhd upgrade. Thanks! >>>>> >>>>> >>>> I have applied both kernel patches, recompiled, rebooted, upgraded to >>>> Xorg 7.4, upgraded to radeonhd-devel from ports. The kernel is still >>>> seeing my card: >>>> >>>> vgapci0: port 0x2000-0x20ff mem >>>> 0xd0000000-0xdfffffff,0xe0200000-0xe020ffff irq 16 at device 0.0 on pci1 >>>> drm0: on vgapci0 >>>> vgapci0: child drm0 requested pci_enable_busmaster >>>> info: [drm] Initialized radeon 1.29.0 20080528 >>>> >>>> Enabling DRI and Exa in xorg.conf causes my display to go blank during X >>>> startup and I'm left with no other way out except hitting my power >>>> button and shutting down. >>>> >>>> Enabling Exa with DRI disabled is wildly slow. >>>> >>>> Leaving both disabled works fine, but no Xv. :) >>>> >>>> Please let me know if I can provide more info to debug this. >>>> >>>> >>>> Thanks, >>>> Aragon >>>> >>>> >>>> >> _______________________________________________ >> 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" >>