[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-users
Subject:    Re: [Dri-users] DRI disabled?
From:       Felix =?ISO-8859-1?B?S/xobGluZw==?= <fxkuehl () gmx ! de>
Date:       2003-03-14 11:36:58
[Download RAW message or body]

On Fri, 14 Mar 2003 06:03:03 -0500
Alfredo Montesinos <amontesinos@ucwphilly.rr.com> wrote:

> Stefan Lange wrote:
> 
> > Alfredo Montesinos wrote:
> >
> >> I have slack 8.1 and xfree 4.3.0 DRM module for the ATI Radeon 9000 Pro.
> >> I put this module on /lib/modules/2.4.20/kernel/drivers/char/drm
> >>
> >> I also modprobed agpgart.
> >>
> >> I still get this error:
> >>
> >> (==) RADEON(0): Write-combining range (0xd0000000,0x4000000)
> >> drmOpenDevice: minor is 0
> >> drmOpenDevice: node name is /dev/dri/card0
> >> drmOpenDevice: open result is 6, (OK)
> >> drmOpenDevice: minor is 0
> >> drmOpenDevice: node name is /dev/dri/card0
> >> drmOpenDevice: open result is 6, (OK)
> >> drmOpenDevice: minor is 0
> >> drmOpenDevice: node name is /dev/dri/card0
> >> drmOpenDevice: open result is 6, (OK)
> >> drmGetBusid returned ''
> >> (II) RADEON(0): [drm] drmSetBusid failed (6, PCI:1:0:0), Permission
> >> denied
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > This error usually occurs when the drm-kernel module and the running 
> > kernel were compiled with different gcc-versions, so if you're running 
> > a kernel compiled with gcc-2.9x, then you'll need to compile the 
> > drm-module with 2.9x as well, respectively use gcc-3.x for both. 
> 
> I compiled the kernel with gcc 3.x and the drm module with 3.x. However, 
> i did upgrade gcc from 2.96.3 to 3.x (cant remember off hand) I am 
> wondering if and when I compiled the kernel a while ago (new sound card 
> support) it decided to arbitrarily use a gcc version. The same thing 
> goes with building the DRM module.
> 
> How do I tell the kernel to use a specific gcc version when compiling? 
> what about building the DRM module? Any thougths or comments will be 
> enormously appreciated. Thanks ;-)

Maybe you just have to run make clean before you recompile the kernel.
This way you are sure that everything is recompiled with the new
compiler version.

I don't know how Slackware handles multiple compiler versions installed
at the same time. You can find out the default with `gcc --version`. If
you want to use a different version you have to change the Kernel and
DRM Makefiles.

I hope this helps,
  Felix

> 
> >
> >> (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
> >> (II) RADEON(0): Memory manager initialized to (0,0) (832,8191)
> >> (II) RADEON(0): Reserved area from (0,600) to (832,602)
> >> (II) RADEON(0): Largest offscreen area available: 832 x 7589
> >>
> >>
> >> Any thoughts on this:?
> >
> >
> > regards,
> > Stefan


------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 fxkuehl@gmx.de       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dri-users mailing list
Dri-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic