[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

KDE, Xorg and DPI setting



Hello, this is a copy of my /etc/kde3/kdm/Xservers:
:0 local@tty1 /usr/X11R6/bin/X -dpi 100 -nolisten tcp vt7
:1 local@tty2 reserve /usr/X11R6/bin/X -dpi 100 -nolisten tcp :1 vt8
:2 local@tty3 reserve /usr/X11R6/bin/X -dpi 100 -nolisten tcp :2 vt9
:3 local@tty4 reserve /usr/X11R6/bin/X -dpi 100 -nolisten tcp :3 vt10
:4 local@tty5 reserve /usr/X11R6/bin/X -dpi 100 -nolisten tcp :4 vt11

But, when I run my Xwindows (via kdm automatic start) DPI is set to 75:
(II) NVIDIA(0): Virtual screen size determined to be 1152 x 864
(WW) NVIDIA(0): No size information available in CRT-0's EDID; cannot compute
(WW) NVIDIA(0):      DPI from EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default

But when I add Option DPI to xorg.conf, dpi is set properly.

So my question is - is there any known problem with passing arguments from KDE 
(KDM) to xorg?
I noticed this issue when I switched today to newer version of xserver-xorg. 
Actually because of problems between nvidia-glx package and xserver-xorg I 
held them manually about two-three months ago. Today I have finally managed 
to re-create nvidia package and wanted to test it out.
Here is ps output (after adding DPI option to xorg.conf):
$ ps auxw | grep X
root      5051  1.7  2.0  25824 21108 tty7     RLs+ 16:33   
0:17 /usr/X11R6/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-08MGCv
carramba  5392  0.0  0.0   2148   584 pts/3    R+   16:49   0:00 grep X
[carramba@~]$
[carramba@~]$ cat /proc/5051/cmdline
/usr/X11R6/bin/X-nolistentcp:0vt7-auth/var/run/xauth/A:0-08MGCv[carramba@~]$

The only missing thing is the dpi argument ...

Best regards,
Robert

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/



Reply to: