From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 11 19:30:22 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5088416A4CE for ; Mon, 11 Oct 2004 19:30:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2868843D46 for ; Mon, 11 Oct 2004 19:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9BJUM1e043409 for ; Mon, 11 Oct 2004 19:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9BJULP2043408; Mon, 11 Oct 2004 19:30:21 GMT (envelope-from gnats) Date: Mon, 11 Oct 2004 19:30:21 GMT Message-Id: <200410111930.i9BJULP2043408@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mikhail Teterin Subject: Re: kern/60474: Temporary fix for DRM support for Radeon 9200 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mikhail Teterin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 19:30:22 -0000 The following reply was made to PR kern/60474; it has been noted by GNATS. From: Mikhail Teterin To: volodya@mindspring.com Cc: eta@lclark.edu, freebsd-gnats-submit@FreeBSD.ORG, dotz@irc.pl, dri-devel@lists.sourceforge.net Subject: Re: kern/60474: Temporary fix for DRM support for Radeon 9200 Date: Mon, 11 Oct 2004 15:22:22 -0400 (EDT) > On Fri, 8 Oct 2004, Eric Anholt wrote: > > > On Fri, 2004-10-08 at 11:17, Mikhail Teterin wrote: > >> Hi, Eric! > >> > >> Can this be assigned back to you? I have another pair of PCI IDs, > >> BTW, and I am sure, there are people with shiny new Radeon-9800 out > >> there too... Yours, > > > > This is not a bug. The DRM does not support r300-series hardware. > > Among other things, trying to initialize it with r100 or r200 microcode > > will probably make it explode in your face. Now, if this was part of an > > attempt at getting http://r300.sf.net/ stuff working on FreeBSD, that'd > > be another thing :) > > http://r300.sf.net/ already works on BSD. You just need to pass an option > to r300_demo to find the BSD analog of /dev/dri/card0 (see README). Ok, I rebuilt my xorg-server port with the ati.patch.3. Now, when it starts up, it automatically loads the radeon.ko and then says: [...] (WW) RADEON(0): Direct rendering support is highly experimental for Radeon 9500/ 9700 and newer cards drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 13, (OK) drmGetBusid returned '' (II) RADEON(0): [drm] loaded kernel module for "radeon" driver (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0" (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc6ba6000 (II) RADEON(0): [drm] mapped SAREA 0xc6ba6000 to 0x28492000 (II) RADEON(0): [drm] framebuffer handle = 0xe0000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch. [dri] radeon.o kernel module version is 1.11.0 but version 1.11.1 or newer is needed. [dri] Disabling DRI. [...] Is there a patch for FreeBSD's /sys/dev/drm somewhere? Thanks! -mi