LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-11-2011, 10:49 PM   #1
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Wink Slackware-current: Is there any way to *completely* get rid of Xinerama?


Dear Fellow Slackers:

I have recently upgraded to -current. I am mostly happy, except for one only tiny thing: my fonts look really, really ugly on OpenOffice.org 3.2.1.

All other apps show the fonts decently. I even installed the MS2007 fonts, which properly set up look smoothly antialiased (even in Firefox). But all fonts look horrible on OOO.

After doing some research about the cause of this ugliness, I came to found some light here:

http://www.openoffice.org/FAQs/fontguide.html

Quote:
OpenOffice.org uses XFonts as well as fonts that are rendered through FreeType as explained below. While it is possible to have FreeType rasterized fonts displayed antialiased this functionality isn't not implemented for XFonts.

Also, not all displays allow antialiasing. Antialiasing is either provided by the X Rendering extension of an XFree86 XServer or by drawing text by means of getting and putting images (XGetImage/XPutImage) from and to the window.

For proper antialiasing use XFree86, revisions 4.0.2, 4.0.3, 4.1, or 4.2 (or higher). Antialiasing is not used when OpenOffice.org detects the X Rendering extension (Render) together with a Xinerama extension. Antialiasing is also disabled on color displays of 8 bit depth (8 bit PseudoColor visuals).
My display is not 8 bit depth. So it could have some link to the presence of Render with Xinerama. (using the Intel driver by the way)

Both "xdpyinfo | grep XINERAMA" and "xdpyinfo | grep RENDER" tests positive. So the problem could be related to a bad interaction of these two extensions.

I did some research about how to disable Xinerama. So I added this to my xorg.conf:

Code:
Section "ServerFlags"
    Option "Xinerama" "0"
EndSection
After restarting X, there still was a XINERAMA extension loaded, and OOO looked as ugly as before.

From my xorg log file, only the important lines:

Code:
[  4575.586] (**) Option "Xinerama" "0"
[  4575.907] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  4575.910] (II) intel(0): direct rendering: DRI2 Enabled
[  4575.910] (--) RandR disabled
[  4575.910] (II) Initializing built-in extension XINERAMA
[  4575.910] (II) Initializing built-in extension RENDER
[  4575.910] (II) Initializing built-in extension RANDR
[  4575.910] (II) Initializing built-in extension COMPOSITE
[  4575.933] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  4575.933] (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so
[  4575.933] (II) GLX: Initialized DRI2 GL provider for screen 0
It parses and properly recognizes the option from xorg.conf; but it somehow disobeys and activates the evil extension anyway.

If there is any way to a)disable/kill Xinerama; or b)deuglyfing OOO, I would be interested to know.

Any way that doesn't involve recompiling some things (not that I wouldn't want to recompile X without Xinerama support for instance -that could be fun-, but there must be a way to do it without recompiling).
 
Old 01-12-2011, 01:50 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I'm using the same version OOo in 13.1 and the option for font antialiasing makes a visible difference. I don't have any problems with xinerama and can switch on/off AA.

Tools - Options - OpenOffice.org - View
 
  


Reply

Tags
disable, openoffice.org, xinerama



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware 12.2(current) + KDE 4.1.96 + Xinerama = No Desktop Effects frandalla Slackware 3 01-29-2009 10:22 AM
kde 3.4.0 freeze system completely (slack-current) carboncopy Slackware 12 09-24-2005 04:48 AM
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM
xinerama slack-current millionknives Linux - Software 4 07-14-2005 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration