Bug 224504 - DPI / UseEdidDpi / DisplaySize ignored
Summary: DPI / UseEdidDpi / DisplaySize ignored
Status: VERIFIED DUPLICATE of bug 53811
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: X.Org (show other bugs)
Version: RC 3
Hardware: x86 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 14:52 UTC by Jan Engelhardt
Modified: 2013-02-17 08:43 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/etc/X11/xorg.conf (9.56 KB, application/octet-stream)
2006-11-29 15:07 UTC, Jan Engelhardt
Details
/etc/X11/xorg.conf with DisplaySize enabled (9.56 KB, application/octet-stream)
2006-11-29 15:09 UTC, Jan Engelhardt
Details
xorg.conf with nv and DisplaySize (9.43 KB, text/plain)
2006-11-29 21:46 UTC, Jan Engelhardt
Details
Xorg.log (49.71 KB, text/plain)
2006-11-29 22:13 UTC, Jan Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2006-11-29 14:52:04 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.
Comment 1 Jan Engelhardt 2006-11-29 15:07:14 UTC
Created attachment 107406 [details]
/etc/X11/xorg.conf
Comment 2 Jan Engelhardt 2006-11-29 15:08:22 UTC
Same with DisplaySize...
Comment 3 Jan Engelhardt 2006-11-29 15:09:45 UTC
Created attachment 107407 [details]
/etc/X11/xorg.conf with DisplaySize enabled


What's all behind this? -> Huge fonts!
Comment 4 Jan Engelhardt 2006-11-29 15:10:47 UTC
(adding "X.Org" component assignee to Cc)
Comment 5 Lonni Friedman 2006-11-29 15:36:53 UTC
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
Comment 6 Jan Engelhardt 2006-11-29 21:06:19 UTC
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?
Comment 7 Lonni Friedman 2006-11-29 21:15:21 UTC
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.
Comment 8 Jan Engelhardt 2006-11-29 21:25:06 UTC
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?
Comment 9 Lonni Friedman 2006-11-29 21:28:43 UTC
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.
Comment 10 Jan Engelhardt 2006-11-29 21:41:01 UTC
Right.
Comment 11 Jan Engelhardt 2006-11-29 21:46:16 UTC
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.
Comment 12 Lonni Friedman 2006-11-29 21:47:59 UTC
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.
Comment 13 Jan Engelhardt 2006-11-29 22:13:35 UTC
Every hint is appreciated :)
Comment 14 Jan Engelhardt 2006-11-29 22:13:56 UTC
Created attachment 107507 [details]
Xorg.log
Comment 15 Stefan Dirsch 2006-11-29 22:52:59 UTC
>    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 ***
Comment 16 Jan Engelhardt 2006-11-29 22:57:51 UTC
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?
Comment 17 Stefan Dirsch 2006-11-29 23:05:50 UTC
Probably the easiest way to workaround this issue would be to fake DisplaySize, so you get 96x96 or whatever you want as result.
Comment 18 Jan Engelhardt 2006-11-29 23:07:29 UTC
I *just* tried that all the time. Varying DisplaySize has no effect on the DPI.
Comment 19 Stefan Dirsch 2006-11-29 23:12:50 UTC
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.
Comment 20 Jan Engelhardt 2006-11-29 23:19:27 UTC
# 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.
Comment 21 Stefan Dirsch 2006-11-30 00:27:37 UTC
It doesn't matter which DisplaySize values you set? Very strange!
Comment 22 Jan Engelhardt 2006-12-08 15:42:25 UTC
Still DUPLICATE?
Comment 23 Stefan Dirsch 2006-12-08 15:51:53 UTC
Definitely.
Comment 24 Jan Engelhardt 2006-12-08 16:05:44 UTC
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)?
Comment 25 Stefan Dirsch 2006-12-08 16:09:10 UTC
> 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.
Comment 26 Jan Engelhardt 2013-02-17 08:43:51 UTC
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.