[ltp] Xlib: extension "XFree86-DRI" missing on display ":0.0"

Jeff linux-thinkpad@linux-thinkpad.org
Mon, 21 Mar 2005 07:41:12 -0700 (MST)


Hi Alex and all else,

I just wanted to post a summary of the rest of my experience regarding
the DRI stuff.

I installed the aforementioned rpm, ran the fglrxconfig program that
it comes with, and answered all the questions.  There were a few
questions I wasn't sure about but I used my best judgement.  Since
there was a module (fglrx) that needed to be loaded, I rebooted to see
if it normally gets loaded at boot time or if the X server loads it
(the latter) and also for posterity.

I ran startx and the fonts did seem a bit different than before (not
much...just smaller I guess).  All the DRI errors went away and
glxgears ran like a champ but fgl_glxgears produced the following
errors:

FGLTexMgr: open of shared memory object failed (Function not implemented)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!

I did a little research on usenet and someone pointed to an article on
ATI's website.  Unfortunately, ATI reorg'd their entire support site
(I liked it better before) so it took a little more effort to find
knowledge base article #737-160 which basically said to enable shared
memory by adding the following line to fstab:

   tmpfs /dev/shm tmpfs defaults 0 0

and run "mount tmpfs".  After that, fgl_glxgears ran like a champ.

The only other issue (which was the original reason this all started)
was getting the Quicktime plugin in Crossover Office to work.  That
started producing strange behavior.  During installation or usage of
the plug-in, the screen would blank and I would have to switch to
another virtual terminal and back to F7.  Everytime the screen
blanked, I saw the following error in the X logs:

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
GetModeLine - scrn: 0 clock: 84960
GetModeLine - hdsp: 1400 hbeg: 1472 hend: 1512 httl: 1600
              vdsp: 1050 vbeg: 1052 vend: 1053 vttl: 1062 flags: -2147483648

I got the plugin to work except for the sound.  During my research, I
found that mplayer now had a plugin module so I found it much easier
to get that to work (and it's preferred since it's a native binary).
I got it to work with Mozilla and Firefox and soon to be Opera after I
work out the library issues.

Hopefully, this will be useful to anyone else who may have a similar
issue.  Thanks again Alex!

-Jeff

On Fri, 18 Mar 2005, Alex Deucher wrote:

> On Fri, 18 Mar 2005 09:47:44 -0700 (MST), Jeff <thinkpad@sirveiss.com> wrote:
> > Hi Alex,
> >
> > I going to check out the r300 project but I also downloaded the file
> > fglrx_4_3_0-8.10.19-1.i386.rpm from ATI's website.  Is it same to
> > assume that this is what you meant by ATI's driver?  There was
> > another I downloaded as well, fglrx_6_8_0-8.10.19-1.i386.rpm, which is
> > for X.org.  If this goes well with Mandrake 10.0, I'll use the latter
> > when Mandrake 10.2 comes out.
>
> yes fglrx is what I was referring to as ati's binary driver.
>
> Alex
>
> >
> > Thanks again!
> >
> > -Jeff
> >
> > On Thu, 17 Mar 2005, Alex Deucher wrote:
> >
> > > On Thu, 17 Mar 2005 08:54:44 -0700 (MST), Jeff <thinkpad@sirveiss.com> wrote:
> > > > Hi Alex,
> > > >
> > > > No problem.  It should be attached.
> > > >
> > > > Thank you very much!
> > >
> > > Duh!  I should have read your last email more thoroughly.  you have an
> > > r300 based card.
> > > there is not currently open source support for HW 3D on r300 cards.
> > > You'll need to use ATI's binary driver or the experimental r300 driver
> > > at r300.sf.net
> > >
> > > (WW) RADEON(0): Direct rendering not yet supported on Radeon 9500/9700
> > > and newer cards
> > >
> > > Alex
> > >
> > > >
> > > > -Jeff
> > > >
> > > > On Wed, 16 Mar 2005, Alex Deucher wrote:
> > > >
> > > > > On Wed, 16 Mar 2005 10:19:57 -0700 (MST), Jeffrey Veiss
> > > > > <jvmail@sirveiss.com> wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > I've been having an issue I was hoping someone might be able to shed
> > > > > > some light on as the research I've been doing hasn't yet come up
> > > > > > with a solution.  First of all, here's what I have:
> > > > > >
> > > > > >    - Thinkpad T42 w/1.7GHz, 1G RAM, Mobility Radeon 9600 M10 128M
> > > > > >      (http://www5.pc.ibm.com/us/products.nsf/$wwwPartNumLookup/_2378FVU)
> > > > > >    - Mandrake 10.0 w/XFree86 v4.3
> > > > > >
> > > > > > After noticing some issues with some software packages (e.g. quicktime via
> > > > > > Crossover Office), I ran glxinfo and received the following errors (after
> > > > > > setting LIBGL_DEBUG=verbose):
> > > > > >
> > > > > >    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> > > > > >    libGL error: XF86DRIQueryDirectRenderingCapable failedname of display: :0.0
> > > > > >    display: :0  screen: 0
> > > > > >    direct rendering: No
> > > > > >
> > > > > > The only possible solution I found so far was changing the Depth to 16 bit but
> > > > > > since I'm interested in viewing video clips, I'd like to avoid that route.
> > > > > >
> > > > > > The funny thing is the X log is showing the DRI module loading fine:
> > > > > >
> > > > > >    (II) Module GLcore: vendor="The XFree86 Project"
> > > > > >            compiled for 4.3.0.1, module version = 1.0.0
> > > > > >            ABI class: XFree86 Server Extension, version 0.2
> > > > > >    (II) Loading extension GLX
> > > > > >    (II) LoadModule: "dri"
> > > > > >    (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
> > > > > >    (II) Module dri: vendor="The XFree86 Project"
> > > > > >            compiled for 4.3.0.1, module version = 1.0.0
> > > > > >            ABI class: XFree86 Server Extension, version 0.2
> > > > > >    (II) Loading sub module "drm"
> > > > > >    (II) LoadModule: "drm"
> > > > > >    (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
> > > > > >    (II) Module drm: vendor="The XFree86 Project"
> > > > > >            compiled for 4.3.0.1, module version = 1.0.0
> > > > > >            ABI class: XFree86 Server Extension, version 0.2
> > > > > >    (II) Loading extension XFree86-DRI
> > > > > >    (II) LoadModule: "radeon"
> > > > > >    (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
> > > > > >    (II) Module radeon: vendor="The XFree86 Project"
> > > > > >            compiled for 4.3.0.1, module version = 4.0.1
> > > > > >            Module class: XFree86 Video Driver
> > > > > >            ABI class: XFree86 Video Driver, version 0.6
> > > > > >    (II) LoadModule: "ati"
> > > > > >    (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
> > > > >
> > > > > Does the log show that that direct rendering is actually enabled?
> > > > >
> > > > > >
> > > > > > Here's the module info from /etc/X11/XF86Config-4
> > > > > >
> > > > > >    Section "Module"
> > > > > >        Load "dbe" # Double-Buffering Extension
> > > > > >        Load "v4l" # Video for Linux
> > > > > >        Load "extmod"
> > > > > >        Load "type1"
> > > > > >        Load "freetype"
> > > > > >        Load "glx" # 3D layer
> > > > > >        Load "dri" # direct rendering
> > > > > >    EndSection
> > > > > >
> > > > > >    Section "DRI"
> > > > > >        Mode 0666
> > > > > >    EndSection
> > > > > >
> > > > > > One concern I do have regarding potential solutions is that I use
> > > > > > VMWare on a regular basis and I believe it's somewhat sensitive to
> > > > > > significant changes with X.
> > > > > >
> > > > > > I'm not sure how it'll transfer to the list but I've attached the full outputs
> > > > > > from XF86Config-4, lsmod, and gfxconfig to this email.
> > > > >
> > > > > Your X log would be more useful.
> > > > >
> > > > >
> > > > > >
> > > > > > Thanks in advance for any suggestions!
> > > > > >
> > > > > > Please contact me if there are any further questions via internet
> > > > > > mail at jvmail@sirveiss.com.  Thank you very much!
> > > > > >
> > > > > > Jeffrey Veiss, CCNA, CISSP, TICSA             Sir Veiss, Inc.
> > > > > > Network Engineer/System Administrator         jvmail@sirveiss.com
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> > Thank you very much!
> >
> > -Jeff
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >