Привет !
дабы быть кратким пререхожу непосредственно к делу...
имеем:
[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все равно
_______________________________________
грех обманывать компиляторы в субботу
_______________________________________
грех обманывать компиляторы в субботу
УРА !!! ЗАРАБОТАЛО !!
glxinfo -display :0| grep -i rend direct rendering: Yes OpenGL renderer string: Mesa DRI Intel(R) 915GM 20061017nano /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=ycat /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 # i810lsmod 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Теперь компиз работает и на моем ЛапТОПЕ ! Ура товарищи !
_______________________________________
грех обманывать компиляторы в субботу
_______________________________________
грех обманывать компиляторы в субботу
на 16.05.2008
решив проблемы пришедшие после обновления мира, добавив в /etc/portage/package.keywords
direct rendering снова заработал
_______________________________________
грех обманывать компиляторы в субботу
_______________________________________
грех обманывать компиляторы в субботу