relationship of XFree86 driver modules to linux kernel modules - what is it?

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

 



I have never understood exactly what the relationship is between the XFree86 driver modules and their linux kernel buddies with same or similar name. E.g. drm, radeon, etc. Do they perform identical function, but XFree86 mdule in user space and the linux module in kernel space?? If so, what is the precedence rule when both are present? Or are they complementary and both needed? I recently was reminded of this question when installing 4.6.0 under linux 2.6.19.1. At the end of the XFree86 install, it asked me if I would like to rebuild my linux drm modules (not my XFree86 drm module). This surprised me since linux already supplies a drm module for my display (S3 savage). I said yes and it failed (because it was looking for an include file, linux/config.h, in the linux source tree, that no longer exists - linux has replaced it by autoconf.h. But after fixing that, it turns out there is no source code for my S3 savage in the /usr/X11R6/src/drm/linux/kernel anyway!. Does this mean XFree86 doesn't support DRI on S3 even though my linux kernel does??

I do see error messages such as Xlib: extension "XFree86-DRI missing on display 0:0 - maybe that is the symptom? That is from a wine application. Yet the XFree86.0.log claims to have successfully loaded each of dri, drm, glx and no warning about not supporting S3 savage. The application appears to work just fine anyway so no big deal but strange.

This post is not really about that specidfic DRI/DRM problem, although I'll be happy to have it solved, but mainly could someone please explain what the two types of modules do and their relationship when in use, or point me to some write-up if there is one. I'm also curous to understand how XFree86 can claim to have loaded its drm module when there is apparently no source code for XFree86 drm on my savage display!

John Lumby

_________________________________________________________________
http://local.live.com/?mkt=en-ca/?v=2&cid=A6D6BDB4586E357F!420

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux