DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95
Rep:
Compiz Title Bar Weirdness
Alright, I have this strange issue (running Compiz on Debian Lenny, GeForce 6800 GT) where the title bar just acts... "flaky". It's hard to explain, but I've seen several Ubuntu threads on this from 2007 that were never resolved.
If I am sitting totally still, the menu bar is fine. But on mouseover and window movement, the buttons (upper right hand corner) will flicker, the whole title bar will flicker, or the whole title bar will disappear. I also get this strange artifact in the upper right hand corner of the Desktop (by the Application menu) after being logged in for a certain period of time.
I have run Ubuntu and Mint (7.10/Daryna) with the default Compiz setup with no problems on this same computer. I know this issue is hard to explain and you may not know exactly what I am talking about if you haven't experienced it, but I also know that many of you have experienced this same thing. Has anyone found a fix for this?
Here's my xorg.conf:
Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
Section "Device"
Identifier "nVidia Corporation NV40 [GeForce 6800 GT]"
Driver "nvidia"
BusID "PCI:1:0:0"
#Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
#Option "TripleBuffer" "true"
#Option "AIGLX" "true"
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-100
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV40 [GeForce 6800 GT]"
Monitor "Generic Monitor"
DefaultDepth 24
#Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Modes "1440x900"
EndSubSection
EndSection
Section "Module"
#Load "dri"
#Load "GLcore"
#Load "dbe"
Load "glx"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Many others have reported the same or similar problem. I don't know of a fix. I'm using an Nvidia card (nvidia glx) and I use the KDE decorator. I'm running a relatively new compiz-fusion.
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95
Original Poster
Rep:
I've done some further testing and been able to reproduced this across distributions (though all debian based). I even had it happen while using compiz in XFCE, so it's not a direct Gnome issue. I've tried different versions of Nvidia drivers (debian packages AND the regular nvidia installer), different xorg.conf options, etc and still have the same issues. I even tried different versions of Compiz.
The only real lead I have gotten on this is that it seems to pick on certain window themes. It really doesn't play well with Industrial, and I got it to flake out on a couple of other ones, but I did manage to get the behavior to go away when using the "tish" (look like Mac) window themes.
Based on this, we might be looking at some kind of GTK theming issue. I'll have to look into the guts of the tish themes and compare to industrial to see if there is anything that stands out. I'll be sure to update this post if I get a true answer, as it seems to be unanswered everywhere.
Below is my config file which works great with both Beryl and now Compiz-fusion using the same video card. I noticed you only have glx enabled in modules section.
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu May 3 16:02:56 PDT 2007
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "Files"
# path to defoma fonts
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"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "evdev"
Load "extmod"
Load "freetype"
Load "int10"
Load "record"
Load "vbe"
Load "glx"
Load "vbe"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
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 "Monitor"
Identifier "Generic"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA GeForce 6800"
Driver "nvidia"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
Option "TripleBuffer" "true"
Option "DisableGLXRootClipping" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA GeForce 6800"
Monitor "Generic"
Option "AddARGBGLXVisuals" "true"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1440"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1440"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1440"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1440"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1440"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1440"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95
Original Poster
Rep:
Alright, I've narrowed this down a bit more since I first posted. This definitely isn't distro or X specific, as I have now replicated on Debian, Ubuntu, Mint, AND Fedora all with default X settings after installing Nvidia drivers. Fedora is the important note, as it is the first non-Debian system I have noticed it on.
After a bit of tinkering and just general awareness, I have found that certain themes don't have the problem. The Tango and Tish themes seem to get along really well, where as older themes like Industrial experience lots of "flicker". The big thing that I just noticed was that this seems to also be application specific. I've only been able to reproduce this on purpose with Firefox and other gecko web browsers like Epiphany.
I'll post more updates as I pinpoint this a bit more...
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95
Original Poster
Rep:
Ok, I've done some more testing and this definitely seems to be an issue with Gecko and Compiz not playing together nicely. I have now confirmed that the "flickering" when rolling the mouse over the window buttons (repeatedly) is happening with the following applications:
Firefox
KompoZer
Epiphany
OpenOffice write (haven't tested other office apps)
All of these have gecko in common, so I'm pretty sure I'm on to something here. Can anyone else reproduce this? I've done it so far on 4 distros consistently, but I've quit paying attention to which versions of compiz, nvidia, etc are being used. It doesn't really seem to matter as I'm sure it's not the exact same version in Debian Testing (5/1/2008 build), Fedora 8, Ubuntu 7.10, and Mint 4.0. Actually Mint and Ubuntu would likely be the same, but having the non-deb Fedora example I think seals the deal that this is not distro/version specific.
If anyone has an example where you can roll the mouse of the Window Buttons repeatedly of any of the mentioned application WITHOUT flicker...please update this thread with your system details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.