[ltp] Re: T23 running Kubuntu 7.04 - problems with Savage Direct Rendering (and USB)

Olek A. linux-thinkpad@linux-thinkpad.org
Mon, 14 May 2007 00:19:08 +0200


Hello Alex, Laurence,

I finally properly made savage modules using that way : 

http://home.comcast.net/~jyavner/T23/

but instead using drm.tar.bz2 I used git:

git clone git://anongit.freedesktop.org/git/mesa/drm

Now I still have only 130 fps in glxgears. There must be sth wrong with my 
xorg.conf file, I think. 
My /var/log/Xorg.0.log file reports no errors (EE) at all, only warnings like 
these:

1. (WW) AIGLX: 3D driver claims to not support visual 0x23
2. drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: node name is /dev/dri/card0


Can you send me your xorg.conf file ?
I enclose mine at the bottom of this message.

Regards,
Olek Ansion




On Sunday 13 of May 2007 21:46:51 Laurence wrote:

> Yes, it seems to be broken in at least Debian Etch and Ubuntu Feisty.
> Check out this recent page on installing Etch on a T23, with notes on
> recompiling drm:
>
> http://home.comcast.net/~jyavner/T23/
>
> I feel this is a serious regression for savage users!
>
> regards,
>
> laurence


<<<<<<<<<  My xorg.conf :  >>>>>>>>>>>>


Section "Module"

Load        "dbe"  	# Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
   
Load "dri"
Load "glx"

EndSection

# Section "dri"
# Mode 0666
# EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us,pl"

EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Device" "/dev/input/mouse0"
        Option      "EmulateWheel" "yes"
        Option      "EmulateWheelButton" "2"
        Option      "EmulateWheelInertia" "5"
        # The next option is only available with xorg >= 6.8.2
        Option      "EmulateWheelTimeout" "200"
        Option      "YAxisMapping" "4 5"
        # Option      "XAxisMapping" "6 7"
        Option      "Emulate3Buttons" "off"
        Option      "Emulate3Timeout" "50"
EndSection

Section "InputDevice"
        Identifier  "Mouse2"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "off"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "Savage"
    Driver      "savage"
    VideoRam    16384
# Insert Clocks lines here if appropriate
#  Option        "AGPMode"    "4"
# Option        "AccelMethod"    "EXA"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "Savage"
    Monitor     "My Monitor"

   DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection