kern/60474: Temporary fix for DRM support for Radeon 9200

Mikhail Teterin mi at corbulon.video-collage.com
Mon Oct 11 12:30:22 PDT 2004


The following reply was made to PR kern/60474; it has been noted by GNATS.

From: Mikhail Teterin <mi at corbulon.video-collage.com>
To: volodya at mindspring.com
Cc: eta at lclark.edu, freebsd-gnats-submit at FreeBSD.ORG, dotz at irc.pl,
	dri-devel at 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


More information about the freebsd-bugs mailing list