[Openchrome-users] libGL error: InitDriver failed

Xavier Bachelot xb_ml
Mon Jul 24 06:09:33 PDT 2006


Fazer wrote:
> So after reinstalling the system SUSE 10.0
> I installed openchrome, drm thats was ok
> 
> /dev/dri/card0
> 
> present
> 
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (Unknown error 999)
> drmOpenDevice: open result is -1, (Unknown error 999)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (Unknown error 999)
> drmOpenDevice: open result is -1, (Unknown error 999)
> drmOpenDevice: Open failed
> drmOpenByBusid: Searching for BusID PCI:1:0:0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 6, (OK)
> drmOpenByBusid: drmOpenMinor returns 6
> drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> 
> but glxinfo
> 
> name of display: :0.0
> libGL error: InitDriver failed
> libGL error: reverting to (slow) indirect rendering
> display: :0  screen: 0
> direct rendering: No
> 
> 
> so whats wrong
> 
There seems to be a timing pb here, I have the same on my machine.
'via' and 'drm' kernel modules needs to be inserted _before_ the X 
server starts. This way all drmOpenDevice will return OK, not only the 
last one. I've workarounded that by loading the modules in rc.local a 
long time ago, but forgot to log a bug at dri.sf.net since then. I'm 
wondering if dri is the right place though, perhaps xorg or kernel ?

Regards,

Xavier




More information about the Openchrome-users mailing list