You are not logged in.

#1 2007-11-10 04:39:25

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

No direct rendering using "intel" driver

I can't get DRI working with the "intel" driver in the new xorg 7.3. It used to work previously with Xorg 7.2 using the i810 driver; however now if i use the 1810 driver, the mouse doesnt show up on the screen. glxinfo says: direct Rendering: No (LIBGL_ALWAYS_INDIRECT set).
I dont know who set that env variable, because I didnt and I start X using GDM. Thus compiz and compositing apps do not work fully.

Offline

#2 2007-11-10 06:31:07

GojaN
Member
Registered: 2007-11-09
Posts: 13

Re: No direct rendering using "intel" driver

I lose the direct rendering with the last update..
the solution was set "AllowGLXWithComposite" to "True" in xorg.conf...

Maybe it's help you

Offline

#3 2007-11-10 07:04:26

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

Re: No direct rendering using "intel" driver

Thanks! that set up direct rendering to Yes. But when I try to use compiz it uses indirect rendering, and direct rendering becomes No again, and compiz does not update window contents. If I try to do compiz --replace from the command line, then it gives an error saying GLX_EXT_texture_from_pixmap is missing. But glxinfo shows it is present.

Offline

#4 2007-11-10 17:56:33

GojaN
Member
Registered: 2007-11-09
Posts: 13

Re: No direct rendering using "intel" driver

I don't have compiz...
Are any log file in /var/log for it??

Perhaps reinstall the compiz package solve it...
You have already try it??

Offline

#5 2007-11-10 18:28:22

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: No direct rendering using "intel" driver

direct Rendering: No (LIBGL_ALWAYS_INDIRECT set)

AFAIK: You can't have dri and composite on at the same time.

Offline

#6 2007-11-10 23:24:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: No direct rendering using "intel" driver

FWIW, if you find that you can't get DRI at all, try enabling AIGLX. This will give you accelerated indirect rendering where you would normally get DRI, approximately the same speed and uses a bit more CPU power.

First though, try putting

export LIBGL_ALWAYS_INDIRECT=0

in /etc/profile, then logging out and back in.

Last edited by Gullible Jones (2007-11-10 23:25:24)

Offline

#7 2007-11-11 03:43:02

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

Re: No direct rendering using "intel" driver

I think its Compiz that's causing the problem, because with Xfwm4 compositing works fine with direct rendering.

Offline

#8 2007-11-11 08:03:21

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: No direct rendering using "intel" driver

For me it works using the following line in .xinitrc:

LIBGL_ALWAYS_INDIRECT=TRUE compiz --sm-disable --ignore-desktop-hints ccp --indirect-rendering

Direct rendering is activated. (GMA950...)

Options in xorg.conf:

    Option     "DRI" "true"
    Option     "XAANoOffscreenPixmaps" "true"
    Option     "AllowGLXWithComposite" "true"
    Option      "XVideo" "true"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"

I hope this helps you.

Offline

#9 2007-11-11 09:04:13

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

Re: No direct rendering using "intel" driver

Thanks, but if I run compiz with indirect rendering, compiz does not update the contents of windows properly.. I've attached a screenshot of my problem.

1962739138_8a3e8692eb_t_d.jpg

Offline

Board footer

Powered by FluxBB