You are not logged in.

#1 2009-12-20 22:37:00

xux
Member
Registered: 2009-12-20
Posts: 6

font resolution issue - openbox on nvidia [SOLVED]

Hello,

I'm using Arch on a T61P with a nVidia Quadro FX 570M.
My video card is correctly installed and working good using the nvidia driver (as you can see on the logs at the bottom). dpi are set correctly and resolution too ... but all my fonts, buttons, ... are way too big on software like firefox, terminator, k3b, ... as if the resolution wasn't set right ... but those are ok on other like tint2 or xterm.
I don't know how to resolve this issue and get a "good" small and nice resolution on those apps ....
Need help ...

here are some logs about my config... =>

uname -r
2.6.31-ARCH

lspci | grep VGA :
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 570M (rev a1)

glxinfo | grep direct :
direct rendering: Yes

xdpyinfo | grep resolution :
resolution:    147x145 dots per inch

xrdb -q | grep dpi :
Xft.dpi:    146.0166015625

xrandr --current :
Screen 0: minimum 320 x 175, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 0mm x 0mm
   1920x1200      50.0*    51.0     52.0 
   1600x1200      53.0 
...

xdpyinfo | grep dimensions :
dimensions:    1920x1200 pixels (332x210 millimeters)

Xorg Device section :
Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Quadro FX 570M"
EndSection

Last edited by xux (2009-12-21 11:09:10)

Offline

#2 2009-12-21 02:26:35

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: font resolution issue - openbox on nvidia [SOLVED]

xux wrote:

dpi are set correctly

Xft.dpi:    146.0166015625

Try 120 for that number. Background info.

Offline

#3 2009-12-21 11:08:42

xux
Member
Registered: 2009-12-20
Posts: 6

Re: font resolution issue - openbox on nvidia [SOLVED]

Thanks for the answer, i actually set it at 96 in Xorg.conf :

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
    Option         "DPI" "96 x 96"
EndSection

and it worked !!!
Thanks a lot

Offline

Board footer

Powered by FluxBB