Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120829 Firefox/10.0.7
Build Identifier:
I have a Dell Precision M4600 notebook with a Nvidia Quadro 2000M graphic card.
My problem is that xdpyinfo is getting wrong values:
screen #0:
dimensions: 1920x1080 pixels (508x286 millimeters)
resolution: 96x96 dots per inch
I tried to force the correct DisplaySize in the /etc/X11/xorg.conf file but it was not respected. My xorg.conf file is attached.
Curiously enough, the correct values are detected by xrandr command:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 59.9*+ 60.0 39.9
1680x1050 60.0
1400x1050 60.0
1280x1024 59.9
1280x960 59.9
...
Reproducible: Always
Steps to Reproduce:
1.xdpyinfo | grep -B2 resolution
2.xrandr
3.
Expected Results:
xdpyinfo would get correct screen dimensions and dpi or at least respect the DisplaySize informed in xorg.conf
I tried to install nvidia proprietary driver but it also presented the same mistake. I later uninstalled nvidia proprietary driver and came back to the default nouveau driver.
Yes, xdpyinfo will lie. It has to. That DPI number is sent once at X client connection time and there's no way to refresh it if the monitor configuration changes. It's also _one_ number, which means it can't help but be a lie if you have multiple displays connected.
The DPI values in xrandr are computed from the EDID of the attached display device, which means they can be (and apparently are) correct per-output.
DisplaySize being ignored is probably a bug though.
Could you please confirm if the DisplaySize is really being ignored (so a bug) or if it is just my xorg.conf that is not properly written?
I am trying without sucess to make nvidia-settings recognize the correct display size and maybe I should just quit if it is really a bug.
(In reply to comment #4)
> Could you please confirm if the DisplaySize is really being ignored (so a
> bug) or if it is just my xorg.conf that is not properly written?
> I am trying without sucess to make nvidia-settings recognize the correct
> display size and maybe I should just quit if it is really a bug.
Adam could you please reply Daniels question and probably close this issue?
Thanks
Tom
In RANDR 1.2 the Monitor keyword in the Screen section doesn't really mean anything anymore. You need to associate Monitors with specific outputs in the Device section:
Section "Device"
Identifier "Device0"
Driver "nouveau"
Option "Monitor-LVDS-1" "Monitor0"
EndSection
Please reopen if that doesn't fix this for you.