You are not logged in.

#1 2009-04-12 14:47:24

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

No direct rendering with X server 1.6 and new xf86-video-intel driver

Hi guys, I'm with intel X4500MHD card.

After upgrade to X server 1.6 and xf86-video-intel 2.6.3-3, the output of glxinfo became this:

$ glxinfo | grep render
direct rendering: No (LIBGL_ALWAYS_INDIRECT set)
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090326 2009Q1 RC2

I am quite sure it was okay before upgrade, and I didn't modify xorg.conf after upgrade, it is:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Configured Screen" 0 0
    InputDevice    "Configured Mouse" "CorePointer"
    InputDevice    "Configured Keyboard" "CoreKeyboard"
    InputDevice    "Touchpad"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

#Section "Module"
#    Load  "glx"
#    Load  "dbe"
#    Load  "extmod"
#    Load  "dri"
#    Load  "xtrap"
#    Load  "freetype"
#    Load  "synaptics"
#    Load  "drm"
#EndSection

Section "InputDevice"
    Identifier  "Configured Keyboard"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver        "synaptics"
    Option        "Device" "/dev/input/mouse1"
    Option      "Protocol" "auto-dev"
    Option        "SendCoreEvents"  "true"
    Option        "VertEdgeScroll"  "on"
    Option        "HorizEdgeScroll" "on"
EndSection

Section "Monitor"
    Identifier   "Configured Monitor"
    VendorName   "LEN"
    ModelName    "4031"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier  "Intel X4500MHD"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    Option        "AccelMethod" "exa"
    Option        "MigrationHeuristic" "greedy"
EndSection

Section "Screen"
    Identifier "Configured Screen"
    Device     "Intel X4500"
    Monitor    "Configured Monitor"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Mode    0666
EndSection

However, with either exa acclerate method or uxa, compiz window manager works smoothy, as well as OpenArena, and nexuiz works but not very smoothy. glxgears gives:

$ glxgears
6226 frames in 5.0 seconds = 1241.769 FPS
6300 frames in 5.0 seconds = 1259.967 FPS
6140 frames in 5.0 seconds = 1223.911 FPS

which is much better than before upgrade, it was about 700FPS. So I'm confused with this~

Any idea?

Last edited by leeyee (2009-04-13 00:46:45)


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#2 2009-04-12 15:15:51

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: No direct rendering with X server 1.6 and new xf86-video-intel driver

I did this in terminal:

$unset LIBGL_ALWAYS_INDIRECT

then run glxinfo, it turned into

$glxinfo | grep direct
direct rendering: Yes

That's interesting, where was this attribute set? Can I permenantly unset it?


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#3 2009-04-12 15:21:10

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: No direct rendering with X server 1.6 and new xf86-video-intel driver

Have you tried starting X without xorg.conf?
You can also try explicitely loading dri2 in the modules section of xorg.conf

Offline

#4 2009-04-12 16:10:37

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: No direct rendering with X server 1.6 and new xf86-video-intel driver

glxgears is expected to be slower.

glxgears is rendering an insanely simple scene - so simple that the actual 3D rendering time is basically zero. So the only thing glxgears really tests is the performance of glXSwapBuffers() - basically, how fast we can push render buffers into the card. This operation is slower with DRI2, but - roughly speaking - unless it was an order of magnitude slower (e.g. glxgears drops from 1000FPS to under 100FPS) it wouldn't make any real difference.

Offline

#5 2009-04-13 14:57:59

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: No direct rendering with X server 1.6 and new xf86-video-intel driver

Hey, the problem is weird!
Glxinfo says direct rendering is "No" when I type it in a gnome-terminal opened via gnome keyboard shortcut. But It is "Yes" when I type it in a gnome-terminal opened from menu.


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#6 2009-04-13 16:59:06

sctincman
Member
From: CO (USA)
Registered: 2009-04-08
Posts: 85

Re: No direct rendering with X server 1.6 and new xf86-video-intel driver

Do you have KMS enabled? EXA isn't supported by the new drivers when using KMS http://bbs.archlinux.org/viewtopic.php?id=69721.

Maybe you should install xf86-video-intel-legacy to use the non-KMS drivers (people are reporting a loss in performance with the new drivers)

edit: sorry...I need to read more thoughly before postin :X

Last edited by sctincman (2009-04-13 17:02:39)

Offline

Board footer

Powered by FluxBB