<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Jon / Alex, (and any others that may know about
getting dri for savage S3 vt8375 chipset graphics card working)<br>
<br>
Tried all the bits that have gleaned from you guys last couple of days
with some success.&nbsp; DRI is at least partially working and this is the
return I get at Konsole:<br>
<br>
admins@Kubuntu:~$ cat /var/log/Xorg.0.log | grep DRI<br>
(II) Loading extension XFree86-DRI<br>
(**) SAVAGE(0): DRI is disabled by default on this chipset as it is
experimental and unstable.<br>
(II) SAVAGE(0): [drm] Enabling ShadowStatus for DRI.<br>
(**) SAVAGE(0): DRI is enabled<br>
(II) SAVAGE(0): [DRI] installation complete<br>
(II) SAVAGE(0): [junkers]pSAVAGEDRIServer:<br>
(II) SAVAGE(0): [junkers]pSAVAGEDRI:<br>
(II) GLX: Initialized DRI GL provider for screen 0<br>
admins@Kubuntu:~$ glxgears &gt;&gt; -printfps<br>
libGL warning: 3D driver claims to not support visual 0x4c<br>
<br>
The gears seem to spin pretty smoothly except occasionally (every 15
seconds or so) they stall for a fraction of a second (almost
unnoticeable).<br>
<br>
Google Earth works at lightening speed compared to what I was getting
under software emulation.&nbsp; However, when zooming in close enough to the
planet to just see sommes island and wellington airport runway, the app
crashes spectacularly (the pc freezes) can't even alt-ctrl-bkspace out
of KDE or alt-ctrl-del to stop google e.&nbsp; Is there anything obvious in
the returned text above that would indicate what's wrong?&nbsp; My xorg.conf
follows:<br>
<br>
# /etc/X11/xorg.conf (xorg X Window System server configuration file)<br>
#<br>
# This file was generated by dexconf, the Debian X Configuration tool,
using<br>
# values from the debconf database.<br>
#<br>
# Edit this file with caution, and see the /etc/X11/xorg.conf manual
page.<br>
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)<br>
#<br>
# This file is automatically updated on xserver-xorg package upgrades
*only*<br>
# if it has not been modified since the last upgrade of the xserver-xorg<br>
# package.<br>
#<br>
# If you have edited this file but would like it to be automatically
updated<br>
# again, run the following command:<br>
#&nbsp;&nbsp; sudo dpkg-reconfigure -phigh xserver-xorg<br>
<br>
Section "Files"<br>
&nbsp; FontPath "/usr/share/X11/fonts/misc"<br>
&nbsp; FontPath "/usr/share/X11/fonts/cyrillic"<br>
&nbsp; FontPath "/usr/share/X11/fonts/100dpi/:unscaled"<br>
&nbsp; FontPath "/usr/share/X11/fonts/75dpi/:unscaled"<br>
&nbsp; FontPath "/usr/share/X11/fonts/Type1"<br>
&nbsp; FontPath "/usr/share/X11/fonts/100dpi"<br>
&nbsp; FontPath "/usr/share/X11/fonts/75dpi"<br>
&nbsp; FontPath "/usr/share/fonts/X11/misc"<br>
&nbsp; # path to defoma fonts<br>
&nbsp; FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br>
EndSection<br>
<br>
Section "Module"<br>
&nbsp; Load "i2c"<br>
&nbsp; Load "bitmap"<br>
&nbsp; Load "ddc"<br>
&nbsp; Load "extmod"<br>
&nbsp; Load "freetype"<br>
&nbsp; Load "int10"<br>
&nbsp; Load "type1"<br>
&nbsp; Load "vbe"<br>
&nbsp; load "glx"<br>
&nbsp; load "GLcore"<br>
&nbsp; load "v4l"<br>
&nbsp; load "dri"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp; Identifier "Generic Keyboard"<br>
&nbsp; Driver "kbd"<br>
&nbsp; option "CoreKeyboard"<br>
&nbsp; option "XkbRules" "xorg"<br>
&nbsp; option "XkbModel" "pc105"<br>
&nbsp; option "XkbLayout" "us"<br>
&nbsp; option "XkbVariant" "intl"<br>
&nbsp; option "XkbOptions" "lv3:ralt_switch"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp; Identifier "Configured Mouse"<br>
&nbsp; Driver "mouse"<br>
&nbsp; option "CorePointer"<br>
&nbsp; option "Device" "/dev/input/mice"<br>
&nbsp; option "Protocol" "ExplorerPS/2"<br>
&nbsp; option "ZAxisMapping" "4 5"<br>
&nbsp; option "Emulate3Buttons" "true"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp; Driver "wacom"<br>
&nbsp; Identifier "stylus"<br>
&nbsp; option "Device" "/dev/wacom"# Change to <br>
&nbsp; option "Type" "stylus"<br>
&nbsp; option "ForceDevice" "ISDV4"# Tablet PC ONLY<br>
&nbsp; # /dev/input/event<br>
&nbsp; # for USB<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp; Driver "wacom"<br>
&nbsp; Identifier "eraser"<br>
&nbsp; option "Device" "/dev/wacom"# Change to <br>
&nbsp; option "Type" "eraser"<br>
&nbsp; option "ForceDevice" "ISDV4"# Tablet PC ONLY<br>
&nbsp; # /dev/input/event<br>
&nbsp; # for USB<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp; Driver "wacom"<br>
&nbsp; Identifier "cursor"<br>
&nbsp; option "Device" "/dev/wacom"# Change to <br>
&nbsp; option "Type" "cursor"<br>
&nbsp; option "ForceDevice" "ISDV4"# Tablet PC ONLY<br>
&nbsp; # /dev/input/event<br>
&nbsp; # for USB<br>
EndSection<br>
<br>
Section "Device"<br>
&nbsp; identifier "S3 Inc. VT8375 [ProSavage8 KM266/KL266]"<br>
&nbsp; boardname "S3 Savage (generic, sw_cursor)"<br>
&nbsp; busid "PCI:1:0:0"<br>
&nbsp; driver "savage"<br>
&nbsp; screen 0<br>
&nbsp; vendorname "S3"<br>
&nbsp; videoram 65536<br>
&nbsp; option "sw_cursor"<br>
&nbsp; option "ForceInit"<br>
&nbsp; option "AGPSize"&nbsp;&nbsp;&nbsp; "16"<br>
&nbsp; option "AGPMode"&nbsp;&nbsp;&nbsp; "4"<br>
&nbsp; option "DmaType"&nbsp;&nbsp;&nbsp; "AGP"<br>
&nbsp; option "DmaMode"&nbsp;&nbsp;&nbsp; "None"<br>
&nbsp; option "BusType"&nbsp;&nbsp;&nbsp; "PCI"<br>
EndSection<br>
<br>
Section "Monitor"<br>
&nbsp; identifier "Monitor Generico"<br>
&nbsp; vendorname "Plug 'n' Play"<br>
&nbsp; modelname "Plug 'n' Play"<br>
&nbsp; modeline&nbsp; "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync
-hsync<br>
&nbsp; modeline&nbsp; "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync
-hsync<br>
&nbsp; modeline&nbsp; "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync
-hsync<br>
&nbsp; modeline&nbsp; "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync
+vsync<br>
&nbsp; modeline&nbsp; "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync
+vsync<br>
&nbsp; modeline&nbsp; "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync
+vsync<br>
&nbsp; modeline&nbsp; "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync
+vsync<br>
&nbsp; modeline&nbsp; "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync
-hsync<br>
&nbsp; modeline&nbsp; "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800
+hsync +vsync<br>
&nbsp; modeline&nbsp; "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806
-vsync -hsync<br>
&nbsp; modeline&nbsp; "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806
-vsync -hsync<br>
&nbsp; modeline&nbsp; "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994
-hsync +vsync<br>
&nbsp; gamma 1.0<br>
EndSection<br>
<br>
Section "Screen"<br>
&nbsp; Identifier "Default Screen"<br>
&nbsp; Device "S3 Inc. VT8375 [ProSavage8 KM266/KL266]"<br>
&nbsp; Monitor "Monitor Generico"<br>
&nbsp; DefaultDepth 24<br>
&nbsp; SubSection "Display"<br>
&nbsp;&nbsp;&nbsp; depth 24<br>
&nbsp;&nbsp;&nbsp; virtual 1024 768<br>
&nbsp;&nbsp;&nbsp; modes "1024x768@60" "1280x960@60" "1024x768@70" "1024x768@75"
"832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56"
"640x480@75" "640x480@72" "640x480@60"<br>
&nbsp; EndSubSection<br>
EndSection<br>
<br>
Section "DRI"<br>
&nbsp; Mode 0666<br>
EndSection<br>
<br>
Section "ServerLayout"<br>
&nbsp; Identifier "Default Layout"<br>
&nbsp; screen 0 "Default Screen" 0 0<br>
&nbsp; InputDevice "Generic Keyboard"<br>
&nbsp; InputDevice "Configured Mouse"<br>
&nbsp; InputDevice "stylus" "SendCoreEvents"<br>
&nbsp; InputDevice "cursor" "SendCoreEvents"<br>
&nbsp; InputDevice "eraser" "SendCoreEvents"<br>
EndSection<br>
<br>
Section "DRI"<br>
&nbsp; Mode 0666<br>
EndSection<br>
Section "ServerFlags"<br>
EndSection<br>
<br>
</font><br>
<a class="moz-txt-link-abbreviated" href="mailto:jon@jon.geek.nz">jon@jon.geek.nz</a> wrote:
<blockquote cite="mid454FAD3E.10608@jon.geek.nz" type="cite">
  <pre wrap="">Rob Collins wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Jon,

Seems you know a lot about specific graphics hardware problems and thank
you for the advice.  Will forcing the card into PCI mode automatically
enable DRI or do I have to do additionally what Alex suggested:

"(In the "Module" section)
     Load "dri"

(...and at the end of the file...)
Section "dri"
    Mode 0666
EndSection "

Also, without using software cursors, my card seems to throw up a square
block of static instead of a mouse pointer to do I need to also add:

option "HWcursor"   "false"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You need to tell xorg about DRI, so yes you will need the Load "dri"
bit, and the Section "dri" as well (to tell xorg that non-root users can
also use DRI)

People have varying success with turning hardware tiling on and off.
Searching the interwebs for "vt8375 xorg dri" or similar gets the best
stuff, mostly forum threads with people saying "how the heck do I get
DRI to work?!"  :-)

It's all about fiddling with xorg.conf, as most modern distros should
have the S3 savage stuff in the kernel. Which distro are you using?

Without the hardware to play with myself, I can't really say much beyond
what's already out there except try it and see. Make a backup of a
working /etc/X11/xorg.conf so that if it all goes horribly wrong you can
reboot into a console and copy it back:

  cp  /etc/X11/xorg.conf  /home/rob/xorg.conf.backup

(or wherever.)

J

  </pre>
</blockquote>
</body>
</html>