Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alt+Tab makes windows turn solid black - ugly! [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
francisbarton
n00b
n00b


Joined: 06 May 2004
Posts: 16
Location: Stroud, Gloucs

PostPosted: Fri Jan 28, 2005 1:17 pm    Post subject: Alt+Tab makes windows turn solid black - ugly! [SOLVED] Reply with quote

I have just done a complete re-install (due to needing to re-partition my hd) and have just emerged x11-xorg 6.8.0-r4 and gnome 2.8.1

Now, when I use Alt+Tab to switch windows the selected window turns totally black. I have only now found my windows doing this "black" thing - they have never done it before in 4 years of using Linux! It's still functional, but pretty ugly... Anyone know how to get window contents remaining visible, or at least not turning black, while using Alt+Tab?

It's weird. I really don't know what to do to fix it. I have a strong suspicion it is an X problem not a GNOME/Metacity problem. Mind you, I haven't tested out Fluxbox or any other wm since my re-install to see if it happens there too.

Somebody please help!

I have a Trident CyberBlade graphics card in my laptop - here's my xorg.conf :

Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/home/fbarton/fonts/"
EndSection


Section "Module"
Load "dbe" # Double buffer extension
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
Load "record"
Load "xtrap"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "uk"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
Option "Device" "/dev/misc/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-57.0
VertRefresh 50-100
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
Option "SWcursor" "on" # [<bool>]
#Option "PciRetry" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "SetMClk" # <freq>
#Option "MUXThreshold" # <i>
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "NoMMIO" # [<bool>]
#Option "NoPciBurst" # [<bool>]
#Option "MMIOonly" # [<bool>]
#Option "CyberShadow" # [<bool>]
#Option "CyberStretch" # [<bool>]
#Option "XvHsync" # <i>
#Option "XvVsync" # <i>
#Option "XvBskew" # <i>
#Option "XvRskew" # <i>
#Option "FpDelay" # <i>
#Option "Display1400" # [<bool>]
#Option "Display" # [<str>]
#Option "GammaBrightness" # [<str>]
#Option "TVChipset" # [<str>]
#Option "TVSignal" # <i>

Identifier "Card0"
Driver "trident"
VendorName "Trident Microsystems"
BoardName "CyberBlade/i7d"
BusID "PCI:1:0:0"
VideoRam 4096
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection


Last edited by francisbarton on Wed Feb 02, 2005 12:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
leftbas
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 101
Location: Pasadena, Ca

PostPosted: Fri Jan 28, 2005 9:35 pm    Post subject: Reply with quote

I agree, it sounds like a problem with your X server. The Monitor section of your .conf file looks pretty generic. Are you sure your refresh rates and the memory size of your card are set correctly?
_________________
"In retrospect, everything is funny."
-- anonymous
Back to top
View user's profile Send private message
francisbarton
n00b
n00b


Joined: 06 May 2004
Posts: 16
Location: Stroud, Gloucs

PostPosted: Fri Jan 28, 2005 11:58 pm    Post subject: Reply with quote

Thanks for the reply.

I am sure my video memory is correct at 4MB, not certain about the refresh rates. Everything else looks good, just the blackened windows problem. I will try changing the refresh rates and see what happens!
Back to top
View user's profile Send private message
francisbarton
n00b
n00b


Joined: 06 May 2004
Posts: 16
Location: Stroud, Gloucs

PostPosted: Wed Feb 02, 2005 12:02 pm    Post subject: Reply with quote

OK solved!

I got my hint when I emerged mplayer and it gave me an XShape error.

Googled for Xshape and found the answer here:
http://sysadminforum.com/t135593.html

where Richard Kilgore gave the following solution:

"I think you want the "extmod" module. Trying adding the
following to the "Module" section of xorg.conf:

Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Of course you might want DGA, but it seems to be pretty standard
practice to disable it for some reason."

This did the trick straight away for me.
One lesson learned:
If I had been using startx from a vc rather than going through gdm I would probably have seen the XShape error then. A bit of lateral thinking would have helped.

Final point: xorgcfg should probably be fixed to include the extmod module, as my faulty xorg.conf was based on what xorgcfg gave me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum