Re: kern/60474: Temporary fix for DRM support for Radeon 9200
(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! You need the drm patch from r300.sf.net - just bump the patch level number to make it pass version check. Note that the patch applies to drm/shared and is thus propagated to BSD. Also, the newer Jon's work already has the patch applied, you might try adapting this to BSD. best Vladimir Dergachev -mi --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
> 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 = 0xe000 (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 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
> Mikhail, ati.patch.3 is patch for *2D* driver to enable DRI. > > However, at the moment, there is *NO* 3d driver for R300 cards except the > binary only ati one. > > So yes, the DRI will be enabled. But, NO, you will not get 3d rendering > because of this patch, only r300_demo will work. Even that would be progress, no? Currently, when I move the xterm window, I can notice the screen flicker -- on Radeon 9600 and a 3GHz processor... Thanks! Yours, -mi --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
because of this patch, only r300_demo will work. Even that would be progress, no? Currently, when I move the xterm window, I can notice the screen flicker -- on Radeon 9600 and a 3GHz processor... You would get slightly faster 2d rendering, but non-CP 2d should be plenty fast for moving xterm. What kind of flicker is this ? Are you using a panel or a CRT ? best Vladimir Dergachev Thanks! Yours, -mi --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
On Fri, 8 Oct 2004, Mikhail Teterin wrote: Vladimir Dergachev wrote: 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). best Vladimir Dergachev Ok, should the following help get DRI to work, then? Thanks! Mikhail, ati.patch.3 is patch for *2D* driver to enable DRI. However, at the moment, there is *NO* 3d driver for R300 cards except the binary only ati one. So yes, the DRI will be enabled. But, NO, you will not get 3d rendering because of this patch, only r300_demo will work. best Vladimir Dergachev -mi --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
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 :) No, nothing exploded, but the Xorg server insists on NOT using direct rendering on Radeon-9500/9700 cards. Which is me :-( The card works fine and I got it to work in dual-head mode, but OpenGL performance remains miserable. Not sure, if upgrading to Xorg-7.8.1 would help me, but eager to try. Would you have diffs for the ports? Thanks! -mi --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
Vladimir Dergachev wrote: 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). best Vladimir Dergachev Ok, should the following help get DRI to work, then? Thanks! -mi ? work Index: Makefile === RCS file: /home/pcvs/ports/x11-servers/xorg-server/Makefile,v retrieving revision 1.17 diff -U2 -r1.17 Makefile --- Makefile26 Sep 2004 14:18:42 - 1.17 +++ Makefile8 Oct 2004 22:57:38 - @@ -8,5 +8,5 @@ PORTNAME= server PORTVERSION= 6.7.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES=x11-servers MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ \ @@ -17,4 +17,7 @@ X11R6.7.0-src3.tar.gz +PATCH_SITES= http://r300.sourceforge.net/files/ +PATCHFILES=ati.patch.3 + MAINTAINER=[EMAIL PROTECTED] COMMENT= X.Org X server and related programs @@ -72,4 +75,7 @@ XMAN_DIRS= programs/Xserver +PATCH_DIST_ARGS=-b ${DISTORIG} -E -p0 \ + -d ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/ati + NOT_FOR_ARCHS= ia64 .include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc" @@ -86,5 +92,5 @@ MAN4+= vesa.4 .endif - + .if ${ARCH} == ia64 PLIST_SUB+=IA64_NA="@comment " Index: distinfo === RCS file: /home/pcvs/ports/x11-servers/xorg-server/distinfo,v retrieving revision 1.1 diff -U2 -r1.1 distinfo --- distinfo10 May 2004 05:04:59 - 1.1 +++ distinfo8 Oct 2004 22:57:38 - @@ -1,8 +1,6 @@ MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5 SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655 -MD5 (xorg/X11R6.7.0-src2.tar.gz) = 6ef4e8f7647a28f080c10ea1bcf01f79 -SIZE (xorg/X11R6.7.0-src2.tar.gz) = 5739983 MD5 (xorg/X11R6.7.0-src3.tar.gz) = 4c7144786522bbce383b21ace72bf669 SIZE (xorg/X11R6.7.0-src3.tar.gz) = 10855793 -MD5 (xorg/Wraphelp2.gz) = bd1910492087442288d885412e2e5535 -SIZE (xorg/Wraphelp2.gz) = 3376 +MD5 (xorg/ati.patch.3) = c400bb83ec811a9722c02fcc3ea42ac4 +SIZE (xorg/ati.patch.3) = 5682
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
On Fri, 2004-10-08 at 15:14, Mikhail Teterin wrote: > 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 :) > > > No, nothing exploded, but the Xorg server insists on NOT using direct > rendering on Radeon-9500/9700 cards. > Which is me :-( The card works fine and I got it to work in dual-head > mode, but OpenGL performance remains miserable. > > Not sure, if upgrading to Xorg-7.8.1 would help me, but eager to try. > Would you have diffs for the ports? Thanks! There is no open-source DRI driver for the r300 (9500+) series cards, which is why the X Server doesn't try to enable DRI. r300.sf.net is a project to work on that, but they aren't to the point of accelerating anything yet afaik -- just REing. (also, 6.8.1 is the latest X.Org release) -- Eric Anholt[EMAIL PROTECTED] http://people.freebsd.org/~anholt/ [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
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). best Vladimir Dergachev -- Eric Anholt[EMAIL PROTECTED] http://people.freebsd.org/~anholt/ [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
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 :) -- Eric Anholt[EMAIL PROTECTED] http://people.freebsd.org/~anholt/ [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: kern/60474: Temporary fix for DRM support for Radeon 9200
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, -mi cvs diff: Diffing . Index: drm_pciids.h === RCS file: /home/ncvs/src/sys/dev/drm/drm_pciids.h,v retrieving revision 1.1 diff -U2 -r1.1 drm_pciids.h --- drm_pciids.h 11 Jun 2004 03:26:59 - 1.1 +++ drm_pciids.h 8 Oct 2004 18:11:39 - @@ -7,4 +7,6 @@ {0x1002, 0x4136, 0, "ATI Radeon RS100 IGP 320M"}, \ {0x1002, 0x4137, 0, "ATI Radeon RS200 IGP"}, \ + {0x1002, 0x4152, 0, "ATI Radeon RV350 9600"}, \ + {0x1002, 0x4172, 0, "ATI Radeon RV350 9600 (Secondary)"}, \ {0x1002, 0x4237, 0, "ATI Radeon RS250 IGP"}, \ {0x1002, 0x4242, 0, "ATI Radeon BB R200 AIW 8500DV"}, \ --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel