Вы здесь

i810 + XGL + Compiz не удается по человечески поднять [Solved, обошелся без XGL]

Привет !

дабы быть кратким пререхожу непосредственно к делу...
имеем:
[scr] что есть

gnote ~ # lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

gnote ~ # cat /etc/X11/xorg.conf | grep -iv '^\s*#'
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "USB Mouse" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "TouchPad" "AlwaysCore" # by Wiki
        Option         "AIGLX" "true" # by Wiki http://gentoo-wiki.com/HOWTO_AIGLX
EndSection


Section "Extensions"
        Option  "Composite"     "Enable"  # by Wiki
        Option  "RENDER"        "Enable"
EndSection

Section "ServerFlags"
        Option  "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
 Driver "synaptics"
 Identifier "TouchPad"

 Option "Device" "/dev/input/event4" # new
 Option "Protocol" "event"
 Option "SendCoreEvents" "true"
 Option "SHMConfig" "on"

 Option "MinSpeed" "0.60"
 Option "MaxSpeed" "1.10"
 Option "AccelFactor" "0.025"

 Option "LeftEdge" "40"
 Option "RightEdge" "900"
 Option "TopEdge" "40"
 Option "BottomEdge" "640"

 Option "LTCornerButton" "0"
 Option "LBCornerButton" "0"
 Option "RTCornerButton" "0"
 Option "RBCornerButton" "2"

 Option "VertEdgeScroll" "1"
 Option "HorizEdgeScroll" "1"
 Option "VertScrollDelta" "20"
 Option "HorizScrollDelta" "20"

 Option "MaxTapTime" "180"
 Option "MaxTapMove" "110"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath "/usr/share/fonts/corefonts"
        FontPath  "/usr/share/fonts/freefonts"
        FontPath  "/usr/share/fonts/sharefonts"
        FontPath  "/usr/share/fonts/terminus"
        FontPath  "/usr/share/fonts/unifont"
EndSection

Section "Module"
        Load  "glx" #wiki
        Load  "extmod"
        Load "i2c" #
        Load "bitmap" #
        Load "ddc" #
        Load  "dri" # already here by default; Beryl asks for this :: and wiki manual
        Load  "freetype"
        Load    "int10" #
        Load    "type1"
        Load  "dbe" #by Wiki
        Load    "v4l"
        Load    "drm"
        Load  "i810"
        Load  "xtrap"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "Keymaps" "ru-mab"
        Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
        Option "AutoRepeat" "250 30"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us,ru(winkeys)"

EndSection

Section "InputDevice"
 Identifier "USB Mouse"
 Driver "mouse"
 Option "Device" "/dev/input/mice"
 Option "SendCoreEvents" "true"
 Option "Protocol" "IMPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Buttons" "5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "SEC"
        ModelName    "3633"
EndSection

Section "Device"
        Identifier      "Card0"
        Driver          "i810" # wiki
        Option          "NoAccel"       "false"
        Option          "DRI"     "true" # by Wiki
        Option          "XAANoOffscreenPixmaps" "true"# by Wiki

        VideoRam        32768
        VendorName  "Intel Corporation[s]"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller [primary]"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        Identifier  "Card1"
        Driver          "i810" # wiki
        Option          "XAANoOffscreenPixmaps" "true"# by Wiki
        Option          "NoAccel"       "false"
        Option          "DRI"     "true" # by Wiki
        Option          "UseFastTLS" "1"

        VideoRam        32768

        VendorName  "Intel Corporation[s]"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller [secondry]"
        BusID       "PCI:0:2:1"
EndSection

Section "DRI"
        Group 0 # by Wiki
        Mode 0666
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        Option          "SecurityTypes" "VncAuth"
        Option          "UserPasswdVerifier" "VncAuth"
        Option          "PasswordFile" "/etc/vncpasswd"
        DefaultDepth 24

        SubSection "Display"
         Depth     24
         Modes "1280x800"
         viewport 0 0
        EndSubSection
EndSection

gnote ~ # cat /var/log/Xorg.0.log | grep GLX
(**) Option "AIGLX" "true"
(**) AIGLX enabled
(II) Loading extension GLX
(EE) AIGLX: Screen 0 is not DRI capable
(II) GLX: Initialized MESA-PROXY GL provider for screen 0

gnote ~ # cat /usr/src/linux/.config| grep -i i810
CONFIG_DRM_I810=m
CONFIG_I2C_I810=m
# CONFIG_FB_I810 is not set
gnote ~ # cat /usr/src/linux/.config| grep -i drm
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I810=m
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set

gnote ~ # glxinfo|grep -i dire
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

При XGL довольно таки длительные кривые отрисовки...
При Xorg, Compiz вообще не работает, ругается ошибкой

compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

фрагмент /usr/local/bin/startxgl что для интеля писать, я низнаю

xinit $clientargs -- /usr/bin/Xgl :1 $serverargs -ac -accel xv -accel glx:fbo -deferglyphs 16

cat ~/.xglinitrc

sleep 1
DISPLAY=:1 WINDOW_MANAGER=compiz-manager exec dbus-launch startxfce4

что я упустил, для того, чтоб заработал рендеринг, и толком функционировал compiz ?

пробовал завести по http://gentoo-wiki.com/HOWTO_Direct_rendering_on_Intel_Extreme_Graphics_(855GM)_chipsets

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux gnote 2.6.23-gentoo-r2 #6 Sun Dec 2 16:56:35 YEKT 2007 i686
Build Date: 13 December 2007
        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.0.log", Time: Sun Dec 16 20:35:16 2007
(==) Using config file: "/etc/X11/xorg.conf"
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) intel(0): Could not initialize the DRM memory manager.
(EE) AIGLX: Screen 0 is not DRI capable

все равно

gnote ~ # LIBGL_DEBUG=verbose glxinfo -display :0 | grep -i render
libGL error: XF86DRIQueryDirectRenderingCapable returned false
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

_______________________________________
грех обманывать компиляторы в субботу

_______________________________________
грех обманывать компиляторы в субботу

glxinfo -display :0| grep -i rend
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20061017

nano /usr/src/linux-2.6.24-gentoo-r4/.config
#
# Graphics support
#
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_DRM=m
CONFIG_DRM_I915=m
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y

cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x

8139too
ipw2200
#i2c-core
# drm
intel-agp
i915
# i810

lsmod
Module                  Size  Used by
i915                   21248  2
drm                    68372  3 i915
fuse                   40468  2
intel_agp              21396  1
agpgart                26288  3 drm,intel_agp
ipw2200               156720  0
ieee80211              29512  1 ipw2200
ieee80211_crypt         4224  1 ieee80211
8139too                20480  0
i2c_i801                9872  0

glxgears -display :0
2793 frames in 5.0 seconds = 558.469 FPS
3279 frames in 5.0 seconds = 655.701 FPS
3498 frames in 5.0 seconds = 699.545 FPS
^C
uname -a
Linux gnote 2.6.24-gentoo-r4 #1 Tue Apr 8 01:15:34 YEKST 2008 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

cat /etc/X11/xorg.conf
Section "Module"
# bug http://ubuntuforums.org/showthread.php?t=654113
#       Load "freetype"
        Load "extmod" # if error "compiz (core) - Fatal: No sync extension" http://forum.compiz-fusion.org/showthread.php?t=6107
        Load "dri"
        Load "dbe"
#       Load "record"
#       Load "xtrap"
#       Load "type1"
#/bug
        Load "glx"
#       Load "GLcore"
        Load "v4l"

        Load "vnc"
EndSection

Section "DRI"
       Group        0
       Mode         0666
EndSection

Section "Extensions"
        Option  "DAMAGE" "Enable"
        Option  "RENDER" "Enable"
        Option  "Composite" "Enable"
        Option  "XVideo" "Enable"
#       Option  "Composite"     "Enable"  # by Wiki
#       Option  "RENDER"        "Enable"
EndSection
#rimm

Section "ServerFlags"
        Option  "AllowMouseOpenFail" "true"
        Option  "Xinerama" "off"
        Option "AIGLX" "true"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
#!      FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
#!      FontPath     "/usr/share/fonts/CID/"
        FontPath "/usr/share/fonts/corefonts"
        FontPath  "/usr/share/fonts/freefonts"
        FontPath  "/usr/share/fonts/sharefonts"
#       FontPath  "/usr/share/fonts/Speedo"
#       FontPath  "/usr/share/fonts/artwiz"
#       FontPath  "/usr/share/fonts/cheapskatefonts"
#       FontPath  "/usr/share/fonts/dejavu"
#       FontPath  "/usr/share/fonts/lfpfonts-fix"
#       FontPath  "/usr/share/fonts/lfpfonts-var"
#       FontPath  "/usr/share/fonts/sgi-fonts"
        FontPath  "/usr/share/fonts/terminus"
        FontPath  "/usr/share/fonts/unifont"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "Keymaps" "ru-mab"
        Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
#       Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
        Option "AutoRepeat" "250 30"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us,ru(winkeys)"

EndSection

Section "InputDevice"
        Driver "synaptics"
        Identifier "TouchPad"

#!bug Option "Device" "/dev/input/event4" # new
        Option  "Device" "/dev/psaux"
        Option  "Protocol" "auto-dev"
#       Option  "Protocol" "event"
        Option  "ZAxisMapping" "4 5"
        Option  "SendCoreEvents" "true"
        Option  "SHMConfig" "on"
        Option  "UpDownScrolling" "on"

# --- Speed and Acceleration ---
 Option "MinSpeed" "0.60"
 Option "MaxSpeed" "1.10"
 Option "AccelFactor" "0.025"

# --- TouchPad Size ---
 Option "LeftEdge" "40"
 Option "RightEdge" "900"
 Option "TopEdge" "40"
 Option "BottomEdge" "640"

# --- TouchPad Edge Button Emulation ---
 Option "LTCornerButton" "0"
 Option "LBCornerButton" "0"
 Option "RTCornerButton" "0"
 Option "RBCornerButton" "2"

# --- Scrolling ---
 Option "VertEdgeScroll" "1"
 Option "HorizEdgeScroll" "1"
 Option "VertScrollDelta" "20"
 Option "HorizScrollDelta" "20"

# --- Tapping ---
 Option "MaxTapTime" "180"
 Option "MaxTapMove" "110"
EndSection

Section "InputDevice"
 Identifier "USB Mouse"
 Driver "mouse"
 Option "Device" "/dev/input/mice"
 Option "SendCoreEvents" "true"
 Option "Protocol" "IMPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Buttons" "5"
EndSection

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice     "USB Mouse" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
        InputDevice     "Touchpad" "SendCoreEvents"
#        InputDevice    "TouchPad" "AlwaysCore" # by Wiki
####    InputDevice    "TouchPad" "Pointer"
        Option         "AIGLX" "true" # by Wiki http://gentoo-wiki.com/HOWTO_AIGLX
EndSection


Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "SEC"
        ModelName    "3633"
EndSection

Section "Device"
        Identifier      "Card0"
        Driver          "i810" # wiki
#rimm   Option          "NoAccel"       "false"
        Option          "DRI" "true" # by Wiki
        Option          "DDC" "enable" #! "no" http://www.gentoo.ru/node/8171#comment-57231
        Option          "XVideo" "true" #rimm
        Option          "XAANoOffscreenPixmaps" "true"#rimm
 #       Option         "XAANoOffscreenPixmaps" "true"# by Wiki
#       Option          "UseFastTLS" "1"

#       VideoRam        32768
#       VideoRam        64536
        VideoRam        262144
#       Driver      "i915"
        VendorName      "Intel Corporation[s]"
        BoardName       "Mobile 915GM/GMS/910GML Express Graphics Controller [primary]"
        Chipset         "915GM"
        BusID           "PCI:0:2:0"
EndSection

#Section "Device"
#       Identifier  "Card1"
#       Driver          "i810" # wiki
#       Option          "XAANoOffscreenPixmaps" "true"# by Wiki
#       Option          "NoAccel"       "false"
#       Option          "DRI"     "true" # by Wiki
#       Option          "UseFastTLS" "1"
#
#       VideoRam        32768
#
##      Driver      "i915"
#       VendorName  "Intel Corporation[s]"
#       BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller [secondry]"
#       BusID       "PCI:0:2:1"
#EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
#        Device     "Card1"
        Monitor    "Monitor0"
# =vnc
        Option          "SecurityTypes" "VncAuth"
        Option          "UserPasswdVerifier" "VncAuth"
        Option          "PasswordFile" "/etc/vncpasswd"
# /=vnc
#       Option   "AddARGBGLXVisuals"   "true"
        DefaultDepth 24

        SubSection "Display"
         Depth     24
         # Modes "1280x1024" "1280x800" "1088x612" "1024x768"
         Modes "1280x800"
         viewport 0 0
        EndSubSection
EndSection

#Section "Screen"
#        Identifier "Screen1"
##        Device     "Card0"
#        Device     "Card1"
#        Monitor    "Monitor1"
## =vnc
#       Option          "SecurityTypes" "VncAuth"
#       Option          "UserPasswdVerifier" "VncAuth"
#       Option          "PasswordFile" "/etc/vncpasswd"
## /=vnc
#       DefaultDepth 24
#
#        SubSection "Display"
#         Depth     24
#         # Modes "1280x1024" "1280x800" "1088x612" "1024x768"
#         Modes "1280x800_70"
#         viewport 0 0
#        EndSubSection
#EndSection

# user have RW right to /dev/dri/card0
# http://gentoo-wiki.com/HOWTO_Direct_rendering_on_Intel_Extreme_Graphics_(855GM)_chipsets

Теперь компиз работает и на моем ЛапТОПЕ ! Ура товарищи !
_______________________________________
грех обманывать компиляторы в субботу

_______________________________________
грех обманывать компиляторы в субботу

решив проблемы пришедшие после обновления мира, добавив в /etc/portage/package.keywords

#rendering  16.05.2008
=x11-base/x11-drm-20071019
=x11-drivers/xf86-video-i810-2.3.0
=x11-base/xorg-server-1.4.0.90-r4
=x11-libs/libXrender-0.9.4
=x11-proto/renderproto-0.9.3
=x11-libs/xtrans-1.2
#/rendering  16.05.2008

direct rendering снова заработал
_______________________________________
грех обманывать компиляторы в субботу

_______________________________________
грех обманывать компиляторы в субботу