PDA

View Full Version : No video, OpenOffice no window title border


AbsintheSyringe
October 10th, 2007, 07:40 PM
Ok, last time I used "xgl/aixgl" was with beryl 0.14, so I thought I should try this Compiz-Fusion thing.

I'm on Debian Testing, KDE, to install Compiz-Fusion I used Shames resp. http://shame.tuxfamily.org/repo/?cat=11 (testing) I'm using 945GM

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Toshiba America Info Systems Unknown device ff31
Flags: bus master, fast devsel, latency 0
Memory at d0280000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2


First I didn't have borders at all, and bunch of others problems, but I got over all that ... I'm truly stuck with no way to go. Help me out :)

Problem 1.

When I run video with my favorite video player (in my case Kaffeine/Xine), video will play with sound and everything, but no "visual" no picture that is, in my case it's just black.

Problem 2.

When I run OpenOffice, it opens and then fills the whole screen, I lose both kicker and its window title bar.

I tried seeking assistance on #compiz-fusion but they sent me over here, I also tried a ton of stuff and nothing ...

Here's my xorg.conf, if you need anything else ... be my guest to ask.


Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
#key board section
Option "XkbOptions" "altwin:super_win"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 131072
Option "AllowGLXWithComposite" "true"
Option "XAANoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Monitor "Generic Monitor"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

flarkit
October 15th, 2007, 04:35 PM
Hi,

I had similar problems with missing borders and (in my case) a blank terminal window. My solution was to place this bit:
Option "AddARGBGLXVisuals" "True"

under the Section "Device" area, not under Section "Screen" part

AbsintheSyringe
October 15th, 2007, 07:34 PM
I see the borders, I just don't them when I run OpenOffice, whole thing just goes full screen.

And adding Option "AddARGBGLXVisuals" "True" to "Device" instead of "Screen" didn't do anything in my case.

jordipujol
October 17th, 2007, 09:40 AM
That is an OpenOffice problem with their own "WindowAttributes" properties.
to solve that rename .openoffice.org2 to .openoffice.org2.bak and at start OpenOffice will create a valid configuration

smurf
November 7th, 2007, 12:05 AM
I'm using gnome and emerald, but I found the same problem. I tried to rename the file, actually it works, but only once. If I open writer, after renaming, it fit correctly in the desktop with window decorations, after I open calc and I got the same mess than before.
More: writer was ok in window, but any other menu I open inside (from the menu bar of OO), fill 100 % the screen... again

edit:
Problem fixed http://forum.compiz-fusion.org/showthread.php?t=4544&highlight=OpenOffice

AbsintheSyringe
November 7th, 2007, 01:18 PM
Beautiful, I stopped using Compiz cuz of this, but video ... still the same problem, it must be my card driver or something.

adamk
November 7th, 2007, 01:25 PM
Any video driver that uses Xorg's direct rendering infrastructure will have this video problem. You need to either use the x11 video output device from your media player or you need to use a version of mplayer patched to support composited Xv output. A patch for RC1 can be found at http://lists.freedesktop.org/archives/compiz/2007-July/002494.html

A patch for RC2 is also available on the compiz mailing list.

Adam