LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fix for large fonts in Xorg under -current with intel driver (https://www.linuxquestions.org/questions/slackware-14/fix-for-large-fonts-in-xorg-under-current-with-intel-driver-548645/)

cab15625 04-24-2007 01:15 PM

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.

fredrikis 12-30-2008 10:06 AM

***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


All times are GMT -5. The time now is 03:12 PM.