Results 1 to 2 of 2

Thread: Can't Enable Direct Rending/Hardware Accel on Thinkpad T30

  1. #1
    Join Date
    Mar 2007
    Beans
    4

    Can't Enable Direct Rending/Hardware Accel on Thinkpad T30

    Ok, here's the deal: I'm trying to enable direct rendering on my IBM Thinkpad T30. The first thing I tried was a 'glxinfo | grep direct' which gave me 'Direct Rendering: No', and glxgears reported a framerate of around 289 FPS. I followed instructions on Thinkwiki that told me to add a certain portion to my xorg.conf, but that didn't do anything.

    Here is my xorg.conf:
    Code:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by failsafeDexconf, using
    # values from the debconf database and some overrides to use vesa mode.
    #
    # You should use dexconf or another such tool for creating a "real" xorg.conf
    # For example:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    EndSection
    
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizEdgeScroll"	"0"
    EndSection
    Section "Device"
    	Identifier	"Configured Video Device"
    	Boardname	"ATI Radeon"
    	Busid		"PCI:1:0:0"
    	Driver		"ati"
    	Screen	        0
    	Vendorname	"ATI"
    	Option		"MergedFB"	"off"
    	Option		"AccelMethod"  "EXA"
    	Option		"EXANoComposite" "false"
    	Option		"FBTexPercent"  "50"
    	Option		"MigrationHeuristic" "greedy"
    	Option		"DRI"	"true"
    	Option		"GARTSize"	"256"
    	Option		"AGPMode"	"4"
    	Option		"Colortiling"	"On"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    	Vendorname	"Generic LCD Display"
    	Modelname	"LCD Panel 1024x768"
    	Horizsync	31.5-48.0
    	Vertrefresh	56.0 - 65.0
      modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
      modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
      modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
      modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
    	Gamma	1.0
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"Configured Video Device"
    	Monitor		"Configured Monitor"
    	Defaultdepth	24
    	SubSection "Display"
    		Depth	24
    		Virtual	1024	768
    		Modes		"800x600@60"	"1024x768@60"	"800x600@56"	"640x480@60"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
            screen          0 "Default Screen" 0 0
    	Inputdevice	"Synaptics Touchpad"
    	Option	"AIGLX"	"true"
    EndSection
    Section "Module"
    	Load		"glx"
    	Load		"GLcore"
    	Load		"dri"
    	Load		"v4l"
    EndSection
    
    #Section "device" # 
    #	Identifier	"device1"
    #	Boardname	"ATI Radeon"
    #	Busid		"PCI:1:0:0"
    #	Driver		"ati"
    #	Screen	1
    #	Vendorname	"ATI"
    #	Option		"MergedFB"	"off"
    #EndSection
    
    Section "screen" # 
    	Identifier	"screen1"
    	Device		"device1"
    	Defaultdepth	24
    	Monitor		"monitor1"
    EndSection
    Section "monitor" # 
    	Identifier	"monitor1"
    	Gamma	1.0
    EndSection
    Section "ServerFlags"
    EndSection
    
    Section "Extensions"
    	Option		"Composite" "Enable"
    EndSection
    
    Section "DRI"
    	Mode 0666
    EndSection
    One full restart later, DR still isn't enabled and glxgears still reports 280 FPS. I'm then told that the issue lies with the order in which the modules are loaded, so I edit /etc/modules to say the following

    Code:
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.
    
    #These two were already here when I started
    fuse 
    lp
    #This one and the following three are what I added.
    intel_agp 
    agpart
    radeon
    radeonfb
    Another restart, but result is the same as last time. I'm then told that I might need to add the following into an empty file (I named it 'anything') in /etc/modprobe.d

    Code:
    pre-install radeon modprobe intel_agp
    And thats loading the modules in the correct order, apparently, but I still don't have any DR. Its driving me insane! Can anyone help?

    Xorg.0.log posted at: http://pastebin.ca/1246405
    dmesg output posted at: http://pastebin.ca/1246407
    Last edited by CoRnJuLiOx; November 6th, 2008 at 03:24 AM. Reason: added more stuff.

  2. #2

    Re: Can't Enable Direct Rending/Hardware Accel on Thinkpad T30

    Hey, got a T30 too. I've been having trouble with the Ibex upgrade. Compiz isn't working at all, and my framerate is shoddy, but it's definitely over 1200. Here's the relevant xorg.conf (There is a similar thing on the thinkwiki page for the radeon 7500 but it's in the discussion and not on the main page for the radeon 7500.)
    Code:
    Section "Device"
      Identifier "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
      Driver "radeon"
      BusID "PCI:1:0:0"
      Option "AGPMode" "4"
      Option "XAANoOffscreenPixmaps"
      Option "AGPFastWrite" "true"
      Option "EnablePageFlip" "on"
    EndSection
    
    Section "Monitor"
      Identifier "Generic Monitor"
      Option "DPMS"
    EndSection
    
    Section "Screen"
      Identifier "Default Screen"
      Device "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
      Monitor "Generic Monitor"
      DefaultDepth 16
      SubSection "Display"
        Depth 16
        Modes "1024x768"
      EndSubSection
    EndSection
    
    Section "DRI"
      Mode 0666
    EndSection
    Good luck!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •