Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xlib: extension "XFree86-DRI" missing on display
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Tue Oct 12, 2004 3:49 am    Post subject: Xlib: extension "XFree86-DRI" missing on display Reply with quote

Okay, since I switched over to Gentoo back in march, I keep getting this message whenever running any opengl stuff
Code:

Xlib:  extension "XFree86-DRI" missing on display ":0.0"

The opengl stuff works when I run the glxgears but I am assuming the rendering is software based and not running directly from the hardware. The system is a P3 500 with a rage128 video card onboard with 16 mb ram. With Quake III running at 640x480 it crawls and the sound is choppy on the main menu, I haven't even tried the actual game yet. I am assuming getting xfree to do direct rendering would fix this problem. I am running xfree instead of xorg and am afraid to upgrade (don't want to break my only working system right now). What do I need to do to get this stupid error to go away? The Gentoo DR howto is confusing for someone who is relatively new to getting graphics to work better. I welcome any and ALL suggestions, no matter how stupid they may be. :lol:
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Wed Oct 13, 2004 10:32 pm    Post subject: Re: Xlib: extension "XFree86-DRI" missing on disp Reply with quote

GoofballJM1 wrote:
The Gentoo DR howto is confusing for someone who is relatively new to getting graphics to work better. I welcome any and ALL suggestions, no matter how stupid they may be. :lol:

What's confusing about it?
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Thu Oct 14, 2004 5:16 am    Post subject: Reply with quote

I have followed all of those directions a number of times. There isn't much info on 2.6 kernels, as to whether to load stuff as modules, or what not. What do I need to emerge if I am running a 2.6 kernel as opposed to the 2.4? Do I need to emerge ATI drivers? I just keep getting low frame rates and that stupid message all of the time and I know its not running off of the GPU. I will take another crack at it I suppose.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Thu Oct 14, 2004 5:44 am    Post subject: Reply with quote

Okay here are some more details:
Here is my glxinfo:

Code:

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 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None

So I DON't have direct rendering. One problem I always ran into was whenever I edited my XF86Config, and followed the documentation to edit this portion of my config file:
Code:

...
Section "Module"
  Load "dri"
  Load "glx"
  ...
EndSection
...
Section "Device"
  Driver "radeon"
  ...
EndSection
...
Section "dri"
  Mode 0666
EndSection

When I enable "Mode 0666", my X environment crashes and doesn't even come up. So that's a major problem obviously. Any ideas as to why this is happening?
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Thu Oct 14, 2004 6:17 am    Post subject: Reply with quote

GoofballJM1 wrote:
I have followed all of those directions a number of times. There isn't much info on 2.6 kernels, as to whether to load stuff as modules, or what not. What do I need to emerge if I am running a 2.6 kernel as opposed to the 2.4? Do I need to emerge ATI drivers? I just keep getting low frame rates and that stupid message all of the time and I know its not running off of the GPU. I will take another crack at it I suppose.

Almost exactly the same as 2.4 if you're using x11-drm-20040827 or newer. You just need to remember to build your chipset-specific agpgart module and load it in /etc/modules.autoload.d/kernel-2.6, because X will only autoload the core agpgart module and the DRM module.

ati-drivers are available for Radeons 8500 and up. x11-drm is the open-source option, available for Radeons 9200 and lower and Rage 128.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Thu Oct 14, 2004 6:24 am    Post subject: Reply with quote

GoofballJM1 wrote:
Okay here are some more details:
Here is my glxinfo:

Code:
direct rendering: No

That's the only useful line of that.

Quote:
So I DON't have direct rendering. One problem I always ran into was whenever I edited my XF86Config, and followed the documentation to edit this portion of my config file:
Code:

...
Section "Module"
  Load "dri"
  Load "glx"
  ...
EndSection
...
Section "Device"
  Driver "radeon"
  ...
EndSection
...
Section "dri"
  Mode 0666
EndSection

When I enable "Mode 0666", my X environment crashes and doesn't even come up. So that's a major problem obviously. Any ideas as to why this is happening?

That's really weird. Try changing both instances of "dri" to "DRI" and see whether that happens to help any. Also please paste the output of:
Code:
# grep -e '^(EE)' -e '^(WW)' /var/log/Xorg.0.log
# dmesg | grep -i -e agp -e drm

There's a chance that this will be useful:
Code:
# LIBGL_DEBUG=verbose glxinfo
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Thu Oct 14, 2004 2:42 pm    Post subject: Reply with quote

spyderous wrote:
Also please paste the output of:
Code:
# grep -e '^(EE)' -e '^(WW)' /var/log/Xorg.0.log
# dmesg | grep -i -e agp -e drm


Okay here they are:
Code:

grep -e '^(EE)' -e '^(WW)' /var/log/Xorg.0.log
grep: /var/log/Xorg.0.log: No such file or directory

That's probably because I am still running xfree instead of xorg
Here is the second one:
Code:

dmesg |grep -i -e agp -e drm
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 149M
agpgart: AGP aperture is 64M @ 0xf4000000

That is my chipset on my motherboard. I will try those other options later today when I have time. Thanks for your help by the way:)
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Thu Oct 14, 2004 2:51 pm    Post subject: Reply with quote

GoofballJM1 wrote:
Okay here they are:
Code:

grep -e '^(EE)' -e '^(WW)' /var/log/Xorg.0.log
grep: /var/log/Xorg.0.log: No such file or directory

That's probably because I am still running xfree instead of xorg

Yes, it is. You should have adapted that for xfree -- I figured everyone would be switched over to xorg at this point.
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Sun Oct 17, 2004 5:49 pm    Post subject: Reply with quote

Okay, switched over to Xorg, here is my output on that:
Code:

grep -e '^(EE)' -e '^(WW)' /var/log/Xorg.0.log
(WW) The directory "/usr/share/fonts/Speedo/" does not exist.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) Warning, couldn't open module speedo
(EE) Failed to load module "speedo" (module does not exist, 0)
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(WW) ATI(0): config file vrefresh range 50-100Hz not within DDC vrefresh ranges.
(WW) ATI(0): I2C bus Mach64 initialisation failure.

_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Sun Oct 17, 2004 6:14 pm    Post subject: Reply with quote

How about:
Code:
grep -v -e '^#' -e '^$' /etc/X11/xorg.conf
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Tue Oct 19, 2004 4:48 am    Post subject: Reply with quote

spyderous wrote:
How about:
Code:
grep -v -e '^#' -e '^$' /etc/X11/xorg.conf


Here it is:
Code:

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load       "glx"
    Load       "dri"
EndSection
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/mouse"
    Option "Emulate3Buttons"
EndSection
Section "Monitor"
    Identifier  "micron"
    HorizSync   31.5 - 64.3
    VertRefresh 50-100
    Option "DPMS"
EndSection
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "r128"
EndSection
Section "Device"
    Identifier  "rage128"
    Driver      "ati"
    #VideoRam    8192
    # Insert Clocks lines here if appropriate
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "rage128"
    Monitor     "micron"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "20"
EndSection
:D
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Oct 19, 2004 5:38 am    Post subject: Reply with quote

GoofballJM1 wrote:
Code:
(WW) ATI(0): config file vrefresh range 50-100Hz not within DDC vrefresh ranges.
(WW) ATI(0): I2C bus Mach64 initialisation failure.

Code:
VertRefresh 50-100


Think it's suggesting something about your vertical refresh setting? Not sure about the importance of the I2C bit.
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Wed Oct 20, 2004 5:41 am    Post subject: Reply with quote

I fixed the refresh rate at 60 Hz, which got rid of that problem.

I am still getting a message when I enable Module 0666 in my XF86Config. It says that it does not recognize that option and X fails to start.

My other problem is when I copy XF86Config to xorg.conf, X does not start up. I tells me it can't find a "speedo" font or a "keyboard" module. I suppose I need to edit the config file to meet the changes, but what do I change it to?
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Wed Oct 20, 2004 2:32 pm    Post subject: Reply with quote

GoofballJM1 wrote:
I am still getting a message when I enable Module 0666 in my XF86Config. It says that it does not recognize that option and X fails to start.

Mode 0666, not Module.

Quote:
My other problem is when I copy XF86Config to xorg.conf, X does not start up. I tells me it can't find a "speedo" font or a "keyboard" module. I suppose I need to edit the config file to meet the changes, but what do I change it to?

The Speedo part doesn't matter. As for the keyboard thing, change your keyboard driver from Driver "keyboard" to Driver "kbd".
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Wed Oct 20, 2004 2:40 pm    Post subject: Reply with quote

spyderous wrote:
GoofballJM1 wrote:
I am still getting a message when I enable Module 0666 in my XF86Config. It says that it does not recognize that option and X fails to start.

Mode 0666, not Module.


Sorry about the typo: Here is my XF86Config:
Code:

# Section "DRI"
    Mode 0666
# EndSection

It was mode instead of module, my mistake. It was late when I typed that. :oops:
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum