[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DRI not working with libgl1-mesa-dri (r300)



At Thu, 12 Jan 2006 12:15:34 +0100, Michel Dänzer wrote:
> 
> Maybe, but the X server creates the device nodes on the fly as necessary
> anyway.

Not in my case it seems.  I tried creating the device node manually
(mknod /dev/dri/card0 c 226 0) before starting X, but then X removes
it.

> > drmOpenDevice: node name is /dev/dri/card0                                                
> > drmOpenDevice: open result is -1, (No such device)                                    
> 
> 'No such device' usually occurs when the kernel module isn't loaded.

That was what I thought at first, but I did have DRM+Radeon enabled in
the kernel.  I even changed my kernel configuration to have those as
modules, but that doesn't change a thing (and it shouldn't).  X does
load the radeon module though, but still no entry in /dev/dri.

Ruben


ruben@guava ~ $ lsmod
Module                  Size  Used by
bcm43xx               429716  0 
ieee80211_crypt_ccmp     7840  0 
ieee80211_crypt_tkip    12096  0 
ieee80211_crypt_wep     5312  1 
ieee80211softmac       27968  1 bcm43xx
ieee80211              32904  2 bcm43xx,ieee80211softmac
ieee80211_crypt         5536  4 ieee80211_crypt_ccmp,ieee80211_crypt_tkip,ieee80211_crypt_wep,ieee80211
radeon                126440  0 
drm                    80664  1 radeon
uninorth_agp            9384  1 
agpgart                32796  2 drm,uninorth_agp

ruben@guava ~ $ dmesg | grep drm
[drm] Initialized drm 1.0.0 20040925

ruben@guava ~ $ gunzip -c /proc/config.gz | grep DRM
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Reply to: