
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=Black_borders_around_windows_fix_(ATI)&amp;feed=atom&amp;action=history</id>
		<title>Black borders around windows fix (ATI) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=Black_borders_around_windows_fix_(ATI)&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=Black_borders_around_windows_fix_(ATI)&amp;action=history"/>
		<updated>2013-06-19T15:18:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=Black_borders_around_windows_fix_(ATI)&amp;diff=8215&amp;oldid=prev</id>
		<title>Eden at 19:47, 8 March 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=Black_borders_around_windows_fix_(ATI)&amp;diff=8215&amp;oldid=prev"/>
				<updated>2010-03-08T19:47:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{deletealt}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=The Issue=&lt;br /&gt;
This document aims to provide detailed instructions to fixing a display issue under XGL &amp;amp; AIGLX.  Under certain ATI drivers (both OpenSource radeon and ATI binaries) an issue may arise whereby black borders or black boxes will appear around windows that are unfocused and or dialogs and icons. Adding the option &lt;br /&gt;
  Option &amp;quot;XAANoOffscreenPixmaps&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
to the graphics device section of the xorg.conf file fixes the problem in many cases. Note this does '''not''' fix the other issue of shadows being displayed as black borders which appears at this time to be a MESA rendering issue.&lt;br /&gt;
&lt;br /&gt;
==Warning==&lt;br /&gt;
WARNING: Improperly editing you xorg.conf file may result in a temporary inability to use your x-server. Please be careful while making changes and make a backup of it in case this change fails.&lt;br /&gt;
&lt;br /&gt;
==The Detailed Solution==&lt;br /&gt;
'''The following is a step by step proceedure.'''&lt;br /&gt;
&lt;br /&gt;
  '''''Step 1: Open a console'''''&lt;br /&gt;
  In the KDE desktop environment you would click on the KDE button and click Run Command...&lt;br /&gt;
  and then type '''konsole'''&lt;br /&gt;
  In the Gnome desktop environment you would click the Gnome &amp;quot;foot&amp;quot; button and click Run..&lt;br /&gt;
  and then type '''gnome-console'''&lt;br /&gt;
  &lt;br /&gt;
  '''''Step 2: Become root so you can edit the file'''''&lt;br /&gt;
  name@localhost ~ $ '''su root'''&lt;br /&gt;
  Password:'''your_root_password_goes_here'''&lt;br /&gt;
&lt;br /&gt;
  '''''Step 3: Backup the file you will edit. (Just in case)'''''&lt;br /&gt;
  # cp /etc/X11/xorg.conf  /etc/X11/xorg.zbackup&lt;br /&gt;
&lt;br /&gt;
  '''''Step 4: Edit /etc/X11/xorg.conf'''''&lt;br /&gt;
  # nano /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
'''The nano text editor will start and the xorg.conf file openned will look similar to this.'''&lt;br /&gt;
&lt;br /&gt;
  GNU nano 1.3.12           File: /etc/X11/xorg.conf&lt;br /&gt;
  Section &amp;quot;Files&amp;quot;&lt;br /&gt;
    #FontPath   &amp;quot;/usr/share/fonts/local/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/misc/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/Type1/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/TTF/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/75dpi/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/100dpi/&amp;quot;&lt;br /&gt;
    FontPath    &amp;quot;/usr/share/fonts/corefonts&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  # **********************************************************************&lt;br /&gt;
  # Module section -- this is an optional section which is used to specify&lt;br /&gt;
  ^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos&lt;br /&gt;
  ^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell&lt;br /&gt;
&lt;br /&gt;
Notice where it says '''Section &amp;quot;Files&amp;quot;''' above in the next step you will be looking for another section. &lt;br /&gt;
&lt;br /&gt;
  '''''Step 5: Edit /etc/X11/xorg.conf'''''&lt;br /&gt;
  '''''Using your arrow or page keys get down to where it says'''''                                                &lt;br /&gt;
  # **********************************************************************&lt;br /&gt;
  # Graphics device section&lt;br /&gt;
  # **********************************************************************&lt;br /&gt;
  # Any number of graphics device sections may be present&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hint: You can press the '''CTRL''' and '''Y''' keys together to move up and '''CTRL''' and '''V''' keys to move down.&amp;lt;br&amp;gt;&lt;br /&gt;
Your Identifier will likely be different. Don't worry.&amp;lt;br&amp;gt; The | Driver &amp;quot;radeon&amp;quot; | section is the opensource xdriver.&lt;br /&gt;
&lt;br /&gt;
  '''''Step 6: Create a new line and add an Option'''''&lt;br /&gt;
  Move down to the line below it and press '''Enter''' on your keyboard to create a new line.&lt;br /&gt;
  Type the following&lt;br /&gt;
  Option &amp;quot;XAANoOffscreenPixmaps&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The new section would now look somthing like this...&lt;br /&gt;
  # **********************************************************************&lt;br /&gt;
  # Graphics device section&lt;br /&gt;
  # **********************************************************************&lt;br /&gt;
  # Any number of graphics device sections may be present&lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
    Option &amp;quot;XAANoOffscreenPixmaps&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
Be sure the new line you typed is correct.&lt;br /&gt;
  &lt;br /&gt;
  '''''Step 7: Save Your Changes'''''&lt;br /&gt;
  Press the '''CTRL''' and '''X''' keys together.&lt;br /&gt;
  The following will appear&lt;br /&gt;
  '''Save modified buffer (ANSWERING &amp;quot;No&amp;quot; WILL DESTROY CHANGES) ?'''&lt;br /&gt;
  Press the '''Y''' key to save the file&lt;br /&gt;
  The following will appear&lt;br /&gt;
  '''File Name to Write: /etc/X11/xorg.conf'''&lt;br /&gt;
  Press the '''Enter''' key to save this file&lt;br /&gt;
  &lt;br /&gt;
Congratulations you have just used nano to edit a file and hopefully fix your black border / black boxes issue. But there is a catch.  Your xserver is likely still running so it doesn't know about your new changes.&lt;br /&gt;
&lt;br /&gt;
  '''''Step 8: Reload Your Session'''''&lt;br /&gt;
  You could logout and then restart the computer.&lt;br /&gt;
  Others will log out of KDE/Gnome etc. and press the &lt;br /&gt;
  '''Ctrl Alt Backspace''' keys together&lt;br /&gt;
  once at the same time to stop the xserver.&lt;br /&gt;
  In any case log back in and hopefully the boxes are gone.&lt;br /&gt;
&lt;br /&gt;
==Help! Now I Can't Get Into KDE/Gnome etc.==&lt;br /&gt;
If you are looking at a black blank screen try pressing the '''Ctrl''' and '''Alt''' and '''F1''' keys together.&amp;lt;br&amp;gt;&lt;br /&gt;
You should get a '''login''' prompt.  Type '''root''' and press '''Enter'''.&amp;lt;br&amp;gt;&lt;br /&gt;
Now type the root password and press Enter again.&lt;br /&gt;
Now either edit the file (start with Step 3) or reload the file from the backup.&lt;br /&gt;
To restore the file from the backup type the following and press Enter&lt;br /&gt;
   # cp /etc/X11/xorg.zbackup /etc/X11/xorg.conf&lt;br /&gt;
Reload your Xserver as described in Step 8.&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktops]]&lt;/div&gt;</summary>
		<author><name>Eden</name></author>	</entry>

	</feed>