Font sizes and the Nvidia driver for Solaris

I just thought it might help if I describe a small problem I had with my Solaris Nevada system and the Nvidia driver. A really great driver: stable, very fast screen refresh, antialising, and it comes with a useful tool which even can show the GPU chip temperature.

Sometimes, after logging in, the font sizes are relatively small, and I found the following entry in /var/log/Xorg.0.log:

(WW) NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default

And in those cases where correct (larger) fonts were set, I found:

(--) NVIDIA(0): DPI set to (109, 108); computed from "UseEdidDpi" X config

A colleague recommended to use the following command to set the font size for a specific user:

$ gconftool-2 -s /desktop/gnome/font_rendering/dpi -t float 108

On the web, there’s another way mentioned to solve this problem: Set the DPI size to a fixed value in /etc/X11/xorg.conf:

Section "Device"
Identifier "NvidiaTwin"
...
Option "UseEdidDpi" "FALSE"
Option "DPI" "86 x 86"
...

I haven’t tested yet but would expect it would work as well, by replacing the DPI values by appropriate ones.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: