OK, so just say a bloke upgraded his kernel, verified that it worked
and then forgot to change the default image in yaboot.conf, then maybe
he'd be a little puzzled when DRI didn't work. And eventually perhaps
he'd cotton on that he was running an old kernel with no module for his
video card and no DRI support and..... very embarrassing.
Anyway, so that's all working a treat now. However, when I run the
glxgears demo the frame rate is about half what I get running the same
demo on the same machine under Yellow Dog Linux, which I have installed
on separate partition. About 400fps vs. 800fps on YDL. Same resolution
and pixel depth. Not really very important but odd.
On 29/04/2004, at 1:20 PM, Dean Hamstead wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[EMAIL PROTECTED]:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
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: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Rage128 20020221 M3 AGP 1x
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
~ GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
~ GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color,
~ GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint,
~ GL_EXT_convolution, GL_EXT_compiled_vertex_array,
GL_EXT_histogram,
~ GL_EXT_packed_pixels, GL_EXT_polygon_offset,
GL_EXT_rescale_normal,
~ GL_EXT_texture3D, GL_EXT_texture_env_add, GL_EXT_texture_object,
blabs on some more and dumps a few registers at me as well.
my config file is attached.
Dean
Greg Hamilton wrote:
| I had Driver "r128", other than that basically the same. I changed
it to
| "ati" and restarted X but when I run glxinfo I still see:
|
| ...
| direct rendering: No
| ...
| OpenGL renderer string: Mesa GLX Indirect
|
| The correct answers are Yes and Mesa DRI Rage128 etc.
|
| On 29/04/2004, at 12:58 PM, Dean Hamstead wrote:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|>
|> Section "Device"
|> ~ Identifier "Generic Video Card"
|> ~ Driver "ati"
|> ~ BusID "PCI:0:16:0"
|> ~ VendorName "ATI Technologies Inc"
|> ~ BoardName "Rage Mobility M3 AGP 2x"
|> ~ Option "UseFBDev" "true"
|> EndSection
|>
|> i can send you my whole file if you want
|>
|> That should suffice though
|>
|> Dean
|
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAkHSEI1HDX08lY+ARAmM2AJ47k5XIBpgvH42sAtIkgqpGGRpV1QCdHxyI
Q6WpoPRPTp8DNongJfz870Y=
=yOgC
-----END PGP SIGNATURE-----
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by
dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only
make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a
dexconf-generated
# XF86Config or XF86Config-4 file?" in
/usr/share/doc/xfree86-common/FAQ.gz.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "macintosh"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
#Section "InputDevice"
# Identifier "Generic Mouse"
# Driver "mouse"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
#EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "ati"
BusID "PCI:0:16:0"
VendorName "ATI Technologies Inc"
BoardName "Rage Mobility M3 AGP 2x"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
#InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
### END DEBCONF SECTION