Date: Thu, 19 Jul 2007 10:23:46 +0200 (CEST) From: sebosik@demax.sk To: freebsd-x11@freebsd.org Subject: Re: OT: solution for Beryl/Compiz on i945GM [try it] Message-ID: <58121.158.193.82.62.1184833426.squirrel@webmail.demax.sk> In-Reply-To: <469ED672.4000506@micom.mng.net> References: <60088.158.193.82.62.1184770640.squirrel@webmail.demax.sk> <469EC8C6.6030204@micom.mng.net> <469ED672.4000506@micom.mng.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi > Emerald still crashes with these patches :( > Can you show your xorg.conf? > > thanks > > Ganbold > >> sebosik@demax.sk wrote: >>> Hi all >>> >>> I`ve played with compiz (and beryl) last week to solve issue >>> regarding to >>> white window bug on intel 945GM graphics. I`ve found required patches, >>> applied them against xorg-server sources (from ports collection) and >>> VIOLA, everything works like a charm :-). >>> >>> What you need are some patches: >>> 01-no-move-damage.patch >>> 02-dont-backfill-bg-none.patch >>> 05-offscreen-pixmaps.patch >>> xorg-server-1.2.0-GLCore-track-visuals.patch >>> >>> download first three items from here: >>> http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/ >>> >>> >>> GLcore patch location: >>> http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/x11/xorg-server/?cvsroot=Current&only_with_tag=CURRENT >>> >>> >>> Cook recipe: >>> 1, cd /usr/ports/x11-servers/xorg-server >>> 2, make extract && make patch >>> 3, apply downloaded patches against sources of xorg >>> - cd work/xorg-server-1.2.0 >>> - apply all patches with: patch -p0 < >>> /directory/location/filename.patch >>> >>> 4, make install clean (on my lappie it took about 2 minutes) >>> 5, set in your ~/.xinitrc variable on first line: >>> LIBGL_ALWAYS_INDIRECT=1 >>> 6, (as I`m KDE user) type "compiz gconf &" before startkde in .xinitrc >>> >>> My .xinitrc looks like this: >>> >>> ## COMPIZ: window manager + window decorations >>> # >>> LIBGL_ALWAYS_INDIRECT=1 >>> compiz gconf & >>> gtk-window-manager & >>> sleep 0.5 >>> >>> ## KDE: fire up desktop >>> # >>> startkde >>> >>> >>> 5, enjoy the ride (-: >>> >>> >>> Have a nice cubic day. >>> >>> --- >>> Jan Sebosik, Slovakia >>> sebosik@demax.sk >>> >>> _______________________________________________ >>> freebsd-x11@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>> >>> >>> >>> >> >> > > > -- > Password: > I`ve sent my xorg.conf as attachment. Compare with yours and try pasting differences inside your own xorg.conf. Best regards --- Jan Sebosik sebosik@demax.sk [-- Attachment #2 --] Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "type1" Load "freetype" Load "glx" Load "dri" #Load "i2c" ## added 20070223 Load "extmod" EndSection Section "Extensions" Option "Composite" "On" EndSection # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/local/" FontPath "/usr/local/lib/X11/fonts/webfonts/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/cyrillic/" FontPath "/usr/local/lib/X11/fonts/encodings/" # FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" # FontPath "/usr/X11R6/lib/X11/fonts/CID/" # FontPath "/usr/X11R6/lib/X11/fonts/freefont/" ModulePath "/usr/local/lib/xorg/modules" # default modules path EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" # Option "NoTrapSignals" # Option "DontVTSwitch" # Option "DontZap" # Option "Dont Zoom" # Option "DisableVidModeExtension" # Option "AllowNonLocalXvidtune" # Option "DisableModInDev" # Option "AllowNonLocalModInDev" ## DPMS: timeouts for suspend #Option "standby time" "20" #Option "suspend time" "30" Option "OffTime" "6" EndSection # ********************************************************************** # Input devices # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us,sk" Option "XkbVariant" ",qwerty" Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "usbMouse" Driver "mouse" Option "Device" "/dev/sysmouse" Option "Protocol" "Auto" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" "1" Option "Buttons" "5" EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Monitor" Identifier "LCD_HP" HorizSync 31.5 - 48.5 VertRefresh 50-60 Option "DPMS" "1" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** Section "Device" Identifier "VGA_INTEL" BoardName "945 GM" #Driver "i810" Driver "intel" BusID "PCI:0:2:0" Option "DRI" "1" #Option "DisplayInfo" "On" # was on #Option "AllowGLXwithComposite" "1" # new options 7.2 added Option "XVideo" "On" Option "XAANoOffscreenPixmaps" "true" Option "TripleBuffer" "1" #Option "PageFlip" "1" # Possibly unstable.. debug plz #Option "CacheLines" "1024" #Option "AccelMethod" "EXA" #Option "ModeDebug" "1" EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Identifier "Screen 1" Device "VGA_INTEL" Monitor "LCD_HP" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1024x768" "800x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" ViewPort 0 0 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" #InputDevice "touchpadMouse" "AlwaysCore" InputDevice "usbMouse" "CorePointer" # SendCoreEvents #AlwaysCore pri touchpadMouse InputDevice "Keyboard1" "CoreKeyboard" Option "AIGLX" "True" EndSection Section "DRI" Group 0 Mode 0666 EndSection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58121.158.193.82.62.1184833426.squirrel>
