hi, I gave the closed-source fglrx-driver another try, and with the latest xeno-unstable and some patching of the open-source wrapper provided with fglrx, I managed to get my ATI Radeon 9600SE accellerated OpenGL running at what appears to be full speed, in dom0. I have attached diffs to the two source files that need changing, below. Basically, I replaced all CONFIG_X86* ifdefs with CONFIG_XEN*, and I replaced the calls to remap_page_range() with calls to io_remap_page_range(). This is not a very clean or nice patch, but it does the job. Does anyone know where to send fglrx-patches, once I have a nicer version? Jacob
Jacob Gorm Hansen wrote:> This is not a very clean or nice patch, but it does the job. Does anyone > know where to send fglrx-patches, once I have a nicer version?Here is a diff -Naur version, see attached. Jacob
Jacob Gorm Hansen wrote:> hi, > > I gave the closed-source fglrx-driver another try, and with the latest > xeno-unstable and some patching of the open-source wrapper provided with > fglrx, I managed to get my ATI Radeon 9600SE accelerated OpenGL running > at what appears to be full speed, in dom0.(...and I''ll stop whining about the drivers being in dom0 for now ;-)) Jacob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tue, 08 Feb 2005 00:13:25 -0800, Jacob Gorm Hansen <jacobg@diku.dk> wrote:> Jacob Gorm Hansen wrote: > > > This is not a very clean or nice patch, but it does the job. Does anyone > > know where to send fglrx-patches, once I have a nicer version? > > Here is a diff -Naur version, see attached.I think you can skip the additional tests for CONFIG_XEN since CONFIG_X86 should be defined if building a xen/i386 kernel. christian> -#if defined(CONFIG_X86) && (PAGE_ATTR_FIX != 0) > +#if (defined(CONFIG_X86) || defined(CONFIG_XEN)) && (PAGE_ATTR_FIX != 0)------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Christian Limpach wrote:> I think you can skip the additional tests for CONFIG_XEN since > CONFIG_X86 should be defined if building a xen/i386 kernel. > > christian > > >>-#if defined(CONFIG_X86) && (PAGE_ATTR_FIX != 0) >>+#if (defined(CONFIG_X86) || defined(CONFIG_XEN)) && (PAGE_ATTR_FIX != 0)It seemed to need these when running from gentoo''s ''ati-drivers'' ebuild script, but perhaps I did something wrong. thanks, Jacob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Sat, Feb 12, 2005 at 11:28:38PM -0800, Jacob Gorm Hansen wrote:> Christian Limpach wrote: > > >I think you can skip the additional tests for CONFIG_XEN since > >CONFIG_X86 should be defined if building a xen/i386 kernel. > > > > christian > > > > > >>-#if defined(CONFIG_X86) && (PAGE_ATTR_FIX != 0) > >>+#if (defined(CONFIG_X86) || defined(CONFIG_XEN)) && (PAGE_ATTR_FIX != 0) > > It seemed to need these when running from gentoo''s ''ati-drivers'' ebuild > script, but perhaps I did something wrong.hmm, don''t you usually need to point module builds at the kernel sources and the .config file of the kernel you''re building the kernel for? If that''s not the case, then it would be simpler to #define CONFIG_X86 when CONFIG_XEN is set inside the driver source file... christian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel