Installing DRI support

E. J. Cerejo edinho64 at netscape.net
Tue Apr 29 17:29:12 PDT 2003



atrull at hybyte.com wrote:
> * E. J. Cerejo <edinho64 at netscape.net> [2003-04-29 16:13:07 -0400]:
> 
> 
>>
>>atrull at hybyte.com wrote:
>>
>>>* E. J. Cerejo <edinho64 at netscape.net> [2003-04-29 11:29:55 -0400]:
>>>
>>>
>>>
>>>>atrull at hybyte.com wrote:
>>>>
>>>>
>>>>>* E. J. Cerejo <edinho64 at netscape.net> [2003-04-29 03:01:56 -0400]:
>>>>>
>>>>>
>>>>>
>>>>>>I have an ati radeon video card and I'd like to install DRI support, 
>>>>>>I'm running 4.8-20030426-STABLE, following the instructions in 
>>>>>>http://people.freebsd.org/~anholt/dri/install.html tells me that I 
>>>>>>should go to /usr/src/sys/modules/drm and "make all install" but I 
>>>>>>don't that directory and I did install all the sources.  What do I need 
>>>>>>to get these modules to my src directory?
>>>>>>
>>>>>
>>>>>those instructions appear to be for freebsd 5
>>>>>
>>>>>unless you are running five, you want to go to 
>>>>>/usr/ports/graphics/drm-kmod && make && make install clean
>>>>>
>>>>>be sure you have recently updated ports and system.
>>>>>
>>>>
>>>>I thought they are talking about stable and 5.0. Here's what it says:
>>>>
>>>>
>>>>For -stable, the DRM is available in the kernel as of April 26th. 
>>>>However, the modules are not built by default. To build and install 
>>>>them, cd /usr/src/sys/modules/drm and type 'make all install'.
>>>>
>>>
>>>
>>>I've just cvsuped and found that to be so, excuse me for misinterpreting 
>>>the page.
>>>
>>>To answer your original question, then, if you haven't done so yourself 
>>>already:
>>>
>>>You need to update /usr/src and (probabley) rebuild kernel and world. 
>>>Stick with releng_4, then follow the -stable instructions on the page. 
>>>Otherwise if you don't
>>>want to go through the hassle, my original advice should work wonders. :) 
>>>
>>>All the best,
>>>Alex Trull
>>>
>>>Systems and Network Administrator & Information Commissioner
>>>C : +44 (0) 7966  203990  | Hybyte Solutions & Services Ltd
>>>D : +44 (0) 2079  764219  | 114-116 Rochester Row
>>>S : +44 (0) 2079  764200  | Victoria, London
>>>F : +44 (0) 2079  764229  | SW1P 1JQ
>>>http://mail.uk.hybyte.net/~atrull/pgppub.key 
>>
>>After you install that port, are there any special configuration for it 
>>or should I just enable dri in XF86Config?
>>
>>
>>
>>
> 
> 
> Just follow the rest of the website's instructions. the important bit was whether it was from /usr/ports or from /usr/src.
> 
> Ciao 
> Alex Trull
> 
> Systems and Network Administrator & Information Commissioner
> C : +44 (0) 7966  203990  | Hybyte Solutions & Services Ltd
> D : +44 (0) 2079  764219  | 114-116 Rochester Row
> S : +44 (0) 2079  764200  | Victoria, London
> F : +44 (0) 2079  764229  | SW1P 1JQ
> http://mail.uk.hybyte.net/~atrull/pgppub.key 

I get this error when I close X:

[drm] failed to load kernel module "radeon"
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.

It's failling to load.



More information about the freebsd-questions mailing list