nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Option DisplaySize not working in 1.0-9629 for Linux x86 (http://www.nvnews.net/vbulletin/showthread.php?t=80863)

felix2008 11-21-06 02:51 AM

Option DisplaySize not working in 1.0-9629 for Linux x86
 
Hi,

I have a 12" TFT with a native Resolution of 1024x768. Because of this high resolution, I have to use the option DisplaySize in xorg.conf, so that the fonts are scaled bigger. (using 100dpi fonts instead of 75dpi fonts). Everything is working with 1.0-8776 for Linux.

But when upgrading to 1.0-9629 for Linux x86, the fonts are unreadable small. Xdpyinfo shows, that only 72dpi are used instead of 100dpi. It seems, the 1.0-9629 does not attend the option DisplaySize....

Has anybody an idea?

Best regards
felix

Cambo 11-21-06 03:02 AM

Re: Option DisplaySize not working in 1.0-9629 for Linux x86
 
From http://us.download.nvidia.com/XFree8...ppendix-d.html

Quote:

Option "DPI" "string"

This option specifies the Dots Per Inch for the X screen; for example:

Option "DPI" "75 x 85"

will set the horizontal DPI to 75 and the vertical DPI to 85. By default, the X driver will compute the DPI of the X screen from the EDID of any connected display devices. See Appendix Y, Dots Per Inch for details. Default: string is NULL (disabled).
Option "UseEdidDpi" "string"

By default, the NVIDIA X driver computes the DPI of an X screen based on the physical size of the display device, as reported in the EDID, and the size in pixels of the first mode to be used on the display device. If multiple display devices are used by the X screen, then the NVIDIA X screen will choose which display device to use. This option can be used to specify which display device to use. The string argument can be a display device name, such as:

Option "UseEdidDpi" "DFP-0"

or the argument can be "FALSE" to disable use of EDID-based DPI calculations:

Option "UseEdidDpi" "FALSE"

See Appendix Y, Dots Per Inch for details. Default: string is NULL (the driver computes the DPI from the EDID of a display device and selects the display device).
Option "ConstantDPI" "boolean"

By default on X.Org 6.9 or newer X servers, the NVIDIA X driver recomputes the size in millimeters of the X screen whenever the size in pixels of the X screen is changed using XRandR, such that the DPI remains constant.

This behavior can be disabled (which means that the size in millimeters will not change when the size in pixels of the X screen changes) by setting the "ConstantDPI" option to "FALSE"; e.g.,

Option "ConstantDPI" "FALSE"

ConstantDPI defaults to True.

On X servers older than X.Org 6.9, the NVIDIA X driver cannot change the size in millimeters of the X screen. Therefore the DPI of the X screen will change when XRandR changes the size in pixels of the X screen. The driver will behave as if ConstantDPI was forced to FALSE.
I would suggest trying;

Option "DPI" "100 x 100"



Cambo

felix2008 11-21-06 04:22 AM

Re: Option DisplaySize not working in 1.0-9629 for Linux x86
 
Yeah, this works.

Thanks a lot, Cambo!!!


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

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.