Bugzilla – Bug 224504
DPI / UseEdidDpi / DisplaySize ignored
Last modified: 2013-02-17 08:43:51 UTC
Adding Section "Monitor" ... Option "DPI" "96 x 96" Option "UseEdidDpi" "false" ... EndSection to the Monitor section has no effect, I still get a DPI based on the virtual desktop size. Using nvidia-1.0.9629.
Created attachment 107406 [details] /etc/X11/xorg.conf
Same with DisplaySize...
Created attachment 107407 [details] /etc/X11/xorg.conf with DisplaySize enabled What's all behind this? -> Huge fonts!
(adding "X.Org" component assignee to Cc)
Jan, How or where are you determining that the options are not having an effect? Additionally, please generate and attach an nvidia-bug-report.log while this problem is present. thanks, Lonni
When no extra options are effect, the DPI is calculated from the VirtualSize, and results in resolution: 196x193 dots per inch (== huge fonts) but adding either UseEdidFalse+DPI [1] or DisplaySize [2] seems to have no effect, e.g. xdpyinfo still reports 196x193, and hence all fonts are bigbig. [1] http://download.nvidia.com/XFree86/Linux-x86/1.0-9626/README/appendix-y.html [2] http://download.nvidia.com/XFree86/Linux-x86/1.0-9626/README/appendix-d.html I tried to put the options in the "Monitor", "Screen" and "Device" sections (even simultaneously) but the DPI is not set to what I want it to be. Question btw: can I run one X server with nvidia and another with nv at the same time?
Only one X driver can take ownership of a GPU at a time. If you have only one NVIDIA GPU, then you can use either the nv X driver or the nvidia X driver, but not both. I'll sttill need you to generate and attach an nvidia-bug-report.log while this problem is present.
I changed "Driver "nvidia"" to "Driver "nv"" in xorg.conf and started a second X server (at the same time - though only one can be active logically - switch to tty8). From the different monitor switching I presume "nv" is successfully used. I am inclined to change this bug to X.org Standard (moving away from X.org 3rd Party) - since the problem also appears with the normal nv driver. Your opinion?
UseEdidDpi is an nvidia driver option, so I wouldn't expect it to work with the 'nv' X driver. DisplaySize should work, however. At any rate, this shouldn't be assigned to me if the problem isn't unique to the nvidia X driver.
Right.
Created attachment 107504 [details] xorg.conf with nv and DisplaySize The DisplaySize is set to a really low value, which means I should get really tiny fonts. Sax2 also ('correctly') says the display is 2.0 inches, but fonts remain supersize which means DisplaySize was ignored.
As a side comment, posting your xorg.conf isn't likely to help the SuSE folks debug this unless you also provide the corresponding X log in /var/log.
Every hint is appreciated :)
Created attachment 107507 [details] Xorg.log
> Modes "1280x1024" "1024x768" "800x600" "768x576" "640x480" > Virtual 2944 2208 No idea why you're doing this ... anyway it's a duplicate. *** This bug has been marked as a duplicate of bug 53811 ***
I want a bigger screen area (comment #5 of bug #53811), yet consistently use -dpi 96 for everything. It seems like there is no other way but to pass -dpi 96 to the X server (needs hacks and hacks in kdmrc that get reverted on upgrade). Is this true?
Probably the easiest way to workaround this issue would be to fake DisplaySize, so you get 96x96 or whatever you want as result.
I *just* tried that all the time. Varying DisplaySize has no effect on the DPI.
Did you check this with xdpyinfo (--> resolution: XX x YY dots per inch)? Might be related to your desktop, e.g. Gnome checks the first time you use the desktop the displaysize (nonsense in your case) and uses this value afterwards unless you change it in Gnome control center explicitely.
# joe /etc/X11/xorg.conf (make modification to whatever to test next) $ X :1 & sleep 1; DISPLAY=:1 xdpyinfo >xdpy; kill -TERM %%; grep dots xdpy This is what I used. Always reported 196x193 dots per inch. No window manager fun, just bare X so that WM bugs are all ruled out. Using icewm btw.
It doesn't matter which DisplaySize values you set? Very strange!
Still DUPLICATE?
Definitely.
I don't see a solution in bug #53811. Would you point me to it? I would like to get dpi=96 no matter what resolution (either by use of Ctrl+Alt+KP* or by xrandr) and no matter what virtual resolution. Can this be done without writing "-dpi 96" in kdmrc (which, above all, gets replaced on every upgrade)?
> I don't see a solution in bug #53811. Would you point me to it? There is no solution up to now. Therefore it's still open.
Current Xorg behavior works to my liking; it looks like I found a way of configuring the panning effect through randr, and by that way, also found a way to set DPI as desired. Therefore closing.