LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-24-2007, 01:15 PM   #1
cab15625
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15
fix for large fonts in Xorg under -current with intel driver


I recently posted a comment in a different thread complaining that xorg from -current with the intel driver gave insane fonts. The reason for the insane fonts was poor reporting/detection of my screen's dimensions (my screen is about 330x210 mm, but it was being reported/detected as 229x21 mm ... the resulting font scaling in KDE made things completely unworkable).

If anyone else is having this problem, a good fix, until the driver itself is repaired, is to set the "DisplaySize" option in your "Monitor" section and also the "NoDDC" "true" option in your "Driver" section. In my case, things look as follows ...

In the monitor section I have added

DisplaySize 330 210 # mm

and in the driver section I have added

Option "NoDDC" "true" # [<bool>]

This seems to have fixed everything.

Note that simply setting DisplaySize is not good enough since the DDC stuff will override whatever you put in for DisplaySize.
 
Old 12-30-2008, 10:06 AM   #2
fredrikis
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Rep: Reputation: 0
***Is it possible to move this thread to a more apropriate place? I suspect that this is a KDE/driver problem, and not a Slackware problem.


I have the same problem now. In Arch Linux 2008.6, I have tried with Fluxbox and KDE, and I have also tried Kubuntu 8.10.

xdpyinfo shows a screen size of 229x21 mm, and a dpi setting that is insanely high. In Fluxbox, I manage to get the menu fonts small by using a ~/.fonts.conf file with a pattern matching element setting dpi to 75.

Below is my xorg.conf.
In Arch Linux, I use the open source radeon driver with an ATI Mobility Radeon Xpress 200M card. (On a HP Pavilion DV5134EA laptop). In Kubuntu, i don't know what driver is used, or what settings.

I have tried the fix suggested in this tread without success. Does anyone have some other suggestion?

Regards,
Fredrik

xorg.conf:

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

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/artwiz-fonts"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "Module"
Load "dri"
Load "glx"
Load "drm"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "sv"
Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
DisplaySize 330 210
Identifier "Monitor0"
VendorName "LPL"
ModelName "1776"
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 "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
Option "DDCMode" "False"
#Option "IgnoreEDID" ""
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" "1280x800"
#Option "ForceMinDotClock" # <freq>
Option "ColorTiling" "on"
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon XPRESS 200M 5955 (PCIE)"
BusID "PCI:1:5:0"
Option "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection
 
  


Reply



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
Modeline Voodoo xorg.conf - Intel driver i810 to blame? rewtedesco Linux - Hardware 43 01-27-2007 07:28 PM
Very Large Fonts Expos86 Linux - Newbie 13 09-05-2006 07:33 AM
Slackware-current Imagemagick bug fix wastelander42 Slackware 2 02-03-2006 10:11 AM
Firefox fonts very large Eerath Linux - Software 2 09-03-2005 08:41 AM
xorg config file issues with dual monitors and oddly large fonts mastahnke Linux - Software 0 08-17-2005 12:15 AM

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

All times are GMT -5. The time now is 05:48 AM.

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