Re: [suse-kde] where are the dpi values in KDE3.4
i tried: in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf") Section "Monitor" [...] DisplaySize 336 270 [...] AND in /etc/X11/xdm/Xservers :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp -br vt7 -dpi 97 but a ll -u /etc/X11/xdm/Xservers shows me that it is never used BUT the result is always the same
xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch 60- depths (7): 24, 1, 4, 8, 15, 16, 32 61- root window id: 0x188 62- depth of root window: 24 planes 63- number of colormaps: minimum 1, maximum 1 64- default colormap: 0x20
because /etc/X11/xdm/Xservers isnt used it is clear that it is no effect but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
AND
in /etc/X11/xdm/Xservers :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp -br vt7 -dpi 97
but a ll -u /etc/X11/xdm/Xservers shows me that it is never used
BUT the result is always the same
xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch 60- depths (7): 24, 1, 4, 8, 15, 16, 32 61- root window id: 0x188 62- depth of root window: 24 planes 63- number of colormaps: minimum 1, maximum 1 64- default colormap: 0x20
because /etc/X11/xdm/Xservers isnt used it is clear that it is no effect but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
is there really no one with a solution or an idea for my prob?
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
is there really no one with a solution or an idea for my prob?
hello again no one any idea? not even how to come closer to the root cause of my problem?
Hi Michael, I'm using TwinView too, and just doubled the horizontal DisplaySize to account for the double Monitor area. However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand. Regards, Michael On Friday 01 April 2005 09:25, Michael Riess wrote:
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
xdpyinfo | grep -n5 dot
54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
is there really no one with a solution or an idea for my prob?
hello again no one any idea? not even how to come closer to the root cause of my problem?
-- Michael Schmuker University of Frankfurt Chair of Cheminformatics
I've noticed that when I set DisplaySize, xdpyinfo returns values that are close, but not exactly what I had entered. Seems to work, though. Michael Schmuker wrote:
Hi Michael,
I'm using TwinView too, and just doubled the horizontal DisplaySize to account for the double Monitor area.
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand.
Regards,
Michael
Hi, am Freitag, 1. April 2005 12:02 schrieb Michael Schmuker:
Hi Michael,
I'm using TwinView too, and just doubled the horizontal DisplaySize to account for the double Monitor area.
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand.
Regards,
Michael
On Friday 01 April 2005 09:25, Michael Riess wrote:
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
>xdpyinfo | grep -n5 dot
54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
is there really no one with a solution or an idea for my prob?
hello again no one any idea? not even how to come closer to the root cause of my problem?
I've created a new kdm config running "genkdmconf". In the newly created (very well documented) /opt/kde3/share/config/kdm/kdmrc in section [X-:*-Core] is an entry ServerCmd=/usr/X11R6/bin/X -br You can add -dpi xx there, restart X and get the dpi setting you want. Works for me at least, tested today :) Bye Andreas Willenbrink
Andreas Willenbrink wrote:
Hi, am Freitag, 1. April 2005 12:02 schrieb Michael Schmuker:
Hi Michael,
I'm using TwinView too, and just doubled the horizontal DisplaySize to account for the double Monitor area.
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand.
Regards,
Michael
On Friday 01 April 2005 09:25, Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
>>xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView? is there really no one with a solution or an idea for my
Michael Riess wrote: prob? hello again no one any idea? not even how to come closer to the root cause of my problem?
I've created a new kdm config running "genkdmconf". In the newly created (very well documented) /opt/kde3/share/config/kdm/kdmrc in section [X-:*-Core] is an entry ServerCmd=/usr/X11R6/bin/X -br You can add -dpi xx there, restart X and get the dpi setting you want. Works for me at least, tested today :)
i did this and the copy of /etc/X11/xorg.conf to /etc/X11/XF86config too neither of them gave me any effect xdpyinfo does always tell me the same and white signs on black seem to be rainbow-colored i think there is something fixed in my system which i didnt think about yet (btw: i installed nvidia 1.0-7174 and it had no effect)
Michael Schmuker wrote:
Hi Michael,
I'm using TwinView too, and just doubled the horizontal DisplaySize to account for the double Monitor area.
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand.
may be it should be perfect with 96dpi but i had 97 dpi already and it is obviosly much clearer (i got this value calculated by Mozilla)
On Friday 01 April 2005 09:25, Michael Riess wrote:
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
>xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView? is there really no one with a solution or an idea for my prob? hello again no one any idea? not even how to come closer to the root cause of my problem?
Hi Michael, Hmmmmm, I always thought that the dpi value is mainly used to calibrate screen font size. The system needs to know the size of a pixel in order to draw fonts with the correct size. But I don't see how the dpi value is linked to display clearness and strange color effects... What monitors are you using? CRT or TFTs? Regards, Michael
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand.
may be it should be perfect with 96dpi but i had 97 dpi already and it is obviosly much clearer (i got this value calculated by Mozilla)
-- Michael Schmuker University of Frankfurt Chair of Cheminformatics
Hi Michael,
Hmmmmm, I always thought that the dpi value is mainly used to calibrate screen font size. i thought it is used to project
draw fonts with the correct size. But I don't see how the dpi value is linked to display clearness and strange color effects...
Michael Schmuker wrote: the same sized "objects" on different amounts of pixels The system needs to know the size of a pixel in order to the color effects arise mostly in white fonts on black background i really arent able to see any effects on icons... or there arent any effects
What monitors are you using? CRT or TFTs?
analog TFTs but the Clock and Phase hasnt changed (i controlled this before my first posting) and the effects are since my update to KDE3.4
However, for your resolution of 2560x1024 and the DisplaySize of 678x270 mm the dpi value 96 dpi seems perfect. I get the same result when calculating it by hand. may be it should be perfect with 96dpi but i had 97 dpi already and it is obviosly much clearer (i got this value calculated by Mozilla)
Hi Michael,
Hmmmmm, I always thought that the dpi value is mainly used to calibrate screen font size.
i thought it is used to project the same sized "objects" on different amounts of pixels
You're definitely right; Anyway, some text set in a specific font may be seen as an object, the size of which has to be calibrated correctly... so nevermind, we're talking about the same thing :)
the color effects arise mostly in white fonts on black background
Did you check your anti-aliasing settings? I once had strange rainbow color effects with subpixel hinting for anti-aliasing enabled. AA without subpixel hinting gave much clearer results in my case. Check your settings in Control Center -> Appearance & Themes -> Fonts -> Configure... (near the "use anti-aliasing" checkbox). Note that only newly started apps are affected by changes. Don't try with konqueror, because it seems to use the AA settings from the preloaded instance. I always use kate, but any other non-preloaded app will do. Also try disabling AA completely. Kind regards, Michael
Michael Schmuker wrote:
Hi Michael,
Hmmmmm, I always thought that the dpi value is mainly used to calibrate screen font size. i thought it is used to project the same sized "objects" on different amounts of pixels
You're definitely right; Anyway, some text set in a specific font may be seen as an object, the size of which has to be calibrated correctly... so nevermind, we're talking about the same thing :)
the color effects arise mostly in white fonts on black background
Did you check your anti-aliasing settings? yes
I once had strange rainbow color effects with subpixel hinting for anti-aliasing enabled. AA without subpixel hinting gave much clearer results in my case. Check your settings in Control Center -> Appearance & Themes -> Fonts -> Configure... (near the "use anti-aliasing" checkbox). Note that only newly started apps are affected by changes. Don't try with konqueror, because it seems to use the AA settings from the preloaded instance. I always use kate, but any other non-preloaded app will do. my Konqueror dates up automtically
Also try disabling AA completely.
but i will try some more options with AA i just tried a lot of options and fonts, but for now this was to much for my eyes -> everything semes a little bit floating -> i have to try later some more thats actually running thanks a lot till now but i still do not know why no one of the dpi options seem to work at my system are any of the dpi options working on your system?
Hi Michael,
are any of the dpi options working on your system?
Changing DisplaySize definitely affects my dpi. With my correct settings DisplaySize 716 287 I get micha@Moehre:~> xdpyinfo | grep -n5 dot [...] 56-screen #0: 57- dimensions: 2560x1024 pixels (722x289 millimeters) 58: resolution: 90x90 dots per inch [...] With DisplaySize 700 260 its 56-screen #0: 57- dimensions: 2560x1024 pixels (707x260 millimeters) 58: resolution: 92x100 dots per inch Displayed font sizes change also, even if some fonts seem not to change a lot. Below, I attached Monitor section of my XF86Config. Looking at it, I think that the line Option "CalcAlgorithm" "CheckDesktopGeometry" is particularly interesting. I did not find any info on this neither on the XF86 man page, nor in the NVIDIA driver docs. Just try it, if it's not already set. BTW, I'm running XFree86 version 4.3.99.902, but I don't think it should make much difference to Xorg. Regards, Michael Section "Monitor" Option "CalcAlgorithm" "CheckDesktopGeometry" # DisplaySize 358 287 #mod for twinview: double horizontal size DisplaySize 716 287 HorizSync 31-64 Identifier "Monitor[0]" ModelName "1280X1024@60HZ" Option "DPMS" VendorName "--> VESA" VertRefresh 50-60 UseModes "Modes[0]" Gamma 1.25 1.05 1.35 # created by KGamma EndSection -- Michael Schmuker University of Frankfurt Chair of Cheminformatics
Ever tried to edit /etc/opt/kde3/share/config/kdm/kdmrc and change ServerArgsLocal=-nolisten tcp to ServerArgsLocal=-dpi 96 -nolisten tcp ? Best, Daniel Am Freitag, 8. April 2005 11:45 schrieb Michael Schmuker:
Hi Michael,
are any of the dpi options working on your system?
Changing DisplaySize definitely affects my dpi. With my correct settings
DisplaySize 716 287
I get micha@Moehre:~> xdpyinfo | grep -n5 dot [...] 56-screen #0: 57- dimensions: 2560x1024 pixels (722x289 millimeters) 58: resolution: 90x90 dots per inch [...]
With DisplaySize 700 260 its 56-screen #0: 57- dimensions: 2560x1024 pixels (707x260 millimeters) 58: resolution: 92x100 dots per inch
Displayed font sizes change also, even if some fonts seem not to change a lot. Below, I attached Monitor section of my XF86Config. Looking at it, I think that the line
Option "CalcAlgorithm" "CheckDesktopGeometry"
is particularly interesting. I did not find any info on this neither on the XF86 man page, nor in the NVIDIA driver docs. Just try it, if it's not already set.
BTW, I'm running XFree86 version 4.3.99.902, but I don't think it should make much difference to Xorg.
Regards,
Michael
Section "Monitor" Option "CalcAlgorithm" "CheckDesktopGeometry" # DisplaySize 358 287 #mod for twinview: double horizontal size DisplaySize 716 287 HorizSync 31-64 Identifier "Monitor[0]" ModelName "1280X1024@60HZ" Option "DPMS" VendorName "--> VESA" VertRefresh 50-60 UseModes "Modes[0]" Gamma 1.25 1.05 1.35 # created by KGamma EndSection
-- Michael Schmuker University of Frankfurt Chair of Cheminformatics
On Friday 01 April 2005 1:25 am, Michael Riess wrote:
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
xdpyinfo | grep -n5 dot
54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView?
is there really no one with a solution or an idea for my prob?
hello again no one any idea? not even how to come closer to the root cause of my problem?
Do an init 3 to stop X and then copy /etc/X11/xorg.conf to /etc/X11/XF86config then do an init 5 to start X and see if your edits take effect. I had to do this to get my systems working consistently with changes to X via SaX2. SUSE 9.2 Pro, KDE 3.4, updated via apt/synaptic. Stan
Stan Glasoe wrote:
On Friday 01 April 2005 1:25 am, Michael Riess wrote:
Michael Riess wrote:
Michael Riess wrote:
i tried:
in /etc/X11/xorg.conf (which is used, i did a "ll -u /etc/X11/xorg.conf")
Section "Monitor" [...] DisplaySize 336 270 [...]
>xdpyinfo | grep -n5 dot 54-number of screens: 1 55- 56-screen #0: 57- print screen: no 58- dimensions: 2560x1024 pixels (678x271 millimeters) 59: resolution: 96x96 dots per inch
but why it does ignore the DisplaySize (i even tried DisplaySize 200 270 -> also ignored) is it because of i am using TwinView? is there really no one with a solution or an idea for my prob? hello again no one any idea? not even how to come closer to the root cause of my problem?
Do an init 3 to stop X and then copy /etc/X11/xorg.conf to /etc/X11/XF86config then do an init 5 to start X and see if your edits take effect. I had to do this to get my systems working consistently with changes to X via SaX2. SUSE 9.2 Pro, KDE 3.4, updated via apt/synaptic. i know that xorg.conf is used because the rest of the statements is used and the usage time is up to date (see above)
participants (6)
-
Andreas Willenbrink
-
Daniel Eckl
-
Joe Georger
-
Michael Riess
-
Michael Schmuker
-
Stan Glasoe