Re: Enable XFree86-DRI Extension [Fedora Core 1] - Xwindows

This is a discussion on Re: Enable XFree86-DRI Extension [Fedora Core 1] - Xwindows ; jzilla wrote: > > When I run glxinfo, I get the following. > > > Xlib: extension "XFree86-DRI" missing on display ":0.0". > > ... > > direct rendering: No > > ... > > I'm trying to load it ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: Re: Enable XFree86-DRI Extension [Fedora Core 1]

  1. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    jzilla wrote:
    >
    > When I run glxinfo, I get the following.
    >
    > > Xlib: extension "XFree86-DRI" missing on display ":0.0".
    > > ...
    > > direct rendering: No
    > > ...

    >
    > I'm trying to load it in /etc/X11/XFree86Config
    >
    > > Section "Module"
    > > ...
    > > Load "dri"
    > > EndSection

    >
    > And, since I have a Matrox Millennium G200 PCI graphics card, I presume
    > this is the appropriate existing library...
    >
    > /usr/X11R6/lib/modules/dri/mga_dri.so
    >
    > How can I get direct rendering working?


    It looks as if X is actually loading a DRI module.

    From /var/log/XFree86.0.log:

    (II) LoadModule: "dri"
    (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
    (II) Module dri: vendor="The XFree86 Project"
    compiled for 4.3.0, module version = 1.0.0
    ABI class: XFree86 Server Extension, version 0.2

    Since there don't appear to be any errors during the LoadModule routine,
    why do I get the missing extension error?

  2. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    jzilla wrote:
    > jzilla wrote:
    > >

    >
    >> When I run glxinfo, I get the following.
    >>
    >> > Xlib: extension "XFree86-DRI" missing on display ":0.0".
    >> > ...
    >> > direct rendering: No
    >> > ...

    >>
    >> I'm trying to load it in /etc/X11/XFree86Config
    >>
    >> > Section "Module"
    >> > ...
    >> > Load "dri"
    >> > EndSection


    Try
    Load "mga_dri"
    instead.

    >>
    >> And, since I have a Matrox Millennium G200 PCI graphics card, I
    >> presume this is the appropriate existing library...
    >>
    >> /usr/X11R6/lib/modules/dri/mga_dri.so
    >>
    >> How can I get direct rendering working?

    >
    >
    > It looks as if X is actually loading a DRI module.
    >
    > From /var/log/XFree86.0.log:
    >
    > (II) LoadModule: "dri"
    > (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
    > (II) Module dri: vendor="The XFree86 Project"
    > compiled for 4.3.0, module version = 1.0.0
    > ABI class: XFree86 Server Extension, version 0.2
    >
    > Since there don't appear to be any errors during the LoadModule routine,
    > why do I get the missing extension error?



    --
    Ben M.

    ----------------
    What are Software Patents for?
    To protect the small enterprise from bigger companies.

    What do Software Patents do?
    In its current form, they protect only companies with
    big legal departments as they:
    a.) Patent everything no matter how general
    b.) Sue everybody. Even if the patent can be argued
    invalid, small companies can ill-afford the
    typical $500k cost of a law-suit (not to mention
    years of harassment).

    Don't let them take away your right to program
    whatever you like. Make a stand on Software Patents
    before its too late.

    Read about the ongoing battle at http://swpat.ffii.org/
    ----------------


  3. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    > How can I get direct rendering working?

    Okay, what would "direct rendering" give me? I have RH9. (BTW, I'm
    running Xinerama mode on 2 monitors and 2 video cards.) Does this fix
    the bug I have when I try to use an OpenGL-based screen saver (which
    crashes my X)?

  4. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    Google Mike wrote:
    >>How can I get direct rendering working?

    >
    > Okay, what would "direct rendering" give me? I have RH9. (BTW, I'm
    > running Xinerama mode on 2 monitors and 2 video cards.) Does this fix
    > the bug I have when I try to use an OpenGL-based screen saver (which
    > crashes my X)?


    Direct rendering would be something to look into there. Does glxinfo
    report that you are missing the XFree86-DRI extension?

    I'm trying to run Windows applications with Wine, and among the Windows
    errors is "Could not initialize graphics system. Make sure that your
    video card and driver are compatible with DirectDraw.". I'm pretty sure
    that the other errors are caused by missing that extension.

  5. Re: Enable XFree86-DRI Extension [Fedora Core 1] [Matrox MillenniumG200 PCI]

    Ben Measures wrote:
    > jzilla wrote:
    >
    >> jzilla wrote:
    >> >

    >>
    >>> When I run glxinfo, I get the following.
    >>>
    >>> > Xlib: extension "XFree86-DRI" missing on display ":0.0".
    >>> > ...
    >>> > direct rendering: No
    >>> > ...
    >>>
    >>> I'm trying to load it in /etc/X11/XFree86Config
    >>>
    >>> > Section "Module"
    >>> > ...
    >>> > Load "dri"
    >>> > EndSection

    >
    > Try
    > Load "mga_dri"
    > instead.


    (II) LoadModule: "mga_dri"
    (WW) Warning, couldn't open module mga_dri
    (II) UnloadModule: "mga_dri"
    (EE) Failed to load module "mga_dri" (module does not exist, 0)

    When it says 'module' does that include shared object files? I had
    assumed that /usr/X11R6/lib/modules/dri/mga_dri.so was the 'module' and
    that XFree86 found it by scanning /usr/X11R6/lib/modules.

    Do I need to provide a module -> .so map somewhere?

  6. Re: Enable XFree86-DRI Extension [Fedora Core 1] [Matrox MillenniumG200 PCI]

    jzilla wrote:
    >
    >>>
    >>>> When I run glxinfo, I get the following.
    >>>>
    >>>> > Xlib: extension "XFree86-DRI" missing on display ":0.0".
    >>>> > ...
    >>>> > direct rendering: No
    >>>> > ...


    It turns out that while XFree86.org lists "Matrox G200" as a supported
    device for DRI, /var/log/XFree86.0.log says only the AGP version is
    supported.

    (EE) MGA(0): [drm] Direct rendering only supported with G200/G400/G550 AGP

  7. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    jzilla wrote in message
    > Direct rendering would be something to look into there. Does glxinfo
    > report that you are missing the XFree86-DRI extension?


    Yep. Here's the output. Note I have 2 video cards and 2 monitors in
    Xinerama mode. When I go into RH9's screensaver control panel, I can
    see the OpenGL screensavers just fine in this small mode. But when I
    try to load that as my screensaver, it crashes X completely.

    name of display: :0.0
    Xlib: extension "XFree86-DRI" missing on display ":0.0".
    display: :0 screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
    client glx vendor string: SGI
    client glx version string: 1.2
    client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
    GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.3 Mesa 4.0.4
    OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
    glu version: 1.3
    glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    ----------------------------------------------------------------------
    0x23 16 tc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x24 16 tc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
    0x25 16 tc 1 16 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
    0x26 16 tc 1 16 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
    0x27 16 dc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x28 16 dc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
    0x29 16 dc 1 16 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
    0x2a 16 dc 1 16 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None

    Oh, and here's the Modules section from my /etc/X11/XF86Config file:

    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "fbdevhw"
    Load "glx"
    Load "record"
    Load "freetype"
    Load "type1"
    EndSection

  8. Re: Enable XFree86-DRI Extension [Fedora Core 1]

    Google Mike wrote:
    > jzilla wrote in message
    >
    >>Direct rendering would be something to look into there. Does glxinfo
    >>report that you are missing the XFree86-DRI extension?

    >
    >
    > Yep. Here's the output. Note I have 2 video cards and 2 monitors in
    > Xinerama mode. When I go into RH9's screensaver control panel, I can
    > see the OpenGL screensavers just fine in this small mode. But when I
    > try to load that as my screensaver, it crashes X completely.


    That sounds like something other than DRI, but who knows? At least you
    could rule it out if it were working properly.

    > Xlib: extension "XFree86-DRI" missing on display ":0.0".
    > ...
    > Section "Module"
    > Load "dbe"
    > Load "extmod"
    > Load "fbdevhw"
    > Load "glx"
    > Load "record"
    > Load "freetype"
    > Load "type1"
    > EndSection


    You'll need to add 'Load "dri"', or the vendor specific DRI module if
    you have one, to that list. Then scan through /var/log/XFree86.0.log and
    see what it says under 'LoadModule: "dri"'.

+ Reply to Thread