Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL and i810, help please.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Sun Jun 04, 2006 12:08 pm    Post subject: XGL and i810, help please. Reply with quote

Hi
I have a inel video card intel 855gm and xorg7.1 with 3D acceleration (glxgears shows 1200 fps) and kernel 2.6.17-rc4.

I have followed all the steps of wiki gentoo to install XGL.
And I do: "Xgl -accel xv -accel glx:pbuffer -accel xv:pbuffer -ac -kb -audit 0 -br -dpms -dpi 72 :0 &" and "DISPLAY=:0 compiz gconf". Then, I press F7, and I have the "desktops cube", but it changes desktop a little slow... And if I exec, for exemple, gedit (DISPLAY=:0 gedit) I only see a white square! And if I move it, it also moves very slow...

Xgl shows that:
Code:
X Window System Version 7.1.0
Release Date: 22 May 2006
X Protocol Version 11, Revision 0, Release 7.1
Build Operating System: Linux 2.6.17-rc4 i686
Current Operating System: Linux aTaRaXia 2.6.17-rc4 #3 Mon May 15 21:28:19 Local time zone must be set--see zic manu
i686
Build Date: 02 June 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.94.log", Time: Sun Jun  4 14:06:49 2006
(==) Using config file: "/root/xorg.conf"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc102)+es" };
    xkb_geometry             { include "pc(pc102)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/local/, removing from list!


compiz shows that:
Code:
compiz: No XKB extension
compiz: water: GL_ARB_fragment_program is missing


These are the most important sections of my xorg.conf
Code:

Section "Module"
Load        "dbe"
Load        "type1"
Load        "freetype"
Load        "glx"
Load        "dri"
Load        "i2c"
Load        "bitmap"
Load        "ddc"
Load        "extmod"
Load        "int10"
Load        "vbe"
EndSection

Section "Device"
    Identifier  "video"
    Driver      "i810"
    VideoRam    32768
    Screen      0
    Option       "DevicePresence"        "yes"
    Option      "DRI"   "true"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "video"
    Monitor     "monitor"
    DefaultDepth 24
EndSection

 Section "DRI"
    Mode 0666
 EndSection


What can I do?

Thanks and sorry my english...
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Sun Jun 04, 2006 12:55 pm    Post subject: Reply with quote

Hi,

A couple of things: you have to disable DRI as Xgl uses indirect rendering by design. Also:
Quote:
Code:
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable

Are you running AIGLX and Xgl at the same time?!? This really won't work! How did you enable AIGLX?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sun Jun 04, 2006 1:16 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
Back to top
View user's profile Send private message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Sun Jun 04, 2006 2:02 pm    Post subject: Reply with quote

I think yes, but I'm not sure... How can I know if I have aiglx ?? I have xorg 7.0-r1
If I update to xorg 7.1, how diseable aiglx ??

tHANKS
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Sun Jun 04, 2006 2:23 pm    Post subject: Reply with quote

Enabling AIGLX takes a few steps. You would have (in an overlay) the xorg-server AIGLX branch, i.e. "emerge -pv xorg-server" would give you a version similar to "xorg-server-1.0.1.20060302". You would have metacity built with the compositor USE flag set. See this wiki article for details. If you did enable this, you need to back out all the steps in the wiki, then follow the steps in the Xgl howto.

AIGLX and Xgl take two different approaches to the same problem, so you have to choose one or the other. Compiz will work as a replacement for metacity with either one, but it works with fewer problems with Xgl since it was originally written for Xgl.
Back to top
View user's profile Send private message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Mon Jun 05, 2006 4:31 pm    Post subject: Reply with quote

nothing

Last edited by h17z on Mon Jun 05, 2006 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Mon Jun 05, 2006 8:11 pm    Post subject: Reply with quote

I want to install XGL, not AIGLX

Quote:
You would have (in an overlay) the xorg-server AIGLX branch, i.e. "emerge -pv xorg-server" would give you a version similar to "xorg-server-1.0.1.20060302".

Yes, I have this: x11-base/xorg-server-1.1.0 And if I want to install XGL, I should install another version of xorg-xserver, more old? :S
Quote:
You would have metacity built with the compositor USE flag set

Yes I have the USE flag compositor...

Then, what I have to do? Erase the compositor flag, and recompile XGL, compiz etc...? install another version of xserver-xorg ?

Thanks for all.
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Mon Jun 05, 2006 9:04 pm    Post subject: Reply with quote

h17z wrote:
Yes, I have this: x11-base/xorg-server-1.1.0 And if I want to install XGL, I should install another version of xorg-xserver, more old?

No, xorg-server 1.1.0 is fine. I was saying that if you had the patched xorg-server ebuild you would want to replace it with xorg-server from Portage.

h17z wrote:
Yes I have the USE flag compositor...

Then, what I have to do? Erase the compositor flag, and recompile XGL, compiz etc...?

Get rid of the compositor USE flag and rebuild metacity. When Xgl starts up, gdm loads metacity, then your compiz startup script loads compiz with the --replace flag so it replaces metacity. If you built metacity with the compositor USE flag it would be loading part of AIGLX and that would immediately conflict with Xgl.
Back to top
View user's profile Send private message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Tue Jun 06, 2006 2:52 pm    Post subject: Reply with quote

Quote:
No, xorg-server 1.1.0 is fine. I was saying that if you had the patched xorg-server ebuild you would want to replace it with xorg-server from Portage.

I have the xorg-server ebuild of portage, I haven't installed another xorg-server ebuild...
Could be that I need use the flag "-aiglx" when I compile xorg-server?
Quote:

Get rid of the compositor USE flag and rebuild metacity.

I have recompiled metacity, XGL and xorg-server without compositor flag... But when I start XGL I recive the same error of AIGLX

I don't understand, why this error? What can I do? I'm lost...

Very very thanks sternklang
Back to top
View user's profile Send private message
eightbit
n00b
n00b


Joined: 30 May 2006
Posts: 24

PostPosted: Tue Jun 06, 2006 11:19 pm    Post subject: Reply with quote

Hello, I have similar questions regarding Xorg 7.1 and XGL/AIGLX @ this thread https://forums.gentoo.org/viewtopic-t-468978.html
Back to top
View user's profile Send private message
h17z
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Wed Jun 07, 2006 6:54 am    Post subject: Reply with quote

eightbit have solved the problem?
Back to top
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Wed Jun 28, 2006 8:29 pm    Post subject: Reply with quote

I have an intel 855gm card also and I tried Xgl with compiz....However, I had poor video playback performance and slow scrolling speed in firefox and mozilla, plus there is no direct rendering...So I tried aiglx...The card performs much better under aiglx with compiz..That is, you'll have the same effects that you in xgl but with much better performance, and you'll also get direct rendering too. Here is an recently updated howto on how i got it running...You'll want to try using hanno's overlay first..Let me know how it goes

http://gentoo-wiki.com/HOWTO_AIGLX
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Wed Jun 28, 2006 8:44 pm    Post subject: Reply with quote

eightbit wrote:
Hello, I have similar questions regarding Xorg 7.1 and XGL/AIGLX @ this thread https://forums.gentoo.org/viewtopic-t-468978.html

I replied in that thread:
Quote:

You can turn off AIGLX by putting this in xorg.conf:
Code:

Section "ServerFlags"
    Option "AIGLX" "off"
EndSection

If you already have a ServerFlags section, just place the option line there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum